Created
October 17, 2019 14:03
-
-
Save Godzil/c135f4a18fb32debaa7822dc850e4f8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* build: dmc.exe -mcdwu -c -o kanedatest.o kanedatest.c */ | |
#include <dos.h> | |
#include <stdio.h> | |
struct bitmap { | |
int width; | |
int height; | |
}; | |
extern struct bitmap far *spritesmind_ws; | |
struct bitmap far *getSpritesmind() | |
{ | |
unsigned int offset = FP_OFF(spritesmind_ws); | |
return (struct bitmap far *)MK_FP(0x4000, offset); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment