2019-12-19 19:42:30 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class Disk2CardManager
|
|
|
|
{
|
|
|
|
public:
|
2022-06-20 19:40:39 +00:00
|
|
|
Disk2CardManager(void) : m_stepperDeferred(true) {}
|
2019-12-19 19:42:30 +00:00
|
|
|
~Disk2CardManager(void) {}
|
|
|
|
|
|
|
|
bool IsConditionForFullSpeed(void);
|
2021-11-13 18:13:01 +00:00
|
|
|
void Update(const ULONG nExecutedCycles);
|
2019-12-19 19:42:30 +00:00
|
|
|
void Reset(const bool powerCycle = false);
|
|
|
|
bool GetEnhanceDisk(void);
|
|
|
|
void SetEnhanceDisk(bool enhanceDisk);
|
|
|
|
void LoadLastDiskImage(void);
|
2020-02-22 11:38:25 +00:00
|
|
|
bool IsAnyFirmware13Sector(void);
|
2020-10-25 17:14:23 +00:00
|
|
|
void GetFilenameAndPathForSaveState(std::string& filename, std::string& path);
|
2022-06-20 19:40:39 +00:00
|
|
|
void SetStepperDefer(bool defer);
|
|
|
|
bool IsStepperDeferred(void) { return m_stepperDeferred; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool m_stepperDeferred; // debug: can disable via cmd-line
|
2019-12-19 19:42:30 +00:00
|
|
|
};
|