set $00/$01 values in ioinit

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-19 11:41:40 +09:30
1 parent 0a2d423e25
commit b09a016a96
1 file changed
+9
+9
View File
@@ -1,3 +1,12 @@
; Function defined on pp272-273 of C64 Programmers Reference Guide
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
LDA #$27
STA $01
rts