mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-27 07:29:30 +00:00
8662a99179
. Card::InitializeIO() is pure virtual . CardManager::InitializeIO() initialises all cards
30 lines
690 B
C++
30 lines
690 B
C++
#pragma once
|
|
|
|
#include "Card.h"
|
|
|
|
class FourPlayCard : public Card
|
|
{
|
|
public:
|
|
FourPlayCard(UINT slot) :
|
|
Card(CT_FourPlay, slot)
|
|
{
|
|
}
|
|
virtual ~FourPlayCard(void) {}
|
|
|
|
virtual void Init(void) {};
|
|
virtual void Reset(const bool powerCycle) {};
|
|
|
|
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);
|
|
};
|