Thanks John,
That will solve my problem. I realize that there could already be something in
memory, but the loader would really only be for a case where someone has a
Model-T without an option ROM or REX who wanted to load TS-DOS. So in theory,
there shouldn't be anything up that high in that condition. Obviously a warning
would be in order.
Kurt
On Monday, May 15, 2017 3:13 PM, John R. Hogerhuis <[email protected]> wrote:
As to your HIMEM issue when transmitting a bootstrap loader, I don't know the
answer to your question, but seems like you could just POKE the HIMEM address
directly instead of using CLEAR. It's at F5F4 on a model 100.
As an aside it's actually not completely correct to CLEAR whatever the header
start address says. There could already be a programs in memory, i.e. the
memory TS-DOS runs at may already be reserved. Or, the program that's already
in RAM could be in conflict. Hence why things like TEENY.EXE can relocate TEENY
to where it needs to be to stay out of the way of whatever else might be
installed to RAM.
Anyway, if you're assuming safety (no conflict) at the load address, you should
probably still do a comparison, and if HIMEM is too high, then lower it.
-- John.