Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!cbmvax!amiga!jimm From: jimm@amiga.UUCP (James D. Mackraz) Newsgroups: net.micro.amiga Subject: Re: Serial Port Communications Message-ID: <1381@amiga.amiga.UUCP> Date: Mon, 7-Jul-86 15:07:38 EDT Article-I.D.: amiga.1381 Posted: Mon Jul 7 15:07:38 1986 Date-Received: Wed, 9-Jul-86 01:44:47 EDT References: <148@umd-ua.UUCP> Reply-To: jimm@homer.UUCP (Jim Mackraz) Distribution: net Organization: Commodore-Amiga Inc., 983 University Ave #D, Los Gatos CA 95030 Lines: 24 In article <148@umd-ua.UUCP> jwabik@umd-ua.UUCP (Jeff Wabik) writes: >Here's a question for all you Amiga types. I just got my machine about >a week ago, and since that time I've been trying to connect an old >"dumb terminal" to the serial port -- just to dump things to and >play with.. In any case, I can't get the setup to work. I've been >in preferences a set the correct baud rate, and I've made sure that >my terminal works correctly, and I've made sure that the Amiga pins >on the serial port that are "hot" are not connected to the terminal, >and etc.. This doesn't seem to be a problem of baud/etc, since I >get no glitches on the terminal. Is there something obvious (or hidden) >that I'm missing here ?? I hope you get some real help from somebody, but I want to be sure you know about kprintf(), which is a little printf() which goes out serial at 9600 baud. Note that most c-compilers promote shorts and char to 32 bits, so you have to do kprintf("number: %ld\n", number); There is some getchar() kind of thing in there so you can pause, waiting on a key at the tty, but most people just call Debug() which runs romwack out to your tty. Debug() returns and your program proceeds when you type ^D. Not the answer, but something everyone should know. jimm