mirror of
https://github.com/jscrane/Apple1.git
synced 2024-12-21 12:29:51 +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
|