mirror of
https://github.com/jscrane/r65emu.git
synced 2024-11-19 11:31:16 +00:00
17 lines
313 B
C++
17 lines
313 B
C++
#ifndef __SPIRAM_H__
|
|
#define __SPIRAM_H__
|
|
|
|
class spiram: public Memory::Device {
|
|
public:
|
|
virtual void operator= (byte c);
|
|
virtual operator byte ();
|
|
|
|
virtual void checkpoint(Stream &s);
|
|
virtual void restore(Stream &s);
|
|
|
|
spiram(int bytes): Memory::Device(bytes) {}
|
|
void begin(byte cs, int module);
|
|
};
|
|
|
|
#endif
|