Example #1
0
        public void Init(byte[] _BASICROM, byte[] _KERNALROM, byte[] _CHARENROM, byte[] _C1541ROM, Keyboard _keyboard)
        {
            MPU  = new PLA(this, _BASICROM, _KERNALROM, _CHARENROM);
            CPU  = new CPU_6502("C64", MPU);
            SID  = new SID_NullDevice();    //
            IEC  = new IECBus();
            VIC  = new VIC_II(this);
            CIA1 = new CIA1(_keyboard);
            CIA2 = new CIA2();

            CIA1.SetJoystick(1, Joystick1);
            CIA1.SetJoystick(2, Joystick2);

            Datasette = new DatasetteTAP();
            // Floppy = new C1541();

            Reset();

            ClockActive = false;
        }
Example #2
0
 public void SetJoystick1(Joystick _joy)
 {
     CIA1.SetJoystick(1, _joy);
 }