aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2012-05-09 10:47:21 +0000
committerDimitri Sokolyuk <demon@dim13.org>2012-05-09 10:47:21 +0000
commita23412776f8c17333ac8884a8ec14fd50c3568f3 (patch)
tree4b2d1b650f439bc3108ef9f170293512802bbd09
parentdc948f592ad4dd37f0349c4faa12e30eb00aa158 (diff)
display stub
-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 */