diff --git a/c64/kernal/fda3.ioinit.s b/c64/kernal/fda3.ioinit.s index ccb70f39..8556b5ac 100644 --- a/c64/kernal/fda3.ioinit.s +++ b/c64/kernal/fda3.ioinit.s @@ -4,10 +4,12 @@ ioinit: ; Set $00/$01 port mode and value ; We want BASIC and KERNAL ROMs mapped, and datasette motor off ; (https://www.c64-wiki.com/wiki/Zeropage) - LDA #$2F - STA $00 + ;; XXX - Work around VICE bug: Writing $00 before $01 results in rubbish in $01 + ;; after. https://sourceforge.net/p/vice-emu/bugs/1057/ LDA #$27 STA $01 + LDA #$2F + STA $00 ;; Enable CIA1 IRQ and ~50Hz timer ;; (https://csdb.dk/forums/?roomid=11&topicid=69037)