Recently, I rewrote my CPU based on this link. Each instruction now runs cycle-by-cycle on the microcode level. It passes all the CPU test roms that I am aware of and games run fine. But, the change affected FDS loading. Now, it always reports Error #20. Could the way that some CPU instructions behave on the microcode level (e.g. writing back to addresses that were just read from) affect the FDS registers differently than a CPU that treats each instruction atomically? Are there any test roms that may help me track this down. Thanks.
Edit: The rewritten CPU was not initialized correctly on start up. After a minor tweak, FDS is functional again. Thanks for your help anyway.
Edit: The rewritten CPU was not initialized correctly on start up. After a minor tweak, FDS is functional again. Thanks for your help anyway.