USBLPT : a 'real' parallel port on USB

Discussion about old sound cards, MIDI devices and sound related accessories.

USBLPT : a 'real' parallel port on USB

Postby dreamblaster » 2018-1-11 @ 21:41

Hi,
another project in progress :
USBLPT : an usb parallel port that behaves like a real parallel port

usblpt1.png


usblpt2.png


The board plugs on a dev kit.

This is based on USB2LPT project, high speed version 1.7, based on the Cypress CY7C68013A : https://www-user.tu-chemnitz.de/~heha/b ... dex.en.htm
(it is not the atmega project(low speed version) but the cypress high speed version).

This project has a nice software driver that can emulate a legacy USB port, including input and output instructions.
It will not be a perfect solution, as it is still limited by the USB frame timing, for high speed that is 125us
usbpacket.png

But I hope we can get quite far with this (for example connected to dosbox and have real opl2 music on a modern laptop over USB)
Last edited by dreamblaster on 2018-1-11 @ 22:06, edited 2 times in total.
Visit http://www.serdashop.com for retro sound cards, MIDI PCB's, and video converters
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects ! Have a look, and thanks for your support !
dreamblaster
Oldbie
 
Posts: 584
Joined: 2015-1-18 @ 19:34
Location: Belgium

Re: USBLPT

Postby dreamblaster » 2018-1-11 @ 21:43

I already tested driver + the cypress dev board, flashed with the right firmware,
and the printer port driver options looks good :
usblptdrv01.png

usblptdrv02.png

usblptdrv03.png

usblptdrv04.png

usblptdrv05.png


This is on windows 7 64 bit.

Once my board prototype is ready (in a few days, waiting for components but I have the pcb's),
I will be able to test if it works for our purpose.
Visit http://www.serdashop.com for retro sound cards, MIDI PCB's, and video converters
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects ! Have a look, and thanks for your support !
dreamblaster
Oldbie
 
Posts: 584
Joined: 2015-1-18 @ 19:34
Location: Belgium

Re: USBLPT

Postby keenmaster486 » 2018-1-11 @ 21:59

Are you a messenger from the computer gods?
I flermmed the plootash just like you asked.
Very silly indeed: https://audaxeundum.wordpress.com
User avatar
keenmaster486
Oldbie
 
Posts: 1100
Joined: 2016-2-16 @ 02:04
Location: Atroxus

Re: USBLPT

Postby chartreuse » 2018-1-11 @ 22:08

Sounds like a very interesting concept, and the driver looks quite good. The speed of the USB does seem like it might be a concern, though mostly for the games that do sampled sound using the Adlib or such. I think there was a post on the OPL2LPT thread with someone benchmarking their parallel port in the order of 2us, and the Adlib needing ~3us + ~23us delay between writes. Perhaps a solution would be to pack multiple bytes into each micro-frame, each a division of the micro-frame timing?
User avatar
chartreuse
Newbie
 
Posts: 25
Joined: 2017-12-23 @ 21:01
Location: Alberta, Canada

Re: USBLPT : a 'real' parallel port on USB

Postby dreamblaster » 2018-1-15 @ 20:17

I assembled the first prototype, see photo :
USBLPT01.jpg


It seems to work, basically, the printer port is detected, driver installed,
and I when I set one of the data lines high, it effectively goes high.
A quick test with adlipt driver in virtualbox did not work,
this needs more investigation.
Visit http://www.serdashop.com for retro sound cards, MIDI PCB's, and video converters
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects ! Have a look, and thanks for your support !
dreamblaster
Oldbie
 
Posts: 584
Joined: 2015-1-18 @ 19:34
Location: Belgium

Re: USBLPT : a 'real' parallel port on USB

Postby Stiletto » 2018-1-15 @ 20:38

Nice to hear someone's working on this once again, I did a ton of research into the original on which it was based as a solution for a client back in the day, which inspired this post in 2008: http://forums.xkcd.com/viewtopic.php?p=944602#p944602

[EDIT] Seems I already told you about it tho: https://www.vogons.org/viewtopic.php?p=557279#p557279 :D
"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto
User avatar
Stiletto
l33t
 
Posts: 4042
Joined: 2002-7-01 @ 21:57

Re: USBLPT : a 'real' parallel port on USB

Postby dreamblaster » 2018-1-15 @ 21:09

Stiletto, great, do you have a similar device to test with ?
Visit http://www.serdashop.com for retro sound cards, MIDI PCB's, and video converters
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects ! Have a look, and thanks for your support !
dreamblaster
Oldbie
 
Posts: 584
Joined: 2015-1-18 @ 19:34
Location: Belgium

Re: USBLPT : a 'real' parallel port on USB

Postby Stiletto » 2018-1-15 @ 21:21

dreamblaster wrote:Stiletto, great, do you have a similar device to test with ?


Unfortunately I do not. A decade ago I had all sorts of weird LPT dongles for commercial apps and things still, but that time has passed.

I might have a parallel scanner kicking around.
"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto
User avatar
Stiletto
l33t
 
Posts: 4042
Joined: 2002-7-01 @ 21:57

Re: USBLPT : a 'real' parallel port on USB

Postby dreamblaster » 2018-1-15 @ 21:29

did you ever use such USB2LPT device ?
(especially the high speed version? )
Visit http://www.serdashop.com for retro sound cards, MIDI PCB's, and video converters
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects ! Have a look, and thanks for your support !
dreamblaster
Oldbie
 
Posts: 584
Joined: 2015-1-18 @ 19:34
Location: Belgium

Re: USBLPT : a 'real' parallel port on USB

Postby Stiletto » 2018-1-15 @ 22:03

dreamblaster wrote:did you ever use such USB2LPT device ?
(especially the high speed version? )


No, but I consulted for a client and suggested they purchase one for their use case, many years ago.
I don't actually know if they ever did or not. :depressed:
"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto
User avatar
Stiletto
l33t
 
Posts: 4042
Joined: 2002-7-01 @ 21:57

Re: USBLPT : a 'real' parallel port on USB

Postby dreamblaster » 2018-1-15 @ 22:30

if you are interested in trying this one, pm me.
Visit http://www.serdashop.com for retro sound cards, MIDI PCB's, and video converters
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects ! Have a look, and thanks for your support !
dreamblaster
Oldbie
 
Posts: 584
Joined: 2015-1-18 @ 19:34
Location: Belgium


Return to Sound

Who is online

Users browsing this forum: No registered users and 4 guests