Exemple #1
0
        public override void HardReset()
        {
            Via0.HardReset();
            Via1.HardReset();
            _trackNumber = 34;
            for (var i = 0; i < _ram.Length; i++)
            {
                _ram[i] = 0x00;
            }

            _diskDensity = 0;
            _diskFluxReversalDetected = false;
            _diskByteOffset           = 0;
            _diskBitsLeft             = 0;
            _diskBits                     = 0;
            _driveLightOffTime            = 0;
            _diskDensityCounter           = 0;
            _diskSupplementaryCounter     = 0;
            _diskCycle                    = 0;
            _previousCa1                  = false;
            _countsBeforeRandomTransition = 0;

            SoftReset();
            UpdateMediaData();
        }