work around VICE bug
This commit is contained in:
1 parent
54ecbf9097
commit
5359801149
1 file changed
+4
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user