aboutsummaryrefslogtreecommitdiff
path: root/dcpu16.h
diff options
context:
space:
mode:
Diffstat (limited to 'dcpu16.h')
-rw-r--r--dcpu16.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/dcpu16.h b/dcpu16.h
index 0194f46..5f8b5ad 100644
--- a/dcpu16.h
+++ b/dcpu16.h
@@ -52,8 +52,9 @@ struct context {
unsigned int version;
unsigned int manu;
void (*cb)(struct context *);
- } dev[256];
+ } dev[MEMSZ];
int ndev;
+ int proglen;
};
/* display: 32x12 (128x96) + 16 pixel boarder, font 8x4 */
@@ -63,8 +64,9 @@ int step(struct context *);
void tuiemu(struct context *);
void guiemu(struct context *);
void dumpcode(struct context *);
-void register_lem(struct context *);
-void register_keyb(struct context *);
-void register_clk(struct context *);
+
+void lem(struct context *);
+void keyb(struct context *);
+void clk(struct context *);
#endif