sOS (Save Our System) is a custom built 32bit multitasking operating system. The MSDOS like OS is written in C and a little Assembly. It currently supports process scheduling with time quantum's, system calls, interprocess communication through mailboxes with message queues, and process synchronization through semaphores.
sOS is designed to be compiled through the SPEDE enviroment. In light of this, you will need both SPEDE host to compile the OS and SPEDE target to run it. These both can be ran in VirtualBox. The images for each virtual machine are provided below. Once installed and both are running, please follow the instructions below to build and run sOS.
SPEDE Host
SPEDE Target
- Run
spede-mkmf
to create a makefile on the SpedeTarget if one does not exist. Change the variable OS_NAME to sOS - Either use
make
ormake debug
to generate the OS image (.dli file)- Note:
make clean
can be used to remove the files generated by the makefile
- Note:
- Run
flash sOS.dli
followed bydownload
to load the onto SpedeTarget - Run
flint
followed byg
to run the OS on the target machine.- If you wish to debug the OS run
gdb
followed bycontinue
to debug.- Note: best used with an OS image created with
make debug
- Note: best used with an OS image created with
- If you wish to debug the OS run