mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-29 08:30:04 +00:00
26 lines
650 B
C++
26 lines
650 B
C++
#pragma once
|
|
|
|
#include "Card.h"
|
|
|
|
class Z80Card : public Card
|
|
{
|
|
public:
|
|
Z80Card(UINT slot) :
|
|
Card(CT_Z80, slot)
|
|
{
|
|
}
|
|
virtual ~Z80Card(void) {}
|
|
|
|
virtual void Destroy(void) {}
|
|
virtual void Reset(const bool powerCycle) {}
|
|
virtual void Update(const ULONG nExecutedCycles) {}
|
|
|
|
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);
|
|
};
|