mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-29 16:49:26 +00:00
21 lines
338 B
C++
21 lines
338 B
C++
#ifndef __VMDISPLAY_H
|
|
#define __VMDISPLAY_H
|
|
|
|
class MMU;
|
|
|
|
class VMDisplay {
|
|
public:
|
|
VMDisplay(uint8_t *vb) { videoBuffer = vb; }
|
|
virtual ~VMDisplay() { videoBuffer = NULL; };
|
|
|
|
virtual void SetMMU(MMU *m) { mmu = m; }
|
|
|
|
virtual bool needsRedraw() = 0;
|
|
virtual void didRedraw() = 0;
|
|
|
|
MMU *mmu;
|
|
uint8_t *videoBuffer;
|
|
};
|
|
|
|
#endif
|