muta...@gmail.com
2021-03-11 09:51:09 UTC
It occurred to me. My boot sector loads IO.SYS.
Can I make IO.SYS a compact memory model,
thus avoiding needing to do any relocations?
The main thing I am after is far data pointers.
IO.SYS would then be in a position to load
MSDOS.SYS, doing relocations of the a.out
32-bit module.
I still need to stuff around with the fact that
my MSDOS.SYS is more than 64k, so without
compact model being able to automatically
normalize data pointers, I have to do that
myself.
But at least now I "know" that I need to request
the IA16 GCC to normalize and handle 32-bit
additions of far data pointers regardless of
memory model.
BFN. Paul.
Can I make IO.SYS a compact memory model,
thus avoiding needing to do any relocations?
The main thing I am after is far data pointers.
IO.SYS would then be in a position to load
MSDOS.SYS, doing relocations of the a.out
32-bit module.
I still need to stuff around with the fact that
my MSDOS.SYS is more than 64k, so without
compact model being able to automatically
normalize data pointers, I have to do that
myself.
But at least now I "know" that I need to request
the IA16 GCC to normalize and handle 32-bit
additions of far data pointers regardless of
memory model.
BFN. Paul.