Esempio n. 1
0
        public MOS6526_2(Region region)
        {
            a     = new CiaTimer(serialPortA, underFlowA);
            b     = new CiaTimer(serialPortB, underFlowB);
            portA = new LatchedPort();
            portB = new LatchedPort();
            switch (region)
            {
            case Region.NTSC:
                tod_period = 14318181 / 140;
                break;

            case Region.PAL:
                tod_period = 17734472 / 180;
                break;
            }
        }
Esempio n. 2
0
		public MOS6526_2(Common.DisplayType region)
		{
			a = new CiaTimer(serialPortA, underFlowA);
			b = new CiaTimer(serialPortB, underFlowB);
			portA = new LatchedPort();
			portB = new LatchedPort();
			switch (region)
			{
				case Common.DisplayType.NTSC:
					tod_period = 14318181 / 140;
					break;
				case Common.DisplayType.PAL:
					tod_period = 17734472 / 180;
					break;
			}
		}