Jump to content

Photo

handy, comlynx over udp


9 replies to this topic

#1 sage OFFLINE  

sage

    Dragonstomper

  • 994 posts
  • Location:Germany

Posted Tue Jan 3, 2006 10:43 AM

And while we are on the subject has anybody used Handy's TCP/IP connectivity for multiplayer games? Some kind of ComLynx <-> UDP client/server would be cool. Even at just 9600 bauds it could be used for turn based games.


Well, the problem you need to rewrite handy in some parts.
f.i. you want to run more than one emulator on one machine for testing.
anyway udp is a protocoll which is nearly as reliable as comlynx connection is. ;-)

I think it is more useful to get comlynx working properly and error tolerant.

But yes. It would be nice to have that feature in handy, because then it would be mor eeasy to test that code!!!

#2 karri ONLINE  

karri

    River Patroller

  • 2,640 posts
  • Location:Espoo, Finland

Posted Wed Jan 4, 2006 12:51 AM

And while we are on the subject has anybody used Handy's TCP/IP connectivity for multiplayer games? Some kind of ComLynx <-> UDP client/server would be cool. Even at just 9600 bauds it could be used for turn based games.


Well, the problem you need to rewrite handy in some parts.
f.i. you want to run more than one emulator on one machine for testing.
anyway udp is a protocoll which is nearly as reliable as comlynx connection is. ;-)

I think it is more useful to get comlynx working properly and error tolerant.

But yes. It would be nice to have that feature in handy, because then it would be mor eeasy to test that code!!!

View Post


I was thinking about doing a small stand-alone ComLynx-UDP Lynx gateway to test the concept. The idea is:

- Everything coming in from a socket is echoed to ComLynx and also echoed to the next Lynx gateway. Except packages that originally originates from me.
- Data coming in from ComLynx is assembled in a ring-buffer.
- When a buffer has enoung data for one UDP packet or there is a 1 byte break in the transmission from the Lynx then the UDP packet is transmitted to the next Lynx gateway.

So this gateway could be used to extend ComLynx over internet for games that do not require fast communications.

Well, actually there exists custom baudrate USB dongles that would allow the ComLynx to run at 62500 bauds. So in theory you could extend even fast ComLynxed applications on it.

Running multiple Handy-emulations could use this scenario for testing ComLynx by giving every Handy an unique port number and chain the communications to form a ring of Lynxes.

If you could combine the ComLynx-USB with a small CPU running the Gateway code and export it to Ad-Hoc WiFi (a small laptop perhaps) then you could run Handy on Sony PSP's together with ComLynxed Lynxes.

Or for new developement you cold intergrate the Lynx gateway to existing networked games and just create new Lynx ports of the games.

So many ideas and so little time to play... - sigh -

--
Karri

#3 sage OFFLINE  

sage

    Dragonstomper

  • Topic Starter
  • 994 posts
  • Location:Germany

Posted Wed Jan 4, 2006 12:17 PM

Well, actually there exists custom baudrate USB dongles that would allow the ComLynx to run at 62500 bauds. So in theory you could extend even fast ComLynxed applications on it.


Which one?

#4 karri ONLINE  

karri

    River Patroller

  • 2,640 posts
  • Location:Espoo, Finland

Posted Wed Jan 4, 2006 1:26 PM

Well, actually there exists custom baudrate USB dongles that would allow the ComLynx to run at 62500 bauds. So in theory you could extend even fast ComLynxed applications on it.


Which one?

View Post


I actually ordered one called
DLP Design - DLP-TxRx USB - Serial Adaptor today. It is a bit expensive about 20 pounds, but if it works well then it pays for itself in shorter flash burning times. And it allows me to dump ComLynx data at full speed for debugging purposes.

It connects to ComLynx directly with no need for level converters.

--
Karri

#5 sage OFFLINE  

sage

    Dragonstomper

  • Topic Starter
  • 994 posts
  • Location:Germany

Posted Thu Jan 5, 2006 3:44 AM

I actually ordered one called
DLP Design - DLP-TxRx USB - Serial Adaptor today. It is a bit expensive about 20 pounds, but if it works well then it pays for itself in shorter flash burning times. And it allows me to dump ComLynx data at full speed for debugging purposes.

It connects to ComLynx directly with no need for level converters.


support for not-standard baud rates... does it include windows/linux can handle that?

#6 karri ONLINE  

karri

    River Patroller

  • 2,640 posts
  • Location:Espoo, Finland

Posted Thu Jan 5, 2006 4:56 AM

I actually ordered one called
DLP Design - DLP-TxRx USB - Serial Adaptor today. It is a bit expensive about 20 pounds, but if it works well then it pays for itself in shorter flash burning times. And it allows me to dump ComLynx data at full speed for debugging purposes.

It connects to ComLynx directly with no need for level converters.


support for not-standard baud rates... does it include windows/linux can handle that?

View Post


It has Virtual Com Port drivers for
Windows 98 / 98 SE / 2000 / Me / XP
MAC OS-8 and OS-9
Linux 2.40 and greater

Besides, there is also a sourceforge project that maintains an open source driver for
the chip used in this design.

But the really cool thing is that they also have a Windows DLL available for this device for free. So you could integrate this with my ComLynx downloader and Handy to get it to work as fast as possible with no need for COM-port emulation in between.

In units of 10 the price is about 13 pounds so this could become a very attractive download cable for modern laptops that lack RS-232. Besides it is 9 times faster than a normal serial PC<->Lynx connection.

--
Karri

#7 sage OFFLINE  

sage

    Dragonstomper

  • Topic Starter
  • 994 posts
  • Location:Germany

Posted Fri Jan 6, 2006 6:24 AM

In units of 10 the price is about 13 pounds so this could become a very attractive download cable for modern laptops that lack RS-232. Besides it is 9 times faster than a normal serial PC<->Lynx connection.


As i did it on my Falcon all the time...
But this was not working with your Flash CArd and I was not able to rewrite the code.

#8 karri ONLINE  

karri

    River Patroller

  • 2,640 posts
  • Location:Espoo, Finland

Posted Sat Jan 7, 2006 3:24 AM

In units of 10 the price is about 13 pounds so this could become a very attractive download cable for modern laptops that lack RS-232. Besides it is 9 times faster than a normal serial PC<->Lynx connection.


As i did it on my Falcon all the time...
But this was not working with your Flash CArd and I was not able to rewrite the code.

View Post


Yes, I know I cut a few edges while writing the flash utility. I will create a new version of the tools that allow you to change the baudrates to all the rates the Lynx supports. Besides... For the Falcon you could probably use the command line flashing utility. It is only Windows that cannot use serial ports as orinary fread/fwrite files.

--
Karri

#9 davidcalgary29 OFFLINE  

davidcalgary29

    Quadrunner

  • 6,279 posts
  • Location:Peace River, Alberta

Posted Fri Feb 8, 2019 2:37 PM

Update? :P



#10 sage OFFLINE  

sage

    Dragonstomper

  • Topic Starter
  • 994 posts
  • Location:Germany

Posted Sat Feb 9, 2019 1:25 AM

Yes, I bought some nice adapters in USA, which requiered only to solder a diode.






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users