This is one of my theories also.exxos wrote: 22 Apr 2022 11:03 It does seem to in general yes. I don't understand why.
Can HD11 "alter" any of the lower RAM variables which get reallocated somehow ?
TOS has a 1024 byte buffer used for floppy things and this one must remain in st-ram (it's a different thing from the _FRB, which also must be in st-ram)
This buffer lives somewhere in the first 32kb region by default, so maprom attempts to find out where it is and ignores that page.
One theory is if this code is not functioning properly, and HD11 saves the day by either moving it, or simply makes it redundant due to how it replaces the low-level disk functions.
A very quick glance at the code reveals that it would be an issue if that buffer crosses the boundary of two pages, but there could certainly be other problems too.
Another theory is if maprom itself ends up partly in the lower 32k area. Especially if ran from auto.
Now, this should not be a problem in theory but maprom may need to either prevent this or make very sure that it doesn't become a problem..
Apart from itself, it does allocate an _FRB in st-ram. I would have thought the memory returned would be above 32k regardless but I'd need to double check and make sure this is always going to be the case..

