2020-11-11 21:15:27 +00:00
|
|
|
#pragma once
|
|
|
|
|
2023-01-28 19:58:12 +00:00
|
|
|
#include "Card.h"
|
2008-08-19 21:36:31 +00:00
|
|
|
|
2023-01-28 19:58:12 +00:00
|
|
|
class Z80Card : public Card
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Z80Card(UINT slot) :
|
|
|
|
Card(CT_Z80, slot)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
virtual ~Z80Card(void) {}
|
2008-08-19 21:36:31 +00:00
|
|
|
|
2023-01-28 19:58:12 +00:00
|
|
|
virtual void Destroy(void) {}
|
|
|
|
virtual void Reset(const bool powerCycle) {}
|
|
|
|
virtual void Update(const ULONG nExecutedCycles) {}
|
2015-04-11 21:24:54 +00:00
|
|
|
|
2023-01-28 19:58:12 +00:00
|
|
|
virtual void InitializeIO(LPBYTE pCxRomPeripheral);
|
|
|
|
|
|
|
|
static BYTE __stdcall IOWrite(WORD pc, WORD addr, BYTE bWrite, BYTE value, ULONG nExecutedCycles);
|
|
|
|
|
|
|
|
static const std::string& GetSnapshotCardName(void);
|
|
|
|
virtual void SaveSnapshot(YamlSaveHelper& yamlSaveHelper);
|
|
|
|
virtual bool LoadSnapshot(YamlLoadHelper& yamlLoadHelper, UINT version);
|
|
|
|
};
|