PandTomB / uae4arm

UAE4ARM for the Pandora (branch master, but no longer maintained) and RaspberryPi (branch Raspi, current development version)
GNU General Public License v2.0
8 stars 2 forks source link

64-bit vs 32-bit JIT issue #9

Closed midwan closed 3 years ago

midwan commented 3 years ago

Hi @PandTomB Today we run into an issue that only occurs with the 64-bit version of JIT, while it works on the 32-bit one.

The Amiberry issue is here: https://github.com/midwan/amiberry/issues/720 Steps to recreate

The enemy sprites don't appear correctly (incorrect colors, almost invisible) on the 64-bit version. However, things work normally on the 32-bit version.

Is this something you could look into, you think?

Retro1968 commented 3 years ago

Raspberry Pi 4, Manjaro Linux 64 Bit, Amiga OS 3.1.4.1. Running River Raid Reloaded.

Thank you Midwan for your report of the error. I would like to add that the enemy sprites are completely invisible to me, while the collision queries still work. You can still shoot the enemies or collide with them if you accidentally hit them or bump into them.

Retro1968 commented 3 years ago

Raspberry Pi 4, Manjaro Linux 64 Bit, amiberry 3.3 64-Bit, Amiga OS 3.1.4.1.

I would like to report another JIT problem with the amiberry 64-bit version.

The game "Genetic Species" runs without errors if JIT is activated. But if you want to enter the level code in the game menu, which consists of letters, this is not possible. The letter "A" can be entered, with many other letters there is no output at all. If you leave the game and try to enter any letters in an editor, all keyboard entries work correctly. If JIT is deactivated you can easily enter the level codes in "Genetic Species".

With activated JIT under the 32-bit version of amiberry under RetroPie there are no problems in "Genetic-Species" when entering the level codes.

With both versions of amiberry, the background music of "Genetic Species" cracks, which is played from the CD integrated as an image. Only the first melody in the first level works without cracks. The intro video also jerked in both versions.

Cheers Retro1968

midwan commented 3 years ago

@PandTomB This is still an issue on aarch64, even after the latest commit.

For your reference, here's how it looks like (notice the corrupted gfx on the enemy sprites): Amiberry - Amiberry_2021-01-23_12-55-49

And here's how it should look like (and it does, if you disable JIT on aarch64 or run it with JIT on 32-bit): Amiberry - Amiberry_2021-01-23_12-50-59

PandTomB commented 3 years ago

Fixed with commit "Bugfix JIT AARCH64 (DIVS)"

midwan commented 3 years ago

Confirmed, thanks!