mirror of
https://github.com/cc65/cc65.git
synced 2025-04-08 19:38:55 +00:00
Clean-up because of tgidrv_line.inc
This commit is contained in:
parent
b945beb6a7
commit
a4c06f2572
@ -79,12 +79,6 @@ TEMP2 = tmp4
|
||||
TEMP3 = sreg
|
||||
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
|
||||
|
||||
.bss
|
||||
@ -95,17 +89,6 @@ ERROR: .res 1 ; Error code
|
||||
COLOR: .res 1 ; Current color
|
||||
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
|
||||
|
||||
.rodata
|
||||
@ -242,6 +225,7 @@ SETCOLOR:
|
||||
;
|
||||
|
||||
SETVIEWPAGE:
|
||||
; rts
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; SETDRAWPAGE: Set the drawable page. Called with the new page in A (0..n).
|
||||
|
Loading…
x
Reference in New Issue
Block a user