Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

LOADFIX (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 06.11.2025, 20:20

> I know the LOADFIX program included with early versions of DOS was supposed
> to resolve memory rollover issues that would crash some programs, but I
> don't know the exact details.

I think that LOADFIX just reserves memory in the first 64 KiB of the Low Memory Area before loading the application. This means that segmented pointer underflow doesn't happen, including when using naively anti-normalised far pointers. That is, so that applications like the original exepack stub won't underflow and access the HMA unwittingly. This is purely an A20-related problem.

I guess that MS-DOS v5 and up will disable A20 on exec, which helps exepack. Upon an int 21h A20 will be enabled to access the DOS. LOADFIX then helps if a program would depend on A20 wraparound after making any int 21h calls.

---
l

 

Complete thread:

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