]> 4ch.mooo.com Git - 16.git/commitdiff
EMS libray from arachne added
authorsparky4 <sparky4@lappy4.4ch.mooo.com>
Wed, 10 Dec 2014 18:57:37 +0000 (12:57 -0600)
committersparky4 <sparky4@lappy4.4ch.mooo.com>
Wed, 10 Dec 2014 18:57:37 +0000 (12:57 -0600)
modified:   scroll.exe
modified:   src/scroll.c

scroll.exe
src/scroll.c

index ef36b5ca68134e6df468088bac40f888f48eef0d..44700a0e596721abaf1ecb429c65ac1be8fd3366 100644 (file)
Binary files a/scroll.exe and b/scroll.exe differ
index 94ad618369966ce322d41e17a4d3ae6f96c7f311..109226602a1a933f7a39ece5cc2eb1e7388cc88d 100644 (file)
@@ -98,6 +98,11 @@ void main() {
        //npctmp = bitmapLoadPcx("ptmp1.pcx"); // load sprite\r
 
        if(isEMS()) printf("%d\n", coretotalEMS());
+       if(isEMS())
+       {
+               int emmhandle = alloc_emem(1);
+               printf("%d\n", emmhandle);
+       }
 \r
        /* save the palette */\r
        pal  = modexNewPal();\r