View Single Post
Old 06 February 2016, 01:29   #7
Raislin77it
Zone Friend
 
Raislin77it's Avatar
 
Join Date: Jan 2005
Location: italy
Age: 46
Posts: 244
Quote:
Originally Posted by roondar View Post
Hmm, I did think of something.
The WAIT instruction waits until a given position, then the MOVE instruction fires and will be completed slightly later (as it takes time as well).

Thinking about this, I remembered an article over at coppershade.org: http://coppershade.org/articles/AMIG...t_WAIT_Timing/

The relevant bit:


So, the left edge of the screen is actually $3d and not $48. The right position for pixel 48 would then be $6d.

I can't test this right now, but it should be correct.
from your link and my experiments is 5D because :

the screen start at $3d so in decimal 61
my x is 48 so 61+48=109 =>$6d
but the MOVE takes at max 16 pixels, so 109-16=93 => $5D

with $5D effectively the color change at the 48th pixel
Raislin77it is offline  
 
Page generated in 0.05482 seconds with 11 queries