[comp.sys.apple] Serial Post Interfacing

eldorado@EN.ECN.PURDUE.EDU (David D Jansen) (03/16/90)

Keywords: assembly program

When I compile the source code, I can execute the object file in the Hyper C
shell, but how do I run the programs I create in prodos (as a binary or
even system file)?  I looked at the object file and it looks like p-code.
And the file is a text file, not a binary one.  I have used cc and ccn
with the same results.
While I am at it, I am building an interface to a RS-232 for input and
output.  I need help writing an assembly or C (if I can create a binary
executable code) which can configure, read and write to slot 2.  This would
probably be best using interrupts since it runs at 4800 baud (possibly 9600
in the future).  I have tried to mess around with sending stuff out the
port but I don't really know how.  Could some of you who have written
Comm programs help out?  Maybe I'll check the TechNotes.  Can C handle
interrupts?  Thanks...


Dave Jansen (The Gilded One)
eldorado@en.ecn.purdue.edu

"We have to make all our programs idiot-proof.  Idiots are very intelligent!"