1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Address review comments

- removed typo from comment
- removed redundant AND instruction
This commit is contained in:
Stephan Mühlstrasser 2019-09-17 20:03:51 +02:00
parent bd2210d703
commit 704c8df04f
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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