[comp.sys.apple2] Need help with BASIC programming of the serial port

v097pba8@ubvmsd.cc.buffalo.edu (Ken F Morton) (01/24/91)

	If I set the input device to the printer port with the IN#1 Basic
command, how do I capture the input into an array or large string?
	Similarily, if I set the output device to the printer port with
PR#1 how would I send the hex message F0?  Or its binary equiv?
	Basically, this is my MIDI Librarian scheme.  The device connected
will be an Opcode MIDI interface.  I plan to use my apple IIgs to save
System Exculsive Dumps.   Basically, all I have to do is put the incoming
data into memory and the send it on back out.  It seems simple, but I lack
both my GS and MIDI interface currently (they are at home 400 miles away)
so I can't do my normal hack hack hack till it works or I give up.  So
if anyone can give me some info, I will be able to try it out soon - I just
have to bug another GS users and manage to borrow a MIDI interface from
the music department. sigh.

				Thanks...
					
				Ken Morton