VOGONS


First post, by ControlsEng

User metadata
Rank Newbie
Rank
Newbie

I know this has been beat into the ground but I have ye to find the exact answer and am struggling, so here it goes...

Does anybody have it working on Windows 7 x64? I had DosBox running my software perfectly with the parallel port using the Megabuild 6 and porttalk drivers with an XP 32-bit pc, but now I'm trying to do the exact same thing with Windows 7 x64 and it seems that the porttalk service fails to start.

I read in one place that it does not work under 7 x64 bit then and I read elsewhere that it was and people had it working (but not with DosBox). It seems the installation procedure for *.sys drivers is different in Windows 7, can anyone verify that?

Reply 1 of 7, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

See this thread for an alternate solution to PortTalk that may or may not work for you:
Printing from DOSBox

Reply 2 of 7, by ControlsEng

User metadata
Rank Newbie
Rank
Newbie

Good deal, thats the thread I needed, thanks.

Reply 3 of 7, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The point is that you may be able to use MB6 with a "parallel1=file dev:lpt1" setting, no PortTalk or InpOutx64 or whatever else required. It works for me, and it has worked for others, so the question is: does it work for you?

Reply 4 of 7, by ControlsEng

User metadata
Rank Newbie
Rank
Newbie

Yes, I've seen that and I am jealous. It does not work for me and did not on XP box as well. This is a Hardlock E-Y-E dongle, I'm not sure if some other types of parallel port dongles play better or if its dependent on host hardware addressing, or what.

Just out of curiosity, how is your LPT1 set up? Is it a standard LPT, ECP, ECC, bi-direction, etc? Do you have never use an interrupt and legacy support selected in devicemanager? I think I've tried every single variation possible (I've been working on this for weeks).

Reply 5 of 7, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

In my case it's the parallel port on my motherboard, set to EPP in the BIOS because it's recommended for an old flash writer I sometimes use and not because my printer cares one way or the other, and the Windows port driver is using the default "never use an interrupt, no legacy PnP" settings. AFAIK, the effectiveness of the "parallel1=file dev:lpt1" setting has only been seen for normal printing, not for security dongles.

Reply 6 of 7, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Indeed, I don't think that would work with a dongle at all.

Did you see this thread about getting parallel port passthrough working in x64?
dosbox megabuild setup.cpp error
(Linked from here)

ControlsEng wrote:

I read in one place that it does not work under 7 x64 bit then and I read elsewhere that it was and people had it working (but not with DosBox). It seems the installation procedure for *.sys drivers is different in Windows 7, can anyone verify that?

If I'm not mistaken, 64-bit Windows cannot use 32-bit hardware drivers, period. Drivers specifically written with 64-bit support are required.

Also, you're not trying to use a USB-to-paralell adapter, are you? (Were you using one of those with XP?)

Reply 7 of 7, by ControlsEng

User metadata
Rank Newbie
Rank
Newbie

No, its not a USB adapter, its a real 0x378 LPT1 port. I've already verified that the parallel port and dongle works with this software if I boot the PC directly into DOS from a USB (works very poorly but does work).

I've been reviewing that thread and have not yet compiled my own DOSBox executable, but I downloaded easyw3's version and went out and found the .dll's I need. Running the program works but there's a "load library failed" message and it doesn't see the dongle, but it does sometimes crash Dosbox.exe. I haven't decided if that's progress or not.

I think the issue might be the versions of the .dll's being compatible. I've tried 1.2.17, 1.2.4, and 1.2.5 of ziplib, as well as two other versions of libpng12 and it doesn't seem to make much difference. It'd be nice if somebody could confirm what versions they use for the three needed dll files, or just share them.