Files
open-roms/c64/kernal/ioinit.s
T

13 lines
264 B
ArmAsm

; 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