dick@ucsfcca.UUCP (Dick Karpinski) (08/08/85)
As the (limited) FORTRAN support person here, I got a query from a user of the IBM Professional FORTRAN about how to read characters from a port. While the manual listed the magic name to use to refer to the rs232 port (COM1 if I recall), there was only one hint about how to do it. That hint was that assembler code could be invoked for various purposes like getting at the port. My user (after many fruitless calls) got from IBM the info that his task was impossible in FORTRAN since the port is "interrupt driven". He did not give up, but wrote CHRIN and CHROUT assembler routines. I have his permission to post them if interest warrants. Try mail first. I'll post the one-screen-each routines to net.lang.f77 (or to net.sources, if you like) when you tell me you need them. Dick -- Dick Karpinski Manager of Unix Services, UCSF Computer Center UUCP: ...!ucbvax!ucsfcgl!cca.ucsf!dick (415) 666-4529 (12-7) BITNET: dick@ucsfcca Compuserve: 70215,1277 Telemail: RKarpinski USPS: U-76 UCSF, San Francisco, CA 94143