aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dcpu16.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/dcpu16.h b/dcpu16.h
index 5f8b5ad..87fa8c2 100644
--- a/dcpu16.h
+++ b/dcpu16.h
@@ -53,8 +53,11 @@ struct context {
unsigned int manu;
void (*cb)(struct context *);
} dev[MEMSZ];
- int ndev;
- int proglen;
+ unsigned short ndev;
+ unsigned short proglen;
+ unsigned short screen;
+ unsigned short font;
+ unsigned short palette;
};
/* display: 32x12 (128x96) + 16 pixel boarder, font 8x4 */