mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
Merge pull request #658 from polluks/patch-9
Indicate a dummy outtext & some clean-up
This commit is contained in:
commit
9246b14f68
@ -58,8 +58,8 @@ Y2 := ptr4
|
|||||||
.word 48 ; Y resolution
|
.word 48 ; Y resolution
|
||||||
.byte 16 ; Number of drawing colors
|
.byte 16 ; Number of drawing colors
|
||||||
.byte 1 ; Number of screens available
|
.byte 1 ; Number of screens available
|
||||||
.byte 8 ; System font X size
|
.byte 0 ; System font X size
|
||||||
.byte 8 ; System font Y size
|
.byte 0 ; System font Y size
|
||||||
.word $0198 ; Aspect ratio (based on 4/3 display)
|
.word $0198 ; Aspect ratio (based on 4/3 display)
|
||||||
.byte 0 ; TGI driver flags
|
.byte 0 ; TGI driver flags
|
||||||
|
|
||||||
|
@ -79,12 +79,6 @@ TEMP2 = tmp4
|
|||||||
TEMP3 = sreg
|
TEMP3 = sreg
|
||||||
TEMP4 = sreg+1
|
TEMP4 = sreg+1
|
||||||
|
|
||||||
; Line routine stuff (must be on zpage)
|
|
||||||
PB = ptr3 ; (2) LINE
|
|
||||||
UB = ptr4 ; (2) LINE
|
|
||||||
ERR = regsave ; (2) LINE
|
|
||||||
NX = regsave+2 ; (2) LINE
|
|
||||||
|
|
||||||
; Absolute variables used in the code
|
; Absolute variables used in the code
|
||||||
|
|
||||||
.bss
|
.bss
|
||||||
@ -95,17 +89,6 @@ ERROR: .res 1 ; Error code
|
|||||||
COLOR: .res 1 ; Current color
|
COLOR: .res 1 ; Current color
|
||||||
PALETTE: .res 2 ; The current palette
|
PALETTE: .res 2 ; The current palette
|
||||||
|
|
||||||
; Line routine stuff
|
|
||||||
|
|
||||||
OGora:
|
|
||||||
COUNT: .res 2
|
|
||||||
OUkos:
|
|
||||||
NY: .res 2
|
|
||||||
Y3:
|
|
||||||
DX: .res 1
|
|
||||||
DY: .res 1
|
|
||||||
AY: .res 1
|
|
||||||
|
|
||||||
; Constants and tables
|
; Constants and tables
|
||||||
|
|
||||||
.rodata
|
.rodata
|
||||||
@ -242,6 +225,7 @@ SETCOLOR:
|
|||||||
;
|
;
|
||||||
|
|
||||||
SETVIEWPAGE:
|
SETVIEWPAGE:
|
||||||
|
; rts
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; SETDRAWPAGE: Set the drawable page. Called with the new page in A (0..n).
|
; SETDRAWPAGE: Set the drawable page. Called with the new page in A (0..n).
|
||||||
|
Loading…
Reference in New Issue
Block a user