#include "pump.h" PRIVATE byte *image; PRIVATE byte pal[768]; #define NSECS 2 #define SHOW_TIME 1 void SHOW2_Do(void) { memset(0xA0000, 0, 64000); if (JCLIB_Load("image2.pal", pal, 768) != 768) { BASE_Abort("load image.pal"); } image = GL_WorkScreen; if (JCLIB_Load("image2.pix", image, 64000) != 64000) { BASE_Abort("load image.pix"); } VBL_ZeroPalette(); VBL_VSync(0); VBL_VSync(1); memcpy(0xA0000, image, 64000); VBL_DestPal = pal; VBL_FadeMode = VBL_FADEFAST; VBL_FadeStartColor = 0; VBL_FadeNColors = 256; VBL_FadePos = 1; VBL_FadeSpeed = 1; while (!LLK_SpacePressed) { if (!VBL_FadePos) break; } }