Example #1
0
        //READ8_MEMBER( namco_51xx_device::read )
        public u8 namco_51xx_device_read(address_space space, offs_t offset, u8 mem_mask = 0xff)
        {
            namco_51xx_device namco_51xx = (namco_51xx_device)subdevice("51xx");

            return(namco_51xx.read(space, offset, mem_mask));
        }
Example #2
0
        //DECLARE_READ8_MEMBER(bosco_dsw_r);
        //DECLARE_WRITE_LINE_MEMBER(flip_screen_w);
        //DECLARE_WRITE_LINE_MEMBER(irq1_clear_w);
        //DECLARE_WRITE_LINE_MEMBER(irq2_clear_w);
        //DECLARE_WRITE_LINE_MEMBER(nmion_w);
        //DECLARE_WRITE8_MEMBER(galaga_videoram_w);
        //DECLARE_WRITE_LINE_MEMBER(gatsbee_bank_w);
        //DECLARE_WRITE8_MEMBER(out_0);
        //DECLARE_WRITE8_MEMBER(out_1);
        //DECLARE_READ8_MEMBER(namco_52xx_rom_r);
        //DECLARE_READ8_MEMBER(namco_52xx_si_r);
        //void init_galaga();
        //void init_gatsbee();
        //TILEMAP_MAPPER_MEMBER(tilemap_scan);
        //TILE_GET_INFO_MEMBER(get_tile_info);
        //DECLARE_VIDEO_START(galaga);
        //DECLARE_PALETTE_INIT(galaga);
        //uint32_t screen_update_galaga(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
        //DECLARE_WRITE_LINE_MEMBER(screen_vblank_galaga);
        //DECLARE_WRITE_LINE_MEMBER(vblank_irq);
        //TIMER_CALLBACK_MEMBER(cpu3_interrupt_callback);
        //void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect );
        //void draw_stars(bitmap_ind16 &bitmap, const rectangle &cliprect );
        //void galaga(machine_config &config);
        //void gatsbee(machine_config &config);
        //void galagab(machine_config &config);
        //void dzigzag_mem4(address_map &map);
        //void galaga_map(address_map &map);
        //void galaga_mem4(address_map &map);
        //void gatsbee_main_map(address_map &map);

        //virtual void machine_start() override;
        //virtual void machine_reset() override;


        // wrappers because I don't know how to find the correct device during construct_ startup

        //WRITE8_MEMBER( namco_51xx_device::write )
        public void namco_51xx_device_write(address_space space, offs_t offset, u8 data, u8 mem_mask = 0xff)
        {
            namco_51xx_device namco_51xx = (namco_51xx_device)subdevice("51xx");

            namco_51xx.write(space, offset, data, mem_mask);
        }