179 flag = gte_read_flag();
287 flag = gte_read_flag();
#define cop2_cmd(op)
Definition cop2.h:175
#define COP2_NCS(sf, lm)
Definition cop2.h:149
#define COP2_NCCS(sf, lm)
Definition cop2.h:151
#define cop2_put(reg, val)
Definition cop2.h:182
#define COP2_NCDS(sf, lm)
Definition cop2.h:153
#define COP2_NCCT(sf, lm)
Definition cop2.h:152
#define COP2_CDP(sf, lm)
Definition cop2.h:158
#define cop2_putc(reg, val)
Definition cop2.h:196
#define COP2_NCT(sf, lm)
Definition cop2.h:150
#define cop2_get(reg, dest)
Definition cop2.h:189
#define COP2_CC(sf, lm)
Definition cop2.h:157
#define COP2_NCDT(sf, lm)
Definition cop2.h:154
uint32_t flag
Definition gte-edgecase.c:36
uint32_t rgb1
Definition gte-lighting.c:205
int32_t mac1
Definition gte-lighting.c:42
ramsyscall_printf("NCCS: MAC=(%d,%d,%d) RGB2=0x%08x\n", mac1, mac2, mac3, rgb2)
cester_assert_int_eq(0x800, mac1)
gte_set_far_color(0, 0, 0)
gte_set_white_light_color()
gte_tests
Definition gte-lighting.c:31
CESTER_TEST(ncs_z_normal_white_light, gte_tests, gte_set_simple_light();gte_set_white_light_color();gte_set_zero_bk();cop2_put(0, 0x00000000);cop2_put(1, 0x1000);cop2_put(6, 0x00808080);gte_clear_flag();cop2_cmd(COP2_NCS(1, 1));int32_t mac1, mac2, mac3;uint32_t rgb2;cop2_get(25, mac1);cop2_get(26, mac2);cop2_get(27, mac3);cop2_get(22, rgb2);ramsyscall_printf("NCS z-normal: MAC=(%d,%d,%d) RGB2=0x%08x\n", mac1, mac2, mac3, rgb2);cester_assert_int_eq(0, mac1);cester_assert_int_eq(0, mac2);cester_assert_int_eq(4096, mac3);cester_assert_uint_eq(0x00ff0000, rgb2);) CESTER_TEST(ncs_with_background
cester_assert_uint_eq(0x00800000, rgb2)
int32_t mac2
Definition gte-lighting.c:42
int32_t mac3
Definition gte-lighting.c:42
uint32_t rgb2
Definition gte-lighting.c:93
uint32_t rgb0
Definition gte-lighting.c:205
void uint32_t(classId, spec)