X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fpcxtest2.c;h=e4279d60602645a13b0db4e4e66cb7d56af2c9f6;hb=d280f25c9633d068fd3e106f2418e59ace6da2f1;hp=b5fbbdad420aa60dfc95107827a5f8353b022893;hpb=bba7fa83186d755c585791acec1db6c6d58164db;p=16.git diff --git a/src/pcxtest2.c b/src/pcxtest2.c index b5fbbdad..e4279d60 100755 --- a/src/pcxtest2.c +++ b/src/pcxtest2.c @@ -27,8 +27,6 @@ #include "src/lib/bitmap.h" #include "src/lib/planar.h" -word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ - /* void DrawPBuf(page_t *page, int x, int y, planar_buf_t *p, byte sprite) @@ -79,6 +77,11 @@ void main() { /* clear and draw one sprite and one bitmap */ modexClearRegion(&page, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 1); + /* update display~*/ + page.dx+=16; + page.dy+=16; + modexShowPage(&page); + /* non sprite comparison */ start = *clockw; //for(i=0; i<100 ;i++) {