void popnrun_state::popnrun(machine_config &config) { deadang(config); m_maincpu->set_addrmap(AS_PROGRAM, &popnrun_state::popnrun_main_map); m_subcpu->set_addrmap(AS_PROGRAM, &popnrun_state::popnrun_sub_map); m_audiocpu->set_addrmap(AS_PROGRAM, &popnrun_state::popnrun_sound_map); m_audiocpu->set_addrmap(AS_OPCODES, &popnrun_state::sound_decrypted_opcodes_map); m_screen->set_screen_update(FUNC(popnrun_state::popnrun_screen_update)); config.device_remove("watchdog"); m_gfxdecode->set_info(gfx_popnrun); config.device_remove("ym1"); config.device_remove("ym2"); config.device_remove("adpcm1"); config.device_remove("adpcm2"); m_seibu_sound->ym_read_callback().set("ymsnd", FUNC(ym2151_device::read)); m_seibu_sound->ym_write_callback().set("ymsnd", FUNC(ym2151_device::write)); ym2151_device &ymsnd(YM2151(config, "ymsnd", XTAL(14'318'181)/4)); ymsnd.irq_handler().set(m_seibu_sound, FUNC(seibu_sound_device::fm_irqhandler)); ymsnd.add_route(0, "mono", 0.50); ymsnd.add_route(1, "mono", 0.50); }
void keirinou_state::keirinou(machine_config &config) { witch(config); m_maincpu->set_addrmap(AS_PROGRAM, &keirinou_state::keirinou_main_map); m_subcpu->set_addrmap(AS_PROGRAM, &keirinou_state::keirinou_sub_map); PALETTE(config.replace(), m_palette).set_entries(0x200+0x80); m_gfxdecode->set_info(gfx_keirinou); // MCFG_PALETTE_FORMAT(IIBBGGRR) // Keirin Ou does have two individual PPIs (NEC D8255AC-2) m_ppi[0]->out_pc_callback().set(FUNC(keirinou_state::write_keirinou_a002)); ay8910_device &ay1(AY8910(config, "ay1", AY8910_CLOCK)); ay1.port_a_read_callback().set_ioport("YM_PortA"); ay1.port_b_read_callback().set_ioport("YM_PortB"); ay1.add_route(ALL_OUTPUTS, "mono", 0.5); ay8910_device &ay2(AY8910(config, "ay2", AY8910_CLOCK)); ay2.port_a_write_callback().set(FUNC(witch_state::xscroll_w)); ay2.port_b_write_callback().set(FUNC(witch_state::yscroll_w)); ay2.add_route(ALL_OUTPUTS, "mono", 0.5); config.device_remove("essnd"); config.device_remove("msm"); config.device_remove("ym1"); config.device_remove("ym2"); }
void sshangha_state::sshanghab(machine_config &config) { sshangha(config); m_maincpu->set_addrmap(AS_PROGRAM, &sshangha_state::sshanghab_map); config.device_remove("ioprot"); }
void nes_state::fds(machine_config &config) { famicom(config); MCFG_MACHINE_START_OVERRIDE(nes_state, fds) MCFG_MACHINE_RESET_OVERRIDE(nes_state, fds) config.device_remove("nes_slot"); NES_DISKSYS(config, "disk", 0); config.device_remove("cart_list"); config.device_remove("cass_list"); config.device_remove("ade_list"); config.device_remove("ntb_list"); config.device_remove("kstudio_list"); config.device_remove("datach_list"); }
void xain_state::xsleenab(machine_config &config) { xsleena(config); m_maincpu->set_addrmap(AS_PROGRAM, &xain_state::bootleg_map); config.device_remove("mcu"); }
void lsasquad_state::storming(machine_config &config) { lsasquad(config); m_maincpu->set_addrmap(AS_PROGRAM, &lsasquad_state::storming_map); config.device_remove("bmcu"); AY8910(config.replace(), "aysnd", MASTER_CLOCK / 8).add_route(ALL_OUTPUTS, "mono", 0.12); // AY-3-8910A }
void f1gp2_state::f1gp2(machine_config &config) { f1gp_state::f1gp(config); /* basic machine hardware */ m_maincpu->set_addrmap(AS_PROGRAM, &f1gp2_state::f1gp2_cpu1_map); /* video hardware */ m_gfxdecode->set_info(gfx_f1gp2); subdevice<screen_device>("screen")->set_visarea(0*8, 40*8-1, 0*8, 28*8-1); subdevice<screen_device>("screen")->set_screen_update(FUNC(f1gp2_state::screen_update)); config.device_remove("gga"); config.device_remove("vsystem_spr_old1"); config.device_remove("vsystem_spr_old2"); VSYSTEM_SPR(config, m_spr, 0); m_spr->set_tile_indirect_cb(FUNC(f1gp2_state::tile_callback<0>), this); m_spr->set_gfx_region(1); m_spr->set_gfxdecode_tag(m_gfxdecode); m_k053936->set_offsets(-48, -21); }
/************************************* * * Graphics definitions * *************************************/ static const gfx_layout anlayout = { 8,8, RGN_FRAC(1,1), 2, { 0, 4 }, { 0, 1, 2, 3, 8, 9, 10, 11 }, { 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16 }, 8*16 }; static const gfx_layout pfmolayout = { 8,8, RGN_FRAC(1,4), 4, { RGN_FRAC(0,4), RGN_FRAC(1,4), RGN_FRAC(2,4), RGN_FRAC(3,4) }, { 0, 1, 2, 3, 4, 5, 6, 7 }, { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 }, 8*8 }; static GFXDECODE_START( gfx_vindictr ) GFXDECODE_ENTRY( "gfx1", 0, pfmolayout, 256, 32 ) /* sprites & playfield */ GFXDECODE_ENTRY( "gfx2", 0, anlayout, 0, 64 ) /* characters 8x8 */ GFXDECODE_END /************************************* * * Machine driver * *************************************/ void vindictr_state::vindictr(machine_config &config) { /* basic machine hardware */ M68010(config, m_maincpu, ATARI_CLOCK_14MHz/2); m_maincpu->set_addrmap(AS_PROGRAM, &vindictr_state::main_map); EEPROM_2804(config, "eeprom").lock_after_write(true); WATCHDOG_TIMER(config, "watchdog"); /* video hardware */ GFXDECODE(config, m_gfxdecode, m_palette, gfx_vindictr); PALETTE(config, m_palette).set_entries(2048*8); TILEMAP(config, m_playfield_tilemap, m_gfxdecode, 2, 8,8, TILEMAP_SCAN_COLS, 64,64).set_info_callback(FUNC(vindictr_state::get_playfield_tile_info)); TILEMAP(config, m_alpha_tilemap, m_gfxdecode, 2, 8,8, TILEMAP_SCAN_ROWS, 64,32, 0).set_info_callback(FUNC(vindictr_state::get_alpha_tile_info)); ATARI_MOTION_OBJECTS(config, m_mob, 0, m_screen, vindictr_state::s_mob_config); m_mob->set_gfxdecode(m_gfxdecode); SCREEN(config, m_screen, SCREEN_TYPE_RASTER); m_screen->set_video_attributes(VIDEO_UPDATE_BEFORE_VBLANK); /* note: these parameters are from published specs, not derived */ /* the board uses a SYNGEN chip to generate video signals */ m_screen->set_raw(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240); m_screen->set_screen_update(FUNC(vindictr_state::screen_update_vindictr)); m_screen->set_palette(m_palette); /* sound hardware */ SPEAKER(config, "lspeaker").front_left(); SPEAKER(config, "rspeaker").front_right(); ATARI_JSA_I(config, m_jsa, 0); m_jsa->main_int_cb().set_inputline(m_maincpu, M68K_IRQ_6); m_jsa->test_read_cb().set_ioport("260010").bit(12); m_jsa->add_route(0, "lspeaker", 1.0); m_jsa->add_route(1, "rspeaker", 1.0); config.device_remove("jsa:tms"); }
GFXDECODE_END void pcjr_state::ibmpcjx(machine_config &config) { ibmpcjr(config); m_maincpu->set_addrmap(AS_PROGRAM, &pcjr_state::ibmpcjx_map); m_maincpu->set_addrmap(AS_IO, &pcjr_state::ibmpcjx_io); config.device_remove("fdc:0"); FLOPPY_CONNECTOR(config, "fdc:0", pcjr_floppies, "35dd", isa8_fdc_device::floppy_formats, true); FLOPPY_CONNECTOR(config, "fdc:1", pcjr_floppies, "35dd", isa8_fdc_device::floppy_formats, true); subdevice<gfxdecode_device>("gfxdecode")->set_info(gfx_ibmpcjx); /* internal ram */ m_ram->set_default_size("512K").set_extra_options(""); // only boots with 512k currently }
void klax_state::klax2bl(machine_config &config) { klax(config); m_maincpu->set_addrmap(AS_PROGRAM, &klax_state::klax2bl_map); config.device_remove("oki"); // no 6295 here z80_device &audiocpu(Z80(config, "audiocpu", 6000000)); /* ? */ audiocpu.set_addrmap(AS_PROGRAM, &klax_state::bootleg_sound_map); m_gfxdecode->set_info(gfx_klax2bl); // guess, probably something like this // 2 x msm at least on bootleg set 2 (ic18 and ic19) MSM5205(config, "msm", 375000); /* ? */ // msm.vck_legacy_callback().set(FUNC(klax_state::m5205_int1)); /* interrupt function */ // msm.set_prescaler_selector(msm5205_device::MSM5205_S96_4B); /* 4KHz 4-bit */ // msm.add_route(ALL_OUTPUTS, "mono", 0.25); }
void pballoon_sound_device::device_add_mconfig(machine_config &config) { fantasy_sound_device::device_add_mconfig(config); config.device_remove("samples"); }
void gundealr_state::gundealrbl(machine_config &config) { yamyam(config); config.device_remove("mcusim"); }