Hi,
I'm using the built-in SSC emulation in my GS and have it connected by serial port to a Classic running ClarisWork's communications module. Everything is perfectly fine: I can send text to the Classic and the Classic can control the GS. Everything works.
What I want to know:
I spent about 2 hours last night poring over the SSC manual and the Apple II Reference manual looking for how to activate the SSC and send/receive data using Assembly language comnmands. That is, I don't want to have to type PR#2, Control-A and all of the rest.
I found via the A2 Ref Man that the Apple's output routine is located at $36 (lowbyte) and $37 (high-byte) and the input routine is at $38 and $39. These will normally be 1BFD for KEYIN and EDFD for the standard COUT monitor routine.
Since the emulated SSC is in slot 2, its input routine is at $C205 and its output is at $C207. All I have to do is poke these values into the locations mentioned above. I wrote a BASIC program to do a POKE 56, 05 and POKE 57, 194 but it is still not working! I look in the Monitor and I see a 05C3 instead of 05C2. Every time I try this, I cannot get characters typed on the Classic to transmit, but if I use pr#2, then it does put the right values in and text typed on the Classic appears on the GS screen.
Anyone know what is going wrong? I think I'm leaving out a step.
I'm using the built-in SSC emulation in my GS and have it connected by serial port to a Classic running ClarisWork's communications module. Everything is perfectly fine: I can send text to the Classic and the Classic can control the GS. Everything works.
What I want to know:
I spent about 2 hours last night poring over the SSC manual and the Apple II Reference manual looking for how to activate the SSC and send/receive data using Assembly language comnmands. That is, I don't want to have to type PR#2, Control-A and all of the rest.
I found via the A2 Ref Man that the Apple's output routine is located at $36 (lowbyte) and $37 (high-byte) and the input routine is at $38 and $39. These will normally be 1BFD for KEYIN and EDFD for the standard COUT monitor routine.
Since the emulated SSC is in slot 2, its input routine is at $C205 and its output is at $C207. All I have to do is poke these values into the locations mentioned above. I wrote a BASIC program to do a POKE 56, 05 and POKE 57, 194 but it is still not working! I look in the Monitor and I see a 05C3 instead of 05C2. Every time I try this, I cannot get characters typed on the Classic to transmit, but if I use pr#2, then it does put the right values in and text typed on the Classic appears on the GS screen.
Anyone know what is going wrong? I think I'm leaving out a step.

