|  | Atari coding BBS
 
 
 
| Re: Texture U/V misunderstanding | 
|---|
 
| Posted by: Orion_ | Jan,26.2015-17:54 |  
| I think I got it :)
 
 swap	d5	; VVvv----
 move.b	d3,d5	; VVvv--uu
 lsr.l	#8,d3	; ------UU
 lsl.w	#8,d5	; VVvvuu--
 swap	d5	; uu--VVvv
 
 move.w	d5,d0	; ----VVvv
 move.b	d3,d0	; ----VVUU = Texture offset (256x256)
 add.l	d6,d5		; ty += mty; uu--VVvv
 addx.b	d4,d3		; tx += mtx; ------UU
 
 
 
 |  
 
 
 
 
 [All messages in this thread]      [Start new thread]
 
 
 
 What's the anti-troll code?
 That's your personal code to be able to add comments and messages on the dhs.nu site.
 Don't have a code or forgot it? Fix it here.
 |