Communication and/or networking between PC and Genesis?
-
- Very interested
- Posts: 616
- Joined: Thu Nov 30, 2006 6:30 am
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.
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.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
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.
-
- Very interested
- Posts: 710
- Joined: Sat Feb 18, 2012 2:44 am
-
- Very interested
- Posts: 2442
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
LPT port and the awesome cable by Mask of Destiny
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
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
-
- Very interested
- Posts: 710
- Joined: Sat Feb 18, 2012 2:44 am
Ah yes. Brain not firing on all four cylinders.Chilly Willy wrote:Yes - they're listed in the first two pages of the thread... hint, hint.djcouchycouch wrote:Ah, I see. Are there any alternatives?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.
Actually, I'm confused (nothing new there!). There's a difference between serial and the controller port? They're not one and the same?
-
- Very interested
- Posts: 616
- Joined: Thu Nov 30, 2006 6:30 am
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.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?
-
- Very interested
- Posts: 484
- Joined: Sat Mar 05, 2011 11:11 pm
- Location: Berlin, Germany
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.TmEE co.(TM) wrote:LPT port and the awesome cable by Mask of Destiny
Has anyone found an add-on Parallel Card that behaves like a 'real' Parallel Port?
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
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 wrote: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.TmEE co.(TM) wrote:LPT port and the awesome cable by Mask of Destiny
Has anyone found an add-on Parallel Card that behaves like a 'real' Parallel Port?
-
- Very interested
- Posts: 484
- Joined: Sat Mar 05, 2011 11:11 pm
- Location: Berlin, Germany
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 wrote: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 wrote: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.TmEE co.(TM) wrote:LPT port and the awesome cable by Mask of Destiny
Has anyone found an add-on Parallel Card that behaves like a 'real' Parallel Port?
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
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