r65emu/flash_filer.h

26 lines
414 B
C
Raw Normal View History

#ifndef __FLASH_FILER_H__
#define __FLASH_FILER_H__
class flash_filer: public filer {
public:
flash_filer(const char *programs): _programs(programs) {}
const char *advance();
const char *rewind();
const char *checkpoint();
void restore(const char *);
bool start();
void stop();
2023-05-25 14:05:04 +00:00
bool seek(uint32_t pos);
bool more();
2023-09-30 11:51:19 +00:00
uint8_t read();
void write(uint8_t);
private:
const char *_programs;
};
#endif