flat assembler
Message board for the users of flat assembler.

Index > DOS > 32bit Dos

Author
Thread Post new topic Reply to topic
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
I am working on a new project to code a 32bit Dos, it will be able to run stand aload or from any clear Dos.

This OS will have full int 21h functions, that you can use just like in realmode other than the regs will be 32bit, address will be translated if need be.

There will be vesa support and windowing function.

Any ideas, ? are welcome.

Here is a list of so far supported dos function
AH Description
01 Read character from STDIN
02 Write character to STDOUT
05 Write character to printer
06 Console Input/Output
07 Direct char read (STDIN), no echo
08 Char read from STDIN, no echo
09 Write string to STDOUT
0A Buffered input
0B Get STDIN status
0C Flush buffer for STDIN
0D Disk reset
0E Select default drive
19 Get current default drive
25 Set interrupt vector
2A Get system date
2B Set system date
2C Get system time
2D Set system time
2E Set verify flag
30 Get DOS version
35 Get Interrupt vector
36 Get free disk space
39 Create subdirectory
3A Remove subdirectory
3B Set working directory
3C Create file
3D Open file
3E Close file
3F Read file
40 Write file
41 Delete file
42 Seek file
43 Get/Set file attributes
47 Get current directory
4C Exit program
4D Get return code
54 Get verify flag
56 Rename file
57 Get/Set file date

Plus many more functions from DexOS

I will release a demo ver soon.
Note: There will be no (Phar Lap) DPMI support, as you can go to realmode to run them, in the normal way.


Last edited by Dex4u on 05 Jan 2011, 19:06; edited 1 time in total
Post 05 Jan 2011, 16:47
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7724
Location: Kraków, Poland
Tomasz Grysztar
Do you mean something like True DPMI? Smile
Post 05 Jan 2011, 18:25
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Tomasz Grysztar wrote:
Do you mean something like True DPMI? Smile

Cool thanks Tomasz Grysztar, i have not seen that before, yes just like 'True (Ralph Lipe's) DPMI.'
Post 05 Jan 2011, 19:02
View user's profile Send private message Reply with quote
neville



Joined: 13 Jul 2008
Posts: 507
Location: New Zealand
neville
So Craig will your 32-bit DOS run in 32-bit Protected Mode?

And are you writing a new set of INT 21h routines using 32-bit registers where appropriate?

Will you have to switch back to Real Mode to execute the interrupts?

Or, have you considered using 32-bit registers in 16-bit real mode in conjunction with "big real" mode? or 32-bit "unreal" mode?

_________________
FAMOS - the first memory operating system
Post 06 Jan 2011, 01:33
View user's profile Send private message Visit poster's website Reply with quote
me239



Joined: 06 Jan 2011
Posts: 200
me239
Why don't you just continue MiniDOS? It's a great system for it's size and still has lots of potential.
Post 06 Jan 2011, 06:13
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
me239 wrote:
Why don't you just continue MiniDOS? It's a great system for it's size and still has lots of potential.


correct if i'm work, but i think it is just the new main project, something like, from scratch again, but with the experience now Very Happy
Post 06 Jan 2011, 09:19
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
neville wrote:
So Craig will your 32-bit DOS run in 32-bit Protected Mode?
Yes, it will run in 32bit PM.
neville wrote:

And are you writing a new set of INT 21h routines using 32-bit registers where appropriate?
Yes they will be rewritten, using 32-bit registers.
neville wrote:

Will you have to switch back to Real Mode to execute the interrupts?
For functions that are not implemented yet, we will be switch back to realmode.
neville wrote:

Or, have you considered using 32-bit registers in 16-bit real mode in conjunction with "big real" mode? or 32-bit "unreal" mode?
This is a good method, but i find that if you set gdt descriptors the same as realmode at boot time, this works great for going back and forth to realmode from pmode.
You do need a linear descriptor as well.

me239 wrote:
Why don't you just continue MiniDOS? It's a great system for it's size and still has lots of potential.
MiniDOS is a realmode mini dos clone, i want to take this new OS to the next stage, 32bit pmode.
There are coders working on a updated vers of MiniDos, maybe we could use this to boot the new OS instead of bootprog or some form of dos.

edfed wrote:
me239 wrote:
Why don't you just continue MiniDOS? It's a great system for it's size and still has lots of potential.


correct if i'm work, but i think it is just the new main project, something like, from scratch again, but with the experience now Very Happy
Yes your right edfed

Thanks everyone for taking a interest Smile
Post 06 Jan 2011, 17:01
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Progress report, have all the (command.com) built in commands done, for the 32bit dos command.exe.
Have ported the latest ver of Fasm, works great.
And i can now also run apps.

Need to work on gui now Wink.
Post 16 Jan 2011, 02:18
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.