dreamcast/regs/maple_bus_commands.csv
Zack Buhman 25fef821b0 maple: read controller input on real hardware
There were two notable bugs:

- the maple transfer/data sizes were not being set correctly

- align_32byte always realigned the address of `_scene`, and not the
  `mem` parameter as expected. This had the effect of the maple-DMA
  send and receive buffers being the same buffer. On real hardware,
  this causes unpredicable behavior.
2023-12-10 00:44:33 +08:00

2.4 KiB

1nameissuing_rightcommand_codedata_sizedata_fielddata_field_size
2device_requesthost0x010x00
3
4all_status_requesthost0x020x00
5
6device_resethost0x030x00
7
8device_killhost0x040x00
9
10device_statusperipheral0x050x1cdevice_id16
11device_statusdestination_code1
12device_statusconnection_direction1
13device_statusproduct_name30
14device_statuslicense60
15device_statuslow_consumption_standby_current2
16device_statusmaximum_current_consumption2
17
18device_all_statusperipheral0x060x1c+n/4device_id16
19device_all_statusdestination_code1
20device_all_statusconnection_direction1
21device_all_statusproduct_name30
22device_all_statuslicense60
23device_all_statuslow_consumption_standby_current2
24device_all_statusmaximum_current_consumption2
25device_all_statusfree_device_statusn
26
27device_replyperipheral0x070x00
28
29data_transferperipheral0x080x01+n/4function_type4
30data_transferdatan
31
32get_conditionhost0x090x01function_type4
33
34get_media_infohost0x0a0x02function_type4
35get_media_infopt4
36
37block_readhost0x0b0x02function_type4
38block_readpt1
39block_readphase1
40block_readblock_no2
41
42block_writehost0x0c0x02+n/4function_type4
43block_writept1
44block_writephase1
45block_writeblock_no2
46block_writewritten_datan
47
48get_last_errorhost0x0d0x02function_type4
49get_last_errorpt1
50get_last_errorphase1
51get_last_errorblock_no2
52
53set_conditionhost0x0e0x01+n/4function_type4
54set_conditionwrite_in_datan
55
56ft4_controlhost0x0f0x01+n/4function_type4
57ft4_controlft4_datan
58
59ar_controlhost0x100x01+n/4function_type4
60ar_controldatan
61
62function_type_unknownperipheral0xfe0x00
63
64command_unknownperipheral0xfd0x00
65
66transmit_againhost, peripheral0xfc0x00
67
68file_errorperipheral0xfb0x01function_error_code4
69
70lcd_errorperipheral0xfa0x01function_error_code4
71
72ar_errorperipheral0xf90x01function_error_code4