From: Brett Gordon Date: Sun, 4 Oct 2015 14:12:02 +0000 (-0400) Subject: coco3: keep up with changes in graphics.h X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d1136ea250e158e4eb5feace4144917d6d802800;p=FUZIX.git coco3: keep up with changes in graphics.h --- diff --git a/Kernel/platform-coco3/devtty.c b/Kernel/platform-coco3/devtty.c index a9459d8e..05b470d5 100644 --- a/Kernel/platform-coco3/devtty.c +++ b/Kernel/platform-coco3/devtty.c @@ -437,15 +437,18 @@ unsigned char vt_map(unsigned char c) } static struct display display = { - 256, 192, - 256, 192, - 0xFF, 0xFF, /* For now */ - FMT_MONO_BW, - HW_UNACCEL, - GFX_ENABLE, - 0, - GFX_SETPIXEL, - 0 + 0, /* Mode number */ + 256, 192, /* screen size */ + 256, 192, /* buffer size */ + 0xFF, 0xFF, /* no pan, scroll */ + FMT_TEXT, /* all our supported modes */ + HW_UNACCEL, /* no acceleration */ + GFX_PALETTE | + GFX_MULTIMODE | + GFX_PALETTE_SET | + GFX_TEXT, /* all the crap we support in this mode */ + 0, /* Memory size irrelevant */ + 0, /* supports no commands */ };