===== set_screen_size ===== == void set_screen_size(char size); == Set the virtual screen size -- width x height, in tiles (8x8). {| ! HuC Define !! Value |- SCR_SIZE_32x32 || 0x00 |- SCR_SIZE_64x32 || 0x01 |- SCR_SIZE_128x32 || 0x03 |- SCR_SIZE_32x64 || 0x04 |- SCR_SIZE_64x64 || 0x05 |- 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 |}