VAULT DWELLERS SERVED

Tuesday, September 10, 2013

GZIP'PED Into Vault-OS

I got embedded GZIP files going in Vault-OS last night with correct outgoing content type and file length, loaded directly from inside of the web server executable. The exe file is now around 709 KB with the SQLite and Lua libs compiled directly in. I think I can keep the web server under a single floppy in size with all pages which was my original goal when I built my first prototype in Visual Basic for DOS about 13 years ago.

As you can see, previously my UI has been barebones basic HTML 1.1 with no frills at all but this is the last ugly screenshot of VOS you are going to look at. JQuery decays tastefully where features are unsupported so it will still look good on Arachne - but anything above IE 5.5 will look fantastic. Of course I will now be able to support long polling in AJAX through JQuery for real-time data direct from JSON REST services built-in to the server. I am also converting to support for all datastore access in the form of REST calls.



My main purpose in doing this was to permanently embed the IE6-FF-HTML1.1 compatible JQuery library directly into the server so I could vastly improve the appearance of all the pages, especially the editable forms. I ran out of time before midnight but I will now be adding JQuery enabled functionality throughout the server including the UI so it will look good even on really old browsers. I have a couple plug-ins I am integrating as well including the awesome Sparkline for DAC displays in simple tabular formats.

I have also got mailslot libraries (for running daemons) debugged for Windows, Linux/FreeBSD, Desqview-X and even Microsoft Lan Server(!). All three versions compile from Open Watcom with no warnings.

4 comments:

Russell said...

Dude! I'm impressed with you've done already. Good luck, and I can't wait to see a released version.

samhuih said...

Excuse my ignorance or impertinence which ever the case. You seem to want to develop a system that can work on the smallest platforms or maybe even a wide range of platforms. Would it be within the realm of possibilities that a newer than DOS system would be better? Modern, that could use the smallest hardware yet also run on top of more high powered computers? I'm not being a smart alack .I'm suggesting you take a look at Inferno by Bell Labs. Maybe it would be what your looking for.

...Minimal hardware requirements: it runs useful applications stand-alone on machines with as little as 1 MiB of memory, and does not require memory-mapping hardware...

...Portability across processors: it currently runs on ARM, SGI MIPS, HP PA-RISC, IBM PowerPC, Sun SPARC, and Intel x86 architectures and is readily portable to others.
Portability across environments: it runs as a stand-alone operating system on small terminals, and also as a user application under Bell Plan 9, MS Windows NT, Windows 95, and Unix (SGI Irix, Sun Solaris, FreeBSD, Apple Mac OS X, Linux, IBM AIX, HP-UX, Digital Tru64). In all of these environments, Inferno programs see an identical interface...

...Inferno is also ported to Openmoko, Nintendo DS, SheevaPlug, and Android...

http://en.wikipedia.org/wiki/Inferno_%28operating_system%29

samhuih said...

Uhh...Maybe not. I always like the idea of Inferno but it seems only using Limbo to program it always gets in the way.

samhuih said...

Alright sorry for the babbling but this might be it.
REBOL. A whole cross platform environment in less than 1/2 meg. Runs on most everything and it says it cross compiles and runs on DOS. The bad. It's been around a long time has lost some steam but due to this they open sourced it. Even better some one is rewriting it to be even better. RED Programming Language.

One thing that might impress you json was based on the ideas of REBOL.

So here's some links.

http://www.rebol.com/what-rebol.html

http://stackoverflow.com/questions/78107/anyone-used-the-rebol-programming-language-what-do-you-think-of-it

http://www.red-lang.org/

www.000webhost.com