michalsc / Emu68

M68K emulation for AArch64/AArch32
Mozilla Public License 2.0
360 stars 41 forks source link

Issues with Amiga demos #160

Open SmoothAdmin opened 2 years ago

SmoothAdmin commented 2 years ago

9Fingers and State of Art demos are experiencing speeding up and slowing down of music and video with grafix sometimes getting distorted before finally crashing. The 9Fingers demo gave me this error:

Exception "Line 1111 Emulator" ($2C) at $CD4A4 occured.

I am running the latest nightly build, Amiga 1200 ROM 3.2.1, OS 3.2.1. P96 (from icomp), a icomp ECS V2, I have WHDLoad v1.8.7 installed. The only other thing I have tested is RTG Quake which runs fine without any issues. And I am using an A2000 with a PiStorm 2K and a Pi 3B+.

WHDLoad has MMU and NOAUTOEVEC enabled by default.

And of course when I run these same demos on my TF536 card I have no issue.

SmoothAdmin commented 2 years ago

With the FPU fix these demos still are out of sync and crash.

SmoothAdmin commented 2 years ago

So the 9fingers demo works but the audio speeds up then slows down, then speeds up.. The video seems to be running fine. However State of Art the video is messed up the beginning and remains that way throughout the video, not sure if if the both crash or not as I haven't yet left them to run all the way through.

I have rebuilt my SD card, using the Amiga OS 3.2.1 ROM and 3.2.1 OS (3.2 Patched), I only have P96, my Invidision ECS v2, and that's all. Nothing special installed.

apolkosnik commented 2 years ago

I'll add some glitches that I've noticed if a few other demos:

stevereaver commented 2 years ago

This was always a problem on my old a4000/040. It seems to be an issue with theses demos and accelerators. The fix was to hold down both mouse bottons and disable the CPU cache from the boot menu and they would run fine. I'm not sure if that can be done with the emu68.

rnvalencia commented 1 year ago

Use "Emucontrol NOCACHE" commandline or Emucontrol's GUI mode, disable "Fast Cache" button.

This disables CPU's instruction cache.

SmoothAdmin commented 1 year ago

Use "Emucontrol NOCACHE" commandline or Emucontrol's GUI mode, disable "Fast Cache" button.

This disables CPU's instruction cache.

This does not work in WHDLoad running on my A2000. It errors out at the line that has "EmuControl" in it.

rnvalencia commented 1 year ago

In WHDLoad-Startup, EmuControl ICNT=2 NOCACHE In WHDLoad-Cleanup, EmuControl ICNT=256 CACHE

Example SYS:PiStorm/EmuControl/EmuControl ICNT=2 NOCACHE

SYS:PiStorm/EmuControl/EmuControl ICNT=256 CACHE

SmoothAdmin commented 1 year ago

In WHDLoad-Startup, EmuControl ICNT=2 NOCACHE In WHDLoad-Cleanup, EmuControl ICNT=256 CACHE

Example SYS:PiStorm/EmuControl/EmuControl ICNT=2 NOCACHE

SYS:PiStorm/EmuControl/EmuControl ICNT=256 CACHE

Ok added those lines, rebooted, tried State-Of-The-Art demo and the GFX are tearing, the music is playing at normal speed and there isn't other glitches. :)

franeti commented 1 year ago

Hi! Same issue here, and after adding these lines, the problem persists... State of the art for example go too fast and is out of sync between music and graphics