From: sparky4 Date: Thu, 11 Jun 2015 18:07:25 +0000 (-0500) Subject: scroll.exe is fully fixed!!!! wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=5cafb19d59a3d4eaddc6d387c43c38fc494b87da;p=16.git scroll.exe is fully fixed!!!! wwww modified: maptest.exe modified: pcxtest.exe modified: scroll.exe modified: src/lib/modex16.h modified: src/scroll.c modified: test.exe modified: test2.exe --- diff --git a/maptest.exe b/maptest.exe index aed2b581..eea0ca43 100644 Binary files a/maptest.exe and b/maptest.exe differ diff --git a/pcxtest.exe b/pcxtest.exe index 4c4931e5..b989fdb2 100644 Binary files a/pcxtest.exe and b/pcxtest.exe differ diff --git a/scroll.exe b/scroll.exe index d2450cbb..17c02db8 100644 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/src/lib/modex16.h b/src/lib/modex16.h index 7a0f24d6..755a11c8 100644 --- a/src/lib/modex16.h +++ b/src/lib/modex16.h @@ -14,7 +14,7 @@ #define SELECT_ALL_PLANES() outpw(0x03c4, 0xff02) typedef struct { - byte /*huge*/* data; /* the data for the page */ + byte far* data; /* the data for the page */ word dx; /* col we are viewing on the virtual screen */ word dy; /* row we are viewing on the virtual screen */ word width; /* virtual width of the page */ diff --git a/src/scroll.c b/src/scroll.c index 06b77bdf..b30c74f0 100644 --- a/src/scroll.c +++ b/src/scroll.c @@ -875,7 +875,7 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y) { { rx = (((i-1) % ((t->data->width)/t->tileWidth)) * t->tileWidth); ry = (((i-1) / ((t->data->height)/t->tileHeight)) * t->tileHeight); - printf("i=%d\n", i); +////0000 printf("i=%d\n", i); //mxPutTile(t->data, x, y, t->tileWidth, t->tileHeight); modexDrawBmpRegion(page, x, y, rx, ry, t->tileWidth, t->tileHeight, (t->data)); } diff --git a/test.exe b/test.exe index c66d9352..24a89633 100644 Binary files a/test.exe and b/test.exe differ diff --git a/test2.exe b/test2.exe index e60fd235..a69346ab 100644 Binary files a/test2.exe and b/test2.exe differ