	NOLIST
;************************************************************************
;*	SFX CPU register definition		INCLUDE/RP5A22		*
;************************************************************************
NMI_control	EQU	04200H		;1--**--* 
enable_NMI	EQU	10000000B 
disable_NMI	EQU	01111111B 
NMI_status	EQU	04210H		;1------- 
status_NMI	EQU	10000000B 
Blank_status	EQU	04212H		;11-----* 
blank_H		EQU	01000000B 
blank_V		EQU	10000000B 
;---------------------------------------------------------------------- 
Timer_H		EQU	04207H		;9bits
Timer_V		EQU	04209H		;9bits
Timer_control	EQU	04200H		;*-11---* 
enable_H	EQU	00010000B 
enable_V	EQU	00100000B 
Timer_status	EQU	04211H		;1------- 
;---------------------------------------------------------------------- 
Out_expansive	EQU	04016H		;3bits
In_expansive1	EQU	04016H		;3bits
In_expansive2	EQU	04017H		;5bits
Out_auxilary	EQU	04201H		;8bits
In_auxilary	EQU	04213H		;8bits
;-----------------------------------------------------------------------
Button_control	EQU	04200H		;*-**---1 
enable_scan	EQU	00000001B 
Button_status	EQU	04212H		;**-----1 
status_button	EQU	00000001B 
Button		EQU	04218H		;8bits*8
button_A	EQU	10000000B 
button_B	EQU	01000000B 
button_select	EQU	00100000B 
button_start	EQU	00010000B 
button_up	EQU	00001000B 
button_down	EQU	00000100B 
button_left	EQU	00000010B 
button_right	EQU	00000001B 
button_X	EQU	10000000B 
button_Y	EQU	01000000B 
button_L	EQU	00100000B 
button_R	EQU	00010000B 
;---------------------------------------------------------------------- 
Multiplicand	EQU	04202H		;unsigned 8bits 
Multiplier	EQU	04203H		;unsigned 8bits 
Product		EQU	04216H		;unsigned 16bits
Dividend	EQU	04204H		;unsigned 16bits
Divisor		EQU	04206H		;unsigned 8bits 
Quotient	EQU	04214H		;unsigned 16bits
Residue		EQU	04216H		;unsigned 8bits
;---------------------------------------------------------------------- 
DMA_burst	EQU	0420BH
DMA_synchronic	EQU	0420CH
DMA_syncro	EQU	DMA_synchronic
start_0		EQU	00000001B 
start_1		EQU	00000010B 
start_2		EQU	00000100B 
start_3		EQU	00001000B 
start_4		EQU	00010000B 
start_5		EQU	00100000B 
start_6		EQU	01000000B 
start_7		EQU	10000000B 
DMA_0		EQU	04300H
DMA_1		EQU	04310H
DMA_2		EQU	04320H
DMA_3		EQU	04330H
DMA_4		EQU	04340H
DMA_5		EQU	04350H
DMA_6		EQU	04360H
DMA_7		EQU	04370H
DMA_high	EQU	043H
DMA_control	EQU	0
dma_write	EQU	00000000B 
dma_read	EQU	10000000B 
dma_direct	EQU	00000000B 
dma_indirect	EQU	01000000B 
dma_increase	EQU	00000000B 
dma_decrease	EQU	00010000B 
dma_stay	EQU	00001000B 
dma_offset_0	EQU	00000000B 
dma_offset_01	EQU	00000001B 
dma_offset_00	EQU	00000010B 
dma_offset_0011	EQU	00000011B 
dma_offset_0123	EQU	00000100B 
DMA_register	EQU	1		;8bits 021XXH 
DMA_address	EQU	2		;24bits 
DMA_count	EQU	5		;16bits 
DMA_table	EQU	8
DMA_line	EQU	10 
;---------------------------------------------------------------------- 
	LIST
