1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-10-31 13:05:08 +00:00
r65emu/spiram.h
2018-08-14 06:10:37 +01:00

17 lines
322 B
C++

#ifndef __SPIRAM_H__
#define __SPIRAM_H__
class spiram: public Memory::Device {
public:
virtual void operator= (uint8_t c);
virtual operator uint8_t ();
virtual void checkpoint(Stream &s);
virtual void restore(Stream &s);
spiram(int bytes): Memory::Device(bytes) {}
void begin(uint8_t cs, int module);
};
#endif