Of course this won't necessarily work with Minerva or systems which move the system variables but programs which require a standard 128K BBQL probably won't run on those anyway.
Why can't you look the Ramtop, if not128K, then rest to 128K
According the Rwap adverts, The Lost Pharaoh, needs 256K to run, is the advert wrong ?
I'm looking at the system variable offset 0x20 from the start, which is supposed to be a word holding the top of memory -1 but instead seems to hold 4 on a 128K machine and 64 on the SGC.
My copy of The Lost Pharoah only runs on a 128K machine or with res_128. It's an original copy on Microdrive initially.
4 sound about right for a ramtop for a 128 Machine - as it's a word - and you are probably looking at the top order byte - so 4 x 65536 - which is at 256K boundary (the first 128k of space in the QL memory map is ROM and I/O or reserved, and the 128K of RAM is after this)
A side question from this topic, I was wondering if a Test Rom for the QL could be plugged into the QL Rom Port, to test the QL internal circuitry, perform ram test, test the 8049, 8302, 8301.
Whether it would be useful would depend upon how much of the system needs to be operational before the external ROM gets called. That would probably be determined by the start-up code in the system ROM.
A side question from this topic, I was wondering if a Test Rom for the QL could be plugged into the QL Rom Port, to test the QL internal circuitry, perform ram test, test the 8049, 8302, 8301.
Is this a possibility or just me being silly...
A plugin ROM can unfortunately not disable the original ROMs from behind the ROM port. If you'd make it to be selected from address 0 onwards (which is perfectly possible), it would create a bus conflict with the original ROMs. You could only use such a ROM card when the original ROMs are removed.