ddc@druxv.UUCP (CusterDD) (03/15/85)
Wanted: how to access the communications port in UCSD Pascal. I teach a Pascal course at the local community college and we need a communcation program (written in Apple Pascal--UCSD) that will provide file transfer from a UNIX system to the Apple. Apple to UNIX would be nice but not essential. I have the source of a version of Kermit in C for UNIX. Would be willing to translate to UCSD Apple Pascal but need to know how to access the communications port from UCSD Pascal. Anyone know, or know where I can find out? Many thanks, David Custer druxv!ddc (303) 538-3517
eve@ssc-bee.UUCP (Michael Eve) (03/20/85)
If I understand your request, you want to know how to control a model from Apple Pascal. There is a modem program written in Pascal in the book "All About Pascal" published by A.P.P.L.E., a national Apple users group. I don't recall the details, but a good portion of the program is concerned with setting pointers to various hardware locations used for modem control. An alternate approach would be to add a device driver to the BIOS. The same things would still have to be done in the BIOS, but at least then it would be mostly transparent to the user program. -- Mike Eve Boeing Aerospace, Seattle ...uw-beaver!ssc-vax!ssc-bee!eve
ir320@sdcc6.UUCP (ir320) (03/22/85)
There are also two other ways around this problem. The first is to just drop a serial com. card (from Apple) into slot #2. The P-System will recognize it and call it REMIN: and REMOUT: Just read and write the date from these units. P-System takes care of the rest. All About Pascal from Call Apple does indeed have a Micromodem II compatable program for telecommunications, but then again, it's nothing like P-Term -- ie the Z-term of the Pascal-World. If you just want to talk to a serial card, why don't you just simply peek and poke memory locations in varient records, or if you must, you can use assemly language and link it to the host. John Antypas UC San DIego uucp: ...!{ucbvax,ihnp4,dcdwest,akgua,bmcg}!sdcsvax!sdcc6!ix255 arpa: sdcc6!ix255@sdcsvax