- Linux MultiMedia Studio Computer Accessories User Manual
Mint v4 PC Programming Guide
64
MN1278 05.2001
6.9 Special Functions Registers
Address Use Symbolic Constant
0x3F8
ICM Handshaking roICM_HANDSHAKE
0x3F9
Data associated with events roINTERRUPT_DATA_1
0x3FA
Data associated with events roINTERRUPT_DATA_2
0x3FB
Application Code Register roAPPLICATION_CODE
0x3FC
Functionality Code Register roFUNCTION_CODE
0x3FD
Scratchpad Register roSCRATCH_PAD
The way in which dual port RAM is used may vary from application to application. All applications should use
the registers detailed in this document in the same way. This will allow host resident code to determine whether
it recognizes the application and the protocol used for communication.
There is no hardware restriction upon those locations that may be read or written from either side. Both
NextMove and the host have full read and write access to all locations.
Application Code Register (3FB)
This register identifies the software running on NextMove. The host may use this to determine how to
communicate with the software or better interpret the bits within the Functionality Code Register. Each
application program should have a unique identifier. Of the 65536 possible codes, the first half are reserved.
Codes 32768 to 65535 may be used to identify user programs. Application programs should prime this register
after all other initialization. It is recommended that the host does not write to this location.
Code Description Of Program Symbolic Constant
0 Unidentified program or no program
running.
apNONE
1 Loader running. apLOADER
2 Immediate Command Mode
supported.
apFRONT
3 NextMove test program running. apNM_TEST
4 Mint for NextMove suported. apNM_MINT
5 Mint for NextMove suported. apFRONT_MINT
6 Custom Version. apRPD_MINT
7 Mint Motion Library. (Embedded) apMML
8+ Reserved