Updated cx16 to match the Commander X16 ROMs and emulator, release 34.
This commit is contained in:
20
libsrc/cx16/joyref.s
Normal file
20
libsrc/cx16/joyref.s
Normal file
@@ -0,0 +1,20 @@
|
||||
;
|
||||
; 2019-11-14, Greg King
|
||||
;
|
||||
; Link an interrupt handler if joysticks are used by a program.
|
||||
;
|
||||
|
||||
.interruptor joy_libref, 9
|
||||
|
||||
.include "cbm_kernal.inc"
|
||||
.include "cx16.inc"
|
||||
|
||||
|
||||
joy_libref:
|
||||
lda VERA::IRQ_FLAGS
|
||||
lsr a
|
||||
bcc not_vsync
|
||||
jsr GETJOY ; Bit-bang game controllers
|
||||
clc ; Let other Jiffy handlers run
|
||||
not_vsync:
|
||||
rts
|
||||
Reference in New Issue
Block a user