Using overlays to hide initialization code (Developers)
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:
- Using overlays to hide initialization code - mbbrutman, 06.08.2026, 07:29 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Using overlays to hide initialization code - mceric, 06.08.2026, 10:27
- Using overlays to hide initialization code - Laaca, 06.08.2026, 11:14
- Using overlays to hide initialization code - Japheth, 06.08.2026, 21:36
- Using overlays to hide initialization code - Oso2k, 06.08.2026, 22:07
- Using overlays to hide initialization code - bretjohn, 06.08.2026, 23:14
- Using overlays to hide initialization code - marcov, 06.08.2026, 23:17
- Using overlays to hide initialization code - mbbrutman, 07.08.2026, 01:15
- Using overlays to hide initialization code - bretjohn, 07.08.2026, 02:02
- Using overlays to hide initialization code - marcov, 07.08.2026, 10:06
- Using overlays to hide initialization code - bretjohn, 07.08.2026, 02:02
Mix view