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/642f26780096e8382e104e2209092cf1 to your computer and use it in GitHub Desktop.
Save mach-kernel/642f26780096e8382e104e2209092cf1 to your computer and use it in GitHub Desktop.
:kloop clc
ldal $00C000
bit #%1 ; check strobe bit to make sure a key was pressed
bmi :kjump
jmp :kloop
:kjump jsr keydown
jsr drawpos
jmp :kloop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment