;**************************************************************** ; MARS Check Program ; SH2 SDRAM Assign ; ; Copyright SEGA ENTERPRISES,LTD. 1994 ; SEGA ENTERPRISES,LTD. ; CS Hardware R&D Dept. ; T.Okawa ;---------------------------------------------------------------* ; ;**************************************************************** ;---------------------------------------------------------------* SDRAMSTART .equ h'06000000 SDRAMEND .equ h'06040000 MasterStart .equ h'06000000 SlaveStart .equ h'06003000 DotData .equ h'06010000 ; +h'1f400 DMADataBuff .equ h'06020000 ; +h'10000 S_STACK .equ h'0603f000 M_STACK .equ h'06040000 ;---------------------------------------------------------------* ; Master ;---------------------------------------------------------------* ;----------------------------------------------- ; System Work 1 ( Word Data Only) ;----------------------------------------------- MasterWork1 .equ h'06038000 m_vint_timer .equ h'00 ; V Interrup Timer m_hint_timer .equ h'02 ; H Interrup Timer m_cmdint_timer .equ h'04 ; Command Interrup Timer m_pwmint_timer .equ h'06 ; PWM Interrup Timer m_command .equ h'08 ; Command No. m_hint1_timer .equ h'0a ; H Interrup Timer ;----------------------------------------------- ; System Work 2 ( Byte Data Only) ;----------------------------------------------- MasterWork2 .equ h'06038020 m_sysflug .equ h'00 ; System Flug m_sci_ssr .equ h'01 ; SCI SSR data m_receivedata .equ h'02 ; SCI Receive data ;----------------------------------------------- ; System Work 3 ( Long Data Only) ;----------------------------------------------- MasterWork3 .equ h'06038040 m_sndaddress .equ h'00 ; PWM Data Address m_sndlength .equ h'04 ; PWM Data Length ;----------------------------------------------- ; Bit Assign ;----------------------------------------------- ; m_sysflug M_CMD_ON .equ b'00000001 ; SH2 Command M_DREQ_DMA .equ b'00000010 ; DREQ DMA Start M_SOUNDINT .equ b'00000100 ; Interrupt Sound SCI_ERR .equ b'00001000 ; SCI Error SCI_TXOK .equ b'00010000 ; SCI 送信可能 SCI_RXI .equ b'00100000 ; SCI 受信データあり ;---------------------------------------------------------------* ; Slave ;---------------------------------------------------------------* ;----------------------------------------------- ; System Work 1 ( Word Data Only) ;----------------------------------------------- SlaveWork1 .equ h'06038100 s_vint_timer .equ h'00 ; V Interrup Timer s_hint_timer .equ h'02 ; H Interrup Timer s_cmdint_timer .equ h'04 ; Command Interrup Timer s_pwmint_timer .equ h'06 ; PWM Interrup Timer s_command .equ h'08 ; Command No. s_hint1_timer .equ h'0a ; H Interrup Timer ;----------------------------------------------- ; System Work 2 ( Byte Data Only) ;----------------------------------------------- SlaveWork2 .equ h'06038120 s_sysflug .equ h'00 ; System Flug s_sci_ssr .equ h'01 ; SCI SSR data s_receivedata .equ h'02 ; SCI Receive data ;----------------------------------------------- ; System Work 3 ( Long Data Only) ;----------------------------------------------- SlaveWork3 .equ h'06038040 s_sndaddress .equ h'00 ; PWM Data Address s_sndlength .equ h'04 ; PWM Data Length ;----------------------------------------------- ; Bit Assign ;----------------------------------------------- ; s_sysflug S_CMD_ON .equ b'00000001 ; SH2 Command S_DREQ_DMA .equ b'00000010 ; DREQ DMA Start S_SOUNDINT .equ b'00000100 ; Interrupt Sound ;**************************************************************** ; end of file ;****************************************************************