Inpout32dll Windows 10 64 Bit

0 views
Skip to first unread message
Message has been deleted

Phyllis Sterlin

unread,
Jul 12, 2024, 6:05:54 PM7/12/24
to cessumpletpnext

I added OPL3LPT support to my user mode OPL3 MIDI driver via inpout32.dll. I don't have an OPL3LPT, so can one of you install the driver to test it?
Here is how to test it.
You need inpout32.dll in C:\Windows
To enable OPL3LPT support, set oplhwsupport environment variable to "-lpt".
Enter the I/O address for the port in hex in the lptport environment variable for example "378".
The source is on github.

Edit: If it works, please post a recording of clouds.mid played on the Windows driver.

a new version of the adlipt TSR is coming soon.
I was looking for games that use opl3 music, and found this nice game that uses opl3 for music and sound effects : cybersphere
I recorded 10+ minutes of gameplay and music using OPL3LPT :

Inpout32dll Windows 10 64 Bit


Download File https://ckonti.com/2yLw68



The windows opl3 synth driver did not work with midibar (the player bundled with midi ox) --> i didn't get opl3 emulated sound with midibar, playing exactly the same midi.
Is this expected behaviour ?

I installed the latest release build 1.3.5, and now I realize this build does not include the opl3lpt support yet.
So I guess I should build a new version from source, I may do this later on (maybe next weekend).

To disable the emulation, go into the configuration utility and go into hardware OPL options by pressing 4, go to the Silent emulation mode setting by pressing 2, and press 1 to enable it.
I updated the configuration utility with OPL3LPT stuff after I released this test build, so there will be OPL3LPT options in the next release.
Can you please post a recording of clouds.mid on the OPL3LPT?
Thanks.

OPL3LPT easy mod for solving compatibility with PCJr and probably other old PC's : 1k pullup on strobe signal
only needed if you experience problems (I could not test on my PC, as it always works, also without the mod)

I ordered my OPL3LPT and have it on its way to me now. Do you have the files available for the case to 3d print? I was going to print my own in blue when it arrives. Plan on using this on my PS/2 line of computers where a Microchannel sound card is out of the question due to the extreme prices for a MCA soundcard. My PS/2 P70 waits patiently for it ?

Pinball Fantasies is the odd one out here, the game works perfectly with CVX4 on the same machine: a 25mhz 486 compaq laptop.
Yet somehow the driver for OPL3LPT is not working with adlib, dunno what the issue is here. Any ideas?

You can toggle parallel port outputs on or off by clicking on the circle representing the pin you want to change. Green represents on (high), black represents off (low). The circles representing input pins are automatically updated while you have the port selected, so you can easily test your inputs. You can also choose whether to use the four control pins as inputs or outputs.

For people who are really interested, I also display the raw register values of the three standard parallel port registers. I show separate values for the control register because what you write to the control register is not guaranteed to be what you read back.

Prior to 1/17/2022, there was no installer, so you had to install the software manually by downloading and installing InpOut32. Nowadays, you can just download the Parallel Port Tester installer and this will all be handled for you automatically. The old installation instructions are preserved below for historical reference:

I have been trying to equip my Win 7 64 PC to run some old Analog Devices software that wants to communicate with an eval card via a parallel port. I installed a Rosewill RC303 PP PCI card which seems to function Ok, but it puts the port address up at 0xD030. Your Parallel Port Tester finds it and I can toggle all the pins. Thanks for a great piece of software. However the AD softwate does not seem to be able to deal with the non standard port address. I installed Windows Virtual Machine and their XP OS for it. Under XP running virtual the port appears at 378h according to the Device Manager but the AD software still does not find the port.

Hi Doug,
I tried to run the program on my Win XP 32-bit machine but get the error parallel port tester has encountered an error and needs to close. I have put the recommended 32-bit InpOut32.dll in the program directory.
Any ideas?

I just tested in a Windows 10 64-bit VMware virtual machine on a Linux guest with Inpout32 1.5.0.1, and Parallel Port Tester appears to work just fine. I will go ahead and update the compatibility information on this page to add Windows 10 as a compatible OS.

I have tried your parallel port tester and it works great.
I would like to read/write from the port(0378h) using an assembly language subroutine which would be callable from higher level programs. Can you tell me the calling sequence and argument arrangement for Inpout32 or is that only available in C?
Joe

Frustratingly, both dongles work just fine on one computer, a Dell T7610 workstation, but refuse to get recognised on a newer T7910. Both machines have almost identical specs, identical PCI cards, and Windows 10 64-bit build 1809. By the way, I have also swapped out the PCI cards to make sure that neither was dead, but the problem persists. Help!

The input pins will automatically change between black and green based on the detected input voltage. You should be able to feed in one of the output signals to an input by hooking their pins together, and the input will change as you change the output.

I seem to be having a small issue. For some reason, my parallel port seems to default pin4 (data bit 2) to a high state. Not sure if this is related to your software at all, but was wondering if you could help out? Everytime I start up my computer and open up the program and identify my parallel port address, pin 4 is defaulted to high, but I would like it to be defaulted to a low. Any ideas?

When you download Inpout32 from the link I provided, it comes in a zip file. After extracting the zip file, there should be a folder called Win32 inside there. That folder contains the dll file you should use. It also contains a program called InstallDriver.exe that you should run to install the Inpout32 driver.

Basically there are three byte registers (for example, at 0x3000, 0x3001, and 0x3002 if the parallel port base address is 0x3000). Register 0 is the data register, register 1 is the status register, and register 2 is the control register. You have to do whatever your OS requires to do direct port access. I use InpOut32. Here is what I do when bitbanging:

Note that because of this, the value you write into the control register might not match the value you read back. If you tell the reset pin to be a pulled-up input by writing a 1 to bit 2 of the control register, and ground is connected to it, you will read back a 0 bit indicating the input value is low even though you just wrote a 1.

Your neat program works fine on the Legacy port of my Dell win 7 64bit machine. But does not work when I install and run the PC with a Lava Dual parallel port PCI card. There is no response to either ports. I tried it on 2 cards the last one was from a new old stock sealed card.
The device manger indicates

Thank you for your LPT tester. It has been very helpful. However, I had a couple of questions regarding the same. After selecting the port, I use the output buttons to change a particular pin. But that does not change the color of the input pins on the tester. Is that indicating of a problem with the port or the parallel port card? Additionally, one of the control buttons is only on/off halfway. Does it point towards the possibility that there may be something wrong with the port? Also, while testing the port, I had connected it to a parallel port cable. I would really appreciate your inputs.

Thank you for your prompt reply. Going by your advice, I connected two PCs with a parallel port cable to use the tester. And I changed the four control pins to output on one PC and input on the 2nd PC. When I toggle the control (output) pins on the first PC, the control (input) pins on the 2nd PC are automatically updated. However, if I toggle the other non-control (output) pins that does not reflect on the input pins of the 1st PC. Is that an issue or does that mean the port works?

An interesting observation. I finally figured out what the Example program does and how to use it from Phils highrez website. I can read the LPT1 data port values all OK, but I cannot Write the data port values using the example program.
Any thoughts?????

I am not ready to open up the source code to Parallel Port Tester, but what it does with InpOut32 is very simple. You just use the Inp32 and Out32 functions in the DLL. To write the 8 data pins, the address is the base address. The control register at base address + 2 can be written to change some other outputs, and you can read from the status register at base address + 1 to read pins like ack, paper out, etc.

Hi,
I hope you are still active. I am unable to access the parallel port diagnostic tool as the URL is unresponsive. I do have loaded the parallel port tester but I am unable to confirm if a plug n play usb to parallel cable has installed as a parallel port or just a printer port. I need full duplex so I realize I may have the wrong hardware, but can I get access to the diagnoztic software to see what hex code I need to load into the test software? Also do you know of hardware (CNC or otherwise) that replicates the duplex data flow of a traditional parallel port via usb?

7fc3f7cf58
Reply all
Reply to author
Forward
0 new messages