From: sparky4 Date: Wed, 10 Dec 2014 18:57:37 +0000 (-0600) Subject: EMS libray from arachne added X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=04e7b3c96fd79206db61f87d2e0c049369b21d68;p=16.git EMS libray from arachne added modified: scroll.exe modified: src/scroll.c --- diff --git a/scroll.exe b/scroll.exe index ef36b5ca..44700a0e 100644 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/src/scroll.c b/src/scroll.c index 94ad6183..10922660 100644 --- a/src/scroll.c +++ b/src/scroll.c @@ -98,6 +98,11 @@ void main() { //npctmp = bitmapLoadPcx("ptmp1.pcx"); // load sprite if(isEMS()) printf("%d\n", coretotalEMS()); + if(isEMS()) + { + int emmhandle = alloc_emem(1); + printf("%d\n", emmhandle); + } /* save the palette */ pal = modexNewPal();