FrenkelS / doomtd3

Stripped down version of Doom (Doom8088) for only running timedemo 3
GNU General Public License v2.0
7 stars 2 forks source link

Amiga build works in FS-UAE emulating an Amiga 500 with a 68020 CPU, but not the default 68000 CPU #4

Closed FrenkelS closed 3 months ago

FrenkelS commented 4 months ago

Amiga build works in FS-UAE emulating an Amiga 500 with a 68020 CPU, but not the default 68000 CPU.

Software Failure. Press left mouse button to continue.
Guru Meditation #00000003.00C05E30
FrenkelS commented 4 months ago

It works in WinUAE when I set the compatibility option one tick lower.

Swizpig commented 3 months ago

00000003 is an address error, trying to move more than a byte from an odd (as in, not even) address. 68020+ apparently changes this so it's a performance hit but not an exception/error. Something's probably misaligned somewhere.

I've managed to get this compiling but not actually working yet with VBCC, I'll poke around a bit.

FrenkelS commented 3 months ago

Interesting. I guess it has something to do with a packed struct like line_t, which is 47 bytes in size.

FrenkelS commented 3 months ago

yup, that was the problem