Skip to content

Instantly share code, notes, and snippets.

@mach-kernel
Created Feb 19, 2018
Embed
What would you like to do?
keydown cmp #$8B ; up
beq up
cmp #$8A ; down
beq down
cmp #$88 ; left
beq left
cmp #$95 ; right
beq right
cmp #$FF ; backspace
beq backspace
cmp #$8D ; return
beq return
jsr drawchar
jmp colinc
finkey ldal $00C010 ; clear strobe bit
rts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment