;==============================================
;	INITIAL MAIN REGISTER SETTINGS
;==============================================

scratch		.equr		r0
Mat1		.equr		r1
Mat2		.equr		r2
Mat3		.equr		r3
Mat4		.equr		r4
Mat5		.equr		r5
Mat6		.equr		r6
Mat7		.equr		r7
Mat8		.equr		r8
Mat9		.equr		r9
Xin		.equr		r10
Yin		.equr		r11
Zin		.equr		r12
Xout		.equr		r13
Yout		.equr		r14
Zout		.equr		r15
Sinx		.equr		r16
Siny		.equr		r17
Sinz		.equr		r18
Cosx		.equr		r19
Cosy		.equr		r20
Cosz		.equr		r21
Xoff		.equr		r22
Yoff		.equr		r23
Zoff		.equr		r24
Data_reg	.equr		r25
reg26		.equr		r26
stop_pt		.equr		r27
Kill		.equr		r28
reg29		.equr		r29
reg30		.equr		r30
stack		.equr		r31

; ============ ALTERNATE REGISTER SET ===============

colour		.equr		r0	; 
litex		.equr		r1	; 
litey		.equr		r2	; 
litez		.equr		r3	; 
intens		.equr		r4	; 
Gbuffer		.equr		r5	; +	(where set in GPU_init)
PNo		.equr		r6	; +	(others are for general use)
P2d		.equr		r7	; +
P3d		.equr		r8	; +
BCom		.equr		r9	; +
BA1		.equr		r10	; +
BPat		.equr		r11	; +
overlay		.equr		r12	; +
APix		.equr		r13	; +
CMD_NZ		.equr		r14	; +	command for blitter

vheight		.equr		r15	; + to hold the video display height for testing in polygon routines etc
;v256		.equr		r16	; +
v320		.equr		r17	; +
Zbase		.equr		r18	; +

Spare		.equr		r19	; not currently used

Dcue		.equr		r20	;
Target		.equr		r21	; *	set by an extra program in GPU init
Ambient		.equr		r22	; *	ambient light level \ ^=shift to apply to z to get fade value
Bright		.equr		r23	; *	scale factor for lighting - in 16ths

Addr1		.equr		r24	; 
Addr2		.equr		r25	; 
Addr3		.equr		r26	;
Store1		.equr		r27	;
Store2		.equr		r28	;
Store3		.equr		r29	;

vscale		.equr		r16	; released since v256 not required anymore
