mirror of
https://github.com/jscrane/Apple1.git
synced 2024-12-27 20:31:00 +00:00
fix #1
This commit is contained in:
parent
511522599d
commit
1776b5b478
@ -19,7 +19,8 @@ prom m(monitor, sizeof(monitor));
|
||||
#endif
|
||||
|
||||
ram pages[RAM_SIZE / 1024];
|
||||
io io(PROGRAMS);
|
||||
flash_filer files(PROGRAMS);
|
||||
io io(files);
|
||||
|
||||
r6502 cpu(memory);
|
||||
const char *filename;
|
||||
|
4
io.h
4
io.h
@ -4,7 +4,7 @@
|
||||
// http://mamedev.org/source/src/mess/machine/apple1.c.html
|
||||
class io: public TFTDisplay, Keyboard, public pia {
|
||||
public:
|
||||
io(const char *programs): files(programs) {}
|
||||
io(filer &files): files(files) {}
|
||||
|
||||
virtual void reset();
|
||||
virtual void down(uint8_t scan);
|
||||
@ -17,7 +17,7 @@ public:
|
||||
virtual uint8_t read_porta_cr();
|
||||
|
||||
void load();
|
||||
flash_filer files;
|
||||
filer &files;
|
||||
private:
|
||||
void display(uint8_t);
|
||||
void draw(char, int, int);
|
||||
|
Loading…
Reference in New Issue
Block a user