[comp.sys.apple] COM hayes dialer patch

nakada@husc4.HARVARD.EDU (paul nakada) (03/10/87)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

I recall someone saying that he wouldn't buy DCOM until the dialer
worked.  Well, I had the same problem with my Hayes compatible modem
and DCOM 3.3.  The problem with the program is that is sends a
carriage return before the ATDT sequence.  The sequence follows the
carriage return too quickly for the modem to handle it. (for some
reason the modem needs a pause after the CR.)  So anyways, here is a
quick patch to add the needed delay to the dialer.

]BLOAD DCOM.PERSONALITY.HAYES
]CALL -151

*6833:AE
*68AE:20 0B 68 A2 02 20 1C 68 60

*BSAVE DCOM.PERSONALITY.HAYES,A$6800,L$B7


The modified code looks like this:


6832: LDA #$0D     ; CR				6832: LDA #$0D 
      JSR $680B    ; OUTPUT CHAR                      JSR $68AE ;patch

68AE: JSR $680B ; OUT CHAR
      LDX #$02  ; DELAY CONST
      JSR $681C ; DO DELAY
      RTS


I have also written a little routine to alter the cursor to a spinning
bar...  (actually any sequence of four characters that you would like.
If you want this patch, just let me know....

paul nakada

nakada@husc4
nakada@husc4.harvard.edu
nakada@harvsc4.bitnet
harvard!husc4!nakada