;*******************************************************************
;*		work for sfx_exp	                           *
;*						1991.04.12         *
;*******************************************************************
;
multiplicand	equ	000h
multiplier	equ	002h
ans_low		equ	004h
ans_high	equ	006h
dividend	equ	000h
divisor		equ	002h
;
NMI_flag	equ	040h	;NMI control flag
IRQ_flag	equ	041h	;IRQ control flag
button_status	equ	042h	;set button status 		4byte
button_stock	equ	046h	;pre 1 frame button status	  ;
button_trigger	equ	04ah	;buttun trigger 		  ;
button_clear	equ	04eh	;button clear trigger
;
status_flag	equ	052h	;on game status
				;b7=pose mode
				;b6=reset mode
				;b5=storobo mode
debug_flag	equ	053h
				;00=no debug mode
				;01=parameter set mode
				;02=handle time display mode 1
				;03=handle time display mode 2
game_status	equ	054h
				;00=initial procces
				;02=playing procces
control_status equ	055h
				;00=xy control
				;01ma=f-zero control
camera_status	equ	056h
				;00=subjective view(xy-cont)
				;01=objective  view(xy or car)
dsp_status	equ	057h
				;00=DSP off
				;01=DSP on
map_number	equ	058h
				;playing map number
select_pointer	equ	059h
				;select screen cursor pointa
reset_checker	equ	05ah
				;reset or power on chaeck
screen_mode	equ	060h
				;00=no parth
				;01=E0 line parth 1screen
				;02=70 line parth 2screen
				;03=70 line parth 1screen
oam_counter	equ	062h
				;set oam counter
frame_counter	equ	070h	
				;1 frame counter
irq_address	equ	072h	
				;irq jump address    3byte
;*******************************************************************
scroll_h	equ	080h	;scroll h 
scroll_v	equ	082h	;scroll_h
;
rotate_a	equ	088h	;parameter A
rotate_b	equ	08ah	;parameter B 
rotate_c	equ	08ch	;parameter C
rotate_d	equ	088h	;parameter D
;
zoom		equ	08eh	;zoom parameter
;
ofset_1v	equ	094h	;v pos offset
ofset_2v	equ	096h	;     ;
;
camera_direction  equ	098h	;camera direction 1&2(2*2byte)
;
camera_posx	equ	09ch	;camera position
camera_posy	equ	0a0h	;      ;
;
back_h		equ	0a4h	;back screen scroll h (1byte)
back_v		equ	0a8h    ;          ;        v    ;
				;0a4h~0abh
;
sin_component	equ	0ach	;1byte  ac=screen 1 ae=2
cos_component	equ	0adh	;1byte  ad=screen 1 af=2
;
;---------------object character transport--------------------------------
trans_counter	equ	0bfh	;1byte transport counter
trans_byte	equ	0c0h
trans_line	equ	0c1h
rom_bank	equ	0c8h
rom_address	equ	0d0h	;each 2byte * 2pattern
vram_address	equ	0d8h	;each 2byte * 2pattern
