01-29-2023, 06:19 AM
(01-29-2023, 05:30 AM)admin Wrote: I will take a look at this. I have never seen anything on the C64 that actually uses DTR.
thanks a lot
not sure if it would help, but digging up the ccgmsterm code. i can see that it is trying to do something to the dtr or at least to the user port. i dont know enough of c64 to decipher this.
....
mopo1 .byt $20 ;pick up
mopo1 .byt $20 ;pick up
mopo2 .byt $00 ;hang up
mopo3 .byt $20 ;click on (pu)
mopo4 .byt $00 ;click off (hu)
....
;;.opt err ;no list!!!
modreg = $dd01
datdir = $dd03
......
hangup ;hang up phone
ldx #$20
stx datdir
ldx 653
cpx #2
beq pickup
lda mopo2
sta modreg
jsr curoff
lda #<dsctxt
ldy #>dsctxt
jsr outstr
jmp main
pickup
lda mopo1
sta modreg
jsr curoff
lda #<pcktxt
ldy #>pcktxt
jsr outstr
jmp main
pcktxt .byt 13,5,'Off-hook.',13,13,0
mopo2 .byt $00 ;hang up
mopo3 .byt $20 ;click on (pu)
mopo4 .byt $00 ;click off (hu)