page_t screen;
word key,d,xpos,ypos,xdir,ydir;
int ch=0x0;
page_t screen;
word key,d,xpos,ypos,xdir,ydir;
int ch=0x0;
screen = modexDefaultPage();
screen.width += (TILEWH*2);
screen.height += (TILEWH*2);
screen = modexDefaultPage();
screen.width += (TILEWH*2);
screen.height += (TILEWH*2);
//modexDrawBmp(VGA, 0, 0, &bmp, 0); //____
//getch(); //____
//modexDrawBmp(VGA, 0, 0, &bmp, 0); //____
//getch(); //____
- printf("Enter 1, 2, 3, 4, or 6 to run a screensaver, or enter 0 to quit.¥n", getch()); // prompt the user
+ printf("Enter 1, 2, 3, 4, or 6 to run a screensaver, or enter 0 to quit.\n", getch()); // prompt the user
- if(key==0) d=0;
- setVGAmodeX(&gamevars, 1);
+ if(key==0){ d=0; }else{
+ screen = modexDefaultPage();
+ screen.width += (TILEWH*2);
+ screen.height += (TILEWH*2);
+ VGAmodeX(1, &gvar);
+ modexShowPage(&screen);
+ }
mxOutText(xpos+1, ypos+SCREEN_HEIGHT-24, "| |$line3");
mxOutText(xpos+1, ypos+SCREEN_HEIGHT-16, "| |$line4");
mxOutText(xpos+1, ypos+SCREEN_HEIGHT-8, "========================================");
mxOutText(xpos+1, ypos+SCREEN_HEIGHT-24, "| |$line3");
mxOutText(xpos+1, ypos+SCREEN_HEIGHT-16, "| |$line4");
mxOutText(xpos+1, ypos+SCREEN_HEIGHT-8, "========================================");
- mxFillBox(xpos+QUADWH, ypos+QUADWH+(TILEWH*12), TILEWH*2, TILEWH*2, 9, OP_SET); //portriat‾
+ mxFillBox(xpos+QUADWH, ypos+QUADWH+(TILEWH*12), TILEWH*2, TILEWH*2, 9, OP_SET); //portriat~
getch();
mxBitBlt(0, BS, SCREEN_WIDTH, TILEWH*BUFFMX, xpos, ypos+(TILEWH*12)); //copy background
getch();++++*/
getch();
mxBitBlt(0, BS, SCREEN_WIDTH, TILEWH*BUFFMX, xpos, ypos+(TILEWH*12)); //copy background
getch();++++*/