]> 4ch.mooo.com Git - 16.git/commitdiff
16_pm compiles on both compilers wwww
authorsparky4 <sparky4@cock.li>
Thu, 22 Sep 2016 19:00:38 +0000 (14:00 -0500)
committersparky4 <sparky4@cock.li>
Thu, 22 Sep 2016 19:00:38 +0000 (14:00 -0500)
bcexmm.dsk
bcexmm.exe [new file with mode: 0755]
bcexmm.prj
src/lib/16_pm.c

index 81894b494a595c5452c0980cd68b4b69c5f98441..5e23aeca0f4f0e9c69ea5f9461e07cbf8379cb87 100755 (executable)
Binary files a/bcexmm.dsk and b/bcexmm.dsk differ
diff --git a/bcexmm.exe b/bcexmm.exe
new file mode 100755 (executable)
index 0000000..88bb916
Binary files /dev/null and b/bcexmm.exe differ
index a9e71b315010eccf1cc980a91a5b0164d944cf71..410c914e87a151daf94083b8520ce7956c0d2a8a 100755 (executable)
Binary files a/bcexmm.prj and b/bcexmm.prj differ
index ea11ac488cca2b2dbc659ed4470f883268dd0763..139b72c8c9701b270a0dc307f9a5d523b66efb12 100755 (executable)
@@ -151,8 +151,13 @@ PML_StartupEMS(global_game_variables_t *gvar)
        __asm {\r
                jnc     gothandle\r
                mov     errorflag,1\r
+#ifdef __BORLANDC__\r
+       }\r
+#endif\r
                gothandle:\r
+#ifdef __WATCOMC__\r
        }\r
+#endif\r
        if(errorflag)\r
                goto error;\r
 \r
@@ -163,8 +168,13 @@ PML_StartupEMS(global_game_variables_t *gvar)
        __asm {\r
                jnc     gotinfo\r
                mov     errorflag,1\r
+#ifdef __BORLANDC__\r
+       }\r
+#endif\r
                gotinfo:\r
+#ifdef __WATCOMC__\r
        }\r
+#endif\r
        if(errorflag)\r
                goto error;\r
 \r
@@ -180,8 +190,13 @@ __asm      and     dx,0x80
                jmp     end\r
                error:\r
                mov     errorflag,1\r
+#ifdef __BORLANDC__\r
+       }\r
+#endif\r
                end:\r
+#ifdef __WATCOMC__\r
        }\r
+#endif\r
        if (!_AL)\r
                goto error;\r
 \r
@@ -328,7 +343,9 @@ error:
 void\r
 PML_XMSCopy(boolean toxms,byte far *addr,word xmspage,word length, global_game_variables_t *gvar)\r
 {\r
+#ifdef __WATCOMC__\r
        XMSD;\r
+#endif\r
        dword   xoffset;\r
        struct\r
        {\r