deleted: src/lib/exmm/BAKAPEE.EXE
deleted: src/lib/exmm/bakapee.c
+++ /dev/null
-#include <stdio.h>
-#include <stdlib.h>\r
-#include <mem.h>
-
-#include "emmret.h"\r
-#include "emmsize.h"\r
-\r
-#define CMM 0\r
-#define EMM 1
-
-static int\r
-EMReady(void)\r
-{
- int EMSready;\r
- _asm {\r
- mov ah,0x40 /* get EM Manager Status */\r
- int 0x67
- or ah,ah\r
- jns Ready /* returns 80, 81, or 84 hex on error */
- mov EMSready,FALSE
- jmp End
- Ready:
- mov EMSready,TRUE
- End:
- }\r
- return(EMSready);\r
-\r
-//Ready:\r
-// return(TRUE);\r
-} /* End of EMReady() */
-
-static int\r
-EMVer(void)\r
-{
- int EMSver;\r
- _asm {
- mov ah,0x46\r
- int 0x67
- mov EMSver,ax\r
- }
- return(EMSver);\r
-}
-
-int main()
-{
- int pee;
- int rpee;
- pee=EMVer();
- rpee=EMReady();
- printf("%x\n", pee);
- printf("%x\n", rpee);
- return 0;
-}