set $00/$01 values in ioinit
This commit is contained in:
1 parent
0a2d423e25
commit
b09a016a96
1 file changed
+9
@@ -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
|
||||
Reference in new issue
Block a user