SmokeMonsterPacks / Mega-Sg-Jailbreak

Custom "Jailbreak" firmware for the Analogue Mega Sg
271 stars 14 forks source link

bus timings bug #90

Closed krikzz closed 1 year ago

krikzz commented 3 years ago

In specific conditions bus read cycle may be shorter than usually. This results Virtua Racing crashes on EverDrive when select "Free Run". Seems it sometimes happen after write cycles to the VDP data port (0xC00000) in pair with dbra instruction followed. In buggy read cycle, timings between as, cas0, ce_0, asel looks differently and cycle is shorter than usually. In case of buggy cycle console fetch data before than valid value (0xFFF8) placed on the bus. Can be reproduces on Mega EverDrive PRO with OS V4.10 or older versions.

ok err

xtcrefugee commented 3 years ago

Free Run appears to work fine in VR on a Mega SD. Maybe it's a Mega EverDrive PRO bug?

krikzz commented 3 years ago

Free Run appears to work fine in VR on a Mega SD. Maybe it's a Mega EverDrive PRO bug?

I made faster rom access and now it works on mega ed also, but on original console it worked fine without that fix. This behavior isn’t exist on original hardware. It may affect some other games, especially originals carts which often had pretty slow rom chips.

tjanas commented 1 year ago

@krikzz please re-test with https://www.analogue.co/support/mega-sg/firmware/4.9

tjanas commented 1 year ago

@krikzz Please re-test with JB7.9 and if it is still an issue, open a ticket at https://github.com/analoguejb/Analogue-Mega-Sg-JB

tjanas commented 1 year ago

Per JB7.9 changelog: Fixed bus timing issue after certain writes - this affected Virtua Racing in some situations.