Table 31 - The Joy Bus Reset Command; Table 32 - The Type/Status Data Request Command - Nintendo GAME BOY ADVANCE Programming Manual

Hide thumbs Also See for GAME BOY ADVANCE:
Table of Contents

Advertisement

128
13.5.5
JOY Bus Communication Operations
Game Boy Advance JOY Bus communication recognizes four commands sent from the host (for example,
Nintendo GameCube). These commands are: "JOY Bus Reset", "Type/Status Data Request", "JOY Bus
Data Write", and "JOY Bus Data Read." Game Boy Advance 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.
13.5.6
[JOY Bus Reset] Command(FFh) Received
The JOY Bus reset signal receive flag of Register JOYCNT is set.
If the interrupt request enable flag for the same register is also s et, a JOY Bus interrupt request is gener-
ated.

Table 31 - The JOY Bus Reset Command

Direction
Order
d7
Receive
1
Send
1
2
3
13.5.7
[Type/Status Data Request] Command(00h) Received
Returns 2 byte type number(0004h) and 1 byte communication status.

Table 32 - The Type/Status Data Request Command

Direction
Order
d7
Receive
1
Send
1
2
3
 AGB-06-0001-002-B13
Released: May 27, 2005
Game Boy Advance Programming Manual
d6
d5
d4
1
1
1
1
0
0
0
0
0
0
0
0
Lower 8 bits of Register JOYSTAT
d6
d5
d4
0
0
0
0
0
0
0
0
0
0
0
0
Lower 8 bits of Register JOYSTAT
d3
d2
d1
d0
1
1
1
1
0
0
0
0
0
1
0
0
d3
d2
d1
d0
0
0
0
0
0
0
0
0
0
1
0
0
May 25, 2005
Remarks
Command 255(FFh)
Type Number 0400h
Communication Status
Remarks
Command 0(00h)
Type Number 0400h
Communication Status
© 1999-2005 NINTENDO

Advertisement

Table of Contents
loading

Table of Contents