Clean-up because of tgidrv_line.inc
This commit is contained in:
@@ -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).
|
||||||
|
|||||||
Reference in New Issue
Block a user