Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Parallel Port Problem  (Read 3846 times)

0 Members and 1 Guest are viewing this topic.

NaokiS

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:April 18, 2013, 06:42:14 pm
Parallel Port Problem
« on: December 29, 2011, 03:40:03 pm »
Since upgrading from 32-bit board and Win to 64-bit board and Win, I seem to have lost the ability to control the data lines on the parallel port directly using MAME Hooker. At first I thought it was Vista but it even does it on Windows 7 and on a second 64-bit board, even if 32-Bit seems to work fine. Has Windows changed and stopped something from allowing this to work?

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: Parallel Port Problem
« Reply #1 on: December 30, 2011, 01:43:19 am »
Works for some. Look for drivers for your hardware.
-Banned-

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7514
  • Last login:Today at 04:04:21 pm
  • I break stuff...then fix it...sometimes
Re: Parallel Port Problem
« Reply #2 on: December 30, 2011, 08:56:37 pm »
there is no direct hardware access to hardware anymore with windows.

there is a program called "GIVEIO.sys" what breaks the stranglehold windows has and allows direct IO access.

http://www.cs.ucr.edu/~eblock/pages/pictools/giveio.html

NaokiS

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:April 18, 2013, 06:42:14 pm
Re: Parallel Port Problem
« Reply #3 on: December 31, 2011, 08:42:05 am »
Thanks for the sugestion but it doesn't seem to install any service, and hence forth doesn't work. I tested the same PC with 32 and 64 bit OSes and all I needed to do was set it to ECP, but nothing I tried would make MAMEHooker change the lights on the PP.

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5158
  • Last login:May 24, 2025, 09:57:44 pm
  • Wheres my coffee?
    • Skenny's Outpost
Re: Parallel Port Problem
« Reply #4 on: December 31, 2011, 08:55:48 am »
What does mame hooker use to access the port?
If it is inpout32.dll, then you need to download the inpout32.dll for 64bit and place it in a special folder.

Here is an excerpt from the Mrotate3 help file (ignore the references to rstimer.ocx).
You might try this, please post here if it works or not:

Windows 7 and Vista 64 bit systems:

You will need to download inpout32 for 64 bit systems. Go to http://logix4u.net to get this free
download. Place the inpout32 for 64 bit in the C:\Windows\sysWOW64 folder. It's probably best to
also install rstimer.ocx there as well using the install program. The rstimer install program will default to
C:\Windows\System32, at that point, browse to the C:\Windows\sysWOW64 folder and install it there.

Also, do NOT put a copy of inpout32.dll in the same directory as mrotate3.exe. If you do that,
mrotate3.exe will cease to function.

NaokiS

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:April 18, 2013, 06:42:14 pm
Re: Parallel Port Problem
« Reply #5 on: December 31, 2011, 10:48:33 am »
I copied the 64-bit versions (both inpout32.dll and inpoutx64.dll) to SysWOW64 and even into MAME Hooker's directory (thus replacing the standard one) to no avail. Tried restarting the computer and again, to no avail.

I guess unless there's other ways to get the PP to work I'll have to wait till I buy a PacDrive from Ultimarc

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5158
  • Last login:May 24, 2025, 09:57:44 pm
  • Wheres my coffee?
    • Skenny's Outpost
Re: Parallel Port Problem
« Reply #6 on: December 31, 2011, 12:03:41 pm »
I think it only needs to be in the syswow64 folder. You probably dont need the inpout32.dll anywhere.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 01:14:11 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Parallel Port Problem
« Reply #7 on: December 31, 2011, 03:05:08 pm »
That won't work unless you delete the inpout32.dll that I include. 

How windows programs work is that first they look for the dll in the folder where it is registered.  Since you didn't register the dlls, it won't find them. 

Then it looks  in the same folder as the application.  In this case it will find the regular old dll that I included with mamehooker. 

The easiest solution is to rename the inpout32.dll that I included to something else, and put the new one in the mamehooker folder.  I do see that note about mrotate though... I don't know why putting the dll in with the exe would cause issue, but regardless, if you do choose to try it via putting the dlls in a system folder, you are going to need to register the dlls once you copy them there and rename/delete the dll in the mamehooker folder.


Also you need to confirm that the problem isn't your parallel port.  Many newer pp's simply won't work in direct write access.  Unless you tested that particular motherboard in a 32 bit OS and it worked then you haven't even cofirmed that your parallel port is working.

NaokiS

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:April 18, 2013, 06:42:14 pm
Re: Parallel Port Problem
« Reply #8 on: January 01, 2012, 07:28:27 am »
That won't work unless you delete the inpout32.dll that I include. 

How windows programs work is that first they look for the dll in the folder where it is registered.  Since you didn't register the dlls, it won't find them. 

Then it looks  in the same folder as the application.  In this case it will find the regular old dll that I included with mamehooker. 

The easiest solution is to rename the inpout32.dll that I included to something else, and put the new one in the mamehooker folder.  I do see that note about mrotate though... I don't know why putting the dll in with the exe would cause issue, but regardless, if you do choose to try it via putting the dlls in a system folder, you are going to need to register the dlls once you copy them there and rename/delete the dll in the mamehooker folder.


Also you need to confirm that the problem isn't your parallel port.  Many newer pp's simply won't work in direct write access.  Unless you tested that particular motherboard in a 32 bit OS and it worked then you haven't even cofirmed that your parallel port is working.

I have tried this on two machines, both when using 64-bit OSes do not allow the use of the PP whereas 32-Bit OSes do. I did try removing the stock inpout32.dll but when using the one I found fro the site listed above, the same result (I.E the bass led doesn't light up) happens. Using the inpoutx64.dll with no inpout32.dll in the folder causes an error claiming it couldn't find the DLL (error number 54) and then when renaming inpoutx64.dll to inpout32.dll it complains with the same message but instead hows up with error 48.  I did read though that 32-bit programs can't use 64-bit drivers or DLLs and 64-Bit windows OSes can't use 32-bit drivers so I'm wondering if this is just a dead end thing.