View Full Version: MiniDos start

dex >>OS Dev >>MiniDos start


Dex- 05-16-2006
MiniDos start
This is a new project, i am starting that is a simple Dos that will be used to load Dex4u, but on top of that it will also emulate some common dos int 21h functions, so it can run some dos programs. As there is still a need to run small simple programs, we have freedos, but it's coded in C . This will also form a beginners OS tut, so will kill two birds with one stone. Once this is complet, we can add 64bit support to Dex4u. So we will have: kernel16.exe kernel32.exe kernel64.exe And a menu to go to the one you want. Comments welcome.

Dex- 05-17-2006

Here is a Demo to test some basic dos functions, less than 600bytes and it run this tasm space invader game perfect '8), also run my old pascal game too. http://www.dex4u.com/Dos4u/Dos4u.zip Runs in qemu too, screenshot: Will post basic fasm code tomorrow.

bubach- 05-17-2006

cool, can't be many interrupts that that one is using if you got it working with just 600bytes!?

Dex- 05-17-2006

You will be supprized how little most dos programs use dos ints. PS: It even run the Dos ver of the game you like, Pitman.com http://dex4u.asmhackers.net/ Just change it's name from Pitman.com to invader.com and put it on the dos4u floppy and reboot :wink: .

redaman- 05-18-2006
Very good Amigo (friend)
I like Dos4u, greath piece. I worked hard with my lang, one month to reselase the compiler... I guess My 2do computer broke the source power... I not have floppy disk... damm tomorrow try.. again greets !!

Dex- 05-19-2006

Thanks redaman, lookfor to trying your compiler 8). PS: I am now adding the Dos4u to Dex4u, so you can run some dos programs from the Dex4u CLI.

tonyMac- 05-23-2006

That is really cool, I have to say you have to be one of the best (and fastest) programmers I've ever met. That's saying a lot, as up to this point I've only known 3 people who could beat me. :wink: :roll: :lol:

Dex- 05-24-2006

Thanks tonyMac, thats a great complement come from someone i respect, as a great programmer 8). Speed comes from building a good asm library up, but i must say coding in realmode is a bit foreign to me. I will release the updated ver, along with fasm code, in the next couple of days.

tonyMac- 05-24-2006

I know what you mean about real mode, if I can find it, I was writing an OS of my own in real mode, I quit after finishing a new keyboard handler and some screen draw functions. It was really messed up way of thinking.

jas2o- 05-27-2006

An unannounced name change? Jas2o

Dex- 05-27-2006

Whats in a name :wink:

jas2o- 05-27-2006

Letters.... So what is you *missing word* for changing the name? What does "mini" mean? Why is the "dex4u" removed? I though it was a little interesting you didn't say anything... Jas2o

Dex- 05-27-2006

It was never "Dex4u" it was "Dos4u" than i thought people may get confused. It was between MiniDOS or Dos2K, but than it may get bigger than 2k. So MiniDOS it is. As for not saying anything, i was going to say something when i upload the code later today :wink: .

Dex- 05-27-2006

First note change of name from "Dos4u" to "MiniDOS". Here: is the full fasm source code for MiniDos, i have added new functions. Its now does the following: Command Line Interface. Dir. Loads files . Runs EXE or COM file. Runs old Dos programs. Time. Date. Reboot. Help. Loads and run Dex4U and goes back to MiniDOS on exit command. It runs programs code with fasm, tasm, turbo pascal, turbo C etc. Also implements some dos int 21h functions. But is still less than 2K, so is good for beginner OS devs, as its fully commented source code. NOTE: If we all just add one int 21h function, it will quickally build into a good free fasm dos. There is some limits at the moment like only loading file size of 64k or less. Here: is the OS and source code http://www.dex4u.com/Dos4u/MiniDos.zip Here is a image for qemu http://www.dex4u.com/Dos4u/MdosQemu.zip ScreenShot of MiniDOS running a dos game.

DennisCGc- 05-28-2006

Damn, I'm away for like a week or something to Spain, and some cool stuff already happened. I'll probably give it a shot, when I have a test pc up (expect it in a few weeks, my other motherboard was given away to a friend, and now I'll have to look for another one). Exactly.. how much do you already have completed of DOS' service calls? I probably won't be much around here for a few weeks, because of school and we have a 'test' week (not exams). Keep up the good work, and I have to admit, you are fast. DennisCGc.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.