Managed to assemble and run the RAXOFT tests in my emulator last night and discovered that the main reason why the series generator wasn’t working was the SRA instruction. I wasn’t preserving the carry bit. (ANDing it back into bit 7 rather than ORing it). Job’s a good-un.
L Break Into Program
Some tweaks to the emulator this afternoon. The port decoding has been moved out of the cpu class to make the Z80 generic. Added BRIGHT attribute. There’s a bug in the emulator that’s causing issues with some calculations. I think it’s manifesting itself in the series generator.