From: Brett Gordon Date: Wed, 7 Oct 2015 18:36:19 +0000 (-0400) Subject: coco3: tty: be more pendantic. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ae887e1798cc67d5d0a7c3bb962bf2a18b6d51c7;p=FUZIX.git coco3: tty: be more pendantic. --- diff --git a/Kernel/platform-coco3/devtty.c b/Kernel/platform-coco3/devtty.c index 3f757c82..6fa56a44 100644 --- a/Kernel/platform-coco3/devtty.c +++ b/Kernel/platform-coco3/devtty.c @@ -166,8 +166,8 @@ int curminor = 1; /* Apply settings to GIME chip */ void apply_gime( int minor ){ - *(unsigned int *) 0xff9d = ptytab[minor-1].scrloc; - *(unsigned char *) 0xff99 = ptytab[minor-1].gime; + *(volatile uint16_t *) 0xff9d = ptytab[minor-1].scrloc; + *(volatile uint8_t *) 0xff99 = ptytab[minor-1].gime; }