mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2024-12-29 05:29:28 +00:00
Merged in JGH PR #110 'Tweaked GCOL Parms'
This commit is contained in:
parent
77fc32aad0
commit
426b375052
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
17
auxmem.gfx.s
17
auxmem.gfx.s
@ -60,11 +60,11 @@ CLRLNRET >>> ENTAUX
|
||||
RTS
|
||||
|
||||
|
||||
* X=txt colour
|
||||
* A=txt colour
|
||||
HSCRSETTCOL RTS
|
||||
|
||||
|
||||
* X=gfx colour, A=gcol action
|
||||
* A=gfx colour, X=gcol action
|
||||
* GCOL actions:
|
||||
* 0 = SET pixel
|
||||
* 1 = ORA with pixel
|
||||
@ -74,15 +74,14 @@ HSCRSETTCOL RTS
|
||||
* 5 = NUL no change to pixel
|
||||
* 6 = CLR clear pixel to background
|
||||
* 7 = UND undefined
|
||||
HSCRSETGCOL PHX
|
||||
LDX #$00 ; Normal drawing mode
|
||||
CMP #$04 ; k=4 means toggle
|
||||
HSCRSETGCOL PHA
|
||||
LDA #$00 ; Normal drawing mode
|
||||
CPX #$04 ; k=4 means toggle
|
||||
BNE :NORM
|
||||
LDX #$01 ; Change to toggle mode
|
||||
LDA #$01 ; Change to toggle mode
|
||||
:NORM >>> WRTMAIN
|
||||
TXA
|
||||
STX LINETYPE
|
||||
STX FDRAWADDR+5
|
||||
STA LINETYPE
|
||||
STA FDRAWADDR+5
|
||||
>>> WRTAUX
|
||||
>>> XF2MAIN,SETLINE
|
||||
VDU18RET1 >>> ENTAUX
|
||||
|
@ -803,9 +803,8 @@ VDU18 LDA VDUQ+8 ; GCOL colour
|
||||
PHP
|
||||
ROL A
|
||||
PLP
|
||||
ROR A
|
||||
TAX
|
||||
LDA VDUQ+7 ; GCOL action
|
||||
ROR A ; A=GCOL colour
|
||||
LDX VDUQ+7 ; X=GCOL action
|
||||
* TO DO: set local VDU variables
|
||||
JSR HSCRSETGCOL
|
||||
RTS
|
||||
|
Loading…
Reference in New Issue
Block a user