Re: [hatari-devel] DIP switch support

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Mon, 16 May 2016 12:13:44 -0400
schrieb "Roger Burrows" <anodyne@xxxxxxxxxxxx>:

> On 16 May 2016 at 10:17, Thomas Huth wrote:
> > 
> > FYI, I've now pushed a patch that should now return the right
> > default value (0x02) when reading the $ff9201 register.
> >   
> That's the wrong value unfortunately.  I should have been more
> specific since I know you don't have a TT for testing.  This is what
> I get on my TT: DIP switch settings:
> 	1-6 off, 7 on, 8 off
> 	(this is standard for a TT with HD floppy, according to the
> TT schematics)
> 
> Reading the word at ffff9200:	0xbf06

Oh, I've got confused by the values that Cyprian posted (3F03 when
reading the word at ff9200) - that looked like the bits are in the
ff9201 register at a first glance.
Anyway, I've now committed a fix, and this time I also checked that the
value can be found in the _SWI cookie.

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/