Socks v1
Posted: Wed Feb 18, 2009 10:12 pm
So, for the past week or so I decided to try my hand at writing a 512 byte OS. My restrictions were these:
Must be a FAT12 formatted floppy
Must still be recognized and writable by Windows
Must be able to accept user input for commands
Commands must be loaded from a certain directory and run
Must be able to run a certain program at startup
I wanted to also have a simple program signature check, but I'll do that if I can figure out how to further reduce the size of my code.
The CLI is very simple, and just rejects any input it doesn't recognize (Displayable ASCII, backspace, and enter), or input when the buffer is full.
A screenshot of Socks after the startup program has run (simply displays the text) and an echo command:
The floppy image can be found here.
Socks has not yet been tested on RHW, due to lack of floppy drive.
Please post bugs here!
Must be a FAT12 formatted floppy
Must still be recognized and writable by Windows
Must be able to accept user input for commands
Commands must be loaded from a certain directory and run
Must be able to run a certain program at startup
I wanted to also have a simple program signature check, but I'll do that if I can figure out how to further reduce the size of my code.
The CLI is very simple, and just rejects any input it doesn't recognize (Displayable ASCII, backspace, and enter), or input when the buffer is full.
A screenshot of Socks after the startup program has run (simply displays the text) and an echo command:
The floppy image can be found here.
Socks has not yet been tested on RHW, due to lack of floppy drive.
Please post bugs here!