FreddyVRetro / ISA-PicoMEM

PicoMEM Doc and Firmware
GNU General Public License v2.0
268 stars 19 forks source link

Adlib only seems to work once, and won't work again until after a cold-boot #58

Closed MacGyverr closed 1 month ago

MacGyverr commented 2 months ago

I have an IBM 5150, 64kb RAM, a 286 addin card, a XT-IDE (r629) at c800 with a Microtech microRAM addon attached bringing it up to 640kb and attached to an SD reader that I boot from at 300h, and a VGA card and IO card with floppy support plugged into a 360kb floppy and a Gotek running FlashFloppy.

My PicoMEM (firmware 2024-07-08) is set to d000 and IRQ 3, WiFi at 320 (I have also tried it at d800 with the same effect) I use my PicoMEM just for the Adlib and WiFi so I have no HD or floppy images attached and it set to not use EMS or PS RAM, and to let XT-IDE boot.

The issue is when I cold boot from completely off, I can run Prince of Persia and hear music out the Adlib and effects out of the PC speaker perfectly. If I Ctrl+Alt+Del and boot the same way again and run PoP, no Adlib music only PC speaker effects.

If I run something else from a cold boot that uses Adlib like Sim City Adlib works, but if I exit to DOS and try to run it again or PoP, no Adlib.

So the best way to describe the issue is that Adlib only seems to work one time per cold-boot.

Thank you for all your effort in this project, even Adlib support per session is still one more than I had before. And the WiFi support is awesome.

Let me know if you need me to perform any tests or give you any other information.

20240911_230618 20240911_230633 20240915_174632 20240911_230554 20240809_153615

FreddyVRetro commented 2 months ago

Hi,

McGyver does not know how to fix something ? :)

I change a lot the audio part in the next firmware, I will try to reproduce the problem before releasing it.

FreddyVRetro commented 1 month ago

Hi,

Is it fixed with latest firmware ?

FreddyVRetro commented 1 month ago

Hi @MacGyverr

Did you test with the latest firmware ?

MacGyverr commented 1 month ago

I saw the new settings for CTS and Tandy as well as the address (I left it set to 388h). At first it didn't fix it, it was doing the same thing, would work on a cold boot, but then never after a warm boot (even if you didn't play any Adlib stuff it just wouldn't work after a warm boot) so I suspected that it might be a memory conflict . So I tried moving my network address from 380 to 360 (because now I can see that the Adlib is at 388 and have no idea how much it takes up) and it seems to have fixed it, sound works after every reboot now. Thank you for the update and all the work you put into this device. The Wifi alone is worth the cost of buying one.