示例#1
0
文件: dkong.cs 项目: kwanboy/mcs
        //READ_LINE_MEMBER(latch8_device::bit5_q_r)
        public int latch8_device_bit5_q_r()
        {
            latch8_device device = (latch8_device)subdevice("ls259.6h");

            return(device.bit5_q_r());
        }
示例#2
0
文件: dkong.cs 项目: kwanboy/mcs
        //READ_LINE_MEMBER(latch8_device::bit4_q_r)
        public int latch8_device_bit4_q_r()
        {
            latch8_device device = (latch8_device)subdevice("virtual_p2");

            return(device.bit4_q_r());
        }
示例#3
0
文件: dkong.cs 项目: kwanboy/mcs
        //READ_LINE_MEMBER(latch8_device::bit3_r)
        public int latch8_device_bit3_r()
        {
            latch8_device device = m_dev_vp2.target;

            return(device.bit3_r());
        }
示例#4
0
文件: dkong.cs 项目: kwanboy/mcs
        //WRITE8_MEMBER( latch8_device::bit0_w )
        public void latch8_device_bit0_w(address_space space, offs_t offset, u8 data, u8 mem_mask = 0xff)
        {
            latch8_device device = m_dev_6h.target;

            device.bit0_w(space, offset, data, mem_mask);
        }
示例#5
0
文件: dkong.cs 项目: kwanboy/mcs
        //WRITE8_MEMBER( latch8_device::write )
        public void latch8_device_write(address_space space, offs_t offset, u8 data, u8 mem_mask = 0xff)
        {
            latch8_device device = (latch8_device)subdevice("ls175.3d");

            device.write(space, offset, data, mem_mask);
        }
示例#6
0
文件: dkong.cs 项目: kwanboy/mcs
        //READ8_MEMBER( latch8_device::read )
        public u8 latch8_device_read(address_space space, offs_t offset, u8 mem_mask = 0xff)
        {
            latch8_device device = (latch8_device)subdevice("virtual_p2");

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