Re: [hatari-devel] PSG_WaitState() inaccuracy

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


Hi there.

This discussion remind me of some tests I did sone time ago. You probably already knew it but just in case (cycle pairing + YM):

lea          $ffff8800,a0

lea          $ffff8801,a1
lea          $ffff8804,a3
moveq        #0,d0

;;              ; Real   | Hatari (2.3.1)
;; -------------;--------|---------------
lsr    #2,d0    ;        |
move.b (a0),d2  ; 2 nops | 3 nops
;; -------------;--------|---------------
lsr    #2,d0    ;        |
move.b d0,(a0)  ; 2 nops | 3 nops
;; -------------;--------|---------------
lsr    #2,d0    ;        |
move.l (a0),d0  ; 3 nops | 4 nops
;; -------------;--------|---------------
lsr    #2,d0    ;        |
move.l d0,(a0)  ; 3 nops | 4 nops
;; -------------;--------|---------------
lsr    dx,d0    ;        | Hard to reproduce !
move.w -(a3),d0 ; 3 nops | 3..4 nops
;; -------------;--------|---------------
lsr    dx,d0    ;        | Hard to reproduce !
move.l -(a3),d0 ; 4 nops | 4..5 nops
;; -------------;--------|---------------

Ben^OVR



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