|Re: [hatari-devel] Re: Disabling GEMDOS HD emulation (was EmuCON behaviour in the cartridge target)|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
On 08/20/2018 01:26 AM, Thorsten Otto wrote:
BTW this is all only needed because (part of) the GEMDOS emulation is placed
in the cartridge ROM area. There should be other ways to do this, making that
area free for real cartridges. That would also follow the principle of Hatari
of not being distinguishable from real HW; currently a user program could just
look at the cartridge area and check some magics there.
The reason for the cartridge code is that Pexec() requires allocations
(for basepage & the program itself), and those need to be visible for
TOS, to be handled correctly. So they're done in the emulated code
(from cartridge space as that's normally available).