Re: [hatari-devel] Hatari/EmuTOS Conflict

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


On 12 Jun 2013 at 0:46, Vincent Rivière wrote:
> On 11/06/2013 01:03, Nicolas Pomarède wrote:
> > I don't see any problem in this part, acia reset is correctly detected and
> > emutos-cvs-20130604 boots with functional mouse/keyboard, even without the
> > patch I added to force acia at 9600 bauds on cold start.
> >
> > Here're the traces :
> >
> > acia ikbd write fffc00 cr=0x03 video_cyc=59888 452@117 pc=e06b1a instr_cycle
> 16
> > acia ikbd write cr data=0x03 VBL=53 HBL=117
> > acia ikbd master reset VBL=53 HBL=117
> > -> reset is made
> >
> > acia ikbd write fffc00 cr=0x96 video_cyc=59912 476@117 pc=e06b20 instr_cycle
> 16
> > acia ikbd write cr data=0x96 VBL=53 HBL=117
> > acia ikbd start timer divider=64 cpu_cycles=1024 VBL=53 HBL=117
> > -> acia is initialized at 9600 bauds
>
> Even if it works, this looks like a bug in EmuTOS.
> The ACIA speed should be initialized before sending bytes, isn't it?
>
I don't think there are any bytes sent yet.  The data is being sent to the ACIA
control register for initialisation.

> > But there's a problem in Emutos : we can see it still sends 0x1a and 0x12
> > *during* the reset, which is not correct, it should send them after
> getting
> > a 0xf0 or 0xf1 from the ikbd.
>
> I will setup a test environment (latest Hatari, EmuTOS, MIDI debugging....),
> but I'm currently very busy. Anyway, I will need to find the time to look at
> that before the next Hatari/EmuTOS release.
>
I have some free time - I'll go ahead with the test unless I hear otherwise.

Roger




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