Page 1 of 1

Simple DOS OS In ASM

Posted: Fri Dec 10, 2004 11:29 pm
by Metallic-Red
I was just wondering if anyone could link me or send me to an example of a simple operating system made in assembly, but is capable of processing a few simple commands like "ver" and "exit". Any help is appreciated. I have already made a small OS like this a long time ago but I have misplaced it and my docuentation that taught me most things I knew, so I'm just interested in seeing a working example again.

Re:Simple DOS OS In ASM

Posted: Sat Dec 11, 2004 4:09 am
by bubach
wait a week or so, when my os comes out in ver 0.03.. i?ll just have to fix a couple of bugs first.. ;-)

it is has a commandline with a few simple commands like: ver, help, cls and reboot... in the meantime you could check out version 0.01 and 0.02 (without commandline) at the address in my signature.

/ Christoffer

Re:Simple DOS OS In ASM

Posted: Sat Dec 11, 2004 5:21 am
by Metallic-Red
I look forward to seeing it. I worked all day long today and finally made a simple DOS style OS. Capable of "ver" and "exit" commands. I discovered I was using the wrong data types and that's why I could never get it working. I was useing DB instead of RESB for my command buffer. Oh well. I hate it when I answer my own questions. Keep me updated with your OS.

Re:Simple DOS OS In ASM

Posted: Sat Dec 11, 2004 5:50 am
by bubach
opps, i didn?t notice that DOS part until now.
my os is 32-bit, and i assume that but DOS you want 16-bit code?
anyway, i?ll post in this thread the moment version 0.03 becomes available..

Re:Simple DOS OS In ASM

Posted: Sat Dec 11, 2004 11:17 am
by ASHLEY4
Hi, the best thing you can do, is get a program called "bootprog", this when loaded on the boot sector of a floppy, let you boot any exe/com file from a floppy.
this mean's you can make your os a com or exe file (with no dos int's as dos is not loaded, bios are ok) write it like any other program and put it on the floppy and reboot to test it.
Come's with full asm code.

http://alexfru.chat.ru/epm.html
If that links down you can get is here
http://board.flatassembler.net/download.php?id=1315

Also on that site is this "OS Development for Dummies - OS Loader"
which is just the code you want, but some of the code is in C :-(.


\\\\||////
(@@)
ASHLEY4.

Batteries not included, Some assembly required.