Register  FAQ   Search   Memberlist   Usergroups    fChat    Profile   Log in to check your private messages   Log in
MiniDos start
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    DexOS Community Forum Index » OS Dev & Hobbies View previous topic :: View next topic  

MiniDos start
 PostPosted: Tue May 16, 2006 12:46 pm Reply with quote  
Message
  Dex
Site Admin

Joined: 12 Jan 2005
Posts: 1592
Location: uk

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

Craig Bamford. assembly coder.


Last edited by Dex on Fri May 26, 2006 2:28 pm; edited 1 time in total


View user's profile Send private message Visit poster's website

 PostPosted: Wed May 17, 2006 7:02 pm Reply with quote  
Message
  Dex
Site Admin

Joined: 12 Jan 2005
Posts: 1592
Location: uk

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.
NOTE: old Ver is here: http://www.dex4u.com/MiniDos//MiniDos.zip

Latest Ver, with fasm port http://www.dex4u.com/MiniDos/Fasm4MiniDos.zip

Image for qemu:
http://www.dex4u.com/MiniDos/MdosQemu.zip
Runs in qemu too, screenshot:


Will post basic fasm code tomorrow.
_________________
Dex

Craig Bamford. assembly coder.


Last edited by Dex on Wed Jul 08, 2009 5:14 pm; edited 3 times in total


View user's profile Send private message Visit poster's website

 PostPosted: Wed May 17, 2006 7:42 pm Reply with quote  
Message
  bubach
Site Admin

Joined: 13 Jan 2005
Posts: 171
Location: sweden

cool, can't be many interrupts that that one is using if you got it working with just 600bytes!?
_________________
http://bos.asmhackers.net/


View user's profile Send private message Visit poster's website MSN Messenger

 PostPosted: Wed May 17, 2006 9:49 pm Reply with quote  
Message
  Dex
Site Admin

Joined: 12 Jan 2005
Posts: 1592
Location: uk

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 .
_________________
Dex

Craig Bamford. assembly coder.


View user's profile Send private message Visit poster's website

Very good Amigo (friend)
 PostPosted: Thu May 18, 2006 10:21 pm Reply with quote  
Message
  redaman

Joined: 18 Nov 2005
Posts: 21
Location: Argentina

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 !!


View user's profile Send private message Visit poster's website

 PostPosted: Fri May 19, 2006 12:10 pm Reply with quote  
Message
  Dex
Site Admin

Joined: 12 Jan 2005
Posts: 1592
Location: uk

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.
_________________
Dex

Craig Bamford. assembly coder.


View user's profile Send private message Visit poster's website

 PostPosted: Wed May 24, 2006 4:41 am Reply with quote  
Message
  tonyMac
Site Admin

Joined: 14 Jan 2005
Posts: 894
Location: USA

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 Rolling Eyes Laughing
_________________
If it's got bits, I'll byte.


View user's profile Send private message Visit poster's website

 PostPosted: Wed May 24, 2006 12:21 pm Reply with quote  
Message
  Dex
Site Admin

Joined: 12 Jan 2005
Posts: 1592
Location: uk

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.
_________________
Dex

Craig Bamford. assembly coder.


View user's profile Send private message Visit poster's website

 PostPosted: Wed May 24, 2006 9:54 pm Reply with quote  
Message
  tonyMac
Site Admin

Joined: 14 Jan 2005
Posts: 894
Location: USA

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.
_________________
If it's got bits, I'll byte.


View user's profile Send private message Visit poster's website

 PostPosted: Sat May 27, 2006 10:16 am Reply with quote  
Message
  Jas2o
Just An Admin

Joined: 12 Jan 2005
Posts: 428
Location: Australia

An unannounced name change?

Jas2o


View user's profile Send private message Visit poster's website

 PostPosted: Sat May 27, 2006 12:18 pm Reply with quote  
Message
  Dex
Site Admin

Joined: 12 Jan 2005
Posts: 1592
Location: uk

Whats in a name Wink
_________________
Dex

Craig Bamford. assembly coder.


View user's profile Send private message Visit poster's website

 PostPosted: Sat May 27, 2006 1:30 pm Reply with quote  
Message
  Jas2o
Just An Admin

Joined: 12 Jan 2005
Posts: 428
Location: Australia

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


View user's profile Send private message Visit poster's website

 PostPosted: Sat May 27, 2006 4:41 pm Reply with quote  
Message
  Dex
Site Admin

Joined: 12 Jan 2005
Posts: 1592
Location: uk

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

Craig Bamford. assembly coder.


View user's profile Send private message Visit poster's website

 PostPosted: Sat May 27, 2006 6:49 pm Reply with quote  
Message
  Dex
Site Admin

Joined: 12 Jan 2005
Posts: 1592
Location: uk

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.

_________________
Dex

Craig Bamford. assembly coder.


View user's profile Send private message Visit poster's website

 PostPosted: Sun May 28, 2006 5:37 pm Reply with quote  
Message
  DennisCGc

Joined: 02 Mar 2005
Posts: 48

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.


View user's profile Send private message Visit poster's website

Post new topic   Reply to topic    DexOS Community Forum Index » OS Dev & Hobbies

Page 1 of 9
All times are GMT
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next

Display posts from previous:

  

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum