IRQ_VCOUNT interrupt in NDS

Started by
-1 comments, last by deep_blue_sea 16 years, 4 months ago
i m trying sprite multiplexing using the VCOUNT interrupt but this interrupt dosent seem to work......heres my code....somebody plz help irqInit(); SetYtrigger(32); irqSet(IRQ_VCOUNT,VcountHandler); irqEnable(IRQ_VBLANK | IRQ_KEYS | IRQ_VCOUNT); void VcountHandler(void) { sprite[0].attribute[2] = ATTR2_PALETTE(0) | 0; sprite[0].attribute[1] = ATTR1_SIZE_16 | gatPan; sprite[0].attribute[0] = ATTR0_COLOR_16 | ATTR0_SQUARE | 32; SetYtrigger(32); }

This topic is closed to new replies.

Advertisement