1.6 KiB
1.6 KiB
| 1 | register_name | enum_name | bits | bit_name | value | mask | description |
|---|---|---|---|---|---|---|---|
| 2 | host_instruction | 31 | end_flag | 1 | |||
| 3 | |||||||
| 4 | host_instruction | port_select | 17-16 | a | 0 | ||
| 5 | host_instruction | port_select | 17-16 | b | 1 | ||
| 6 | host_instruction | port_select | 17-16 | c | 2 | ||
| 7 | host_instruction | port_select | 17-16 | d | 3 | ||
| 8 | |||||||
| 9 | host_instruction | pattern | 10-8 | normal | 0b000 | ||
| 10 | host_instruction | pattern | 10-8 | light_gun_mode | 0b010 | ||
| 11 | host_instruction | pattern | 10-8 | reset | 0b011 | ||
| 12 | host_instruction | pattern | 10-8 | return_from_light_gun_mode | 0b100 | ||
| 13 | host_instruction | pattern | 10-8 | nop | 0b111 | ||
| 14 | |||||||
| 15 | host_instruction | 7-0 | transfer_length | 0xff | |||
| 16 | |||||||
| 17 | receive_data_storage_address | 31-0 | address | 0x1fff_ffff | |||
| 18 | |||||||
| 19 | ap | port_select | 7-6 | a | 0b00 | ||
| 20 | ap | port_select | 7-6 | b | 0b01 | ||
| 21 | ap | port_select | 7-6 | c | 0b10 | ||
| 22 | ap | port_select | 7-6 | d | 0b11 | ||
| 23 | |||||||
| 24 | ap | de | 5 | device | 1 | ||
| 25 | ap | de | 5 | expansion_device | 0 | ||
| 26 | ap | de | 5 | port | 0 | ||
| 27 | |||||||
| 28 | ap | lm_bus | 4-0 | _4 | 0b10000 | ||
| 29 | ap | lm_bus | 4-0 | _3 | 0b01000 | ||
| 30 | ap | lm_bus | 4-0 | _2 | 0b00100 | ||
| 31 | ap | lm_bus | 4-0 | _1 | 0b00010 | ||
| 32 | ap | lm_bus | 4-0 | _0 | 0b00001 | ||
| 33 | |||||||
| 34 | function_type | 11 | camera | 1 | |||
| 35 | function_type | 10 | exchange_media | 1 | |||
| 36 | function_type | 9 | pointing | 1 | |||
| 37 | function_type | 8 | vibration | 1 | |||
| 38 | function_type | 7 | light_gun | 1 | |||
| 39 | function_type | 6 | keyboard | 1 | |||
| 40 | function_type | 5 | ar_gun | 1 | |||
| 41 | function_type | 4 | audio_input | 1 | |||
| 42 | function_type | 3 | timer | 1 | |||
| 43 | function_type | 2 | bw_lcd | 1 | |||
| 44 | function_type | 1 | storage | 1 | |||
| 45 | function_type | 0 | controller | 1 |