Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void statusBarInt() {
- SMS_displayOff();
- SMS_VDPturnOffFeature(VDPFEATURE_HIDEFIRSTCOL);
- SMS_setBGScrollX(0);
- SMS_displayOn();
- SMS_loadBGPalette(font__palette__bin);
- SMS_disableLineInterrupt();
- // do stuff in the lower half of screen
- }
- SMS_setLineInterruptHandler(statusBarInt);
- while (true) {
- SMS_waitForVBlank();
- framepos = 1;
- checkModeSwitch();
- // top half logic
- modeLogic();
- //status
- SMS_enableLineInterrupt();
- SMS_setLineCounter(126);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement