mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-04-10 03:37:42 +00:00
More SHR cursor tweaking
This commit is contained in:
parent
f6443c2288
commit
908d02ab99
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
16
auxmem.shr.s
16
auxmem.shr.s
@ -181,17 +181,19 @@ SHRCURSOR PHA ; Preserve character
|
||||
CMP CURSORCP
|
||||
BEQ :CURSORON
|
||||
BRA :CURSOROFF
|
||||
:CURSORON LDA [VDUADDR],Y
|
||||
BNE :DONE ; Already on
|
||||
BRA :L1
|
||||
:CURSOROFF LDA [VDUADDR],Y
|
||||
BEQ :DONE ; Already off
|
||||
:L1 LDAL [VDUADDR],Y ; XOR last row
|
||||
EOR #$77
|
||||
:CURSORON
|
||||
:L1 LDA #$77
|
||||
STAL [VDUADDR],Y
|
||||
INY
|
||||
CPY #$04 ; TODO: Two bytes for 640 mode
|
||||
BNE :L1
|
||||
RTS
|
||||
:CURSOROFF
|
||||
:L2 LDA SHRBGMASKA
|
||||
STAL [VDUADDR],Y
|
||||
INY
|
||||
CPY #$04 ; TODO: Two bytes for 640 mode
|
||||
BNE :L2
|
||||
:DONE RTS
|
||||
:BAIL PLA
|
||||
RTS
|
||||
|
Loading…
x
Reference in New Issue
Block a user