-
-
Save mbamac/16d1a615ed7df41bd47dacb984352f16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lda #$ff | |
sta via1_t1c_l ; set timer to interrupt | |
sta via1_t1c_h ; ... every 65535 ticks | |
lda #%11000000 | |
sta via1_ier ; enable timer 1 interrupt on via1 | |
lda #%01000000 | |
sta via1_acr ; set timer to continous mode, no PB7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment