示例#1
0
文件: galaxian.cs 项目: kwanboy/mcs
        //WRITE8_MEMBER( generic_latch_8_device::write )
        public void generic_latch_8_device_write(address_space space, offs_t offset, u8 data, u8 mem_mask = 0xff)
        {
            generic_latch_8_device latch = (generic_latch_8_device)machine().config().device_find(this, "soundlatch");

            latch.write(space, offset, data, mem_mask);
        }
示例#2
0
        //WRITE8_MEMBER( generic_latch_8_device::write )
        public void generic_latch_8_device_write(address_space space, offs_t offset, u8 data, u8 mem_mask = 0xff)
        {
            generic_latch_8_device device = (generic_latch_8_device)subdevice("soundlatch");

            device.write(space, offset, data, mem_mask);
        }
示例#3
0
文件: galaxian.cs 项目: kwanboy/mcs
        //READ8_MEMBER( generic_latch_8_device::read )
        public u8 generic_latch_8_device_read(address_space space, offs_t offset, u8 mem_mask = 0xff)
        {
            generic_latch_8_device latch = (generic_latch_8_device)machine().config().device_find(this, "soundlatch");

            return(latch.read(space, offset, mem_mask));
        }
示例#4
0
        //void driver_init() override;

        //TILE_GET_INFO_MEMBER(get_fg_tile_info);
        //TILE_GET_INFO_MEMBER(get_bg_tile_info);

        //void _1942(machine_config &config);

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

        //void _1942_map(address_map &map);
        //void sound_map(address_map &map);

        //DECLARE_WRITE8_MEMBER(_1942_bankswitch_w);
        //DECLARE_WRITE8_MEMBER(_1942_fgvideoram_w);
        //DECLARE_WRITE8_MEMBER(_1942_bgvideoram_w);
        //DECLARE_WRITE8_MEMBER(_1942_palette_bank_w);
        //DECLARE_WRITE8_MEMBER(_1942_scroll_w);
        //DECLARE_WRITE8_MEMBER(_1942_c804_w);
        //void _1942_palette(palette_device &palette) const;
        //TIMER_DEVICE_CALLBACK_MEMBER(_1942_scanline);
        //uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
        //virtual void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);


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

        //READ8_MEMBER( generic_latch_8_device::read )
        public byte generic_latch_8_device_read(address_space space, offs_t offset, u8 mem_mask = 0xff)
        {
            generic_latch_8_device device = (generic_latch_8_device)subdevice("soundlatch");

            return(device.read(space, offset, mem_mask));
        }