trunk/src/mame/drivers/fidel6502.cpp
| r252955 | r252956 | |
| 12 | 12 | |
| 13 | 13 | #include "emu.h" |
| 14 | 14 | #include "cpu/m6502/m6502.h" |
| 15 | | #include "cpu/m6502/m65c02.h" |
| 15 | #include "cpu/m6502/r65c02.h" |
| 16 | #include "cpu/m6502/m65sc02.h" |
| 16 | 17 | #include "machine/6821pia.h" |
| 17 | 18 | #include "sound/speaker.h" |
| 18 | 19 | |
| 19 | 20 | #include "includes/fidelz80.h" |
| 20 | 21 | |
| 21 | 22 | // internal artwork |
| 23 | #include "fidel_sc12.lh" |
| 24 | #include "fidel_fev.lh" |
| 25 | |
| 22 | 26 | extern const char layout_fidel_vsc[]; // same layout as fidelz80/vsc |
| 23 | 27 | |
| 24 | 28 | |
| r252955 | r252956 | |
| 221 | 225 | AM_RANGE(0xe000, 0xffff) AM_ROM |
| 222 | 226 | ADDRESS_MAP_END |
| 223 | 227 | |
| 228 | static ADDRESS_MAP_START( fev_map, AS_PROGRAM, 8, fidel6502_state ) |
| 229 | ADDRESS_MAP_UNMAP_HIGH |
| 230 | AM_RANGE(0x0000, 0x1fff) AM_RAM |
| 231 | AM_RANGE(0x8000, 0xffff) AM_ROM |
| 232 | ADDRESS_MAP_END |
| 224 | 233 | |
| 225 | 234 | |
| 226 | 235 | /****************************************************************************** |
| r252955 | r252956 | |
| 380 | 389 | static MACHINE_CONFIG_START( sc12, fidel6502_state ) |
| 381 | 390 | |
| 382 | 391 | /* basic machine hardware */ |
| 383 | | MCFG_CPU_ADD("maincpu", M65C02, XTAL_4MHz) |
| 392 | MCFG_CPU_ADD("maincpu", R65C02, XTAL_4MHz) |
| 384 | 393 | MCFG_CPU_PROGRAM_MAP(sc12_map) |
| 385 | 394 | |
| 386 | 395 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", fidelz80base_state, display_decay_tick, attotime::from_msec(1)) |
| 387 | | MCFG_DEFAULT_LAYOUT(layout_fidel_vsc) |
| 396 | MCFG_DEFAULT_LAYOUT(layout_fidel_sc12) |
| 388 | 397 | |
| 389 | 398 | /* sound hardware */ |
| 390 | 399 | MCFG_SPEAKER_STANDARD_MONO("mono") |
| r252955 | r252956 | |
| 392 | 401 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 393 | 402 | MACHINE_CONFIG_END |
| 394 | 403 | |
| 404 | |
| 405 | |
| 406 | static MACHINE_CONFIG_START( fev, fidel6502_state ) |
| 407 | |
| 408 | /* basic machine hardware */ |
| 409 | MCFG_CPU_ADD("maincpu", M65SC02, XTAL_3MHz) // M65SC102 (CMD) |
| 410 | MCFG_CPU_PROGRAM_MAP(fev_map) |
| 411 | |
| 412 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", fidelz80base_state, display_decay_tick, attotime::from_msec(1)) |
| 413 | MCFG_DEFAULT_LAYOUT(layout_fidel_fev) |
| 414 | |
| 415 | /* sound hardware */ |
| 416 | MCFG_SPEAKER_STANDARD_MONO("mono") |
| 417 | MCFG_SOUND_ADD("speech", S14001A, 25000) // R/C circuit, around 25khz |
| 418 | MCFG_S14001A_EXT_READ_HANDLER(READ8(fidel6502_state, csc_speech_r)) |
| 419 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75) |
| 420 | MACHINE_CONFIG_END |
| 421 | |
| 422 | |
| 395 | 423 | /****************************************************************************** |
| 396 | 424 | ROM Definitions |
| 397 | 425 | ******************************************************************************/ |
| r252955 | r252956 | |
| 418 | 446 | |
| 419 | 447 | ROM_START( fexcelv ) |
| 420 | 448 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 421 | | ROM_LOAD("101-1080a01.ic5", 0x0000, 0x8000, CRC(846f8e40) SHA1(4e1d5b08d5ff3422192b54fa82cb3f505a69a971) ) |
| 449 | ROM_LOAD("101-1080a01.ic5", 0x8000, 0x8000, CRC(846f8e40) SHA1(4e1d5b08d5ff3422192b54fa82cb3f505a69a971) ) |
| 422 | 450 | |
| 423 | 451 | ROM_REGION( 0x8000, "speech", 0 ) |
| 424 | 452 | ROM_LOAD("101-1081a01.ic2", 0x0000, 0x8000, CRC(c8ae1607) SHA1(6491ce6be60ed77f3dd931c0ca17616f13af943e) ) |
| r252955 | r252956 | |
| 433 | 461 | |
| 434 | 462 | COMP( 1984, fscc12, 0, 0, sc12, csc, driver_device, 0, "Fidelity Electronics", "Sensory Chess Challenger 12-B", MACHINE_NOT_WORKING ) |
| 435 | 463 | |
| 436 | | COMP( 1987, fexcelv, 0, 0, csc, csc, driver_device, 0, "Fidelity Electronics", "Voice Excellence", MACHINE_NOT_WORKING ) |
| 464 | COMP( 1987, fexcelv, 0, 0, fev, csc, driver_device, 0, "Fidelity Electronics", "Voice Excellence", MACHINE_NOT_WORKING ) |
trunk/src/mame/layout/fidel_fev.lay
| r0 | r252956 | |
| 1 | <?xml version="1.0"?> |
| 2 | <mamelayout version="2"> |
| 3 | |
| 4 | <!-- define elements --> |
| 5 | |
| 6 | <element name="ledr" defstate="0"> |
| 7 | <disk state="0"><color red="0.2" green="0.04" blue="0.046" /></disk> |
| 8 | <disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk> |
| 9 | </element> |
| 10 | <element name="ledg" defstate="0"> |
| 11 | <disk state="0"><color red="0.04" green="0.2" blue="0.046" /></disk> |
| 12 | <disk state="1"><color red="0.2" green="1.0" blue="0.23" /></disk> |
| 13 | </element> |
| 14 | |
| 15 | |
| 16 | <!-- build screen --> |
| 17 | |
| 18 | <view name="Internal Layout"> |
| 19 | <bounds left="0" right="20" top="0" bottom="20" /> |
| 20 | |
| 21 | <bezel name="0.0" element="ledr"><bounds x="1" y="1" width="1" height="1" /></bezel> |
| 22 | <bezel name="0.1" element="ledr"><bounds x="1" y="2" width="1" height="1" /></bezel> |
| 23 | <bezel name="0.2" element="ledr"><bounds x="1" y="3" width="1" height="1" /></bezel> |
| 24 | <bezel name="0.3" element="ledr"><bounds x="1" y="4" width="1" height="1" /></bezel> |
| 25 | <bezel name="0.4" element="ledr"><bounds x="1" y="5" width="1" height="1" /></bezel> |
| 26 | <bezel name="0.5" element="ledr"><bounds x="1" y="6" width="1" height="1" /></bezel> |
| 27 | <bezel name="0.6" element="ledr"><bounds x="1" y="7" width="1" height="1" /></bezel> |
| 28 | <bezel name="0.7" element="ledr"><bounds x="1" y="8" width="1" height="1" /></bezel> |
| 29 | |
| 30 | <bezel name="1.0" element="ledg"><bounds x="2" y="9" width="1" height="1" /></bezel> |
| 31 | <bezel name="1.1" element="ledg"><bounds x="3" y="9" width="1" height="1" /></bezel> |
| 32 | <bezel name="1.2" element="ledg"><bounds x="4" y="9" width="1" height="1" /></bezel> |
| 33 | <bezel name="1.3" element="ledg"><bounds x="5" y="9" width="1" height="1" /></bezel> |
| 34 | <bezel name="1.4" element="ledg"><bounds x="6" y="9" width="1" height="1" /></bezel> |
| 35 | <bezel name="1.5" element="ledg"><bounds x="7" y="9" width="1" height="1" /></bezel> |
| 36 | <bezel name="1.6" element="ledg"><bounds x="8" y="9" width="1" height="1" /></bezel> |
| 37 | <bezel name="1.7" element="ledg"><bounds x="9" y="9" width="1" height="1" /></bezel> |
| 38 | |
| 39 | </view> |
| 40 | </mamelayout> |
trunk/src/mame/layout/fidel_sc12.lay
| r0 | r252956 | |
| 1 | <?xml version="1.0"?> |
| 2 | <mamelayout version="2"> |
| 3 | |
| 4 | <!-- define elements --> |
| 5 | |
| 6 | <element name="led" defstate="0"> |
| 7 | <disk state="0"><color red="0.2" green="0.04" blue="0.046" /></disk> |
| 8 | <disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk> |
| 9 | </element> |
| 10 | |
| 11 | |
| 12 | <!-- build screen --> |
| 13 | |
| 14 | <view name="Internal Layout"> |
| 15 | <bounds left="0" right="20" top="0" bottom="20" /> |
| 16 | |
| 17 | <bezel name="0.0" element="led"><bounds x="1" y="1" width="1" height="1" /></bezel> |
| 18 | <bezel name="0.1" element="led"><bounds x="1" y="2" width="1" height="1" /></bezel> |
| 19 | <bezel name="0.2" element="led"><bounds x="1" y="3" width="1" height="1" /></bezel> |
| 20 | <bezel name="0.3" element="led"><bounds x="1" y="4" width="1" height="1" /></bezel> |
| 21 | <bezel name="0.4" element="led"><bounds x="1" y="5" width="1" height="1" /></bezel> |
| 22 | <bezel name="0.5" element="led"><bounds x="1" y="6" width="1" height="1" /></bezel> |
| 23 | <bezel name="0.6" element="led"><bounds x="1" y="7" width="1" height="1" /></bezel> |
| 24 | <bezel name="0.7" element="led"><bounds x="1" y="8" width="1" height="1" /></bezel> |
| 25 | |
| 26 | <bezel name="1.0" element="led"><bounds x="2" y="9" width="1" height="1" /></bezel> |
| 27 | <bezel name="1.1" element="led"><bounds x="3" y="9" width="1" height="1" /></bezel> |
| 28 | <bezel name="1.2" element="led"><bounds x="4" y="9" width="1" height="1" /></bezel> |
| 29 | <bezel name="1.3" element="led"><bounds x="5" y="9" width="1" height="1" /></bezel> |
| 30 | <bezel name="1.4" element="led"><bounds x="6" y="9" width="1" height="1" /></bezel> |
| 31 | <bezel name="1.5" element="led"><bounds x="7" y="9" width="1" height="1" /></bezel> |
| 32 | <bezel name="1.6" element="led"><bounds x="8" y="9" width="1" height="1" /></bezel> |
| 33 | <bezel name="1.7" element="led"><bounds x="9" y="9" width="1" height="1" /></bezel> |
| 34 | |
| 35 | <bezel name="2.0" element="led"><bounds x="11" y="7" width="1" height="1" /></bezel> |
| 36 | <bezel name="2.1" element="led"><bounds x="11" y="8" width="1" height="1" /></bezel> |
| 37 | |
| 38 | </view> |
| 39 | </mamelayout> |