Пример #1
0
 public dkong_state(machine_config mconfig, device_type type, string tag)
     : base(mconfig, type, tag)
 {
     m_maincpu    = new required_device <cpu_device>(this, "maincpu");
     m_soundcpu   = new optional_device <mcs48_cpu_device>(this, "soundcpu");
     m_eeprom     = new optional_device <eeprom_serial_93cxx_device>(this, "eeprom");
     m_dev_n2a03a = new optional_device <intref>(this, "n2a03a");
     m_dev_n2a03b = new optional_device <intref>(this, "n2a03b");
     m_dev_vp2    = new optional_device <latch8_device>(this, "virtual_p2");
     m_dev_6h     = new optional_device <latch8_device>(this, "ls259.6h");
     m_ls175_3d   = new optional_device <latch8_device>(this, "ls175.3d");
     m_discrete   = new optional_device <discrete_device>(this, "discrete");
     m_m58817     = new optional_device <intref>(this, "tms");
     m_watchdog   = new optional_device <watchdog_timer_device>(this, "watchdog");
     m_video_ram  = new required_shared_ptr_uint8_t(this, "video_ram");
     m_sprite_ram = new required_shared_ptr_uint8_t(this, "sprite_ram");
     m_snd_rom    = new optional_region_ptr_uint8_t(this, "soundcpu");
     m_vidhw      = DKONG_BOARD;
     m_sig30Hz    = 0;
     m_blue_level = 0;
     m_cv1        = 0;
     m_cv2        = 0;
     m_vg1        = 0;
     m_vg2        = 0;
     m_vg3        = 0;
     m_cv3        = 0;
     m_cv4        = 0;
     m_gfxdecode  = new required_device <gfxdecode_device>(this, "gfxdecode");
     m_screen     = new required_device <screen_device>(this, "screen");
     m_palette    = new required_device <palette_device>(this, "palette");
     m_z80dma     = new optional_device <intref>(this, "z80dma");
     m_dma8257    = new optional_device <i8257_device>(this, "dma8257");
 }
Пример #2
0
 public digdug_state(machine_config mconfig, device_type type, string tag)
     : base(mconfig, type, tag)
 {
     m_earom         = new required_device <er2055_device>(this, "earom");
     m_digdug_objram = new required_shared_ptr_uint8_t(this, "digdug_objram");
     m_digdug_posram = new required_shared_ptr_uint8_t(this, "digdug_posram");
     m_digdug_flpram = new required_shared_ptr_uint8_t(this, "digdug_flpram");
 }
Пример #3
0
 public _1942_state(machine_config mconfig, device_type type, string tag)
     : base(mconfig, type, tag)
 {
     m_spriteram   = new required_shared_ptr_uint8_t(this, "spriteram");
     m_fg_videoram = new required_shared_ptr_uint8_t(this, "fg_videoram");
     m_bg_videoram = new required_shared_ptr_uint8_t(this, "bg_videoram");
     m_audiocpu    = new required_device <cpu_device>(this, "audiocpu");
     m_maincpu     = new required_device <cpu_device>(this, "maincpu");
     m_gfxdecode   = new required_device <gfxdecode_device>(this, "gfxdecode");
     m_palette     = new required_device <palette_device>(this, "palette");
     m_soundlatch  = new required_device <generic_latch_8_device>(this, "soundlatch");
 }
Пример #4
0
 public xevious_state(machine_config mconfig, device_type type, string tag)
     : base(mconfig, type, tag)
 {
     m_xevious_sr1         = new required_shared_ptr_uint8_t(this, "xevious_sr1");
     m_xevious_sr2         = new required_shared_ptr_uint8_t(this, "xevious_sr2");
     m_xevious_sr3         = new required_shared_ptr_uint8_t(this, "xevious_sr3");
     m_xevious_fg_colorram = new required_shared_ptr_uint8_t(this, "fg_colorram");
     m_xevious_bg_colorram = new required_shared_ptr_uint8_t(this, "bg_colorram");
     m_xevious_fg_videoram = new required_shared_ptr_uint8_t(this, "fg_videoram");
     m_xevious_bg_videoram = new required_shared_ptr_uint8_t(this, "bg_videoram");
     m_samples             = new optional_device <samples_device>(this, "samples");
     m_subcpu3             = new optional_device <cpu_device>(this, "sub3");
 }
Пример #5
0
 public m52_state(machine_config mconfig, device_type type, string tag)
     : base(mconfig, type, tag)
 {
     m_videoram     = new required_shared_ptr_uint8_t(this, "videoram");
     m_colorram     = new required_shared_ptr_uint8_t(this, "colorram");
     m_spriteram    = new optional_shared_ptr_uint8_t(this, "spriteram");
     m_maincpu      = new required_device <cpu_device>(this, "maincpu");
     m_sp_gfxdecode = new required_device <gfxdecode_device>(this, "sp_gfxdecode");
     m_tx_gfxdecode = new required_device <gfxdecode_device>(this, "tx_gfxdecode");
     m_bg_gfxdecode = new required_device <gfxdecode_device>(this, "bg_gfxdecode");
     m_screen       = new required_device <screen_device>(this, "screen");
     m_sp_palette   = new required_device <palette_device>(this, "sp_palette");
     m_tx_palette   = new required_device <palette_device>(this, "tx_palette");
     m_bg_palette   = new required_device <palette_device>(this, "bg_palette");
 }
Пример #6
0
 public pacman_state(machine_config mconfig, device_type type, string tag)
     : base(mconfig, type, tag)
 {
     m_maincpu            = new required_device <cpu_device>(this, "maincpu");
     m_mainlatch          = new optional_device <ls259_device>(this, "mainlatch");
     m_namco_sound        = new optional_device <namco_device>(this, "namco");
     m_watchdog           = new required_device <watchdog_timer_device>(this, "watchdog");
     m_spriteram          = new optional_shared_ptr_uint8_t(this, "spriteram");
     m_spriteram2         = new optional_shared_ptr_uint8_t(this, "spriteram2");
     m_s2650_spriteram    = new optional_shared_ptr_uint8_t(this, "s2650_spriteram");
     m_videoram           = new required_shared_ptr_uint8_t(this, "videoram");
     m_colorram           = new optional_shared_ptr_uint8_t(this, "colorram");
     m_s2650games_tileram = new optional_shared_ptr_uint8_t(this, "s2650_tileram");
     m_rocktrv2_prot_data = new optional_shared_ptr_uint8_t(this, "rocktrv2_prot");
     m_gfxdecode          = new required_device <gfxdecode_device>(this, "gfxdecode");
     m_palette            = new required_device <palette_device>(this, "palette");
 }
Пример #7
0
 public centiped_state(machine_config mconfig, device_type type, string tag)
     : base(mconfig, type, tag)
 {
     m_rambase                = new optional_shared_ptr_uint8_t(this, "rambase");
     m_videoram               = new required_shared_ptr_uint8_t(this, "videoram");
     m_spriteram              = new required_shared_ptr_uint8_t(this, "spriteram");
     m_paletteram             = new optional_shared_ptr_uint8_t(this, "paletteram");
     m_bullsdrt_tiles_bankram = new optional_shared_ptr_uint8_t(this, "bullsdrt_bank");
     m_maincpu                = new required_device <cpu_device>(this, "maincpu");
     m_outlatch               = new required_device <ls259_device>(this, "outlatch");
     m_earom     = new optional_device <er2055_device>(this, "earom");
     m_eeprom    = new optional_device <eeprom_serial_93cxx_device>(this, "eeprom");
     m_gfxdecode = new required_device <gfxdecode_device>(this, "gfxdecode");
     m_screen    = new required_device <screen_device>(this, "screen");
     m_palette   = new required_device <palette_device>(this, "palette");
     m_aysnd     = new optional_device <ay8910_device>(this, "aysnd");
 }
Пример #8
0
 public galaxian_state(machine_config mconfig, device_type type, string tag)
     : base(mconfig, type, tag)
 {
     m_maincpu           = new required_device <cpu_device>(this, "maincpu");
     m_audiocpu          = new optional_device <cpu_device>(this, "audiocpu");
     m_audio2            = new optional_device <cpu_device>(this, "audio2");
     m_dac               = new optional_device <dac_byte_interface>(this, "dac");
     m_ay8910            = new optional_device_array_ay8910_device(3, this, "8910.{0}", 0); // "8910.%u"
     m_ay8910_cclimber   = new optional_device <ay8910_device>(this, "cclimber_audio:aysnd");
     m_digitalker        = new optional_device <digitalker_device>(this, "digitalker");
     m_ppi8255           = new optional_device_array_i8255_device(3, this, "ppi8255_{0}", 0); // ppi8255_%u
     m_gfxdecode         = new required_device <gfxdecode_device>(this, "gfxdecode");
     m_screen            = new required_device <screen_device>(this, "screen");
     m_palette           = new required_device <palette_device>(this, "palette");
     m_soundlatch        = new optional_device <generic_latch_8_device>(this, "soundlatch");
     m_discrete          = new optional_device <discrete_device>(this, "konami");
     m_fake_select       = new optional_ioport(this, "FAKE_SELECT");
     m_tenspot_game_dsw  = new optional_ioport_array(10, this, "IN2_GAME{0}", 0); //{"IN2_GAME0", "IN2_GAME1", "IN2_GAME2", "IN2_GAME3", "IN2_GAME4", "IN2_GAME5", "IN2_GAME6", "IN2_GAME7", "IN2_GAME8", "IN2_GAME9"});
     m_spriteram         = new required_shared_ptr_uint8_t(this, "spriteram");
     m_videoram          = new required_shared_ptr_uint8_t(this, "videoram");
     m_decrypted_opcodes = new optional_shared_ptr_uint8_t(this, "decrypted_opcodes");
     m_lamps             = new output_manager.output_finder(2, this, "lamp{0}", 0U); //"lamp%u"
 }