public void centiped(machine_config config) { centiped_base(config); maincpu.target.memory().set_addrmap(AS_PROGRAM, centiped_map); // M10 outlatch.target.q_out_cb(7).set(flip_screen_w).reg(); /* sound hardware */ SPEAKER(config, "mono").front_center(); pokey_device pokey = POKEY(config, "pokey", 12096000 / 8); pokey.set_output_opamp_low_pass(RES_K(3.3), CAP_U(0.01), 5.0); pokey.GetClassInterface <device_sound_interface>().add_route(ALL_OUTPUTS, "mono", 0.5); }
//WRITE8_MEMBER( pokey_device::write ) public void pokey_device_write(address_space space, offs_t offset, u8 data, u8 mem_mask = 0xff) { pokey_device pokey = (pokey_device)subdevice("pokey"); pokey.write(space, offset, data, mem_mask); }
//void centiped_base(machine_config &config); //void milliped(machine_config &config); //void bullsdrt(machine_config &config); //void centipdb(machine_config &config); //void magworm(machine_config &config); //void caterplr(machine_config &config); //void centiped(machine_config &config); //void centipedj(machine_config &config); //void mazeinv(machine_config &config); //void warlords(machine_config &config); //void multiped(machine_config &config); //void init_multiped(); //void init_bullsdrt(); // drivers/centiped.cpp //DECLARE_WRITE8_MEMBER(irq_ack_w); //DECLARE_READ8_MEMBER(centiped_IN0_r); //DECLARE_READ8_MEMBER(centiped_IN2_r); //DECLARE_READ8_MEMBER(milliped_IN1_r); //DECLARE_READ8_MEMBER(milliped_IN2_r); //DECLARE_WRITE_LINE_MEMBER(input_select_w); //DECLARE_WRITE_LINE_MEMBER(control_select_w); //DECLARE_READ8_MEMBER(mazeinv_input_r); //DECLARE_WRITE8_MEMBER(mazeinv_input_select_w); //DECLARE_READ8_MEMBER(bullsdrt_data_port_r); //DECLARE_WRITE_LINE_MEMBER(coin_counter_left_w); //DECLARE_WRITE_LINE_MEMBER(coin_counter_center_w); //DECLARE_WRITE_LINE_MEMBER(coin_counter_right_w); //DECLARE_WRITE_LINE_MEMBER(bullsdrt_coin_count_w); //DECLARE_READ8_MEMBER(earom_read); //DECLARE_WRITE8_MEMBER(earom_write); //DECLARE_WRITE8_MEMBER(earom_control_w); //DECLARE_READ8_MEMBER(caterplr_unknown_r); //DECLARE_WRITE8_MEMBER(caterplr_AY8910_w); //DECLARE_READ8_MEMBER(caterplr_AY8910_r); //DECLARE_READ8_MEMBER(multiped_eeprom_r); //DECLARE_WRITE8_MEMBER(multiped_eeprom_w); //DECLARE_WRITE8_MEMBER(multiped_prgbank_w); // video/centiped.c //DECLARE_WRITE8_MEMBER(centiped_videoram_w); //DECLARE_WRITE_LINE_MEMBER(flip_screen_w); //DECLARE_WRITE8_MEMBER(multiped_gfxbank_w); //DECLARE_WRITE8_MEMBER(bullsdrt_tilesbank_w); //DECLARE_WRITE8_MEMBER(bullsdrt_sprites_bank_w); //DECLARE_WRITE8_MEMBER(centiped_paletteram_w); //DECLARE_WRITE8_MEMBER(milliped_paletteram_w); //DECLARE_WRITE8_MEMBER(mazeinv_paletteram_w); //TILE_GET_INFO_MEMBER(centiped_get_tile_info); //TILE_GET_INFO_MEMBER(warlords_get_tile_info); //TILE_GET_INFO_MEMBER(milliped_get_tile_info); //TILE_GET_INFO_MEMBER(bullsdrt_get_tile_info); //DECLARE_MACHINE_START(centiped); //DECLARE_MACHINE_RESET(centiped); //DECLARE_VIDEO_START(centiped); //DECLARE_VIDEO_START(bullsdrt); //DECLARE_MACHINE_RESET(magworm); //DECLARE_VIDEO_START(milliped); //DECLARE_VIDEO_START(warlords); //DECLARE_PALETTE_INIT(warlords); //uint32_t screen_update_centiped(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); //uint32_t screen_update_bullsdrt(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); //uint32_t screen_update_milliped(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); //uint32_t screen_update_warlords(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); //TIMER_DEVICE_CALLBACK_MEMBER(generate_interrupt); //void init_penmask(); //void init_common(); //void milliped_set_color(offs_t offset, uint8_t data); //inline int read_trackball(int idx, int switch_port); //void bullsdrt_data_map(address_map &map); //void bullsdrt_map(address_map &map); //void bullsdrt_port_map(address_map &map); //void caterplr_map(address_map &map); //void centipdb_map(address_map &map); //void centiped_base_map(address_map &map); //void centiped_map(address_map &map); //void centipedj_map(address_map &map); //void magworm_map(address_map &map); //void mazeinv_map(address_map &map); //void milliped_map(address_map &map); //void multiped_map(address_map &map); //void warlords_map(address_map &map); // wrappers because I don't know how to find the correct device during construct_ startup //READ8_MEMBER( pokey_device::read ) public u8 pokey_device_read(address_space space, offs_t offset, u8 mem_mask = 0xff) { pokey_device pokey = (pokey_device)subdevice("pokey"); return(pokey.read(space, offset, mem_mask)); }