Silent Debuggers Is A WIP

Differences

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

Link to this comparison view

Next revision
Previous revision
programming:c:huc:reference [2020/08/15 01:40] – created cabbageprogramming:c:huc:reference [2020/08/15 01:56] (current) cabbage
Line 7: Line 7:
 ! HuC Define !! Value ! HuC Define !! Value
 |- |-
-SCR_SIZE_32x32 || 0+SCR_SIZE_32x32 || 0x00
 |- |-
-SCR_SIZE_64x32 || 1+SCR_SIZE_64x32 || 0x01
 |- |-
-SCR_SIZE_128x32 || 3+SCR_SIZE_128x32 || 0x03
 |- |-
-SCR_SIZE_32x64 || 4+SCR_SIZE_32x64 || 0x04
 |- |-
-SCR_SIZE_64x64 || 5+SCR_SIZE_64x64 || 0x05
 |- |-
-SCR_SIZE_128x64 || 7+SCR_SIZE_128x64 || 0x07
 |} |}
  
 +===== spr_ctrl =====
 +==  void spr_ctrl(char mask, char value); ==
 +Set attributes of current sprite.
  
 +You can set multiple values at once as you like, e.g., ''spr_ctrl(FLIP_MAS | SIZE_MAS, FLIP_X | SZ_16x64);'' 
 +{| 
 +! HuC Define !! Value 
 +|- 
 +! FLIP_MAS || 0x88 
 +|- 
 +! FLIP_X_MASK || 0x08 
 +|- 
 +NO_FLIP_X || 0x00 
 +|- 
 +FLIP_X || 0x08 
 +|- 
 +! FLIP_Y_MASK || 0x80 
 +|- 
 +NO_FLIP_Y || 0x00 
 +|- 
 +FLIP_Y || 0x80 
 +|- 
 +! SIZE_MAS || 0x31 
 +|- 
 +SZ_16x16   || 0x00 
 +|- 
 +SZ_16x32   || 0x10 
 +|- 
 +SZ_16x64   || 0x30 
 +|- 
 +SZ_32x16   || 0x01 
 +|- 
 +SZ_32x32   || 0x11 
 +|- 
 +SZ_32x64   || 0x31 
 +|}
Print/export
QR Code
QR Code programming:c:huc:reference (generated for current page)