zellyn / a2audit

Apple II audit routines: for testing your Apple II or emulator
MIT License
29 stars 6 forks source link

New LC test: Double STA after LC write-enabled should not write-protect LC #4

Closed tomcw closed 7 years ago

tomcw commented 7 years ago

Hi Zellyn, Can you add a new LC test:

LDA $C081 LDA $C081 ; 2nd read will write-enable the LC STA $C081 ; LC remains write-enabled STA $C081 ; LC still remains write-enabled

This was a development-only bug in AppleWin, where a2audit 1.04 was passing but Gemstone Warrior was failing. Here AppleWin was write-protecting LC on the 2nd write to C081.

Thanks.