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

Compatibility issues with EU codemasters titles #123

Open
jandal55 opened this issue Mar 20, 2021 · 2 comments
Open

Compatibility issues with EU codemasters titles #123

jandal55 opened this issue Mar 20, 2021 · 2 comments

Comments

@jandal55
Copy link

Noted issues starting Micro Machines TT 96, and Micro Machines Military.
Upon ROM loading, controller is mapped successfully but games hang on black screen.

Appears in core versions 1.9667cdfb8 and 1.97-e368e58. Tried a rebuild back to 1.91, but same result. However 1.97-e368e58 runs the ROM on SHIELDTV w/Retroarch 1.91
Noted on Raspberry Pi Zero W and 3DS - same ROMs load under lr-genesis-gx (obvs performance is compromised)

/dev/shm.runcommand.log shows:

[INFO] [MIDI]: Initializing ...
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "alsa" driver.
[INFO] Loading history file: [/opt/retropie/configs/megadrive/content_history.lpl].
[INFO] Loading history file: [/opt/retropie/configs/megadrive/content_music_history.lpl].
[INFO] Loading history file: [/opt/retropie/configs/megadrive/content_video_history.lpl].
[INFO] Loading history file: [/opt/retropie/configs/megadrive/content_image_history.lpl].
[INFO] Loading favorites file: [/opt/retropie/configs/megadrive/content_favorites.lpl].
[INFO] [GL]: VSync => on
[INFO] [EGL]: eglSwapInterval(1)
[INFO] Written to playlist file: /opt/retropie/configs/megadrive/content_history.lpl
[INFO] [Environ]: UNSUPPORTED (#63).
[INFO] SET_GEOMETRY: 320x224, aspect: 1.429.
[libretro INFO] 00001:006: m68k crash detected @ 100000
[libretro INFO] 00001:006: m68k crash detected @ 100000
[libretro INFO] 00001:006: m68k crash detected @ 100000

with the last line looping

Have attempted:
change region manually and/or dictate refresh rate.
Disabling various graphics-related option (Vsync, threading etc)
Disabled controller 3, 4, 5 (in case this was a JCart issue).
Other J-Cart and EuroJCart ROMs by codemasters work normally, just these 2 that fail identically.

@irixxxx
Copy link
Contributor

irixxxx commented Jul 1, 2021

@notaz FYI: this is caused by the initial PC set to 0 in the vector table. Since the value at address 0 is an illegal instruction it "crashes" into the game via the illegal instruction vector :-D. Removing the "beq crashed" line in pico/m68kif_cyclone.s fixes this.

@notaz
Copy link
Owner

notaz commented Jul 1, 2021

Funny for them to do that. Perhaps they wanted to ensure null function pointer dereference would reset the game instead of softlocking it.

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

3 participants