From: sparky4 Date: Sat, 16 May 2015 02:05:01 +0000 (-0500) Subject: cleaning up~ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=fb2139643e9469568e7777f56273f6a71ea50f04;p=16.git cleaning up~ deleted: src/lib/exmm/BAKAPEE.EXE deleted: src/lib/exmm/bakapee.c --- diff --git a/src/lib/exmm/BAKAPEE.EXE b/src/lib/exmm/BAKAPEE.EXE deleted file mode 100644 index 26069593..00000000 Binary files a/src/lib/exmm/BAKAPEE.EXE and /dev/null differ diff --git a/src/lib/exmm/bakapee.c b/src/lib/exmm/bakapee.c deleted file mode 100644 index 36fd1e15..00000000 --- a/src/lib/exmm/bakapee.c +++ /dev/null @@ -1,53 +0,0 @@ -#include -#include -#include - -#include "emmret.h" -#include "emmsize.h" - -#define CMM 0 -#define EMM 1 - -static int -EMReady(void) -{ - int EMSready; - _asm { - mov ah,0x40 /* get EM Manager Status */ - int 0x67 - or ah,ah - jns Ready /* returns 80, 81, or 84 hex on error */ - mov EMSready,FALSE - jmp End - Ready: - mov EMSready,TRUE - End: - } - return(EMSready); - -//Ready: -// return(TRUE); -} /* End of EMReady() */ - -static int -EMVer(void) -{ - int EMSver; - _asm { - mov ah,0x46 - int 0x67 - mov EMSver,ax - } - return(EMSver); -} - -int main() -{ - int pee; - int rpee; - pee=EMVer(); - rpee=EMReady(); - printf("%x\n", pee); - printf("%x\n", rpee); - return 0; -}