port bit number | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
port bit name | T.H. | T.R. | T.L. | R | L | D | U |
ID3=R# L (TH=1) ID2=D# U (TH=1) ID1=R# L (TH=0) ID0=D# U (TH=0)
# indicates logical sum (OR).
port bit name | T.H. | T.R. | T.L. | R | L | D | U |
port direction | set to output | set to input |
Peripheral name | mega drive |
Megadrive 3 button PAD | DH |
Megadrive 6 button PAD | DH&CH |
sega mouse | 3H |
sega tap | 7H |
saturn standard pad | BH |
saturn analog joystick | 5H |
saturn keyboard | 5H |
saturn multitap | 5H |