Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.6.2.17 $; site uokvax.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!uokvax!emjej From: emjej@uokvax.UUCP Newsgroups: net.micro.6809 Subject: Re: Coco OS9 "C" putc() is messed up Message-ID: <3500056@uokvax.UUCP> Date: Sat, 1-Dec-84 16:07:00 EST Article-I.D.: uokvax.3500056 Posted: Sat Dec 1 16:07:00 1984 Date-Received: Tue, 4-Dec-84 09:14:31 EST References: <2320@ihnss.UUCP> Lines: 16 Nf-ID: #R:ihnss:-232000:uokvax:3500056:000:728 Nf-From: uokvax!emjej Dec 1 15:07:00 1984 [when you send some mail/and you want it truncated/who ya gonna call?...] /***** uokvax:net.micro.6809 / ihnss!knudsen / 6:14 pm Nov 28, 1984 */ I have finally proven to myself that the putc(char, channel) function in the stdio library is defective in Coco OS9 C. Namely, it strips off the high-order (sign) bit 7 when going to stdout. This makes it unusable for feeding graphics coordinates to CCIO, since these must range all the way up to 255 (or -128 thru -1, in C's viewpoint). /* ---------- */ Just wanted to confirm that this is a CoCo-ism; it does not happen elsewhere in Microware C. I can't help but think that somebody at RS is hosing things severely...first the device drivers, now this...oy! James Jones