mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-01-09 14:30:50 +00:00
Turn off SHR shadowing!
This commit is contained in:
parent
e2f13be9f8
commit
a6b964b30e
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
@ -99,6 +99,7 @@ NEWVIDEO EQU $C029 ; GS-specific, new video register
|
|||||||
|
|
||||||
SPKR EQU $C030
|
SPKR EQU $C030
|
||||||
CLOCKCTL EQU $C034 ; GS-specific, Clock control register
|
CLOCKCTL EQU $C034 ; GS-specific, Clock control register
|
||||||
|
SHADOW EQU $C035 ; GS-specific, Shadow Register
|
||||||
CYAREG EQU $C036 ; GS-specific, CYA Register
|
CYAREG EQU $C036 ; GS-specific, CYA Register
|
||||||
|
|
||||||
GRON EQU $C050
|
GRON EQU $C050
|
||||||
|
@ -82,7 +82,10 @@ SHRTAB DB $20 ; Text row 0
|
|||||||
|
|
||||||
|
|
||||||
* Enable SHR mode
|
* Enable SHR mode
|
||||||
SHRVDU22 JSR VDU12 ; Clear text and SHR screen
|
SHRVDU22
|
||||||
|
LDA #$18 ; Inhibit SHR shadowing
|
||||||
|
TSB SHADOW
|
||||||
|
JSR VDU12 ; Clear text and SHR screen
|
||||||
LDA #$80 ; Most significant bit
|
LDA #$80 ; Most significant bit
|
||||||
TSB NEWVIDEO ; Enable SHR mode
|
TSB NEWVIDEO ; Enable SHR mode
|
||||||
LDA VDUPIXELS ; Pixels per byte
|
LDA VDUPIXELS ; Pixels per byte
|
||||||
@ -147,7 +150,7 @@ SHRPRCHAR SEC
|
|||||||
|
|
||||||
* Draw one pixel row of font in 320 mode
|
* Draw one pixel row of font in 320 mode
|
||||||
* 4 bytes per char, 4 bits per pixel
|
* 4 bytes per char, 4 bits per pixel
|
||||||
* TODO Implement this
|
* TODO: Implement this
|
||||||
SHRCHAR320 PHY
|
SHRCHAR320 PHY
|
||||||
LDA #$FF
|
LDA #$FF
|
||||||
LDY #$00
|
LDY #$00
|
||||||
@ -276,6 +279,7 @@ SHRSCR1LINE TAY
|
|||||||
|
|
||||||
* Reverse scroll one line
|
* Reverse scroll one line
|
||||||
* Copy text line A to line A+1
|
* Copy text line A to line A+1
|
||||||
|
* TODO: Implement this
|
||||||
SHRRSCR1LINE
|
SHRRSCR1LINE
|
||||||
RTS
|
RTS
|
||||||
|
|
||||||
@ -331,6 +335,7 @@ SHRCLEAR PHP ; Disable interrupts
|
|||||||
|
|
||||||
* Set text colour
|
* Set text colour
|
||||||
* A=txt colour
|
* A=txt colour
|
||||||
|
* TODO: Need to add support for 320 mode also
|
||||||
SHRSETTCOL TAX
|
SHRSETTCOL TAX
|
||||||
LDA :MASKS640,X ; Lookup mask in table
|
LDA :MASKS640,X ; Lookup mask in table
|
||||||
STA SHRCOLMASK ; Set colour mask
|
STA SHRCOLMASK ; Set colour mask
|
||||||
|
Loading…
Reference in New Issue
Block a user