Skip to content

Instantly share code, notes, and snippets.

@tomaes
Last active August 29, 2015 13:56
Show Gist options
  • Save tomaes/9329044 to your computer and use it in GitHub Desktop.
Save tomaes/9329044 to your computer and use it in GitHub Desktop.
c64 / MOS 6510: lazy joystick test (port #2)
; lazy joystick test
* = $7c ; auto start in VICE
;
LDA $DC00 ; get port byte
STA $05F4 ; mid-screen
BVC *-6 ; 8 bytes total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment