AppleWin/source/Disk2CardManager.h
TomCh de173b2729
Support two adjacent phases turned off in rapid sequence (#1110, PR #1116)
Fix for A2osX low-level format for 48-trackl, 192K floppy image
2022-06-20 20:40:39 +01:00

24 lines
656 B
C++

#pragma once
class Disk2CardManager
{
public:
Disk2CardManager(void) : m_stepperDeferred(true) {}
~Disk2CardManager(void) {}
bool IsConditionForFullSpeed(void);
void Update(const ULONG nExecutedCycles);
void Reset(const bool powerCycle = false);
bool GetEnhanceDisk(void);
void SetEnhanceDisk(bool enhanceDisk);
void LoadLastDiskImage(void);
void Destroy(void);
bool IsAnyFirmware13Sector(void);
void GetFilenameAndPathForSaveState(std::string& filename, std::string& path);
void SetStepperDefer(bool defer);
bool IsStepperDeferred(void) { return m_stepperDeferred; }
private:
bool m_stepperDeferred; // debug: can disable via cmd-line
};