From: sparky4 Date: Mon, 24 Nov 2014 21:33:13 +0000 (-0600) Subject: modified: scroll.c X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=68b890ff257b27b15923b6f43649dc71f4379402;p=16.git modified: scroll.c modified: scroll.exe --- diff --git a/scroll.c b/scroll.c index d2298adf..873c54b5 100644 --- a/scroll.c +++ b/scroll.c @@ -55,8 +55,6 @@ void mapDrawRow(map_view_t *mv, int tx, int ty, word y); void mapDrawCol(map_view_t *mv, int tx, int ty, word x); void animatePlayer(map_view_t *src, map_view_t *dest, /*map_view_t *top, */short d1, short d2, int x, int y, int ls, int lp, bitmap_t *bmp); -void ma(); - #define TILEWH 16 #define QUADWH (TILEWH/4) #define SPEED 4 @@ -86,7 +84,6 @@ void main() { /* draw the tiles */ ptr = map.data; ptmp = bitmapLoadPcx("ptmp.pcx"); // load sprite - ma(); modexEnter(); modexPalUpdate(ptmp.palette); screen = modexDefaultPage(); @@ -592,15 +589,3 @@ animatePlayer(map_view_t *src, map_view_t *dest, /*map_view_t *top, */short d1, //turn this off if XT modexWaitBorder(); } - -void ma() -{ - int dos_memavail; - __asm { - mov bx,0ffffh - mov ah,48h - int 21h - mov dos_memavail,bx - } - printf("\n%d\n", dos_memavail); -} diff --git a/scroll.exe b/scroll.exe index 7d982711..33f0ed4b 100644 Binary files a/scroll.exe and b/scroll.exe differ