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