Пример #1
0
        public AY8910()
        {
            m_chip = Locator.Resolve <IPsgChip>();
            m_chip.UpdateHandler = UpdateDac;
            m_chip.Volume        = Volume;

            Category    = BusDeviceCategory.Music;
            Name        = "AY8910";
            Description = "Standard AY8910 Programmable Sound Generator";

            MaskAddrReg = 0xC0FF;       // for compatibility (Quorum for example)
            MaskDataReg = 0xC0FF;       // for compatibility (Quorum for example)
            PortAddrReg = 0xFFFD;
            PortDataReg = 0xBFFD;
        }
Пример #2
0
        public AY8910()
        {
            m_chip = Locator.Resolve <IPsgChip>();
            m_chip.UpdateHandler = UpdateDac;

            Category = BusDeviceCategory.Music;
            Name     = "AY8910";

            m_noDos    = false;
            m_maskAddr = 0xC0FF;       // for compatibility (Quorum for example)
            m_maskData = 0xC0FF;       // for compatibility (Quorum for example)
            m_portAddr = 0xFFFD;
            m_portData = 0xBFFD;
            OnProcessConfigChange();
        }