Open sparky4 opened 1 year ago
MPXPlay has PCH support, it's a subset of HDA. but might not work for all PCs. have you test it?
It doesn't have Cannon Lake as PCH, but as SKL.
Here's a part of MPXPlay's device list
{"Intel PCH (Panther Point)", 0x8086, 0x1e20, AZX_DRIVER_PCH }, {"Intel PCH (Lynx Point)", 0x8086, 0x8c20, AZX_DRIVER_PCH }, {"Intel PCH (9 Series)", 0x8086, 0x8ca0, AZX_DRIVER_PCH }, {"Intel PCH (Wellsburg)", 0x8086, 0x8d20, AZX_DRIVER_PCH }, {"Intel PCH (Wellsburg)", 0x8086, 0x8d21, AZX_DRIVER_PCH }, {"Intel PCH (Lewisburg)", 0x8086, 0xa1f0, AZX_DRIVER_PCH }, {"Intel PCH (Lewisburg)", 0x8086, 0xa270, AZX_DRIVER_PCH }, {"Intel PCH (Lynx Point-LP)", 0x8086, 0x9c20, AZX_DRIVER_PCH }, {"Intel PCH (Lynx Point-LP)", 0x8086, 0x9c21, AZX_DRIVER_PCH }, {"Intel PCH (Wildcat Point-LP)",0x8086, 0x9ca0, AZX_DRIVER_PCH }, {"Intel SKL (Cannonlake)", 0x8086, 0x9dc8, AZX_DRIVER_SKL },
Yes i tested it on my thinkpad p53 No sound at all
okay got the new version confirmed crashing
still crashing . lmk if you need testing! <3
The crash
Please wait that I need a real hardware to debug. I have a Lenovo T540p which is working. - don't know differences between the two. possibly all HDA sounds.
ah okay
okay disabling the touchpad in a different os fixes the crash xinput --disable "Elan Touchpad" there is no sound out of this laptop when i use the driver
The website focused on Win3.1 drivers has some HDA materials:
I think there is source code in that - potentially useful to improve the DOS implementation? But I may be mistaken.
cant seem to link the objects together to make sbemu.exe latest version from pull. there is a bunch of undefined references trying to compile in dos with rhide
ah it compiles now... the proram gets stuck at switching to pio
ah it compiles now... the proram gets stuck at switching to pio
Sorry for that. we might need more investigation on PIO. the PIO mode works for @jiyunomegami 's PCs.
EDIT: can you perform a debug build with make DEBUG=1
to check the output logs?
will do! :D
cant compile at latest pull
plz wait a moment, I'll update the RHIDE project file.
updated, plz also uncomment the line 18 in sc_inthd.c
//#define MPXPLAY_USE_DEBUGF 1
so that there'll be more info.
okay will do
sorry, that file is just removed. can you run the menu "windows" -> "project" then in the project window, find test.c (pres 't' 'e' then it will be located) and delete it (press delete and confirm yes) I'll update the project file later.
ah i did :D
Thanks, I think the PIO check still needs to be performed anyway. You'll be informed when there's improvements.
ah i can provide more screen shots
Hi, the PIO checking code is added, you can confirm if it is working by using the latest zip, if it isn't, then the RHIDE project file is also update, you can still get debug log/infos using the same way above.
okay let me pull and compile g
It seems the CORB/RIRB and PIO both failed. I'll check the code later, thanks
np
Hi, there's an additional fix for the CORB/RIRB and PIO problem, you can test with the latest build: https://github.com/crazii/SBEMU/releases/tag/UserBuild_2024.02.09_01-59
plz make sure that the HDPMI32i.exe is also used from this zip, because it's updated too.
no sound still... imma enable debug
cant compile latest version
@sparky4 Add {} to the end of that line 468, so it looks like this: err_out_auinit:{}
wait a sec and I'll update the project file, and there's some more changes in the proejct config too.
project files updated.
alternatively you can use the makefile to perform build, the makefile will enumerate all files on current dir so it doesn't need to be updated.
you can use make -f makefile.dos
to build and make -f makefile.dos clean
to clean, on dos command line.
okay i cant compile latest version.. and the latest release dose not have support for the specific sound card i use
is it the same sound card you tested before? so it could detect your card before (not working) but now fails to detect it?
can you use this zip directly to post the logs?
you can run SBEMU > log.txt
to save it. and other files (JEMMEX HDPMI) can be obtained from the latest build.
sbemu_HDALOG.zip
about the build error, there're many few files added and I'll figure out a time tomorrow to fix it.
BTW you can try build it in WSL or MinGW, with make -j4 or -j8 to boost the build process by build it in parallel, because with the source code bloating, it's not suitable to compile in under DOS anymore - it takes too long.
ill test soon
here is the screen shots!
i can test more now
any changes?
i has a spare laptop i can let you borrow it! :D
@sparky4 Community testing is absolutely welcome! :slightly_smiling_face: Is there anything specific that you need @crazii for here, with your tests? He's not always available to work on this project.
I also haven't always been quick to respond lately. But if you think I can help, please let me know.
By the way, I've been working on an automated CI/CD test, but for some reason, the built executable doesn't seem to be outputting sound int he QEMU VM that I spin up in the test. Not sure if it's related to the compatibility issues people have been reporting on GitHub. Any help is welcome there. This is my PR for this.
My current laptop has a 00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
HDA Intel PCH
will you add support for this card?
also this is an amazing program! <3