Re: [hatari-devel] 68030 MMU work

[ Thread Index | Date Index | More Archives ]

This should be corrected now. Obviously there is an error in the datasheet i'm using (M68000PRM.pdf). The instruction format for PTEST is wrong: register field should be 3 bit and FC field should be 5 bit.
I already discovered this when writing PTEST emulation, but obviously still used the wrong shift and a bad debugging output.

I've appended the patch to this message. The patch also cleans debugging messages for the mmu ops.

Attachment: mmu030_patch19.diff
Description: Binary data

Am 05.10.2012 um 20:00 schrieb Uwe Seimet:

> Looks like I'm going to continue with posting many small messages tonight ;-).
>>>       ptestr #7,([8,a0]),#7,a0
>>> Hatari reports
>>> PTESTW 07,00E00000,#7,A1 PC=00411EDA
> The address register affected is still not reported correctly: It's A0,
> not A1.

Mail converted by MHonArc 2.6.19+