Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Using overlays to hide initialization code (Developers)

posted by mceric, Germany, 06.08.2026, 10:27

Hi Mike! If your code is too large for 640k RAM, you could use overlays and some older compilers have built-in support for those, but 32-bit compilers and DOS extenders would probably be a lot easier. You can use gigabytes of RAM with those, problem solved :-)

Unless of course your code is even larger than your RAM, but then you would have to swap in and out either the overlays or other contents. Typical DOS extenders and/or for example DPMI hosts like CWSDPMI also implement swapping. Other names that come to mind: DPMIONE, HDPMI, DOS4GW, etc.

---
FreeDOS / DOSEMU2 / ...

 

Complete thread:

Back to the forum
Board view  Mix view
23743 Postings in 2250 Threads, 410 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum