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 bretjohn Homepage E-mail, Rio Rancho, NM, 07.08.2026, 02:02

The other thing I've done is use the initialization code (and PSP which isn't needed after a TSR is installed) memory for stack(s) and/or heap(s), even in TSRs. As Japheth noted, when you're using an HLL you don't have a lot of control over where things go in memory, but with ASM you have almost total control over everything (which can also get you into trouble).

Your issue (leaving unused/unwanted code/data in memory) is a problem with almost all modern programming techniques including even basic libraries where you only use a subset of the available features.

 

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