flat assembler
Message board for the users of flat assembler.
Index
> Windows > Question about 32bit programing, please help me! |
Author |
|
GuyonAsm 19 Dec 2003, 00:58
1. Yes you get your 4gigs, and no everything else is not the same, you have to use the windows api functions and etc. no interrupts or 16-bit only operations are available. You can still use the 16-bit registers though such as ax,bx, and so on.
2. No sorry bios interrupts can not be used from within a 32bit program(legit that is, I think there is a way you can hack it into the program). _________________ I shall not evade what is predestined because every battle, is another lesson - GuyonAsm. A Believer of The System. |
|||
19 Dec 2003, 00:58 |
|
Tomasz Grysztar 19 Dec 2003, 01:34
You can use BIOS interrupts from DPMI level, writing programs for DPMI is a solution worth considering, as you can execute them under DOS, Win32 and even under Linux using DOSEMU.
|
|||
19 Dec 2003, 01:34 |
|
GuyonAsm 19 Dec 2003, 01:46
Fasm has support for the Dos Protected Mode Interface? If so i never knew that, I know that masm doesn't support it( I could never get it working).
_________________ I shall not evade what is predestined because every battle, is another lesson - GuyonAsm. A Believer of The System. |
|||
19 Dec 2003, 01:46 |
|
alf_ua 19 Dec 2003, 10:32
Privalov wrote: You can use BIOS interrupts from DPMI level, writing programs for DPMI is a solution worth considering, as you can execute them under DOS, Win32 and even under Linux using DOSEMU. Maybe my question is very stupid but still : What is DPMI (I know what does abriviation means)? I mean how does it works (I simply get 4GB ram under dos with all interrupts available)? How this code can be executeable on different OSs (I mean Windows, Linux and BSD). Thanx for your help, your site is the BEST!!! You make a great things ....... _________________ Codeing is an ART ! |
|||
19 Dec 2003, 10:32 |
|
scientica 19 Dec 2003, 12:33
Do you feel lucky?
http://www.google.co.uk/search?hl=en&ie=UTF-8&oe=utf-8&safe=off&q=definition+DPMI&btnG=Google+Search&meta= results in: http://whatis.techtarget.com/definition/0,,sid9_gci213913,00.html _________________ ... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself. - Bradley Kuhn |
|||
19 Dec 2003, 12:33 |
|
Tomasz Grysztar 19 Dec 2003, 13:50
Download the DOS version of flat assembler - you've got an example of DPMI programming there.
This should also be useful: http://www.google.co.uk/search?hl=en&ie=UTF-8&oe=utf-8&safe=off&q=DPMI+function+reference&meta= |
|||
19 Dec 2003, 13:50 |
|
Kevin_Zheng 20 Dec 2003, 04:31
Please see the belowing url link:
http://board.flatassembler.net/topic.php?t=197 It supported protect mode demo source code and using pure fasm. |
|||
20 Dec 2003, 04:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.