mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Address review comments
- removed typo from comment - removed redundant AND instruction
This commit is contained in:
parent
668273cdf5
commit
7547c4c77c
@ -21,7 +21,7 @@ _cgetc:
|
||||
lda (SCREEN_PTR),y ; fetch current character
|
||||
sta tmp1 ; save it
|
||||
lda #$A1 ; full white square
|
||||
sta (SCREEN_PTR),y ; store at cursor position^
|
||||
sta (SCREEN_PTR),y ; store at cursor position
|
||||
|
||||
nocursor:
|
||||
jsr _kbhit ; get input character in A
|
||||
|
@ -72,7 +72,7 @@ LFD1F: jsr LFE86 ; Shift to find bit that is set (in Y)
|
||||
lsr a ; Shift out bit zero (only key there is <SHIFT LOCK>)
|
||||
asl a ; And shift back
|
||||
jsr LFE86 ; Shift to find bit that is set (in Y)
|
||||
beq LFD47 ; Branch if no keys pressed STM: IS THIS CORRECT?
|
||||
beq LFD47 ; Branch if no keys pressed
|
||||
lda #$00
|
||||
LFD3A: sta CTRLSHIFT ; Save state of <CTRL> and shift keys
|
||||
LFD3D: sta LASTSCAN
|
||||
@ -106,7 +106,6 @@ LFD68: stx DBNCCNT
|
||||
jsr LFCBE ; Write keyboard row
|
||||
jsr LFCCF ; Read keyboard column
|
||||
sta KBDTMP
|
||||
and #$01
|
||||
tax
|
||||
lda KBDTMP
|
||||
and #$06
|
||||
|
Loading…
x
Reference in New Issue
Block a user