Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SB: Fix Windows 9x support (unimplemented DSP read and write status port bits should be pulled high) #64

Merged
merged 2 commits into from
Nov 23, 2024

Conversation

ianhan
Copy link
Contributor

@ianhan ianhan commented Oct 26, 2024

This change fixes Windows 9x driver support for SB mode by implementing a quirk the driver expects (unimplemented status bits should be pulled high). PCem does the same thing.

Tested with DXDiag and some audio playback apps. Tested with Jazz Jackrabbit and Cubic Player outside of Windows under DOS.

… to be pulled high (parity with PCem) for Windows 9x compatibility.
@lindoran
Copy link

lindoran commented Nov 3, 2024

any word on this being added to the main fork? would be nice to not have to build this on my own, I keep getting stuck linking tinyusb

@ianhan
Copy link
Contributor Author

ianhan commented Nov 8, 2024

I think @polpo plans to merge soon. For building yourself, after cloning the repo you can do something like "git submodule update --init --recursive" to set up the submodule repos (including TinyUSB - otherwise you will get a linker error). After doing that, it should just build (might need to pick SDK 1.5.1).

@lindoran
Copy link

lindoran commented Nov 8, 2024 via email

@lindoran
Copy link

lindoran commented Nov 8, 2024

OK - to build:
SDK 1.5.1
pico-extras 1.5.1
latest cmake (if your using ubuntu / xubuntu ) its out of date.
clone repository (can't just download the zip need to use GIT and select the correct branch)
run git submodule update --init --recursive from the root of the repository
cd to sw in the root of repository
mkdir build
cd build
cmake -DPROJECT_TYPE=MULTIFW ..
make

wait a while
you want picogus.sf2

that being said I most likely missed something.

at your own risk 100% --- good luck.

can verify diablo 1 works on my overclocked ps/1 2155 DX2 / 66 (running at 40mhz fsb so actually 80) in sound blaster mode with no sound glitching ... frame rate is low because its a 486 and requires a Pentium this is windows 95 OSR 2 with the stock windows / directx sound blaster drivers.

@polpo polpo merged commit e3e0c02 into polpo:main Nov 23, 2024
2 checks passed
@lindoran
Copy link

lindoran commented Nov 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants