abc@brl-tgr.ARPA (Brint Cooper ) (08/31/84)
<> 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
abc@BRL-TGR.ARPA (08/31/84)
From: Brint <abc@BRL-TGR.ARPA> (The following was also sent to net.micro.cpm on Usenet. My apologies if you see it twice.) <> 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 Brint <abc@brl.arpa>
Bicer.ES@XEROX.ARPA (09/04/84)
Use BDOS when you can. If it is too slow, use BIOS. Jack Bicer