mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-29 16:49:26 +00:00
46 lines
920 B
C++
46 lines
920 B
C++
#ifndef __APPLEVM_H
|
|
#define __APPLEVM_H
|
|
|
|
#include "cpu.h"
|
|
#include "appledisplay.h"
|
|
#include "diskii.h"
|
|
#include "hd32.h"
|
|
#include "vmkeyboard.h"
|
|
#include "parallelcard.h"
|
|
|
|
#include "vm.h"
|
|
class AppleVM : public VM {
|
|
public:
|
|
AppleVM();
|
|
virtual ~AppleVM();
|
|
|
|
void Suspend(const char *fn);
|
|
void Resume(const char *fn);
|
|
|
|
void cpuMaintenance(int64_t cycles);
|
|
|
|
virtual void Reset();
|
|
void Monitor();
|
|
|
|
virtual void triggerPaddleInCycles(uint8_t paddleNum,uint16_t cycleCount);
|
|
|
|
const char *DiskName(uint8_t drivenum);
|
|
void ejectDisk(uint8_t drivenum);
|
|
void insertDisk(uint8_t drivenum, const char *filename, bool drawIt = true);
|
|
|
|
const char *HDName(uint8_t drivenum);
|
|
void ejectHD(uint8_t drivenum);
|
|
void insertHD(uint8_t drivenum, const char *filename);
|
|
|
|
virtual VMKeyboard *getKeyboard();
|
|
|
|
DiskII *disk6;
|
|
HD32 *hd32;
|
|
protected:
|
|
VMKeyboard *keyboard;
|
|
ParallelCard *parallel;
|
|
};
|
|
|
|
|
|
#endif
|