★ HARDWARE Manual ★ SMPC User's Manual| IREG0 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
|---|---|---|---|---|---|---|---|---|
| 20100001H | SMPC status acquisition switch ( 00H or 01H ) Indefinite initial value / Write Only | |||||||
| IREG0 setting value | explanation |
|---|---|
| 00H | Date and time, cartridge code, area code, terminal status, SMEM, Does not return each data of the reset button |
| 01H | Date and time, cartridge code, area code, terminal status, SMEM, Returns each data of the reset button |
| IREG0 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
|---|---|---|---|---|---|---|---|---|
| 20100001H | CONT | BR | − | − | − | − | − | − |
CONT | : Continue request bit (continue request when inverted ) |
BR | : Break request bit (break request when set to "1B") |
− | : Either "1B" or "0B" is acceptable |
![]() | If a value that satisfies both the requirements of CONT and BR is written to IREG0, the operation of SMPC cannot guarantee which one to execute. (See Table 3.2) |
| IREG1 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
|---|---|---|---|---|---|---|---|---|
| 20100003H | P2MD1 | P2MD0 | P1MD1 | P1MD0 | PEN | 0 | OPE | 0 |
| Indefinite W | Indefinite W | Indefinite W | Indefinite W | Indefinite W | Indefinite --- | Indefinite W | Indefinite --- |
| Bit 7 | Bit 6 | explanation |
|---|---|---|
| P2MD1 | P2MD0 | |
| 0 | 0 | 15 byte mode |
| 0 | 1 | 255 byte mode |
| 1 | 0 | SEGA RESERVED ( setting prohibited ) |
| 1 | 1 | 0 byte mode |
| Bit 5 | Bit 4 | explanation |
|---|---|---|
| P1MD1 | P1MD0 | |
| 0 | 0 | 15 byte mode |
| 0 | 1 | 255 byte mode |
| 1 | 0 | SEGA RESERVED ( setting prohibited ) |
| 1 | 1 | 0 byte mode |
| Bit 3 | explanation |
|---|---|
| PEN | |
| 0 | Do not return peripheral data |
| 1 | Returns peripheral data |
| Bit 1 | explanation |
|---|---|
| OPE | |
| 0 | Optimize |
| 1 | Do not optimize |
![]() | When using both SH-2 direct mode and SMPC control mode, use the port used in SH-2 direct mode when issuing the INTBACK command in 0-byte mode. |
| IREG2 | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
|---|---|---|---|---|---|---|---|---|
| 20100005H | F0H Initial value: Indefinite Write Only | |||||||
![]() | Be sure to set IREG2 to 0FH when issuing the INTBACK command. |
★ HARDWARE Manual ★ SMPC User's Manual