openMSX bugs

Page 12/13
5 | 6 | 7 | 8 | 9 | 10 | 11 | | 13

By Manuel

Ascended (17937)

Manuel's picture

10-04-2021, 14:57

Well, it must be investigated why it doesn't work on real MSX first, before we can think about emulating it. Can you do that investigation?

By gdx

Enlighted (4481)

gdx's picture

10-04-2021, 16:28

I have been investigating since yesterday but I need some idea now.

By gdx

Enlighted (4481)

gdx's picture

11-04-2021, 10:14

Problem solved!

This is PSG I/O ports that are poorly set. I think I was fixed it, but I hadn't seen that it writes 038h in the register 07 of the PSG in the interrupt routine. By replacing some 038h with 0B8h, the joystick works fine also my MSX1s now.

OpenMSX should indicate that PSG I/O ports are poorly set when the bits 7 and 6 are not 1 and 0. Actually it seems to only consider bit 7. It remains to solve the problem with the sprites with the TMS99xx.

PS: I found that if we press Select key then Space space key (not the trigger) during the intro screen it goes in the joystick test mode. This menu is probably there because the developer was having trouble mastering the joysticks.

By Manuel

Ascended (17937)

Manuel's picture

11-04-2021, 21:33

But, gdx, openMSX does warn for the wrong PSG port directions,doesn't it?

See

About select: some versions of Oh Shit mention select on the title screen to start the joystick test, see:

By Manuel

Ascended (17937)

Manuel's picture

11-04-2021, 21:38

Wait, which machines did you try in openMSX? When I emulate a Toshiba HX-10D, the joystick isn't working. When I emulate a Philips VG-8020/20 (which has S3527) the joystick works fine.

By Grauw

Ascended (9902)

Grauw's picture

11-04-2021, 22:29

Ah-ah, the openMSX emulation is too good Smile. Incompatibilities between machines are so often blamed on the emulator, the first question should always be: did you try this on the exact same configuration in openMSX? Same machine, same extensions, etc.

By gdx

Enlighted (4481)

gdx's picture

12-04-2021, 02:53

No, openMSX warns for the wrong PSG port directions on versions of Panique found on the net but not with the version that I was (partially) fixed (Rom with crc32=D3D8F413).

Manuel wrote:

which machines did you try in openMSX?

National CF-2700 + MMM. I tried also with the Philips VG-8020-20 and the joystick works too (OpenMSX 0.15.0 for Mac)

The new version of Panique that works now on real MSX1 has crc32=9BE13576.

By Manuel

Ascended (17937)

Manuel's picture

12-04-2021, 21:35

Can you help me to get that old version?
Anyway, you're right, we only have that warning for bit 6.

The proper behaviour of PSG port directions is implemented in openMSX 16.0 (and later). So, please upgrade to 16.0 (or try out the openMSX 17.0-rc1 development build!) and the emulation will be fine.

By gdx

Enlighted (4481)

gdx's picture

13-04-2021, 02:42

Thank Manuel!

Want the old version (D3D8F413) of Panique?

By Manuel

Ascended (17937)

Manuel's picture

13-04-2021, 07:30

Well, only if it doesn't behave like the real machine in openMSX.

Page 12/13
5 | 6 | 7 | 8 | 9 | 10 | 11 | | 13