DegenerateOS

From OSDev Wiki

Jump to: navigation, search

The Degenerate Operating System executes as a kernel. This "OS" presents a minimal "debug" like interface from which you can do anything (though probably only after a lot of effort). Available commands are:

e(seg):(off) (data1) (data2)... [writes bytes into memory]
j(seg):(off)                    [does a far jump to memory]
d(seg):(off)                    [dumps memory to screen in hex]
w(seg):(off) (sec)              [writes memory to sector]        [track 2]
r(seg):(off) (sec)              [reads sector into memory]       [track 2]
l(seg):(off)                    [list memory as byte/ascii/hex]
t(seg):(off) (text)             [write plain text to memory]
i(seg):(off) (int#)             [interrupt vector to address]
u(seg):(off) (bytes)            [unassemble amount of bytes]
v(int#)                         [display vector address of int]
s(sec)                          [dumps sector to screen in hex]  [track 2]


The OS is very picky about case and white space, so you need to adhere strictly to the format given above. For example, if you start this "OS" from a floppy, you can cause it to boot from the hard disk by ejecting the floppy and then saying:

e0:80 cd 19
j0:80


Some features to be added soon: hexidecimal calculator, improved listing features, simple assembler language, advanced register display

Was written by Shawn Cook Download code --EDIT: As of December 27 2008, this is a dead link. Anyone have a mirror of it? --Troy Martin 04:59, 28 December 2008 (UTC)

Personal tools