src/mess/drivers/amstrad.c
| r4165 | r4166 | |
| 69 | 69 | - Magic Sound isn't emulated. |
| 70 | 70 | |
| 71 | 71 | |
| 72 | January 2009 - changed drivers to use the mc6845 device implementation |
| 73 | To get rid of duplicated code the drivers have been changed to use the new mc6845 device |
| 74 | implementation. As a result the (runtime) selection of CRTC type has been removed. |
| 75 | |
| 76 | |
| 72 | 77 | Some bugs left : |
| 73 | 78 | ---------------- |
| 74 | 79 | - CRTC all type support (0,1,2,3,4) ? |
| 75 | 80 | - Gate Array and CRTC aren't synchronised. (The Gate Array can change the color every microseconds?) So the multi-rasters in one line aren't supported (see yao demo p007's part)! |
| 76 | 81 | - Implement full Asic for CPC+ emulation. Soft scroll is rather dodgy. 8-bit printer port (bit 3 of CRTC reg 12) not implemented. |
| 82 | - The KC Compact should not reuse the gate array functionality. Instead z8536 support should be added. (bug #42) |
| 83 | |
| 77 | 84 | ******************************************************************************/ |
| 78 | 85 | |
| 79 | 86 | /* Core includes */ |
| r4165 | r4166 | |
| 84 | 91 | #include "machine/centroni.h" |
| 85 | 92 | #include "machine/8255ppi.h" /* for 8255 ppi */ |
| 86 | 93 | #include "cpu/z80/z80.h" /* for cycle tables */ |
| 87 | | #include "video/m6845.h" /* CRTC display */ |
| 88 | 94 | #include "video/mc6845.h" /* CRTC */ |
| 89 | 95 | #include "machine/nec765.h" /* for floppy disc controller */ |
| 90 | 96 | #include "sound/ay8910.h" |
| r4165 | r4166 | |
| 367 | 373 | Pre-ASIC??? Amstrad? 4 In the "cost-down" CPC6128, the CRTC functionality is integrated into a single ASIC IC. This ASIC is often refered to as the "Pre-ASIC" because it preceeded the CPC+ ASIC |
| 368 | 374 | As far as I know, the KC compact used HD6845S only. |
| 369 | 375 | */ |
| 370 | | PORT_START("crtc") |
| 371 | | PORT_CONFNAME( 0xFF, M6845_PERSONALITY_UM6845R, "CRTC Type") |
| 372 | | PORT_CONFSETTING(M6845_PERSONALITY_UM6845, "Type 0 - UM6845") |
| 373 | | PORT_CONFSETTING(M6845_PERSONALITY_HD6845S, "Type 0 - HD6845S") |
| 374 | | PORT_CONFSETTING(M6845_PERSONALITY_UM6845R, "Type 1 - UM6845R") |
| 375 | | PORT_CONFSETTING(M6845_PERSONALITY_GENUINE, "Type 2 - MC6845") |
| 376 | | PORT_CONFSETTING(M6845_PERSONALITY_AMS40489, "Type 3 - AMS40489") |
| 377 | | PORT_CONFSETTING(M6845_PERSONALITY_PREASIC, "Type 4 - Pre-ASIC") |
| 376 | // PORT_START("crtc") |
| 377 | // PORT_CONFNAME( 0xFF, M6845_PERSONALITY_UM6845R, "CRTC Type") |
| 378 | // PORT_CONFSETTING(M6845_PERSONALITY_UM6845, "Type 0 - UM6845") |
| 379 | // PORT_CONFSETTING(M6845_PERSONALITY_HD6845S, "Type 0 - HD6845S") |
| 380 | // PORT_CONFSETTING(M6845_PERSONALITY_UM6845R, "Type 1 - UM6845R") |
| 381 | // PORT_CONFSETTING(M6845_PERSONALITY_GENUINE, "Type 2 - MC6845") |
| 382 | // PORT_CONFSETTING(M6845_PERSONALITY_AMS40489, "Type 3 - AMS40489") |
| 383 | // PORT_CONFSETTING(M6845_PERSONALITY_PREASIC, "Type 4 - Pre-ASIC") |
| 378 | 384 | |
| 379 | 385 | PORT_START("multiface") |
| 380 | 386 | PORT_CONFNAME(0x01, 0x00, "Multiface Two" ) |