Author Topic: Telnet client for CPC  (Read 4780 times)

0 Members and 1 Guest are viewing this topic.

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.018
  • Country: dk
    • spinpoint.org
  • Liked: 1042
Re: Telnet client for CPC
« Reply #50 on: 19:55, 23 September 18 »
hmm I might see if Prodatron / SymbiosiS can help (maybe a long shot?) but the SymbOS "SymTel" telnet client works great so they may be able to help with the negotiation?

The source code for SymTel is available here: http://www.symbos.de/apps.htm?4  -> http://www.symbos.de/download/apps/SymTel.zip

If anyone fancies to use it for inspiration for their own client or building upon the basic one I put on github.
« Last Edit: 19:57, 23 September 18 by Duke »

Offline SOS

  • Supporter
  • CPC6128
  • *
  • Posts: 262
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 178
Re: Telnet client for CPC
« Reply #51 on: 11:28, 06 February 19 »
I found two Bugs (but there are still at Minimum one open, which crashes the program):
Code: [Select]
------1st------
notescapeCode:
ld a,(isEscapeCode)
cp 0
jp z, not_in_escmode
ld hl, EscapeBuf
ld a, (EscapeCount)
inc a
ld e,a
ld d,0
add hl,de
ld (EscapeCount),a
; bugfix SOS
push af
ld a,b
ld (hl),a
pop af

cp 1
jp z, skip_check_esc_code ; we only want 0x1B,'[' ... for now
ld a,(hl)



------2nd------
recv_noblock:
push af
push bc
push de
push hl

;ld bc,2048 - to do empty entire receive buffer and use index

ld bc,1
call recv

cp $FF
;jp z, exit_close
jp z, exit_close_SP_Corr ; Bugfix SOS

cp 3
;jp z, exit_close
jp z, exit_close_SP_Corr ; Bugfix SOS


exit_close_SP_Corr ; NEW SOS
pop hl
pop hl
pop hl
pop hl

exit_close:

call disp_error
ld hl,cmdclose
call sendcmd


Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 841
  • Country: de
  • Reincarnation of TFM
  • Liked: 431
Re: Telnet client for CPC
« Reply #52 on: 21:25, 06 February 19 »
This is a great project! Thanks for still working on it!  :) :) :)
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2018.08.23)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Ver.: 2018.08.15)