- Top Stats

Top Posters Top Topic Starters Top Topics
TFM 514
ComSoft612... 312
Gryzor 284
Targhan 174
Ast 161
ComSoft612... 38
TFM 17
arnoldemu 15
Gryzor 12
Devilmarku... 11
BBS software /... - 561428 Views Octoate 21:00, 23 March 10
Arkos Tracker - 32083 Views Targhan 16:56, 20 February 10
SID tracker / ... - 26736 Views BSC 14:35, 05 November 13
SymbOS CPC upd... - 22081 Views Prodatron 00:18, 11 October 16
X-Mass Application - 20777 Views Ast 16:18, 04 March 16


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

0 Members and 1 Guest are viewing this topic.

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.079
  • Country: dk
    • spinpoint.org
  • Liked: 1140
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: 276
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 183
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: 1.149
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 624
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: 2019.01.14)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Ver.: 2019.06.02)

Offline genesis8

  • CPC6128
  • ****
  • Posts: 176
  • Country: fr
    • Genesis8 Amstrad Page
  • Liked: 47
Re: Telnet client for CPC
« Reply #53 on: 18:43, 26 March 19 »
Here is the source code for the super simple basic telnet client:
https://github.com/M4Duke/M4examples/blob/master/telnet.s

Edit:
Added some ANSI escape codes + you can press TAB to pause and  TAB again to resume.


Duke could you put the binary of v1.0.1 on spinpoint.org/telnet.bin so new readers of this thread will have the latest version and eventually on the first message ?
____________
Amstrad news site at Genesis8 Amstrad Page

Offline simulant

  • CPC464
  • **
  • Posts: 34
  • Country: gb
    • Amstrad BBS
  • Liked: 21
Re: Telnet client for CPC
« Reply #54 on: 19:04, 26 March 19 »

Duke could you put the binary of v1.0.1 on spinpoint.org/telnet.bin so new readers of this thread will have the latest version and eventually on the first message ?
That would be great, does the v1.0.1 have the SOS bugs above or are they fixed in that release? I'd also like to update the latest version on Amstrad BBS too :)

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.079
  • Country: dk
    • spinpoint.org
  • Liked: 1140
Re: Telnet client for CPC
« Reply #55 on: 04:53, 27 March 19 »

Duke could you put the binary of v1.0.1 on spinpoint.org/telnet.bin so new readers of this thread will have the latest version and eventually on the first message ?
Sure. Done.

That would be great, does the v1.0.1 have the SOS bugs above or are they fixed in that release? I'd also like to update the latest version on Amstrad BBS too :)
No, but the fixes should be included in his version here:
http://www.cpcwiki.eu/forum/programming/wifi-compatibility-between-the-m4-symbiface-3-using-telnet-as-an-example/msg170421/#msg170421

Offline SOS

  • Supporter
  • CPC6128
  • *
  • Posts: 276
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 183
Re: Telnet client for CPC
« Reply #56 on: 19:04, 27 March 19 »

Offline simulant

  • CPC464
  • **
  • Posts: 34
  • Country: gb
    • Amstrad BBS
  • Liked: 21
Re: Telnet client for CPC
« Reply #57 on: 13:32, 07 April 19 »
Hi this now resolves well but has the same bug where once it gets past the Amstrad welcome screen all the output scrunches up in the bottom right of the screen and nothing can be read...
If you log in to Amstrad BBS as username Guest you will see it works well until the Welcome screen and then the main menu won't appear. This is after selecting that the console is not ANSI or IBM extended characters compatible on the initial login selections.
Thanks for any help :)