From: sparky4 Date: Sun, 17 Apr 2016 19:15:29 +0000 (-0500) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=fcfd2c8046158ae2eea870d09e99e44d7d5e2009;p=16.git wwww --- diff --git a/src/bakapi.c b/src/bakapi.c index 6d04e547..33388702 100755 --- a/src/bakapi.c +++ b/src/bakapi.c @@ -200,6 +200,7 @@ main(int argc, char *argvar[]) VGAmodeX(0, 0, &gvar); // user imput switch //fprintf(stderr, "xx=%d yy=%d tile=%d\n", bakapee.xx, bakapee.yy, bakapee.tile); + fprintf(stderr, "dx=%d dy=%d ", gvar.video.page[0].dx, gvar.video.page[0].dy); printf("Tiled mode is "); switch (bakapee.tile) { @@ -302,8 +303,8 @@ pee: // xpos+=xdir; // ypos+=ydir; -// if( (xpos>(VW-gvar.video.page[0].width-1)) || (xpos<1)){xdir=-xdir;} -// if( (ypos>(BH-gvar.video.page[0].height-1)) || (ypos<1)){ydir=-ydir;} +// if( (xpos>(gvar.video.page[0].sw-gvar.video.page[0].width-1)) || (xpos<1)){xdir=-xdir;} +// if( (ypos>(gvar.video.page[0].sh-gvar.video.page[0].height-1)) || (ypos<1)){ydir=-ydir;} // ch=getch(); if(ch==0x71)break; // 'q' if(ch==0x1b)break; // 'ESC'