Re: [hatari-devel] Re:Microwire register value on Falcon |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Am Tue, 31 Jan 2012 13:37:05 -0500
schrieb "Roger Burrows" <rfburrows@xxxxxxxxx>:
> On 30 Jan 2012 at 21:04, Thomas Huth wrote:
> >
> > Can somebody check what you get when reading $ff8922 on a real
> > Falcon? Looking at this piece of code, I'd guess that $ff8922 is
> > hard-wired to zero on the Falcon...
> >
> >
> > > Thomas, should we remove the microwire addresses from the
> > > IoMemTabFalcon.c as I did (There's really no microwire in the
> > > Falcon) ? I know you did a lot of tests on the bus errors.
> > >
> > > Actually, it looks like :
> > > // { 0xff8922, SIZE_WORD, IoMem_VoidRead, IoMem_VoidWrite
> > > }, /* Microwire data */
> > > // { 0xff8924, SIZE_WORD, IoMem_VoidRead, IoMem_VoidWrite
> > > }, /* Microwire mask */
> >
> > According to the bus error tester (see
> > tests/buserror/results/fal_n_w.txt), the Falcon does not generate a
> > bus error here, so you should not remove these entries. I'd rather
> > guess that the Falcon always returns 0 when reading the ff8922
> > register...
> >
> That's correct, I just tested on my Falcon. It doesn't bus error (in
> supervisor state :-), and it returns zero.
Great, thanks for the test, Roger, I've fixed Hatari now accordingly.
Thomas