On Tue, 2025-11-04 at 09:47 -0800, Robb Bates wrote:
> Is there a BIOS or BDOS routine that can find the top of the TPA automatically?
>
> I want the data in my program to be able to grow as much as possible without crashing
> into the BIOS/BDOS/Loader at the top of memory.
>
Robb,
The trick used top be (back in the 1980s) to use address from the BDOS entry jump in
location 5. That jumped top the first byte used by the BDOS and anything below that was
classed as TPA.
I've not checked if that is still valid on current systems.
PeterO