Skip to content

Instantly share code, notes, and snippets.

@mach-kernel
Created February 19, 2018 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mach-kernel/44fa1e8d57311544c84845da950dca1c to your computer and use it in GitHub Desktop.
Save mach-kernel/44fa1e8d57311544c84845da950dca1c to your computer and use it in GitHub Desktop.
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