AppleWin/source/FourPlay.h

31 lines
741 B
C
Raw Normal View History

#pragma once
#include "Card.h"
class FourPlayCard : public Card
{
public:
FourPlayCard(UINT slot) :
2021-11-01 21:01:28 +00:00
Card(CT_FourPlay, slot)
{
}
virtual ~FourPlayCard(void) {}
virtual void Init(void) {}
virtual void Reset(const bool powerCycle) {}
virtual void Update(const ULONG nExecutedCycles) {}
virtual void InitializeIO(LPBYTE pCxRomPeripheral);
static BYTE __stdcall IORead(WORD pc, WORD addr, BYTE bWrite, BYTE value, ULONG nExecutedCycles);
static std::string GetSnapshotCardName(void);
void SaveSnapshot(class YamlSaveHelper& yamlSaveHelper);
bool LoadSnapshot(class YamlLoadHelper& yamlLoadHelper, UINT slot, UINT version);
static const UINT JOYSTICKSTATIONARY = 0x20;
private:
static BYTE MyGetAsyncKeyState(int vKey);
};