mirror of
https://github.com/jscrane/Apple1.git
synced 2024-11-24 19:33:20 +00:00
18 lines
276 B
C++
18 lines
276 B
C++
#ifndef __TERMINAL_DISP_H__
|
|
#define __TERMINAL_DISP_H__
|
|
|
|
class terminal_disp: public disp {
|
|
public:
|
|
terminal_disp(Print &p): _p(p) {}
|
|
|
|
void checkpoint(Stream &) {}
|
|
void restore(Stream &) {}
|
|
void status(const char *);
|
|
void write(uint8_t);
|
|
|
|
private:
|
|
Print &_p;
|
|
};
|
|
|
|
#endif
|