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

VSBHDA16 and Jazz Jack Rabbit #13

Open
hjnijlunsing opened this issue May 2, 2024 · 3 comments
Open

VSBHDA16 and Jazz Jack Rabbit #13

hjnijlunsing opened this issue May 2, 2024 · 3 comments

Comments

@hjnijlunsing
Copy link

hjnijlunsing commented May 2, 2024

Running vsbhda16 /VOL8 /O1 results in: "No Sound Card Found"

Running vsbhda16 /VOL8 works with Jazz Jack Rabbit with Music (and external speakers connected to the headphone jack);
Enabling Sound FX causes Jazz Jack Rabbit to quit with:

  • Fatal error. Game Halted
  • Runtime error 216 at 50FE:1BFA

Jazz Jack Rabbit is patched (https://www.jazz2online.com/articles/17/jj1-on-your-fast-computer/) in order to avoid this error during startup: Runtime error 200 at 0009:37F2

Update: Changing IRQ to 7 also enables SoundFX; the /O? parameter issue still remains
Update 2: Seems that internal speakers work automagically anyway without the /O1 parameter

@Baron-von-Riedesel
Copy link
Owner

Running vsbhda16 /VOL8 /O1 results in: "No Sound Card Found"

This msg is a bit misleading. It may occur because vsbhda couldn't find a path from the "speaker" widget to a DAC.

One reason for this may be because the codec reports multiple "speaker" widgets. Currently there's no way to "select" a certain "speaker", vsbhda just uses the first (non-digital) speaker that it finds.

Runtime error 216 at 50FE:1BFA

Error 216 is a "general protection fault",

Jazz Jack Rabbit is patched in order to avoid this error during startup: Runtime error 200 at 0009:37F2

Actually, there's code in vsbhda16 to cure this error, so it should run with the "unpatched" version.

@hjnijlunsing
Copy link
Author

This msg is a bit misleading. It may occur because vsbhda couldn't find a path from the "speaker" widget to a DAC.

That's interesting since this only seems to happen in the 16 bit version; the 32 bit version works fine with /O1

Actually, there's code in vsbhda16 to cure this error, so it should run with the "unpatched" version.

Thanks! I was unaware of that; before testing I first wanted to ensure it worked 'vanilla' (w/o VSBHDA) ;-)

@Baron-von-Riedesel
Copy link
Owner

That's interesting since this only seems to happen in the 16 bit version; the 32 bit version works fine with /O1

That's very strange. Running both variants with trace logs activated should then give a good hint what's the difference.

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

No branches or pull requests

2 participants