flat assembler
Message board for the users of flat assembler.
Index
> DOS > 32 bit programming |
Author |
|
f0dder 06 Sep 2007, 10:20
First you need to decide what kind of 32bit stuff you want - do you want to be able to call DOS/BIOS functions? Easiest way to go is to use a DOS extender that takes care of the nasty nitty gritty stuff, google for HDPMI and/or WDOSX.
Why you should learn the stuff? *shrug*. 32bit is easier to work with than 16bit. |
|||
06 Sep 2007, 10:20 |
|
Picnic 06 Sep 2007, 16:39
Thanks for the reply f0dder.
I'm reading now about dos extenders, it's a start! |
|||
06 Sep 2007, 16:39 |
|
Dex4u 06 Sep 2007, 18:24
A good starting point for you would be to code for DexOS its a 32bit pmode Dos.
You can call int like Dos or use the call-table. Here a simple demo to write a hello world in realmode Dos is Code: ; fasm example of writing 16-bit COM program org 100h ; code starts at offset 100h use16 ; use 16-bit codedisplay_text = 9 mov ah,display_text mov dx,hello int 21h int 20hhello db 'Hello world!',24h To do the same in DexOS you do this: Code: use32org 0x400000 ; We are load to 4MBjmp start ; Jump to start of program.db 'DEX2' ; This is checked to make sure it a DexOS programstart:mov esi,hello ; Points to our string.mov ebx,9 ; Function numberint 41h ; int like Dos's int 21hret ; Return to CLIhello db 'Hello world!',0 ;Zero ended string The above is for the new ver of DexOS dew out this week. |
|||
06 Sep 2007, 18:24 |
|
DOS386 06 Sep 2007, 22:10
> What are the differences
- Get rid of 64 and 640 KiB bugs - Need extender/DPMI host - Most bugs get caught now > what to read FAQ at the top. > and where i must start Hello world. One by Tomasz (USEDPMI), one by me (LE), one by Japheth (FASMHX). > The above is for the new ver of DexOS dew out this week. OK |
|||
06 Sep 2007, 22:10 |
|
Picnic 07 Sep 2007, 21:11
Dex hi,
I've been a few times at DexOS website, read some info about the OS, visited the forums (and found lots of code!). DexOS is very interesting. Lack of free time keeps me away so far. Thanks for the information NTOSKRNL_VXE. |
|||
07 Sep 2007, 21:11 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.