one more C128 keyboard fix
This commit is contained in:
1 parent
58daf2a553
commit
5f7c21fdac
1 file changed
+3
-3
@@ -58,11 +58,11 @@ SCNKEY:
|
|||||||
|
|
||||||
// First check if this is really a C128 - to avoid false positive
|
// First check if this is really a C128 - to avoid false positive
|
||||||
lda #$00
|
lda #$00
|
||||||
#if !CONFIG_KEYBOARD_C128
|
|
||||||
tax
|
|
||||||
#endif
|
|
||||||
sta VIC_XSCAN
|
sta VIC_XSCAN
|
||||||
lda #$FF
|
lda #$FF
|
||||||
|
#if !CONFIG_KEYBOARD_C128
|
||||||
|
tax // preserve the $FF, will be needed later
|
||||||
|
#endif
|
||||||
cmp VIC_XSCAN
|
cmp VIC_XSCAN
|
||||||
beq !+ // branch if C64, C128 will keep some bits cleared
|
beq !+ // branch if C64, C128 will keep some bits cleared
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user