flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
lee_huynh
Someone knows how to use all RAM under DOS?It's so hard,at least for me.Please tell me if you have any idea.Thank you.
|
|||
![]() |
|
Mac2004
Take a look at the Fasm source to see how you can enter into flat real mode.
Regards Mac2004 ![]() |
|||
![]() |
|
HarryTuttle
if U use FASM in native DOS (no other mem-managers) there is no need to do anything, just program 32bit and run.
FASM do it for you! mean can address all ram in your mainboard! _________________ Microsoft: brings power of yesterday to computers of today. |
|||
![]() |
|
vid
HarryTurtle: This way predicts you run fasm before executing executable. But anyone else using program created this way will probably get GPF because he didn't run fasm before.
privalov: DOS version of FASM doesn't restore from unreal mode on exit (setting segment limit to 64k etc.) ?!? |
|||
![]() |
|
Tomasz Grysztar
The same does the HIMEM.SYS, which also uses the FRM. It is harmless.
|
|||
![]() |
|
vid
of course, but people like HarryTurtle (no harm) may get fooled by this and maybe even think fasm adds code which switchs to frm or whatever. Yes, it's allright, but i just like cleaning all my mess done (even if it isn't mess
![]() |
|||
![]() |
|
Vion
Well!!
This DOES interest me!!!! OK, vid: If you have any tutorials, it would be indeed very nice if you could post them: What I am mainly interested in are the three first ways, especially that "flat real-mode" thing and himem.sys!! Actually, I have a 486-DOS machine with himem.sys, and really would like to use it to the full ... which here is 8MB ram *wooow* ![]() |
|||
![]() |
|
f0dder
If you want other people than you to use the program, without having to modify system setup, you have a long journey ahead of you
![]() The easiest would be to use an existing dos extender, like WDOSX ( http://michael.tippach.bei.t-online.de/wdosx/ ). There's probably better DOS extenders out by now, but WDOSX works fine - it comes with source, so you could learn a few tricks from there. |
|||
![]() |
|
Vion
Thanx man!!!
That page is wonderful, and one of the links is remarkable: http://www.thefreecountry.com/compilers/index.shtml This is a list with who-knows-how-many compilers & Co for who knows what types of languages!! (This is for all that read it & don't know the page) |
|||
![]() |
|
MCD
For most compatibility, use the XMS v3.0+ standard to allocate up to 4Gb of memory. This way your program will not overwrite other's memory.
It's all in Ralf Brown's interrupt list. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.