Nintendo 1504166 Programming Manual - Page 152
JOY Bus Communication Operations, Device Reset] CommandFFh Received
View all Nintendo 1504166 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 152 highlights
AGB Programming Manual Communication Functions JOYSTAT [d03] Send Status Flag When an AGB write data signal is received, this is set. If a word read is done with the JOY_RECV Register it is reset. JOYSTAT [d01] Receive Status Flag When a word write is done with the JOY_TRANS Register, this is set. If an AGB read data signal is received it is reset. JOY Bus Communication Operations AGB JOY Bus communication recognizes four commands sent from the host (DOL, etc.): [Device Reset], [Type/Status Data Request], [AGB Data Write], and [AGB Data Read]. AGB operates based on the particular signal received. The transfer of the bit data for JOY Bus communication is done in units of bytes and in the order of MSB first. § [Device Reset] Command(FFh) Received The device reset signal receive flag for Register JOYCNT is set. If the interrupt request enable flag for the same register is also set, a JOY Bus interrupt request is generated. Direction Order d7 Receive 1 1 1 0 Send 2 0 3 d6 d5 d4 d3 d2 d1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 Lower 8 bits of Register JOYSTAT d0 Remarks 1 Command 255(FFh) 0 Type Number 0 0400h Communication Status § [Type/Status Data Request] Command(00h) Received Returns 2 byte type number(0004h) and 1 byte communication status. Direction Order d7 Receive 1 0 1 0 Send 2 0 3 d6 d5 d4 d3 d2 d1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 Lower 8 bits of Register JOYSTAT d0 Remarks 0 Command 0(00h) 0 Type Number 0 0400h Communication Status ©1999 - 2001 Nintendo of America Inc. 152 D.C.N. AGB-06-0001-002B4