Previous 15994 Revisions Next

r3315 Tuesday 23rd September, 2008 at 16:24:36 UTC by Curt Coder
[CPC6128] Added Sweden/Finland variant.
[docs]messnew.txt
[src/mess]messdriv.c
[src/mess/drivers]amstrad.c

src/mess/messdriv.c
r3314r3315
210210   DRIVER( cpc464 )   /* Amstrad (Schneider in Germany) 1984            */
211211   DRIVER( cpc664 )   /* Amstrad (Schneider in Germany) 1985            */
212212   DRIVER( cpc6128 )   /* Amstrad (Schneider in Germany) 1985            */
213   DRIVER( cpc6128s )   /* Amstrad (Schneider in Germany) 1985            */
213214   DRIVER( cpc6128f )   /* Amstrad (Schneider in Germany) 1985 (AZERTY)      */
214215   DRIVER( cpc464p )   /* Amstrad CPC464  Plus - 1990                  */
215216   DRIVER( cpc6128p )   /* Amstrad CPC6128 Plus - 1990                  */
src/mess/drivers/amstrad.c
r3314r3315
23072307static INPUT_PORTS_START( amstrad_keyboard )
23082308   /* keyboard row 0 */
23092309   PORT_START("keyboard_row_0")
2310   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xE2\x87\xA7")          PORT_CODE(KEYCODE_UP)         PORT_CHAR(UCHAR_MAMEKEY(UP))
2311   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xE2\x87\xA8")          PORT_CODE(KEYCODE_RIGHT)      PORT_CHAR(UCHAR_MAMEKEY(RIGHT))
2312   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xE2\x87\xA9")          PORT_CODE(KEYCODE_DOWN)       PORT_CHAR(UCHAR_MAMEKEY(DOWN))
2310   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xE2\x86\x91")          PORT_CODE(KEYCODE_UP)         PORT_CHAR(UCHAR_MAMEKEY(UP))
2311   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xE2\x86\x92")          PORT_CODE(KEYCODE_RIGHT)      PORT_CHAR(UCHAR_MAMEKEY(RIGHT))
2312   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xE2\x86\x93")          PORT_CODE(KEYCODE_DOWN)       PORT_CHAR(UCHAR_MAMEKEY(DOWN))
23132313   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Keypad 9")              PORT_CODE(KEYCODE_9_PAD)      PORT_CHAR(UCHAR_MAMEKEY(9_PAD))
23142314   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Keypad 6")              PORT_CODE(KEYCODE_6_PAD)      PORT_CHAR(UCHAR_MAMEKEY(6_PAD))
23152315   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Keypad 3")              PORT_CODE(KEYCODE_3_PAD)      PORT_CHAR(UCHAR_MAMEKEY(3_PAD))
r3314r3315
23182318
23192319   /* keyboard line 1 */
23202320   PORT_START("keyboard_row_1")
2321   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xE2\x87\xA6")          PORT_CODE(KEYCODE_LEFT)       PORT_CHAR(UCHAR_MAMEKEY(LEFT))
2321   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xE2\x86\x90")          PORT_CODE(KEYCODE_LEFT)       PORT_CHAR(UCHAR_MAMEKEY(LEFT))
23222322   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Copy")                  PORT_CODE(KEYCODE_END)        PORT_CHAR(UCHAR_MAMEKEY(END))
23232323   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Keypad 7")              PORT_CODE(KEYCODE_7_PAD)      PORT_CHAR(UCHAR_MAMEKEY(7_PAD))
23242324   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Keypad 8")              PORT_CODE(KEYCODE_8_PAD)      PORT_CHAR(UCHAR_MAMEKEY(8_PAD))
r3314r3315
26292629   PORT_INCLUDE(crtc_links)
26302630INPUT_PORTS_END
26312631
2632static INPUT_PORTS_START( cpc6128s )
2633   PORT_INCLUDE(cpc6128)
2634
2635   PORT_MODIFY("keyboard_row_2")
2636   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xC3\x9C")              PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR(0x00DC)
2637   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xC3\x89")              PORT_CODE(KEYCODE_BACKSLASH)  PORT_CHAR(0x00E9)
2638   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD)                              PORT_CODE(KEYCODE_RCONTROL)   PORT_CHAR('/') PORT_CHAR('?')
2639
2640   PORT_MODIFY("keyboard_row_3")
2641   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD)                              PORT_CODE(KEYCODE_EQUALS)     PORT_CHAR('+') PORT_CHAR('*')
2642   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD)                                    PORT_CODE(KEYCODE_MINUS)      PORT_CHAR('-') PORT_CHAR('=')
2643   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xC3\x85")            PORT_CODE(KEYCODE_OPENBRACE)    PORT_CHAR(0x00C5)
2644   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xC3\x84")            PORT_CODE(KEYCODE_QUOTE)       PORT_CHAR(0x00C4)
2645   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\xC3\x96")            PORT_CODE(KEYCODE_COLON)       PORT_CHAR(0x00D6)
2646   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD)                                    PORT_CODE(KEYCODE_SLASH)      PORT_CHAR('<') PORT_CHAR('>')
2647   PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD)                                    PORT_CODE(KEYCODE_STOP)       PORT_CHAR('.') PORT_CHAR(':')
2648   
2649   PORT_MODIFY("keyboard_row_4")
2650   PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD)                                    PORT_CODE(KEYCODE_COMMA)      PORT_CHAR(',') PORT_CHAR(';')
2651INPUT_PORTS_END
2652
26322653/*
26332654 * The BIOS of the KC Compact would be able to recognize the keypresses
26342655 * generated by F5-F9. Unfortunately these keys are not present on the
r3314r3315
30603081ROM_END
30613082
30623083
3084ROM_START( cpc6128s )
3085   /* this defines the total memory size (128kb))- 64k ram, 16k OS, 16k BASIC, 16k DOS +16k*/
3086   ROM_REGION(0x020000, "main", 0)
3087
3088   /* load the os to offset 0x01000 from memory base */
3089   ROM_LOAD("cpc6128s.rom", 0x10000, 0x8000, CRC(588b5540) SHA1(6765a91a42fed68a807325bf62a728e5ac5d622f))
3090   ROM_LOAD("cpcados.rom",  0x18000, 0x4000, CRC(1fe22ecd) SHA1(39102c8e9cb55fcc0b9b62098780ed4a3cb6a4bb))
3091
3092   /* optional Multiface hardware */
3093   ROM_LOAD_OPTIONAL("multface.rom", 0x01c000, 0x2000, CRC(f36086de) SHA1(1431ec628d38f000715545dd2186b684c5fe5a6f))
3094ROM_END
3095
3096
30633097ROM_START( cpc464 )
30643098   /* this defines the total memory size - 64k ram, 16k OS, 16k BASIC, 16k DOS */
30653099   ROM_REGION(0x01c000, "main", 0)
r3314r3315
32143248COMP( 1985, cpc664,   cpc464,   0,      amstrad, cpc664,   0,       cpc6128, "Amstrad plc",         "Amstrad CPC664",                            0 )
32153249COMP( 1985, cpc6128,  cpc464,   0,      amstrad, cpc6128,  0,       cpc6128, "Amstrad plc",         "Amstrad CPC6128",                           0 )
32163250COMP( 1985, cpc6128f, cpc464,   0,      amstrad, cpc6128f, 0,       cpc6128, "Amstrad plc",         "Amstrad CPC6128 (France, AZERTY Keyboard)", 0 )
3251COMP( 1985, cpc6128s, cpc464,   0,      amstrad, cpc6128s, 0,       cpc6128, "Amstrad plc",         "Amstrad CPC6128 (Sweden/Finland)",          0 )
32173252COMP( 1990, cpc464p,  0,        0,      cpcplus, plus,     0,       cpcplus, "Amstrad plc",         "Amstrad CPC464+",                           0 )
32183253COMP( 1990, cpc6128p, 0,        0,      cpcplus, plus,     0,       cpcplus, "Amstrad plc",         "Amstrad CPC6128+",                          0 )
32193254CONS( 1990, gx4000,   0,        0,      gx4000,  gx4000,   0,       gx4000,  "Amstrad plc",         "Amstrad GX4000",                            0 )
docs/messnew.txt
r3314r3315
10.127.1
10.127.1
22
33New System Drivers Supported (in no particular order):
44------------------------------------------------------
5- Amstrad CPC6128 (Sweden/Finland) [Iggy Drougge, Curt Coder]
56- Consul 2717 [Miodrag Milanovic]
67- HT-1080Z / HT-1080Z/64 [Miodrag Milanovic]
78- Primo B32/ Primo B48/ Primo C64 [Miodrag Milanovic]
r3314r3315
129130  multifile carts work [Fabio Priuli]
130131
131132- [VIP] Fixed memory banking, added discrete sound, added tape support,
132  and improved quickloading so that the CHIP-8 interpreter is automatically
133  and improved quickloading so that the CHIP-8(X) interpreter is automatically
133134  loaded alongside .c8 files. [Curt Coder]
134135
136- [VIP] Added VP-590 color board, VP-595 Simple Sound Board, and a
137  single VP-580 Auxiliary Keyboard emulation. The VIP Blockout game can
138  now be played in color with sound using 2 keypads. [Curt Coder]
139
135140- [X68000] Fixed SASI harddisk device info [Oliver Stöneberg]
136141
137142
r3314r3315
150155- Fixed toggling through multiple cassettes in Tape Control menu [Oliver
151156  Stöneberg]
152157
158- MESSUI now shows the actual values of the system configuration
159  settings instead of the defaults. (bug #1679) [Curt Coder]
153160
161- BIOS selection from MESSUI is now possible. (bug #1681) [Curt Coder]
154162
155163Imgtool Changes:
156164----------------

Previous 15994 Revisions Next


© 1998-2018 The MESS Team