[comp.sys.apple2] Problems with I/O routines

see@jc3b21.UUCP (Sean Eller) (05/02/91)

Hi, all, I've got a problem I'm hoping someone can help with.  I've been trying
to write an asm. program on my GS to access my modem through the standard I/O
entry points in slot 2.  The modem works basically as a SSC ( it's an internal)
and is hayes compatible.  When I'm in basic, it's possible to pass it commands
after issuing a PR#2.  And recieve from the modem ( although I haven't been
able to do both simultaneously, successfully) using IN#2.  Now, how do I
initialize just like PR#2 from ML?  I've tried setting the I/O hooks ($36-$39),
and then send it commands with COUT using 8-bit asm., but it doesn't respond. 
I've also tried using 16-bit asm. switching to emulation and using the Text
toolset to SetInputDev and OutputDev.  I've even tried sending commands
straight to $C005 and $C007 with no results.  Nothing that I've tried works.  I
can't get it to respond like it does from basic.  What am I missing?

Sean

see@jc3b21.edu

P.S.  Sorry about the double posting. My title was clipped.