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
/* draw the tiles */
ptr = map.data;
ptmp = bitmapLoadPcx("ptmp.pcx"); // load sprite
- ma();
modexEnter();
modexPalUpdate(ptmp.palette);
screen = modexDefaultPage();
//turn this off if XT
modexWaitBorder();
}
-
-void ma()
-{
- int dos_memavail;
- __asm {
- mov bx,0ffffh\r
- mov ah,48h\r
- int 21h\r
- mov dos_memavail,bx
- }
- printf("\n%d\n", dos_memavail);
-}