Re: [hatari-devel] A question about the debugger

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


On 3 Sep 2013 at 13:19, Roger Burrows wrote:

> Is it possible to trace reads & writes to the ACSI/floppy interface 
> ($ffff8604/06)?  I am fixing the ACSI code in EmuTOS and would like to see 
> exactly what is being written to those addresses.  The new code works as long
> as GCC optimisation is turned off, so I need to see what's different when 
> optimisation is enabled.
> 
Just a followup in case there is any confusion:
1. the existing EmuTOS code works OK on Hatari, but not on real hardware, so 
I'm fixing it.
2. with GCC optimisation off, the new EmuTOS code works fine on real hardware.
3. with GCC optimisation ON, the new EmuTOS code gets a timeout error when 
sending a read command to read certain specific sector numbers.
4. there are no problems reading the same sectors with TOS.

So I'd like to debug the optimised code on Hatari ...

Roger




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