Files
open-roms/c64/kernal/keyboard/keyboard_disconnect.s
T

13 lines
199 B
ArmAsm

//
// Helper routine - disconnects the keyboard from CIA1_PRB,
// leaves $FF in .X (behavior needed in some places)
keyboard_disconnect:
ldx #$FF
stx CIA1_PRA // disconnect all the rows
rts