RBSC / Carnivore2

Carnivore2 MultiFunctional Cartridge for MSX
136 stars 35 forks source link

Joysticks and joypads no longer work properly in Boot Menu #71

Closed Wierzbowsky closed 2 years ago

Wierzbowsky commented 2 years ago

Joysticks and joypads no longer work reliably in some cases in Boot Menu 2.40 and later versions. Sometimes joysticks only works when inserted into port2. In some cases both joysticks don't work at all. This happens not on all MSX machines. It has been reproduced on Arabic MSX1 and MSX2 by Wessam (thanks!).

Wierzbowsky commented 2 years ago

Also reproduced on Mitsubishi ML-8000. Likely cause - PSG initialization routine for resident player.

Wierzbowsky commented 2 years ago

Confirmed that the patch for resident player messes up the joystick port on the real PSG chip. The PSG in MSX Engine chips is not affected. Asked KoD [SDM] to check the patcher's code

Wierzbowsky commented 2 years ago

Fixed. Moved to using the new resident music player and created the filter code for values that are output to PSG ports, as well as for register numbers. Now joysticks and joypads work correctly on MSX1 machines with the physical chip.

Wierzbowsky commented 2 years ago

Released into the repository.