trunk/src/mame/drivers/fidel6502.cpp
| r253074 | r253075 | |
| 36 | 36 | : fidelz80base_state(mconfig, type, tag), |
| 37 | 37 | m_6821pia(*this, "6821pia"), |
| 38 | 38 | m_cart(*this, "cartslot"), |
| 39 | | m_speaker(*this, "speaker"), |
| 40 | | m_irq_off(*this, "irq_off") |
| 39 | m_speaker(*this, "speaker") |
| 41 | 40 | { } |
| 42 | 41 | |
| 43 | 42 | // devices/pointers |
| 44 | 43 | optional_device<pia6821_device> m_6821pia; |
| 45 | 44 | optional_device<generic_slot_device> m_cart; |
| 46 | 45 | optional_device<speaker_sound_device> m_speaker; |
| 47 | | optional_device<timer_device> m_irq_off; |
| 48 | 46 | |
| 47 | TIMER_DEVICE_CALLBACK_MEMBER(irq_on) { m_maincpu->set_input_line(M6502_IRQ_LINE, ASSERT_LINE); } |
| 48 | TIMER_DEVICE_CALLBACK_MEMBER(irq_off) { m_maincpu->set_input_line(M6502_IRQ_LINE, CLEAR_LINE); } |
| 49 | |
| 49 | 50 | // model CSC |
| 50 | 51 | void csc_update_7442(); |
| 51 | 52 | void csc_prepare_display(); |
| r253074 | r253075 | |
| 65 | 66 | // model SC12 |
| 66 | 67 | DECLARE_MACHINE_START(sc12); |
| 67 | 68 | DECLARE_DEVICE_IMAGE_LOAD_MEMBER(scc_cartridge); |
| 68 | | TIMER_DEVICE_CALLBACK_MEMBER(irq_off); |
| 69 | | TIMER_DEVICE_CALLBACK_MEMBER(sc12_irq); |
| 70 | 69 | DECLARE_WRITE8_MEMBER(sc12_control_w); |
| 71 | 70 | DECLARE_READ8_MEMBER(sc12_input_r); |
| 72 | 71 | }; |
| r253074 | r253075 | |
| 247 | 246 | } |
| 248 | 247 | |
| 249 | 248 | |
| 250 | | // interrupt handling |
| 251 | | |
| 252 | | TIMER_DEVICE_CALLBACK_MEMBER(fidel6502_state::irq_off) |
| 253 | | { |
| 254 | | m_maincpu->set_input_line(M6502_IRQ_LINE, CLEAR_LINE); |
| 255 | | } |
| 256 | | |
| 257 | | TIMER_DEVICE_CALLBACK_MEMBER(fidel6502_state::sc12_irq) |
| 258 | | { |
| 259 | | m_maincpu->set_input_line(M6502_IRQ_LINE, ASSERT_LINE); |
| 260 | | m_irq_off->adjust(attotime::from_nsec(15250)); // active low for 15.25us |
| 261 | | } |
| 262 | | |
| 263 | | |
| 264 | 249 | // TTL |
| 265 | 250 | |
| 266 | 251 | WRITE8_MEMBER(fidel6502_state::sc12_control_w) |
| r253074 | r253075 | |
| 571 | 556 | /* basic machine hardware */ |
| 572 | 557 | MCFG_CPU_ADD("maincpu", R65C02, XTAL_4MHz) |
| 573 | 558 | MCFG_CPU_PROGRAM_MAP(sc12_map) |
| 574 | | MCFG_TIMER_DRIVER_ADD_PERIODIC("sc12_irq", fidel6502_state, sc12_irq, attotime::from_hz(780)) // from 556 timer |
| 575 | | MCFG_TIMER_DRIVER_ADD("irq_off", fidel6502_state, irq_off) |
| 559 | MCFG_TIMER_DRIVER_ADD_PERIODIC("irq_on", fidel6502_state, irq_on, attotime::from_hz(780)) // from 556 timer |
| 560 | MCFG_TIMER_START_DELAY(attotime::from_hz(780) - attotime::from_nsec(15250)) // active for 15.25us |
| 561 | MCFG_TIMER_DRIVER_ADD_PERIODIC("irq_off", fidel6502_state, irq_off, attotime::from_hz(780)) |
| 576 | 562 | |
| 577 | 563 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", fidelz80base_state, display_decay_tick, attotime::from_msec(1)) |
| 578 | 564 | MCFG_DEFAULT_LAYOUT(layout_fidel_sc12) |
| r253074 | r253075 | |
| 595 | 581 | static MACHINE_CONFIG_START( fev, fidel6502_state ) |
| 596 | 582 | |
| 597 | 583 | /* basic machine hardware */ |
| 598 | | MCFG_CPU_ADD("maincpu", M65SC02, XTAL_3MHz) // M65SC102 (CMD) |
| 584 | MCFG_CPU_ADD("maincpu", M65SC02, XTAL_12MHz/4) // G65SC102 |
| 599 | 585 | MCFG_CPU_PROGRAM_MAP(fev_map) |
| 600 | 586 | |
| 601 | 587 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", fidelz80base_state, display_decay_tick, attotime::from_msec(1)) |
| r253074 | r253075 | |
| 649 | 635 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY, FULLNAME, FLAGS */ |
| 650 | 636 | COMP( 1981, csc, 0, 0, csc, csc, driver_device, 0, "Fidelity Electronics", "Champion Sensory Chess Challenger", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) |
| 651 | 637 | |
| 652 | | COMP( 1984, fscc12, 0, 0, sc12, sc12, driver_device, 0, "Fidelity Electronics", "Sensory Chess Challenger 12-B", MACHINE_NOT_WORKING ) |
| 638 | COMP( 1984, fscc12, 0, 0, sc12, sc12, driver_device, 0, "Fidelity Electronics", "Sensory Chess Challenger 12-B", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) |
| 653 | 639 | |
| 654 | | COMP( 1987, fexcelv, 0, 0, fev, csc, driver_device, 0, "Fidelity Electronics", "Voice Excellence", MACHINE_NOT_WORKING ) |
| 640 | COMP( 1987, fexcelv, 0, 0, fev, csc, driver_device, 0, "Fidelity Electronics", "Voice Excellence", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) |
trunk/src/mame/drivers/hh_tms1k.cpp
| r253074 | r253075 | |
| 4909 | 4909 | CONS( 1980, mdndclab, 0, 0, mdndclab, mdndclab, driver_device, 0, "Mattel", "Dungeons & Dragons - Computer Labyrinth Game", MACHINE_SUPPORTS_SAVE ) // *** |
| 4910 | 4910 | |
| 4911 | 4911 | CONS( 1977, comp4, 0, 0, comp4, comp4, driver_device, 0, "Milton Bradley", "Comp IV", MACHINE_SUPPORTS_SAVE | MACHINE_NO_SOUND_HW ) |
| 4912 | | CONS( 1978, simon, 0, 0, simon, simon, driver_device, 0, "Milton Bradley", "Simon (Rev. A)", MACHINE_SUPPORTS_SAVE ) |
| 4913 | | CONS( 1979, ssimon, 0, 0, ssimon, ssimon, driver_device, 0, "Milton Bradley", "Super Simon", MACHINE_SUPPORTS_SAVE ) |
| 4912 | CONS( 1978, simon, 0, 0, simon, simon, driver_device, 0, "Milton Bradley", "Simon (Rev. A)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) |
| 4913 | CONS( 1979, ssimon, 0, 0, ssimon, ssimon, driver_device, 0, "Milton Bradley", "Super Simon", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) |
| 4914 | 4914 | CONS( 1979, bigtrak, 0, 0, bigtrak, bigtrak, driver_device, 0, "Milton Bradley", "Big Trak", MACHINE_SUPPORTS_SAVE | MACHINE_MECHANICAL ) // *** |
| 4915 | 4915 | |
| 4916 | 4916 | CONS( 1977, cnsector, 0, 0, cnsector, cnsector, driver_device, 0, "Parker Brothers", "Code Name: Sector", MACHINE_SUPPORTS_SAVE | MACHINE_NO_SOUND_HW ) // *** |
| 4917 | | CONS( 1978, merlin, 0, 0, merlin, merlin, driver_device, 0, "Parker Brothers", "Merlin - The Electronic Wizard", MACHINE_SUPPORTS_SAVE ) |
| 4917 | CONS( 1978, merlin, 0, 0, merlin, merlin, driver_device, 0, "Parker Brothers", "Merlin - The Electronic Wizard", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) |
| 4918 | 4918 | CONS( 1979, stopthie, 0, 0, stopthief, stopthief, driver_device, 0, "Parker Brothers", "Stop Thief (Electronic Crime Scanner)", MACHINE_SUPPORTS_SAVE ) // *** |
| 4919 | 4919 | CONS( 1979, stopthiep, stopthie, 0, stopthief, stopthief, driver_device, 0, "Parker Brothers", "Stop Thief (Electronic Crime Scanner) (patent)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) |
| 4920 | 4920 | CONS( 1980, bankshot, 0, 0, bankshot, bankshot, driver_device, 0, "Parker Brothers", "Bank Shot - Electronic Pool", MACHINE_SUPPORTS_SAVE ) |
| 4921 | 4921 | CONS( 1980, splitsec, 0, 0, splitsec, splitsec, driver_device, 0, "Parker Brothers", "Split Second", MACHINE_SUPPORTS_SAVE ) |
| 4922 | | CONS( 1982, mmerlin, 0, 0, mmerlin, mmerlin, driver_device, 0, "Parker Brothers", "Master Merlin", MACHINE_SUPPORTS_SAVE ) |
| 4922 | CONS( 1982, mmerlin, 0, 0, mmerlin, mmerlin, driver_device, 0, "Parker Brothers", "Master Merlin", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) |
| 4923 | 4923 | |
| 4924 | | CONS( 1981, tandy12, 0, 0, tandy12, tandy12, driver_device, 0, "Tandy Radio Shack", "Tandy-12: Computerized Arcade", MACHINE_SUPPORTS_SAVE ) // some of the minigames: *** |
| 4924 | CONS( 1981, tandy12, 0, 0, tandy12, tandy12, driver_device, 0, "Tandy Radio Shack", "Tandy-12: Computerized Arcade", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) // some of the minigames: *** |
| 4925 | 4925 | |
| 4926 | 4926 | CONS( 1979, tbreakup, 0, 0, tbreakup, tbreakup, driver_device, 0, "Tomy", "Break Up (Tomy)", MACHINE_SUPPORTS_SAVE ) |
| 4927 | 4927 | CONS( 1980, phpball, 0, 0, phpball, phpball, driver_device, 0, "Tomy", "Power House Pinball", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK ) |
trunk/src/mame/drivers/tispeak.cpp
| r253074 | r253075 | |
| 1558 | 1558 | |
| 1559 | 1559 | COMP( 1979, lantutor, 0, 0, lantutor, lantutor, tispeak_state, lantutor, "Texas Instruments", "Language Tutor (patent)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND | MACHINE_NOT_WORKING ) |
| 1560 | 1560 | |
| 1561 | | COMP( 1981, tntell, 0, 0, tntell, tntell, tispeak_state, tntell, "Texas Instruments", "Touch & Tell (US, 1981 version)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND | MACHINE_REQUIRES_ARTWORK ) // assume there is an older version too, with CD8010 MCU |
| 1562 | | COMP( 1980, tntellp, tntell, 0, tntell, tntell, tispeak_state, tntell, "Texas Instruments", "Touch & Tell (patent)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND | MACHINE_REQUIRES_ARTWORK | MACHINE_NOT_WORKING ) |
| 1563 | | COMP( 1981, tntelluk, tntell, 0, tntell, tntell, tispeak_state, tntell, "Texas Instruments", "Touch & Tell (UK)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND | MACHINE_REQUIRES_ARTWORK ) |
| 1564 | | COMP( 1981, tntellfr, tntell, 0, tntell, tntell, tispeak_state, tntell, "Texas Instruments", "Le Livre Magique (France)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND | MACHINE_REQUIRES_ARTWORK ) |
| 1561 | COMP( 1981, tntell, 0, 0, tntell, tntell, tispeak_state, tntell, "Texas Instruments", "Touch & Tell (US, 1981 version)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND | MACHINE_CLICKABLE_ARTWORK | MACHINE_REQUIRES_ARTWORK ) // assume there is an older version too, with CD8010 MCU |
| 1562 | COMP( 1980, tntellp, tntell, 0, tntell, tntell, tispeak_state, tntell, "Texas Instruments", "Touch & Tell (patent)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND | MACHINE_CLICKABLE_ARTWORK | MACHINE_REQUIRES_ARTWORK | MACHINE_NOT_WORKING ) |
| 1563 | COMP( 1981, tntelluk, tntell, 0, tntell, tntell, tispeak_state, tntell, "Texas Instruments", "Touch & Tell (UK)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND | MACHINE_CLICKABLE_ARTWORK | MACHINE_REQUIRES_ARTWORK ) |
| 1564 | COMP( 1981, tntellfr, tntell, 0, tntell, tntell, tispeak_state, tntell, "Texas Instruments", "Le Livre Magique (France)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND | MACHINE_CLICKABLE_ARTWORK | MACHINE_REQUIRES_ARTWORK ) |
| 1565 | 1565 | |
| 1566 | 1566 | COMP( 1982, vocaid, 0, 0, vocaid, tntell, driver_device, 0, "Texas Instruments", "Vocaid", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_SOUND | MACHINE_REQUIRES_ARTWORK ) |