Previous 15994 Revisions Next

r4166 Sunday 18th January, 2009 at 13:32:52 UTC by Wilbert Pol
[AMSTRAD] Removed m6845.h include. Documented switch to mc6845 device.
[src/mess/drivers]amstrad.c

src/mess/drivers/amstrad.c
r4165r4166
6969            - Magic Sound isn't emulated.
7070
7171
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
7277Some bugs left :
7378----------------
7479    - CRTC all type support (0,1,2,3,4) ?
7580    - 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)!
7681    - 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
7784 ******************************************************************************/
7885
7986/* Core includes */
r4165r4166
8491#include "machine/centroni.h"
8592#include "machine/8255ppi.h"   /* for 8255 ppi */
8693#include "cpu/z80/z80.h"      /* for cycle tables */
87#include "video/m6845.h"      /* CRTC display */
8894#include "video/mc6845.h"      /* CRTC */
8995#include "machine/nec765.h"   /* for floppy disc controller */
9096#include "sound/ay8910.h"
r4165r4166
367373   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
368374As far as I know, the KC compact used HD6845S only.
369375*/
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")
378384
379385   PORT_START("multiface")
380386   PORT_CONFNAME(0x01, 0x00, "Multiface Two" )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team