Page 3 of 3
Posted: Wed Jan 16, 2013 8:32 pm
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.
Posted: Wed Jan 16, 2013 10:35 pm
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.
Posted: Thu Jan 17, 2013 5:03 pm
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?
Posted: Thu Jan 17, 2013 5:09 pm
by TmEE co.(TM)
LPT port and the awesome cable by Mask of Destiny

Posted: Thu Jan 17, 2013 5:38 pm
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.

Posted: Thu Jan 17, 2013 5:52 pm
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.
Posted: Thu Jan 17, 2013 6:00 pm
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.

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?
Posted: Thu Jan 17, 2013 6:22 pm
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.
Posted: Thu Jan 17, 2013 7:05 pm
by MintyTheCat
TmEE co.(TM) wrote:LPT port and the awesome cable by Mask of Destiny

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?
Posted: Thu Jan 17, 2013 8:48 pm
by Chilly Willy
MintyTheCat wrote:TmEE co.(TM) wrote:LPT port and the awesome cable by Mask of Destiny

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.
Posted: Mon Jun 03, 2013 8:17 am
by MintyTheCat
Chilly Willy wrote:MintyTheCat wrote:TmEE co.(TM) wrote:LPT port and the awesome cable by Mask of Destiny

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.
Posted: Mon Jun 03, 2013 5:53 pm
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