ZXHawk: Disk Drive code tidy

This commit is contained in:
Asnivor 2018-05-10 10:42:36 +01:00
parent 66b7f37327
commit 0d4418a1cc
3 changed files with 86 additions and 1667 deletions

View File

@ -227,12 +227,6 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
/// </summary>
public bool FLAG_WRITEPROTECT = false;
/// <summary>
/// Storage for recal steps
/// One step for each indexpulse (track index) until track 0
/// </summary>
//public int RecalibrationCounter;
/// <summary>
/// Storage for seek steps
/// One step for each indexpulse (track index) until seeked track
@ -311,21 +305,6 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
/// </summary>
public int SectorIndex;
/// <summary>
/// The current command that the drive is processing
/// </summary>
//public DriveMainState CurrentState = DriveMainState.None;
/// <summary>
/// Current seek state
/// </summary>
//public SeekSubState SeekState = SeekSubState.Idle;
/// <summary>
/// Seek int state
/// </summary>
//public SeekIntStatus SeekIntState = SeekIntStatus.Normal;
/// <summary>
/// The currently loaded floppy disk
/// </summary>

View File

@ -95,7 +95,7 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
StatesPerDriveTick = TStatesPerDriveCycle;
}
/*
/// <summary>
/// Called every cycle by the emulated machine
/// Simulates the floppy drive and updates execution phase bits
@ -117,6 +117,7 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
//RunDriveCycle();
}
*/
/// <summary>
/// Called by reads to the main status register