From MegaDrive Development Wiki
Jump to navigation
Jump to search
|
|
Line 216: |
Line 216: |
| |?|3}} | | |?|3}} |
| |} | | |} |
| | |
| | [[Category:MegaDrive]] |
Revision as of 22:11, 13 March 2012
Address
|
Name
|
Read
|
Write
|
$A10001
|
REG_VERSION
|
Version Register
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
MODE |
VMOD | DISK | RSV | VER3 | VER2 | VER1 | VER0 |
|
?
|
$A10003
|
REG_DATA1
|
Status of each pin (direction is controller by REG_CTRL1)
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
PD7 |
PD6 | PD5 | PD4 | PD3 | PD2 | PD1 | PD0 |
|
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
PD7 |
PD6 | PD5 | PD4 | PD3 | PD2 | PD1 | PD0 |
|
$A10005
|
REG_DATA2
|
Status of each pin (direction is controller by REG_CTRL2)
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
PD7 |
PD6 | PD5 | PD4 | PD3 | PD2 | PD1 | PD0 |
|
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
PD7 |
PD6 | PD5 | PD4 | PD3 | PD2 | PD1 | PD0 |
|
$A10007
|
REG_DATA3
|
Status of each pin (direction is controller by REG_CTRL3)
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
PD7 |
PD6 | PD5 | PD4 | PD3 | PD2 | PD1 | PD0 |
|
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
PD7 |
PD6 | PD5 | PD4 | PD3 | PD2 | PD1 | PD0 |
|
$A10009
|
REG_CTRL1
|
?
|
Select the direction of the pin (0 = input, 1 = output)
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
INT |
PC6 | PC5 | PC4 | PC3 | PC2 | PC1 | PC0 |
|
$A1000B
|
REG_CTRL2
|
?
|
Select the direction of the pin (0 = input, 1 = output)
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
INT |
PC6 | PC5 | PC4 | PC3 | PC2 | PC1 | PC0 |
|
$A1000D
|
REG_CTRL3
|
?
|
Select the direction of the pin (0 = input, 1 = output)
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
INT |
PC6 | PC5 | PC4 | PC3 | PC2 | PC1 | PC0 |
|
$A1000F
|
REG_TXDATA1
|
|
|
$A10011
|
REG_RXDATA1
|
|
|
$A10013
|
REG_S_CTRL1
|
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
?
|
0 : OK
1 : Rxd Error
| 0 : OK
1 : Rxd Ready
| 0 : OK
1 : TxdFull
|
|
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
0: 4800 bps
1: 2400 bps
2: 1200 bps
3: 300 bps
|
0 : Parallel mode
1 : Serial in
| 0 : Parallel mode
1 : Serial out
| 0 : Rxd Ready - Interrupt Prohibited
1 : Rxd Ready - Interrupt Allowed
| ? |
|
$A10015
|
REG_TXDATA2
|
|
|
$A10017
|
REG_RXDATA2
|
|
|
$A10019
|
REG_S_CTRL2
|
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
?
|
0 : OK
1 : Rxd Error
| 0 : OK
1 : Rxd Ready
| 0 : OK
1 : TxdFull
|
|
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
0: 4800 bps
1: 2400 bps
2: 1200 bps
3: 300 bps
|
0 : Parallel mode
1 : Serial in
| 0 : Parallel mode
1 : Serial out
| 0 : Rxd Ready - Interrupt Prohibited
1 : Rxd Ready - Interrupt Allowed
| ? |
|
$A1001B
|
REG_TXDATA3
|
|
|
$A1001D
|
REG_RXDATA3
|
|
|
$A1001F
|
REG_S_CTRL3
|
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
?
|
0 : OK
1 : Rxd Error
| 0 : OK
1 : Rxd Ready
| 0 : OK
1 : TxdFull
|
|
Bit |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Def |
0: 4800 bps
1: 2400 bps
2: 1200 bps
3: 300 bps
|
0 : Parallel mode
1 : Serial in
| 0 : Parallel mode
1 : Serial out
| 0 : Rxd Ready - Interrupt Prohibited
1 : Rxd Ready - Interrupt Allowed
| ? |
|