Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!att!ucbvax!jc3b21.UUCP!see From: see@jc3b21.UUCP (Sean Eller) Newsgroups: comp.sys.apple2 Subject: (none) Message-ID: <9104302205.AA07839@jc3b21.UUCP> Date: 1 May 91 02:05:02 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 17 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