So I'm working on a Vic20 emulator right now and am at a point where pretty much everything but sound is working; all single-step tests etc are passing. Yay.
But I noticed something after adding some additional checks in the "memory"...there are a whole bunch of attempted writes to ROM. For the most part, they're writing back the value already there, but a couple would actually change the data. Attempted writes are to 0x8000 and 0xFD6D onwards (the latter probably even within range of the CAUSE of one of the writes)
Working from a disassembly, it appears to be the two STA's from LAB_FD64 / LAB_FE91:
https://www.mdawson.net/vic20chrome/vic20/docs/kernel_disassembly.txt
I have also tried the same kind of crude trapping in a few other simple Vic20 emulators and they appear to do the same to some degree, and at first glance it seems it's the same culprits.
So I'm wondering if these kinds of things are actual legit actions these old systems took? Or from those who have built emulators (particularly the Vic20) - is it more indicative of something wrong in the emulation, the ROMs, etc? I vaguely remember something similar in the Spectrum 48k I made but that was a good few years ago..