Author Topic: SymbOS network support development  (Read 24255 times)

0 Members and 1 Guest are viewing this topic.

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 917
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
    • Awards
SymbOS network support development
« on: 21:33, 23 March 15 »
Since last week I am working on the network support for SymbOS. The first version is based on the Wiznet W5100 ethernet controller, which is used in the DenYoNet card for the MSX (as well as in the Spectranet hardware). There is a W5100 project for the CPC, too, so it's probably one of the choices you will have. Here is a first screenshot...



...showing the test utility, which is loading the WWW.MSX.FI homepage.
The driver is designed in a way, that it's very easy to exchange the used hardware by dividing the code into three layers. The low level code is for accessing the W5100 hardware directly, which is different between the CPC and the MSX. The mid level is for working with the hardware, which is the same for all systems using the W5100. Other hardware like the ESP8266 Wlan module, which can be connected to the MiniBooster/CPC Booster/RS232 on the Enterprise 128 or own TCP/IP stack implementations are realisable with just another midlevel code. The high level is for managing the connections and communication with the processes, which want to do networking.

All TCP routines seem to work now, now it's time for UDP to make DNS and DHCP possible.

The network driver is running as a "Daemon", which is an own background process in the multitasking environment. Applications can send messages to it, like asking for opening a new connection, sending data to an already opened connection etc. They will also receive messages from the network daemon, if there is new incoming data or if the status of a connection changed etc. This makes it possible to run multiple applications at the same time, which all can have open connections.

The new network driver takes care about compatibility to Dr.Zeds NetD driver from 2007, which was developed for the SYMBiface 3 expansion card.



That makes it easy to adapt applications like SymTEL and Dr.Zeds' GUI-based SymFTP ftp client.
like
0
No reactions

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.357
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
    • Awards
Re: SymbOS network support development
« Reply #1 on: 21:42, 23 March 15 »
Oh. Wow.
like
0
No reactions

Offline PhilZeVibe

  • 464 Plus
  • *****
  • Posts: 471
  • Country: 00
    • Awards
Re: SymbOS network support development
« Reply #2 on: 22:05, 23 March 15 »
.
« Last Edit: 19:30, 30 June 21 by PhilZeVibe »
like
0
No reactions

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 261
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
    • Awards
Re: SymbOS network support development
« Reply #3 on: 22:06, 23 March 15 »
 :o :o :o
Very good job! Congratulations!
 
like
0
No reactions
floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Offline Edoz(MSX)

  • CPC664
  • ***
  • Posts: 133
  • Country: nl
    • Awards
Re: SymbOS network support development
« Reply #4 on: 09:46, 24 March 15 »
Amazing !! Congratulations !! This is so cool to see! All the work you did on SymbOS .. it's amazing !! and now... the first stage of network support .. !! how crazy, how cool !!

like
0
No reactions

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 12.541
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
    • Awards
Re: SymbOS network support development
« Reply #5 on: 11:08, 24 March 15 »
Excellent, finally we can have pR0n internet on SymbOS! I assume you are now working on a Youtube frontend? :D

Bryce.
like
0
No reactions

Offline BSC

  • 464 Plus
  • *****
  • Posts: 381
  • Country: de
  • CPC 464 aspirant
    • bsc.cpcscene.net
    • Awards
Re: SymbOS network support development
« Reply #6 on: 11:33, 24 March 15 »
I think "holy crap" quite summarizes my thoughts right now.. And I can't wait for SSH and SymPutty to maintain butch, koons and all those bansrv-xx guys ;-)


Offline Singaja

  • CPC6128
  • ****
  • Posts: 174
  • Country: pl
    • Awards
Re: SymbOS network support development
« Reply #7 on: 14:10, 24 March 15 »
Too good to be true :-) Made my day
like
0
No reactions

Offline Executioner

  • Supporter
  • 6128 Plus
  • *
  • Posts: 785
  • Country: au
  • WinAPE Developer
    • WinAPE
    • Awards
Re: SymbOS network support development
« Reply #8 on: 16:18, 24 March 15 »
Hi Prodatron,

Sorry I missed your PM before, can you send me some info on the network interface?

Cheers,
Richard
like
0
No reactions

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 917
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
    • Awards
Re: SymbOS network support development
« Reply #9 on: 16:49, 24 March 15 »
Hi Richard, sure I will! :) The bitwise-eMail is still valid?
like
0
No reactions

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline MacDeath

  • Chaotic post writer and mock-up specialist
  • Supporter
  • 6128 Plus
  • *
  • Posts: 4.076
  • Country: fr
    • Awards
Re: SymbOS network support development
« Reply #10 on: 20:47, 26 March 15 »
could you support Thomson's nanoRéseaux as Well ?

 ;D


ok i'm out....



Quote
Excellent, finally we can have pR0n internet on SymbOS!
Were you about to tell pr0net ? ::)

http://www.cpc-power.com/index.php?page=detail&num=7798
http://www.cpc-power.com/index.php?page=detail&num=7710

Warning : safe for work, but it really depends on your job...
« Last Edit: 20:51, 26 March 15 by MacDeath »
like
0
No reactions

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 917
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
    • Awards
Re: SymbOS network support development
« Reply #11 on: 21:12, 26 March 15 »
could you support Thomson's nanoRéseaux as Well ?

That remembers me on your discussion on CPCRULEZ
https://translate.google.com/translate?sl=fr&amp;tl=en&amp;js=y&amp;prev=_t&amp;hl=de&amp;ie=UTF-8&amp;u=http%3A%2F%2Fcpcrulez.fr%2Fforum%2Fviewtopic.php%3Ff%3D2%26t%3D5450&amp;edit-text=
https://translate.google.com/translate?sl=fr&tl=en&js=y&prev=_t&hl=de&ie=UTF-8&u=http%3A%2F%2Fcpcrulez.fr%2Fforum%2Fviewtopic.php%3Ff%3D2%26t%3D5450&edit-text=

I am currently concentrating on the TCP/IP stuff. I wonder if the API of the network daemon could be abstracted in a way that it supports other network technologies as well. It shouldn't matter if the destination is a domain name, an IPv4, IPv6 address or whatever, it's only a string and the driver will handle it. But it's also important that you have a TCP and an UDP like communication with the remote side, which is either a connection-based or a connectionless communication, otherwise you can't use the API in the way it is designed for.
like
0
No reactions

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline EgoTrip

  • 6128 Plus
  • ******
  • Posts: 1.068
  • Country: gl
    • http://egochip.blogspot.co.uk/
    • Awards
Re: SymbOS network support development
« Reply #12 on: 00:08, 27 March 15 »
Will it support Flash and sites like YouTube?
like
0
No reactions
EgoTrip&#39;s Stuff
EgoTrip's Stuff

Offline XyphoesRe

  • CPC664
  • ***
  • Posts: 65
  • Country: de
    • Awards
Re: SymbOS network support development
« Reply #13 on: 01:02, 27 March 15 »
Is the Jabber-Client of DRZed then also implemented?
I'd like to run Jabber on my CPC :-) Dunno why - but it will be great.
And: as soon as you have kind of httpd i put one of the CPC6128 into our datacenter with a webcam pointing to the monitor where you can then see the logfile running through - so you must(!) implement kind of an 'tail -f /var/log/httpd.log' possibiliy  :o
like
0
No reactions

Offline Edoz(MSX)

  • CPC664
  • ***
  • Posts: 133
  • Country: nl
    • Awards
Re: SymbOS network support development
« Reply #14 on: 09:44, 27 March 15 »
Will it support Flash and sites like YouTube?

If you make the DOX proxy ;)
like
0
No reactions

Offline Munchausen

  • 6128 Plus
  • ******
  • Posts: 779
  • Country: gb
    • Awards
Re: SymbOS network support development
« Reply #15 on: 13:01, 27 March 15 »
I think "holy crap" quite summarizes my thoughts right now.. And I can't wait for SSH and SymPutty to maintain butch, koons and all those bansrv-xx guys ;-)

Unfortunately I think SSH is way beyond the capabilities of any symbos machine without some external micro controller to do the key exchange and encryption (which sort of defeats the point?). A putty like program that can do telnet (and serial?) would be awesome though.
like
0
No reactions

Offline PhilZeVibe

  • 464 Plus
  • *****
  • Posts: 471
  • Country: 00
    • Awards
Re: SymbOS network support development
« Reply #16 on: 13:09, 27 March 15 »
.
« Last Edit: 19:29, 30 June 21 by PhilZeVibe »
like
0
No reactions

Offline EgoTrip

  • 6128 Plus
  • ******
  • Posts: 1.068
  • Country: gl
    • http://egochip.blogspot.co.uk/
    • Awards
Re: SymbOS network support development
« Reply #17 on: 15:03, 27 March 15 »
If you make the DOX proxy ;)

What does posting up people's personal details have to do it?

In all seriousness though, I know flash is impossible. But would a specifically designed system for SymbOS be possible, so you can have a YT style website you can stream video and music tracks from?
like
0
No reactions
EgoTrip&#39;s Stuff
EgoTrip's Stuff

Offline Trebmint

  • 464 Plus
  • *****
  • Posts: 486
  • Country: zw
    • Awards
Re: SymbOS network support development
« Reply #18 on: 15:39, 27 March 15 »
What does posting up people's personal details have to do it?

In all seriousness though, I know flash is impossible. But would a specifically designed system for SymbOS be possible, so you can have a YT style website you can stream video and music tracks from?
The answer is yes. The idea is you will be able to browse, download,stream, chat & play via a dedicated symbos server. I'm looking forward to the coding some network games
like
0
No reactions

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 917
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
    • Awards
Re: SymbOS network support development
« Reply #19 on: 16:01, 27 March 15 »
I completely forgot about the Jabber client, which Dr.Zed started in 2007 :D I have to ask him, if he still has the source codes. Jabber or IRC, one or both is a must for networking.
Yes, all kind of encryption is probably impossible on the Z80. So we have to stay with SymTel (Telnet) :)
I didn't try any major performance tests yet with the W5100. In theory you have the maximum speed of 162KB/s on the CPC when transfering data to/from the W5100 buffer. The problem is, that each buffer is only 2KB, when using all 4 sockets, and here you may have fragmentation problems with the IP packets, which could cause delays and re-sends and slow down the network speed.
I will finish DNS lookup today and then do some tests.
like
0
No reactions

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
    • Awards
Re: SymbOS network support development
« Reply #20 on: 18:02, 27 March 15 »
As long as you send 'text only' most encryption shouldn't be a problem. However, anything else has just too much 'volume' and would make it too slow. A problem I see is actually to get the correct encryption / decryption protocols, but maybe you already solved that problem.  :)


EDIT: On CPC you can also omit the usual 'backdoors', which would make SymbOS the most secure OS.  ;)
like
0
No reactions
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Edoz(MSX)

  • CPC664
  • ***
  • Posts: 133
  • Country: nl
    • Awards
Re: SymbOS network support development
« Reply #21 on: 18:12, 27 March 15 »
Thanks Prodatron !! Amazing !! My MSX did a network task for the first time with SymbOS!




Crazy !!

 :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o :o
like
0
No reactions

Offline MacDeath

  • Chaotic post writer and mock-up specialist
  • Supporter
  • 6128 Plus
  • *
  • Posts: 4.076
  • Country: fr
    • Awards
Re: SymbOS network support development
« Reply #22 on: 00:36, 28 March 15 »
Quote
On CPC you can also omit the usual 'backdoors'
what ? my CPC doesn't have any backdoor ? I think it is less sexy now I know that...
 ;D
like
0
No reactions

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
    • Awards
Re: SymbOS network support development
« Reply #23 on: 01:23, 28 March 15 »
what ? my CPC doesn't have any backdoor ? I think it is less sexy now I know that...
 ;D


The secret services of the following countries will love you for ever:
- usa
- gb
- france
- small country in middle east
- russia
- china
- india! (yes, India too, they bitched at Apple until....)



like
0
No reactions
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 917
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
    • Awards
Re: SymbOS network support development
« Reply #24 on: 16:44, 29 March 15 »
SymTel is working again!  :D

(click for larger images)


I made the first test with Karlochs' HispaMSX BBS, which worked out quite well so far. Have to fix a bug and reimplement the ANSI/VT100 control code handling, the old one was quite botched.

Here is a short video just to prove, that it really works
SymTel - TELNET for SymbOS - first try
like
0
No reactions

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM