Communication and/or networking between PC and Genesis?

For hardware talk only (please avoid ROM dumper stuff)
Mask of Destiny
Very interested
Posts: 628
Joined: Thu Nov 30, 2006 6:30 am

Post by Mask of Destiny »

1. The voltages are wrong, so you'll need a level shifter like the MAX232.
2. While both gamepad ports and RS-232 serial ports use a DB-9 connector, the pinouts aren't the same so in addition to adjusting the voltage you'll need to wire the connector differently.

So you can use one of those, but creating the adapter from RS-232 to Genesis serial isn't really any easier than getting an FTDI breakout board or Teensy and wiring one up to an appropriate connector.

Many of those adapters probably use an FTDI internally and I believe at least some of the FTDI chips have a configurable output voltage, so I suppose you might be able to hack an existing adapter to produce the correct voltage. I don't think it's worth the effort though.
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy »

There are serial to USB cables/adapters that work with 5V/GND signal levels, so you don't need level shifters for those cables. The MAIN reason not to use serial<>USB is IT'S TOO DAMN SLOW!! As mentioned several times, the max baud rate for serial on the Genesis is 4800 baud. That's roughly 8 bytes per frame you can send/receive. You might be able to use that for certain applications with very low bandwidth for communications.
djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Post by djcouchycouch »

Chilly Willy wrote:USB is IT'S TOO DAMN SLOW!! As mentioned several times, the max baud rate for serial on the Genesis is 4800 baud.
Ah, I see. Are there any alternatives?
TmEE co.(TM)
Very interested
Posts: 2452
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) »

LPT port and the awesome cable by Mask of Destiny :P
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy »

djcouchycouch wrote:
Chilly Willy wrote:USB is IT'S TOO DAMN SLOW!! As mentioned several times, the max baud rate for serial on the Genesis is 4800 baud.
Ah, I see. Are there any alternatives?
Yes - they're listed in the first two pages of the thread... hint, hint. :wink:
GManiac
Very interested
Posts: 92
Joined: Thu Jan 29, 2009 2:05 am
Location: Russia

Post by GManiac »

He-he, I worked with link cable by KRIKzz some years ago (generally he made its first version for my needs, I believe) and got transfer speed of 85 KB/s on it. Later versions with SD card interface are much faster.
djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Post by djcouchycouch »

Chilly Willy wrote:
djcouchycouch wrote:
Chilly Willy wrote:USB is IT'S TOO DAMN SLOW!! As mentioned several times, the max baud rate for serial on the Genesis is 4800 baud.
Ah, I see. Are there any alternatives?
Yes - they're listed in the first two pages of the thread... hint, hint. :wink:
Ah yes. Brain not firing on all four cylinders.

Actually, I'm confused (nothing new there!). There's a difference between serial and the controller port? They're not one and the same?
Mask of Destiny
Very interested
Posts: 628
Joined: Thu Nov 30, 2006 6:30 am

Post by Mask of Destiny »

djcouchycouch wrote: Actually, I'm confused (nothing new there!). There's a difference between serial and the controller port? They're not one and the same?
The controller port supports both serial and parallel I/O. The difference is how you configure the port on the Genesis side and what kind of hardware you're using to interface it to your PC on the other side.
MintyTheCat
Very interested
Posts: 484
Joined: Sat Mar 05, 2011 11:11 pm
Location: Berlin, Germany

Post by MintyTheCat »

TmEE co.(TM) wrote:LPT port and the awesome cable by Mask of Destiny :P
Using a Parallel Port was once a great, easy Option (lots of fun Interfacing as a Kid) and it was easy to debug as it required no specialised Timing through Clocks. However, finding a Motherboard with a 'proper' Parallell Port is not too easy these Days. I tried to use MOD's Cable and Software myself and found Issues with my Motherboard's Levels.

Has anyone found an add-on Parallel Card that behaves like a 'real' Parallel Port?
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy »

MintyTheCat wrote:
TmEE co.(TM) wrote:LPT port and the awesome cable by Mask of Destiny :P
Using a Parallel Port was once a great, easy Option (lots of fun Interfacing as a Kid) and it was easy to debug as it required no specialised Timing through Clocks. However, finding a Motherboard with a 'proper' Parallell Port is not too easy these Days. I tried to use MOD's Cable and Software myself and found Issues with my Motherboard's Levels.

Has anyone found an add-on Parallel Card that behaves like a 'real' Parallel Port?
Linux has a way of making plug-in parallel ports work like "normal" using ioctl calls. Windows does not. Look at the code repo for ucon64 for an example of how any parallel port works with almost no effort in linux, but must be backwards compatible in Windows.
MintyTheCat
Very interested
Posts: 484
Joined: Sat Mar 05, 2011 11:11 pm
Location: Berlin, Germany

Post by MintyTheCat »

Chilly Willy wrote:
MintyTheCat wrote:
TmEE co.(TM) wrote:LPT port and the awesome cable by Mask of Destiny :P
Using a Parallel Port was once a great, easy Option (lots of fun Interfacing as a Kid) and it was easy to debug as it required no specialised Timing through Clocks. However, finding a Motherboard with a 'proper' Parallell Port is not too easy these Days. I tried to use MOD's Cable and Software myself and found Issues with my Motherboard's Levels.

Has anyone found an add-on Parallel Card that behaves like a 'real' Parallel Port?
Linux has a way of making plug-in parallel ports work like "normal" using ioctl calls. Windows does not. Look at the code repo for ucon64 for an example of how any parallel port works with almost no effort in linux, but must be backwards compatible in Windows.
Cheers! I am about to put together another Linux Machine and I'll be testing the Parallel Port. It is a simple way of doing things and I hope it works. Thanks.
Chilly Willy
Very interested
Posts: 2993
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy »

Just ask if you run into any trouble. Remember that after configuring the project, you need to edit the config.h file and change the PPDEV flag like this:

Code: Select all

/* use ppdev for parallel port I/O (default: no) */
#define USE_PPDEV 1
Post Reply