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

0 Members and 1 Guest are viewing this topic.

Offline Apollo

  • Supporter
  • CPC664
  • *
  • Posts: 66
  • Country: de
  • Liked: 22
  • Likes Given: 399
Re: SymbOS network support development
« Reply #100 on: 05:38, 29 May 15 »
@rpalmer:
thanks for the information, I didn't know about CPCIP to be honest but it nice to hear about such projects. So kudos to all of you implementing IPv4 network stacks and even more to implement features like DHCP! I never even dreamed about to be once able to have a DHCP server allocating an IP address to my CPC, ever!

@prodatron:
thanks for the addition info, sadly the SF3 never got finished as it would be a nice extension over SF2 as far I remember the specs. Especially nowadays it is much cheaper to produce low volume hardware as it was 5 years ago.
CPC - My beloved first computer!

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 833
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1061
  • Likes Given: 556
Re: SymbOS network support development
« Reply #101 on: 10:32, 29 May 15 »
Seems, that the website with CPCIP isn't online anymore?
Attached is the CPCIP package, which was developed 1999-2001 by Mark Rison.


GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 833
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1061
  • Likes Given: 556
Re: SymbOS network support development
« Reply #102 on: 14:13, 31 May 15 »
I was implementing a "localecho" network adapter, which just echos incoming TCP and UDP packets. This makes it possible to do important basic tests on the CPC emulator as well, which is good, as debugging in WinApe is much more comfortable than on the real hardware. So I was able to start 4 Telnet sessions at the same time, while the 5th session returned with a "no free socket" error:
 [ Invalid Attachment ]
I am now planning to implement a real "localhost" network adapter, as this is probably good when writing network apps - in this case, some server apps are required as well though.

After fixing a bug in the routine for generating random local ports (49152–65535) it was possible to start multiple Telnet sessions on the real hardware:


HispaMSX-BBS was even complaining, that it wouldn't be possible to be there two times :D

(but with my Z80 it was :D )

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline seanb

  • Supporter
  • 6128 Plus
  • *
  • Posts: 633
  • Country: gb
  • Captain Wrong
  • Liked: 235
  • Likes Given: 866
Re: SymbOS network support development
« Reply #103 on: 14:54, 31 May 15 »

HispaMSX-BBS was even complaining, that it wouldn't be possible to be there two times :D

(but with my Z80 it was :D )


Have you just taken the first steps to create HAL  :o
Thou shall not question Captain Wrong!

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 833
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1061
  • Likes Given: 556
Re: SymbOS network support development
« Reply #104 on: 21:30, 01 June 15 »
Trebmints Unify IDE for SymbOS is now supporting TCP as well and therefore most of the important network capabilities at all.

Today Trebmint implemented the TCP API of the Network Daemon and so we were able to make a successful test this evening:
[attachimg=1]
Sending data packages to the echotool on my Notebook worked well:
[attachimg=2]

The impressive thing is the little amount of code you have to write to get such a result including
- opening connection
- send data
- receive data
- close the connection
...:
Code: [Select]
Function Net_Event
    If Net.Event.Type And 128  Then
        Label1.Text=Net.TCP.String.Receive(Net.Event.Bytes.Received)  // ("RECEIVE TCP")
        Label1.Refresh
    EndIf
EndF


// Event Control Button2 ("OPEN TCP")
Function Button2_Event
    myip$=Net.DNS.Resolve("192.168.178.58")
    Net.TCP.Client.Open(10000,myip$,10000)
    Label3.Text="IP:"+myip$
    Label3.Refresh
EndF


// Event Control Button3 ("CLOSE TCP")
Function Button3_Event
    Net.TCP.Close
EndF


// Event Control Button4 ("SEND TCP")
Function Button4_Event
    Net.TCP.Send(Control.Text(TextLine1)))
EndF
And that's it. Coding network apps on Z80 machines can't be easier :)

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline ronaldo

  • Dev
  • 6128 Plus
  • *****
  • Posts: 648
  • Country: es
    • Profesor Retroman
  • Liked: 941
  • Likes Given: 827
Re: SymbOS network support development
« Reply #105 on: 22:32, 01 June 15 »
Wow! Man! This was impossible even on our imaginations years ago. Thank you for your hard work  :)

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 833
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1061
  • Likes Given: 556
Re: SymbOS network support development
« Reply #106 on: 23:51, 01 June 15 »
Wow! Man! This was impossible even on our imaginations years ago. Thank you for your hard work  :)

This morning I was connected with my Z80 to a Commodore C128, which is running 24/7 as a BBS via Telnet:
 [ Invalid Attachment ]

TBH that was quite impressive to speak to another 8bit directly :)

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline ronaldo

  • Dev
  • 6128 Plus
  • *****
  • Posts: 648
  • Country: es
    • Profesor Retroman
  • Liked: 941
  • Likes Given: 827
Re: SymbOS network support development
« Reply #107 on: 23:59, 01 June 15 »
TBH that was quite impressive to speak to another 8bit directly :)

It actually is. It is something new even for our present days: imagining this running 25 years ago... It'd have been like magic :D

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!
  • Liked: 1983
  • Likes Given: 4650
Re: SymbOS network support development
« Reply #108 on: 18:16, 02 June 15 »
It actually is. It is something new even for our present days: imagining this running 25 years ago... It'd have been like magic :D


25 years ago I used a nice 2400 baud modem to chat with mailboxes, but it was not a Commodore  ;)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 833
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1061
  • Likes Given: 556
Re: SymbOS network support development
« Reply #109 on: 20:23, 02 June 15 »
Today EdoZ asked me, why not implementing a nice little command line tool, and so I couldn't resist and programmed NETSTAT, known from BSD, Linux and Windows   :P
 [ Invalid Attachment ]
You can see it in the lower left shell window. I have been connected with the HispaMSX-BBS, ASCII-Star Wars (towel.blinkenlights.nl) and Telehack.com. The network daemon provides a function to send the status of all available sockets, and so netstat is using this to display it in exactly the same way like you know it from the "big" one. Now you can figure out, if there is a backdoor application installed in SymbOS or not  :D .

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline Trebmint

  • 464 Plus
  • *****
  • Posts: 464
  • Country: zw
  • Liked: 324
  • Likes Given: 31
Re: SymbOS network support development
« Reply #110 on: 09:56, 03 June 15 »
Hey guys, I've been working on getting Prodatron symbos networking into unify the last week, and its great. We're going to have a decent amount of cool network software ready for the launch of the beta 3/network daemon.


Problem is for the CPC is that as yet we have no hardware or emulation that allows us to use it other than localhost, so unlike the MSX (and soon EP) we wont be able to play online against each other. Any Hardware or Emulator guys out there we need you?

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 833
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1061
  • Likes Given: 556
Re: SymbOS network support development
« Reply #111 on: 23:48, 14 June 15 »
During the last days a lot stuff happend. The Network Daemon is now fully configurable, and the new "Driver" tab shows the status of the LEDs of the currently used MSX ethernet card. EdoZ made a little video for demonstating this:

[youtube]https://www.youtube.com/watch?v=gAHQ4fkgOMc[/youtube]

You can see, how especially TX, RX and Link react on EdoZ char typing in the Telnet console.
At the same time Trebmint completed a huge part of the network support in the Unify IDE. That made it possible to write a simple but fully working internet messenger, called the "Simple Messenger", for SymbOS with Unify, which only consists of 30 lines of code - the initial development took 5 minutes :D

And so today we were able to have this very special moment: I started two instances of the messenger as a server on my 8bit machine in Germany, and EdoZ from The Netherlands and NYYRIKKI from Finland connected as clients from their Z80 computers directly over the internet. So I had two chat sessions running on my Z80. As this worked well, NYYRIKKI and EdoZ opened a direct chat session as well. All three MSX were connected to each other at the same time!

(click to enlarge)



TBH we had a lot fun again today! :)

But as I am developing everything on the CPC with WinApe I also created the "localhost" driver this week. It already supports TCP and a fake kind of DNS, which is fine for 90% of the apps.
This was a test on the Amstrad CPC:



Let's keep this all finished for a beta release end of this month :) And I am looking forward to any CPC network hardware like the W5100 or Octos ESP8266, soon (since April all work on this project is completely platform independant :) ).
« Last Edit: 23:50, 14 June 15 by Prodatron »

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline ronaldo

  • Dev
  • 6128 Plus
  • *****
  • Posts: 648
  • Country: es
    • Profesor Retroman
  • Liked: 941
  • Likes Given: 827
Re: SymbOS network support development
« Reply #112 on: 01:00, 15 June 15 »
This is absolutely unbelivable. Can't wait to see this working on my real Amstrad CPC someday soon :D

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 243
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
  • Liked: 234
  • Likes Given: 171
Re: SymbOS network support development
« Reply #113 on: 15:17, 15 June 15 »
Congratulations! Very impressive!  :o
floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Offline Ygdrazil

  • Global Moderator
  • 464 Plus
  • *****
  • Posts: 493
  • Country: dk
  • Liked: 48
  • Likes Given: 260
Re: SymbOS network support development
« Reply #114 on: 11:23, 16 June 15 »
This is so great  ;D


/Ygdrazil

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.326
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1189
  • Likes Given: 84
Re: SymbOS network support development
« Reply #115 on: 11:47, 16 June 15 »
All we need now is a Ethernet m4x card.
IRC:  #Retro4All on Freenode

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.851
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2949
  • Likes Given: 1776
Re: SymbOS network support development
« Reply #116 on: 12:04, 16 June 15 »
All we need now is a Ethernet m4x card.
I think that you only have to connect a TTL to Ethernet module on the MiniBooster...
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.326
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1189
  • Likes Given: 84
Re: SymbOS network support development
« Reply #117 on: 13:18, 16 June 15 »
I like the sound of that. All these minibooster addons, mouse, network, rtc ... Will they ever exist? And would it be possible to use them at the same time. I mean symbos would benefit from all of them.
IRC:  #Retro4All on Freenode

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 833
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1061
  • Likes Given: 556
Re: SymbOS network support development
« Reply #118 on: 17:36, 16 June 15 »
I posted this Minibooster AddOn (ESP8266) from Octoate some pages ago, which was already working:
SymbOS network support development


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!
  • Liked: 1983
  • Likes Given: 4650
Re: SymbOS network support development
« Reply #119 on: 17:41, 16 June 15 »
I posted this Minibooster AddOn (ESP8266) from Octoate some pages ago, which was already working:
SymbOS network support development


On the pictures I see the Mother X4 with cards and I see th ESP working in ... I guess ... BASIC.


Do you have implemented it for SymbOS now? A dream comes true!  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline KaosOverride

  • 464 Plus
  • *****
  • Posts: 312
  • Country: es
  • Liked: 195
  • Likes Given: 44
Re: SymbOS network support development
« Reply #120 on: 15:54, 17 June 15 »
From my side bad news. Definitely the WZ5100 in  IO port mode doesn't work well. In some way when you make some reads / writes, the counter position makes more than one jump. I'll have to redo the full project with a microcontroller in the middle, ATMEGA, or the like...  The memory range mode probes to work OK at ZX Spectrum and MSX. Also SPI mode is an option, because there are a lot of cheap WZ5100 modules with SPI only interface. So If I manage the MCU to work as an I/O port to "RAM" emulation, then... I have hope :D

Also if someone wants to try with WZ5100 at the CPC we can join forces!!
KaosOverride · GitHub
MEGA Amstrad Public Amstrad folder

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 833
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1061
  • Likes Given: 556
Re: SymbOS network support development
« Reply #121 on: 00:28, 10 July 15 »
Here is another video for new CPC ethernet hardware motivation :P

[youtube]https://www.youtube.com/watch?v=L3arrALdYcU[/youtube]

« Last Edit: 12:37, 10 July 15 by Prodatron »

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline Edoz(MSX)

  • CPC664
  • ***
  • Posts: 119
  • Country: nl
  • Liked: 166
  • Likes Given: 58
Re: SymbOS network support development
« Reply #122 on: 12:08, 10 July 15 »
Crazy to see both screens like this :D

Offline seanb

  • Supporter
  • 6128 Plus
  • *
  • Posts: 633
  • Country: gb
  • Captain Wrong
  • Liked: 235
  • Likes Given: 866
Re: SymbOS network support development
« Reply #123 on: 14:05, 10 July 15 »
Ha. Love the zilog z80 inside logo
Thou shall not question Captain Wrong!

Offline MacDeath

  • Chaotic post writer and mock-up specialist
  • Supporter
  • 6128 Plus
  • *
  • Posts: 4.068
  • Country: fr
  • Liked: 1183
  • Likes Given: 667
Re: SymbOS network support development
« Reply #124 on: 20:10, 10 July 15 »
what about Gameboy's Webcam ?  ;D

Also can't a quite standard Arduino+ethernet shield combo be used as proper network card ?