src/mess/drivers/amstrad.c
| r1316 | r1317 | |
| 17 | 17 | |
| 18 | 18 | Kevin Thacker [MESS driver] |
| 19 | 19 | |
| 20 | | May-June 2004 - Yoann Courtois (aka Papagayo/ex GMC/ex PARADOX) - rewritting some code with hardware documentation from http://andercheran.aiind.upv.es/~amstrad |
| 20 | May-June 2004 - Yoann Courtois (aka Papagayo/ex GMC/ex PARADOX) - rewritting some code with hardware documentation from http://www.cepece.info/amstrad/ |
| 21 | 21 | |
| 22 | 22 | June 2006 - Very preliminary CPC+ support. CPR cart image handling, secondary ROM register, ASIC unlock detection |
| 23 | 23 | Supported: |
| r1316 | r1317 | |
| 1604 | 1604 | multiface_reset(); |
| 1605 | 1605 | } |
| 1606 | 1606 | |
| 1607 | void kccomp_reset_machine(void) |
| 1608 | { |
| 1609 | /* enable lower rom (OS rom) */ |
| 1610 | amstrad_GateArray_write(0x089); |
| 1611 | |
| 1612 | /* set ram config 0 */ |
| 1613 | amstrad_GateArray_write(0x0c0); |
| 1614 | } |
| 1615 | |
| 1607 | 1616 | /* the following timings have been measured! */ |
| 1608 | 1617 | static UINT8 amstrad_cycle_table_op[256] = { |
| 1609 | 1618 | 4, 12, 8, 8, 4, 4, 8, 4, 4, 12, 8, 8, 4, 4, 8, 4, |
| r1316 | r1317 | |
| 1902 | 1911 | } |
| 1903 | 1912 | |
| 1904 | 1913 | amstrad_common_init(); |
| 1905 | | amstrad_reset_machine(); |
| 1914 | kccomp_reset_machine(); |
| 1906 | 1915 | |
| 1907 | 1916 | /* bit 1 = /TEST. When 0, KC compact will enter data transfer |
| 1908 | 1917 | sequence, where another system using the expansion port signals |