DT> how can i use internal overlays with assembler? does the exe header
DT> tell dos where the internal overlays are? and if ems is int 66h is
DT> there an interrupt for xms?
Yes, the exe header tells dos how much of the file it should read into memory
which means that you can append your overlays ofter the main exe file. I'm
not sure that int66 is the right one to access the EMS (I'll have to check
the EMM specification) but you can access extented memory through a BIOS
interrupt and interrupts in the HIMEM.SYS - the latter being more reliable.
This is exactly why I've chosen to program in Windows - protected mode
build-in automatically !! (All you have to do to access up tp 4GB of ram is
use the GlobalAlloc function in Windows
- just in case you wwanted to know ;-)
... A Portable Hole holds alot of beer.
--- GEcho/386 1.11+
(1:348/402)
---------------
* Origin: * Cobalt's Haven * Winnipeg * 204-832-9603 * OS/2-FD-RA *
|