Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
saga_video_clut [2016/05/28 15:19]
flype [Description]
saga_video_clut [2016/06/24 02:26] (current)
Line 58: Line 58:
     LEA     ​Palette,​a0 ​         ; Load Palette     LEA     ​Palette,​a0 ​         ; Load Palette
     MOVE.L ​ #​SAGA_VIDEO_CLUT,​a1 ; CLUT Register base     MOVE.L ​ #​SAGA_VIDEO_CLUT,​a1 ; CLUT Register base
-    MOVEQ.L 256-1,​d7 ​           ; 256 colors+    MOVEQ.L ​#256-1,​d7 ​          ​; 256 colors
   .loop                         ; For each colors   .loop                         ; For each colors
     MOVE.L ​ (a0)+,​(a1)+ ​        ; Write color in register     MOVE.L ​ (a0)+,​(a1)+ ​        ; Write color in register
  • saga_video_clut.txt
  • Last modified: 2016/06/24 02:26
  • (external edit)