Re: [hatari-devel] EKO system regression |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
On Sonntag, 6. Oktober 2019 09:47:08 CEST Thomas Huth wrote:
> Opinions?
I would do the chaining again as before. Demos are certainly not the only
programs that redirect the gemdos vector, and you'll never know whats they are
trying to achieve. The safest way should be to catch only the calls that would
otherwise go to the ROM, by putting your routine at the end of the chain.
If you don't want to put the code in the cartridge again: another option would
be to insert your illegal opcode directly in the ROM, at the start of the
gemdos dispatcher there. The addresses of all tos versions should be known,
only problem is that they not only depend on the TOS version, but also on the
TOS language.