I wonder how the OS knows when an EXE need to swap its page... anyone understanding what I am talking about now??? (An EXE can be larger than 64 kb because it swap or something like that...)
I would appreciate any information regarding this issue!!!
Anyone knowing about EXE-page swapping???
Re: Anyone knowing about EXE-page swapping???
dos .EXE files can be as large as you like. the memory image can only be as much as can hold (ie: dos, 600 odd kb...) but exe's have overlays, thus you can have an .exe file that is 100mb big and it will still run. all extended exe's have stubs, etc. that is just the code, the overlay is the pmode stuff (dos32, pmodew, watcom, djgpp, etc)..
it does not 'page' it out to disk + read more etc
it does not 'page' it out to disk + read more etc
-- Stu --
Re: Anyone knowing about EXE-page swapping???
But... when the code is executed and it reaches the end of the memory image... how do I detect that?dos .EXE files can be as large as you like. the memory image can only be as much as can hold (ie: dos, 600 odd kb...) but exe's have overlays, thus you can have an .exe file that is 100mb big and it will still run. all extended exe's have stubs, etc. that is just the code, the overlay is the pmode stuff (dos32, pmodew, watcom, djgpp, etc)..
it does not 'page' it out to disk + read more etc
Re: Anyone knowing about EXE-page swapping???
the size of the memory image is in the header of the .exe
-- Stu --
Re: Anyone knowing about EXE-page swapping???
So you are saying that I must load a page from the exe and put for example the code for Int 99h after that page and let Int 99h be the interrupt that load the next page into the file?? How do I know when that one page is accessing something on another page (for example a string)?the size of the memory image is in the header of the .exe