Re:6502 Illegal Opcodes in the Siemens PC 100 Assembly Manua...
by selcuka on Friday May 09, 2025 @09:49AM
(#43936709)
> I wonder how they tested that, though?
The QA process might have been performed on an emulator that doesn't support illegal opcodes.
Re:6502 Illegal Opcodes in the Siemens PC 100 Assembly Manua...
by RetroSpark on Friday May 09, 2025 @10:38AM
(#43937290)
I don't know if they even had an emulator at the time - I don't think a 1980s PC could run a NES emulator at a reasonable speed.
Another possibility is that they used a hardware device. Perhaps something that watches the 6502 `sync` pin to know when an opcode byte is being read, and verifies that the data bus contains a legal value.
I wonder how they tested that, though? I don't think developers had to submit their source code to Nintendo, so they would have had to analyse the binaries in some way?