YMF724F
2-3. MPU401
This block is for transmitting and receiving MIDI data. It is compatible with UART mode of “MPU401”. Full duplex operation is possible using the
The following shows the MPUBase I/O map for MPU401.
MPUBase | (R/W) | MIDI Data port |
MPUBase + 1h | (R) | Status Register port |
MPUBase + 1h | (W) | Command Register port |
port
D7
D6
D5
D4
D3
D2
D1
D0
+0h |
|
|
|
| Data |
|
|
| |
|
|
|
|
|
|
|
|
|
|
+1h (W) |
|
|
|
| Command |
|
|
| |
|
|
|
|
|
|
|
|
|
|
+1h (R) | /DSR | /DRR | - | - |
| - | - | - | - |
|
|
|
|
|
|
|
|
|
|
2-4. Joystick
JSBase (R/W)
port | D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+0h | JBB2 | JBB1 | JAB2 | JAB1 | JBCY | JBCX | JACY | JACX |
|
|
|
|
|
|
|
|
|
JACX... | Joystick A, Coordinate X |
|
|
|
|
| ||
JACY... | Joystick A, Coordinate Y |
|
|
|
|
| ||
JBCX... | Joystick B, Coordinate X |
|
|
|
|
| ||
JBCY... | Joystick B, Coordinate Y |
|
|
|
|
| ||
JAB1... | Joystick A, Button 1 |
|
|
|
|
| ||
JAB2... | Joystick A, Button 2 |
|
|
|
|
| ||
JBB1... | Joystick B, Button 1 |
|
|
|
|
| ||
JBB2... | Joystick B, Button 2 |
|
|
|
|
|
September 21, 1998