VOGONS


Reply 40 of 44, by 8bitbubsy

User metadata
Rank Member
Rank
Member
CJ Grass wrote on 2025-03-07, 13:59:
Great work! However, I have a query - when I run pt4dos.exe from a shortcut on the desktop or from the start menu (win98se), a m […]
Show full quote

Great work! However, I have a query - when I run pt4dos.exe from a shortcut on the desktop or from the start menu (win98se), a message appears:
"WARNING: Couldn't detect a Sound Blaster sound card! If you really have a Sound Blaster card installed, make sure its drivers are properly installed.
Press any key to continue with no sound..."
On the other hand, when I run the pt4dos.exe program from Windows Commander everything works fine. My card is an AWE64 CT 4520.

Hm, I don't have this problem on my 1GHz P3 Windows 98SE machine w/ SB Live! (SB emulation). It works fine when starting from both a shortcut on the desktop and Total Commander.
I assume you downloaded the latest version of PT4DOS recently, and didn't use an older version? I fixed some stuff in the SB detection routine a month or two ago.

EDIT: I made a quick version of PT4DOS that prints the Sound Blaster settings read from the BLASTER environment on startup. Can you try this and verify that the settings printed are the same when ran from the desktop and Windows Commander? https://16-bits.org/etc/testme.zip

Unisys SG2400:
- CPU: 486DX2-66
- RAM: 16MB (0 waitstates)
- VGA: Diamond SpeedSTAR VGA (ET4000AX 1MB ISA)
- Audio: Sound Blaster 16 CT2800
- 8GB SSD
- ISA USB card (for USB sticks)
- MR BIOS

Reply 41 of 44, by CJ Grass

User metadata
Rank Newbie
Rank
Newbie

Thank you for your reply, my previous comment was about the latest version from today (7.03.2025). I downloaded testme.zip and in this case it works from a shortcut on the desktop, admittedly after detecting the card it waits until I press a key on the keyboard but it detects the card correctly! 😁

Reply 42 of 44, by 8bitbubsy

User metadata
Rank Member
Rank
Member
CJ Grass wrote on 2025-03-07, 15:28:

Thank you for your reply, my previous comment was about the latest version from today (7.03.2025). I downloaded testme.zip and in this case it works from a shortcut on the desktop, admittedly after detecting the card it waits until I press a key on the keyboard but it detects the card correctly! 😁

I definitely found a bug after studying the code, but I'm not quite sure if fixing it helps. But it kinda makes sense, I forgot to clear the upper part of a register, so there may have been trash in there in some scenarios.

Can you try yet again? https://16-bits.org/etc/pt4dos.zip
(please make sure you get the right file, your browser may be caching it. The file modification date should be newer than the earlier pt4dos.zip you downloaded)

Unisys SG2400:
- CPU: 486DX2-66
- RAM: 16MB (0 waitstates)
- VGA: Diamond SpeedSTAR VGA (ET4000AX 1MB ISA)
- Audio: Sound Blaster 16 CT2800
- 8GB SSD
- ISA USB card (for USB sticks)
- MR BIOS

Reply 43 of 44, by CJ Grass

User metadata
Rank Newbie
Rank
Newbie

Thank you very much, I downloaded the file, the time of the executable file is newer, that is, the correct file downloaded. I will check on Monday and let you know because the weekend is unfortunately busy with other things.

Reply 44 of 44, by 8bitbubsy

User metadata
Rank Member
Rank
Member

Fixed some issues...
1) If loading a module failed, the error wouldn't show up properly
2) If loading a module through the command line parameter, you couldn't move the mouse while loading (and it wouldn't tell you that it was loading)
3) Fixed possible Sound Blaster detection bug

Also implemented channel muting now, and all the keybindings related to it.
Channel muting may appear buggy (stuck voices until next trigger), but this is the exact same behavior as ProTracker 2.3D on Amiga.

Download: https://16-bits.org/etc/pt4dos.zip
Source code: https://16-bits.org/etc/pt4dos_src.zip (tabsize = 8 for the .asm files)

Unisys SG2400:
- CPU: 486DX2-66
- RAM: 16MB (0 waitstates)
- VGA: Diamond SpeedSTAR VGA (ET4000AX 1MB ISA)
- Audio: Sound Blaster 16 CT2800
- 8GB SSD
- ISA USB card (for USB sticks)
- MR BIOS