mirror of
https://github.com/jscrane/Apple1.git
synced 2024-09-27 00:55:10 +00:00
24 lines
302 B
C
24 lines
302 B
C
|
#ifndef _IO_H
|
||
|
#define _IO_H
|
||
|
|
||
|
class io: public UTFTDisplay {
|
||
|
public:
|
||
|
io(): UTFTDisplay(256) {}
|
||
|
|
||
|
void operator=(byte);
|
||
|
operator byte();
|
||
|
|
||
|
void reset();
|
||
|
void down(unsigned scan);
|
||
|
void up(unsigned scan);
|
||
|
|
||
|
void checkpoint(Stream &);
|
||
|
void restore(Stream &);
|
||
|
|
||
|
private:
|
||
|
void display(byte);
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif
|