VOGONS


OPL3LPT : OPL3 FM Synthesis on parallel port

Topic actions

Reply 260 of 267, by pan069

User metadata
Rank Oldbie
Rank
Oldbie

Unfortunatly I have neither the correct compiler installed nor the required DDK but it does seem to support LPT as you can specify to use LPT using the build:

 NMAKE OPL_ON_LPT=YES

https://github.com/andreiw/adlib21/blob/master/MAKEFILE#L15

And to specify a different port:

NMAKE DEF_PORT=0x3BC

https://github.com/andreiw/adlib21/blob/master/MAKEFILE#L19

Sorry to be totally useless... Hope someone can help you...

Reply 261 of 267, by digger

User metadata
Rank Oldbie
Rank
Oldbie

It would be a very useful improvement if the driver would be improved so that it would properly obtain the I/O base port address from the BIOS Data Area (BDA), instead of assuming a hard-coded address.

That's the "proper" way to write applications accessing the printer ports. LPT1, LPT2 and LPT3 can be looked up in the BDA, and this would then work even for most modern PCIe cards, provided that you load something like the PRTADD utility in your AUTOEXEC.BAT file, before starting Windows 3.x.

I'll create a GitHub issue for it.

Reply 262 of 267, by kirikl

User metadata
Rank Member
Rank
Member

Deleted

Last edited by kirikl on 2023-04-29, 08:02. Edited 1 time in total.

GA-5AX/k6-3+ 600mhz
XT Turbo 10mhz
HP TC4200 / NC6400
Sony Vaio PCG-SRX99 / PCG-505TR / C1 Picturebook
Compaq LTE Elite 4/75CXL / LTE 5000
Toshiba T1100+ / T3100e/40 / T3200SXC
Tandy 1400 LT / 1000HX
PB G4 1.33 / G3 300
iBook Cl 300

Reply 263 of 267, by kirikl

User metadata
Rank Member
Rank
Member

UPDATED Windows 3.1 Driver! Now doesn't depend on other 386 library.
Here we go. Patched, works!!!
https://github.com/andreiw/adlib21/tree/master/PUB
Can't wait to test over MIDI real-time playing!

GA-5AX/k6-3+ 600mhz
XT Turbo 10mhz
HP TC4200 / NC6400
Sony Vaio PCG-SRX99 / PCG-505TR / C1 Picturebook
Compaq LTE Elite 4/75CXL / LTE 5000
Toshiba T1100+ / T3100e/40 / T3200SXC
Tandy 1400 LT / 1000HX
PB G4 1.33 / G3 300
iBook Cl 300

Reply 264 of 267, by wbc

User metadata
Rank Member
Rank
Member

Hey there! I am particulary interested in supporting the OPLxLPT devices in my OPL applications, as they seem to be a decent choice for laptops. Is there any possibility to detect in software if the OPLxLPT device is present on particular LPT port? For example, Stereo-on-1 devices (dual stereo Covox at single printer port) bridge pins 9 and 11 on the LPT connector together, so bit 7 of Data Register (base + 0) could be read as inverted bit 7 of Status Register (base + 1).

--wbcbz7

Reply 267 of 267, by 7F20

User metadata
Rank Member
Rank
Member
MadMac_5 wrote on 2024-04-10, 21:29:

The Serdashop mailing list message from April 2 stated that, yes indeed they are back in stock!

Aha. I wonder if this is only from Europe or if there is anyone in the US that is selling these