VOGONS


Reply 20 of 27, by ottelo9

User metadata
Rank Newbie
Rank
Newbie

In theory, all third-party PlayStation controllers should work, since they all use the same protocol. However, you might need an external power source, as the LPT port cannot supply much power. My adapter provides this.

Want to play games on real MS-DOS hardware/PC using a PlayStation controller ️ (via the LPT port)?
=> use my DOS program PSXKEY together with my optional PSXKEY converter

Reply 21 of 27, by L-Link

User metadata
Rank Newbie
Rank
Newbie

I did some more testing.

I have tested the driver in another PC much more faster (Athlon XP 2400+, MSI KM4AM MS-6734, MS-DOS 7.1 launched from Windows 98 SE with a .pif file, parallel port as SPP, sound via SBEMU using JEMMEX.EXE).

I used the Hori pad and PSXKEY /t detected it perfectly, setting at 0x4000 delay. Playing Bust a Move (without RTC) everything works perfectly. However, playing Lion King (with RTC), despite the pad is loaded properly with PSXKEY, it doesn't work in game and the system speaker keeps beeping every time I press a button, just like when you press many keys on a keyboard blocking it by the key rollover limit. ProjectX (RTC also) is able to be played, but if you try to press lot of buttons at same time it can make some beep also.

Then I relized that, when PSXKEY is loaded without RTC, pressed buttons on the DOS CLI are not registred. But if you load PSXKEY with RTC, the buttons pressed are registred in the CLI, even when the game was running. With lionking.ini loaded, I was able to beep also in the CLI (i.e. with the game not running), pressing random button at the same time. I don't know if this fact is related to what happens in game, but I give the info just in case.

Cheers!

Reply 22 of 27, by L-Link

User metadata
Rank Newbie
Rank
Newbie

I forgot to say that I also used cpuspd to increase the throttling, setting it even on t1 (of 16), but it doesn't resolve that issue.

Reply 23 of 27, by ottelo9

User metadata
Rank Newbie
Rank
Newbie

Thanks again for the detailed report!

The beeping is the BIOS keyboard buffer being full: the keys arrive, but nobody reads them. My guess is JEMMEX/SBEMU: on my Toshiba Lion King works with timer = rtc, but there I start it without EMM386 (only HIMEM). Same with keys not showing up in the CLI without RTC, it looks like the timer interrupt doesn't reach PSXKEY with that setup.

Could you try:
1. Lion King with the real keyboard on that PC, pressing many keys at once. Does it beep too?
2. Lion King without JEMMEX and SBEMU (only HIMEM, no sound). Does the pad work then?
3. Was Bust a Move started with the same setup (JEMMEX + SBEMU)?

Want to play games on real MS-DOS hardware/PC using a PlayStation controller ️ (via the LPT port)?
=> use my DOS program PSXKEY together with my optional PSXKEY converter

Reply 24 of 27, by L-Link

User metadata
Rank Newbie
Rank
Newbie

1. With real keyboard, JEMMEX and SBEMU loaded, pressing many keys at once doesn't beep, both with PSXKEY loaded or unloaded. It starts to beep when PSXKEY is loaded and I press the buttons on the gamepad.

2. If I load only HIMEM.SYS, the pad works without beeps

3. Bust a move was tested on the same setup, with JEMMEX and SBEMU loaded.

So it seems to be something related to JEMMEX or SBEMU.

Appart from this, on this computer (the KM4AM) it's quite difficult the controller pad to be detected at the first try. Unplug and plug not always work. I found issues even using the Dual Shock 2 (which until now is the most detectable pad which I tested) and loading only HIMEM.SYS. Setting cpuspd t6 or simple waiting a while until plug and unplug might improve detection, but I can't assure it at all. By the way, when the pad is finally detected, it works well. All the tests were made using SPP. It exists another mode called "normal" on BIOS that I think I have tried before without noticeable difference.

In contrast, I tested the driver on another motherboard, a QDI P5I430VX-250DM V3.0 (s3.1)(Explorer II, SpeedEasy variant), and it worked everything at first try, just like on the Biostar M5ATD I told you on the previous posts. By the way, on M5ATD, 320CDS and the aforementioned QDI, I loaded HIMEN.SYS + EMM386.EXE RAM.

Reply 25 of 27, by wierd_w

User metadata
Rank l33t
Rank
l33t

I know it's outside the scope of the project, but...

I think it would be much more interesting to simulate the 15pin pc gameport's status registers.

You could fake the analog inputs that way too.

Reply 26 of 27, by ottelo9

User metadata
Rank Newbie
Rank
Newbie

Thanks, that helps a lot!

Beeping: so it's JEMMEX or SBEMU. PSXKEY sends the keys through the keyboard controller, and my guess is that JEMMEX or SBEMU gets in the way there. Could you try JEMMEX without SBEMU once? Then we know which one it is.

Detection on the KM4AM: 0x4000 is the largest delay PSXKEY tries, so your Athlon may be at the limit. Could you put "delay = 0x4000" into the INI (this skips the auto search) and check if the pad is then detected at the first try every time? If yes, I'll make the timing independent of the CPU speed.

Want to play games on real MS-DOS hardware/PC using a PlayStation controller ️ (via the LPT port)?
=> use my DOS program PSXKEY together with my optional PSXKEY converter

Reply 27 of 27, by L-Link

User metadata
Rank Newbie
Rank
Newbie

I have tested it today and the problem is present only when HDPMI32I.EXE and SBEMU.EXE were launched together. It's not JEMMEX.

About the detection issue, I have tried adding the delay setting to the INI but I haven't seen any changes.

By the way, during a reboot, the parallel port went crazy and the PC started to beep before POST, blocking the boot. I was rebooting from Windows 98 to DOS after I had launched a PIF file. After switch off the power and turn it on, everthing worked well. Later, rebooting with Ctrl+Alt+Supr from DOS many times didn't create any problem and the Dual Shock 2 was detected always on PSXKEY after every reboot. I have a K8 motherboard which used to have the same issue rebooting from Windows 7 while keeping a parallel port gamepad adapter conected for PPJoy. So, if some strange issue appears after rebooting from Windows (most probably on modern boards), I will try a cold boot and check if it works.