VOGONS


First post, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie

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

usblpt1.png
Filename
usblpt1.png
File size
21.58 KiB
Views
3182 views
File license
Fair use/fair dealing exception
usblpt2.png
Filename
usblpt2.png
File size
23.59 KiB
Views
3182 views
File license
Fair use/fair dealing exception

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/basteln … PT/index.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
Filename
usbpacket.png
File size
35.41 KiB
Views
3182 views
File license
Fair use/fair dealing exception

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-01-11, 22:06. Edited 2 times in total.

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 1 of 14, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie

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

usblptdrv01.png
Filename
usblptdrv01.png
File size
79.9 KiB
Views
3180 views
File license
Fair use/fair dealing exception
usblptdrv02.png
Filename
usblptdrv02.png
File size
34.82 KiB
Views
3180 views
File license
Fair use/fair dealing exception
usblptdrv03.png
Filename
usblptdrv03.png
File size
31.02 KiB
Views
3180 views
File license
Fair use/fair dealing exception
usblptdrv04.png
Filename
usblptdrv04.png
File size
25.14 KiB
Views
3180 views
File license
Fair use/fair dealing exception
usblptdrv05.png
Filename
usblptdrv05.png
File size
33.5 KiB
Views
3180 views
File license
Fair use/fair dealing exception

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, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 3 of 14, by chartreuse

User metadata
Rank Newbie
Rank
Newbie

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?

Reply 4 of 14, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie

I assembled the first prototype, see photo :

USBLPT01.jpg
Filename
USBLPT01.jpg
File size
158.93 KiB
Views
3086 views
File license
Fair use/fair dealing exception

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, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 5 of 14, by Stiletto

User metadata
Rank l33t++
Rank
l33t++

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: Re: CVX USB Parallel Port experiments 😁

"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto

Reply 6 of 14, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie

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

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 7 of 14, by Stiletto

User metadata
Rank l33t++
Rank
l33t++
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

Reply 8 of 14, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie

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

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 9 of 14, by Stiletto

User metadata
Rank l33t++
Rank
l33t++
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. 😢

"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto

Reply 10 of 14, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie

if you are interested in trying this one, pm me.

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 11 of 14, by stamasd

User metadata
Rank l33t
Rank
l33t

Any further development on this? I used to have somewhere a USB2LPT converter for use with a parallel port eprom programmer, but can't find it. I was looking at the original USB2LPT page (ver 1.6) https://www-user.tu-chemnitz.de/~heha/basteln … PT/ul-16.en.htm and it shouldn't be hard to build one from scratch even on a protoboard with an Atmega328 instead of the Atmega8 and a few other components. But I'd be up for buying a premade one too, especially a newer version that doesn't have any quirks to be worked around on x64 Windows. I've ordered a couple of the CY7C68013A-56 dev boards to try and make the hi-speed version (1.7).

I/O, I/O,
It's off to disk I go,
With a bit and a byte
And a read and a write,
I/O, I/O

Reply 12 of 14, by BinaryDemon

User metadata
Rank Oldbie
Rank
Oldbie

Why can’t you cut out LPT interface completely? If the usb driver can map to 0x378 why wouldnt you just map to 0x388 or 0x220 directly?

Check out DOSBox Distro:

https://sites.google.com/site/dosboxdistro/ [*]

a lightweight Linux distro (tinycore) which boots off a usb flash drive and goes straight to DOSBox.

Make your dos retrogaming experience portable!

Reply 13 of 14, by stamasd

User metadata
Rank l33t
Rank
l33t

The LPT interface is useful for other things too. Covox for instance.

I/O, I/O,
It's off to disk I go,
With a bit and a byte
And a read and a write,
I/O, I/O

Reply 14 of 14, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie
stamasd wrote:

Any further development on this?

Not really, I made the prototype and it basically worked (setting outputs 1 by 1), but not with opl2lpt.
I could not find time to do more testing.

stamasd wrote:

I've ordered a couple of the CY7C68013A-56 dev boards to try and make the hi-speed version (1.7).

Yes my prototype is also based on the high speed version.
I will pm you, maybe we can join forces

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !