issue number: | STN-43 | ||||||
---|---|---|---|---|---|---|---|
date of issue: | 96/05/16 | ||||||
media: | ●Common | ○CD-ROM | ○Cartridge | ○Others | |||
connection: | ○Program | ●Hard | ○Manual | ○Tools | ○Game | ○ Bug | ○Others |
Information distinction: | ●New | ○Change | ○Addition | ||||
importance: | ●Strict observance | ○Recommended | ○Reference | ○Others | |||
attached file: | ●No | ○ Yes | |||||
Subject supplement: |
This text explains the data format when a normal unit is attached to an expansion unit. |
bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 | |
---|---|---|---|---|---|---|---|---|
Peripheral ID | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
1st data | Right | Left | Down | Up | Start | ATRG | CTRG | BTRG |
2nd data | RTRG | XTRG | YTRG | ZTRG | LTRG | 1 | 1 | 1 |
Saturn peripheral type... | 0H (digital device) |
---|---|
Data size·········· | 2H (2 bytes) |
Right, Left, Down, Up... | When you press the key with the cross key, it becomes "0" |
---|---|
Start, ATRG, CTRG, BTRG・・・・・・ | When you press the XTRG, YTRG, ZTRG button, it becomes "0" |
RTRG,LTRG・・・・・・・・・・・・ | The analog threshold returns digital data and becomes "0" when the button is pressed. |
The lower 3 bits (bits 2 to 0) of 2nd DATA are [111b], but please do not use them to maintain compatibility with other peripherals. |
bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 | |
---|---|---|---|---|---|---|---|---|
Peripheral ID | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 |
1st data | Right | Left | Down | Up | Start | ATRG | CTRG | BTRG |
2nd data | RTRG | XTRG | YTRG | ZTRG | LTRG | 1 | 1 | 1 |
3rd data | AX7 | AX6 | AX5 | AX4 | AX3 | AX2 | AX1 | AX0 |
4th data | AY7 | AY6 | AY5 | AY4 | AY3 | AY2 | AY1 | AY0 |
5th data | AR7 | AR6 | AR5 | AR4 | AR3 | AR2 | AR1 | AR0 |
6th data | AL7 | AL6 | AL5 | AL4 | AL3 | AL2 | AL1 | AL0 |
Saturn peripheral type... | 1H (analog device) |
---|---|
Data size··········· | 6H (6 bytes) |
Right, Left, Down, Up・・・・・・・・・ | When you press the key with the cross key, it becomes "0" |
---|---|
Start, ATRG, CTRG, BTRG・・・・・・ XTRG,YTRG,ZTRG | When the button is pressed, it becomes "0" |
RTRG,LTRG・・・・・・・・・・・・ | The analog threshold returns digital data and becomes 0 when the button is pressed. |
AX7〜AX0,AY7〜AY0・・・・・・・・・ | Outputs the absolute value of the A/D converter output without sign. Notes |
---|---|
AL7〜AL0,AR7〜AR0・・・・・・・・・ | Outputs the absolute value of the A/D converter output without sign |
< Analog pad output data>
< L/R button output data >
The lower 3 bits (bits 2 to 0) of 2nd DATA are [111b], but please do not use them to maintain compatibility with other peripherals. |