1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-10-05 19:54:36 +00:00
r65emu/spiram.h

17 lines
303 B
C
Raw Normal View History

2014-10-18 11:33:48 +00:00
#ifndef __SPIRAM_H__
#define __SPIRAM_H__
class spiram: public Memory::Device {
public:
virtual void operator= (byte c);
virtual operator byte ();
void checkpoint(Stream &s);
void restore(Stream &s);
spiram(int bytes): Memory::Device(bytes) {}
void begin(byte cs, int module);
};
#endif