Skip to content

[Bug]: MMU emulation bug: SysInfo 4.4 throws MuForce hits on startup - same config works in Amiberry #182

Description

@codewiz

Area

Emulation accuracy (display, audio, timing, chipset behaviour)

Summary

When SysInfo starts, it does some probe at $100004 to check whether it aliases $000004.

This results in a single MuForce hit on Amiberry:

LONG READ from 00100004                        PC: 085F8BB8
USP : 085B9C6C SR: 0004  (U0)(-)(-)  TCB: 08599F48
Data: 00000002 0000FFFF 00000000 00000007 003C147A 00000000 00000001 0000FFFF
Addr: 08000888 085B9C56 0858E474 085FA405 085FA2BC 00F95600 08000888 080022A4
...
----> 085F8BB8 - "sysinfo"  Hunk 0000 Offset 00007008
085f8bac :  6e20                       bgt.s $85f8bce
085f8bae :  0c00 0002                  cmpi.b #$2,d0
085f8bb2 :  6d26                       blt.s $85f8bda
085f8bb4 :  2078 0004                  movea.l $4.w,a0
085f8bb8 : *2279 0010 0004             movea.l $100004,a1
085f8bbe :  b3c8                       cmpa.l a0,a1
085f8bc0 :  6712                       beq.s $85f8bd4
085f8bc2 :  41fa e4de                  lea.l $85f70a2(pc),a0
Name: "Shell Process"  CLI: "sysinfo"  Hunk 0000 Offset 00007008

On Copperline, for some reason SysInfo wedges the machine with the power LED flashing (MuForce trying to log hits at high rate).

I couldn't debug further.

Copperline version

e5e1de0

Host system

Linux

Machine/configuration

I found this while testing A3000-030, but a regular A1200 040 suffices.

Reproduction steps

  1. Boot (with or without startup).
  2. Run at least SetPatch and MuForce
  3. Run Sysinfo

Actual behaviour

Infinite hits (which I couldn't capture).

Expected behaviour

At most a single hit, benign - as in Amiberry.

Logs or debugger output


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions