Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!brl-tgr!abc From: abc@brl-tgr.ARPA (Brint Cooper ) Newsgroups: net.micro.cpm Subject: I/O Calls in 2.2 Message-ID: <4354@brl-tgr.ARPA> Date: Fri, 31-Aug-84 09:24:21 EDT Article-I.D.: brl-tgr.4354 Posted: Fri Aug 31 09:24:21 1984 Date-Received: Mon, 3-Sep-84 09:08:01 EDT Organization: Ballistics Research Lab Lines: 8 <> I am running CP/M 2.2 on a TRS-80 with the OKIDATA modification (so that "vanilla" CP/M code will execute unmodified). At present I'm trying to bring up a small-C compiler and it needs primitives for getchar() and putchar(). Surely someone has solved this already. What's the easiest way to do this -- calls to the BIOS? -- to BDOS? -- custom code? All solutions will be appreciated. As usual, sufficient interest will produce a summary to net.micro.cpm