[hatari-devel] Little trace question :

Laurent Sallafranque laurent.sallafranque at free.fr
Tue Apr 12 22:46:29 CEST 2011


Hi,

I've done a trace of Lotus09 game.
It loops forverer at startup.

I can see a strange trace. (This appears many times, always at same HBL 
line).


I just want to be sure I read correctly the trace:

cpu video_cyc=133568 472 at 262 : $e00d60 : b0b9 0000 
0466                       cmp.l     $466,d0
cpu video_cyc=133580 484 at 262 : $e00d66 : 
67f8                                 beq.s     $e00d60
cpu video_cyc=133584 488 at 262 : $e00d60 : b0b9 0000 
0466                       cmp.l     $466,d0
cpu video_cyc=133596 500 at 262 : $e00d66 : 
67f8                                 beq.s     $e00d60
cpu video_cyc=133600 504 at 262 : $e00d60 : b0b9 0000 
0466                       cmp.l     $466,d0
cpu video_cyc=133612 133104 at 264 : $e00d66 : 
67f8                                 beq.s     $e00d60
cpu video_cyc=133616 133108 at 264 : $e00d60 : b0b9 0000 
0466                       cmp.l     $466,d0
cpu video_cyc=133628 133120 at 264 : $e00d66 : 
67f8                                 beq.s     $e00d60
cpu video_cyc=133632 133124 at 264 : $e00d60 : b0b9 0000 
0466                       cmp.l     $466,d0


If I understand it well, it means that at video cycle 133600, I'm in HBL 
262, my instruction should be 12 cycles.
But next instruction is executed (133104 - 504) cycles later ? (2 HBL 
later ?)

If this is true, I think I've got a problem with something like 
do_specialties.
May this be an artefact of video.c (something that happends at HBL 262, 
cycle 504) ?

Regards

Laurent






More information about the hatari-devel mailing list