]> 4ch.mooo.com Git - 16.git/commitdiff
borland c and watcom 16 files made~
authorsparky4 <sparky4@cock.li>
Fri, 11 Sep 2015 15:07:16 +0000 (10:07 -0500)
committersparky4 <sparky4@cock.li>
Fri, 11 Sep 2015 15:07:16 +0000 (10:07 -0500)
modified:   16.maw
modified:   bakapi.maw
modified:   exmmtest.exe
modified:   exmmtest.maw
modified:   fmemtest.maw
modified:   fontgfx.maw
modified:   inputest.maw
modified:   maptest.maw
modified:   palettec.maw
modified:   scroll.maw
modified:   src/lib/16_ca.c
modified:   src/lib/16_hc.c
modified:   src/lib/16_mm.c
modified:   tsthimem.maw

14 files changed:
16.maw
bakapi.maw
exmmtest.exe
exmmtest.maw
fmemtest.maw
fontgfx.maw
inputest.maw
maptest.maw
palettec.maw
scroll.maw
src/lib/16_ca.c
src/lib/16_hc.c
src/lib/16_mm.c
tsthimem.maw

diff --git a/16.maw b/16.maw
index 420cef62d9e129f4a7bab95576d07b3e4492edf3..f9124aa89ece70f63d5eeb376598a4139eaf854c 100755 (executable)
--- a/16.maw
+++ b/16.maw
@@ -1,6 +1,6 @@
 Open Watcom Linker Version 1.9
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/09/11 09:57:30
+Created on:       15/09/11 10:07:12
 Executable Image: 16.exe
 creating a DOS executable
 
index 4cb30bca2fc582ab27d02b2a4f29439304419ca6..4527d30ae80bf3b99af596fb46fa3a30f5f7696c 100755 (executable)
@@ -1,6 +1,6 @@
 Open Watcom Linker Version 1.9
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/09/11 09:57:30
+Created on:       15/09/11 10:07:12
 Executable Image: bakapi.exe
 creating a DOS executable
 
index bf62474fa0a4917eb990d3a47152baf64e54e3d6..903256a0257537276167928ae54a85a3b97e83d2 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 24b38515f4aea3dd08fc483f002b637c18d7befe..d3c331b82885ca800dca98c1065d7a129573b5dd 100755 (executable)
@@ -1,6 +1,6 @@
 Open Watcom Linker Version 1.9
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/09/11 09:57:30
+Created on:       15/09/11 10:07:12
 Executable Image: exmmtest.exe
 creating a DOS executable
 
@@ -92,27 +92,27 @@ Module: 16.lib(/dos/z/16/src/lib/16_mm.c)
 098d:0442+     _aftersort
 098d:0444+     _XMSaddr
 Module: 16.lib(/dos/z/16/src/lib/16_ca.c)
-0000:304c      CA_OpenDebug_
-0000:3080      CA_CloseDebug_
-0000:309c+     CA_FarRead_
-0000:3114*     CA_FarWrite_
-0000:318c*     CA_ReadFile_
-0000:31fa      CA_LoadFile_
-0000:3290*     CAL_OptimizeNodes_
-0000:32e2      CA_Startup_
-0000:3316      CA_Shutdown_
+0000:304e      CA_OpenDebug_
+0000:3082      CA_CloseDebug_
+0000:309e+     CA_FarRead_
+0000:3116*     CA_FarWrite_
+0000:318e*     CA_ReadFile_
+0000:31fc      CA_LoadFile_
+0000:3292*     CAL_OptimizeNodes_
+0000:32e4      CA_Startup_
+0000:3318      CA_Shutdown_
 098d:0446*     _finishcachebox
 098d:0448*     _drawcachebox
 098d:044a*     _updatecachebox
 Module: /dos/fdos/watcom/lib286/dos/clibc.lib(printf.c)
-0000:3332      printf_
+0000:3334      printf_
 Module: /dos/fdos/watcom/lib286/dos/clibc.lib(bmsize.c)
-0000:335f      _bmsize_
+0000:3361      _bmsize_
 Module: /dos/fdos/watcom/lib286/dos/clibc.lib(getch.c)
-0000:3370      getch_
+0000:3372      getch_
 Module: /dos/fdos/watcom/lib286/dos/clibc.lib(ffree.c)
-0000:338a      _ffree_
-0000:338a      free_
+0000:338c      _ffree_
+0000:338c      free_
 Module: 16.lib(/dos/z/16/src/lib/16_hc.c)
 0000:357c+     LargestFreeBlock_
 0000:35fc+     _coreleft_
@@ -495,4 +495,4 @@ Module: /dos/fdos/watcom/lib286/dos/clibc.lib(clearenv.c)
 Stack size:  8000 (32768.)
 Memory size:  00011e70 (73328.)
 Entry point address: 0000:47f4
-Link time: 00:00.00
+Link time: 00:00.01
index 6415ea74593631c44670a9d7d0553dcebaa466b6..c528829d2fa82aa0cf467d11befb45c214effc44 100755 (executable)
@@ -1,6 +1,6 @@
 Open Watcom Linker Version 1.9
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/09/11 09:57:30
+Created on:       15/09/11 10:07:12
 Executable Image: fmemtest.exe
 creating a DOS executable
 
index b4b063813419b49639e3bcfaac6a963ea86d79e1..b8b860d2353abe7ce9516636d89d138a3a6a988c 100755 (executable)
@@ -1,6 +1,6 @@
 Open Watcom Linker Version 1.9
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/09/11 09:57:30
+Created on:       15/09/11 10:07:12
 Executable Image: fontgfx.exe
 creating a DOS executable
 
index 9d4d6dc79b50306128b760a916f42ea8d579d34c..b09e3177b539943891fd5da19c14ec62cba61b01 100755 (executable)
@@ -1,6 +1,6 @@
 Open Watcom Linker Version 1.9
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/09/11 09:57:30
+Created on:       15/09/11 10:07:12
 Executable Image: inputest.exe
 creating a DOS executable
 
index 07f0b8b50497dd3ea822f7178fbe31689633fc17..964a385504e0cc22f81fd20960dab5ca227d0388 100755 (executable)
@@ -1,6 +1,6 @@
 Open Watcom Linker Version 1.9
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/09/11 09:57:30
+Created on:       15/09/11 10:07:12
 Executable Image: maptest.exe
 creating a DOS executable
 
index ee1c14c94384a2c5b10c935e09cdcac6775ce04f..ab3b7198ff5630c245fadb63056f088a30e8fb12 100755 (executable)
@@ -1,6 +1,6 @@
 Open Watcom Linker Version 1.9
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/09/11 09:57:30
+Created on:       15/09/11 10:07:12
 Executable Image: palettec.exe
 creating a DOS executable
 
@@ -395,4 +395,4 @@ Module: /dos/fdos/watcom/lib286/dos/clibc.lib(bexpand.c)
 Stack size:  8000 (32768.)
 Memory size:  e570 (58736.)
 Entry point address: 0000:17da
-Link time: 00:00.01
+Link time: 00:00.00
index ed83ee2571a9610261ab20b1050faaf7a8a8655c..d96657208efc8330fdedabef4a8d505300aa5f9d 100755 (executable)
@@ -1,6 +1,6 @@
 Open Watcom Linker Version 1.9
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/09/11 09:57:30
+Created on:       15/09/11 10:07:12
 Executable Image: scroll.exe
 creating a DOS executable
 
index 385db154248156f00d414d784b3b733087281537..3b436ab5c49e95070c60562fe4f87f553239440b 100755 (executable)
@@ -1088,8 +1088,14 @@ asm      mov     ds,ax
 void CA_Startup(global_game_variables_t *gvar)\r
 {\r
 #ifdef PROFILE\r
-       unlink("profile.16");\r
-       gvar->handle.profilehandle = open("profile.16", O_CREAT | O_WRONLY | O_TEXT);\r
+#ifdef __BORLANDC__\r
+       unlink("profile.16b");\r
+       gvar->handle.profilehandle = open("profile.16b", O_CREAT | O_WRONLY | O_TEXT);\r
+#endif\r
+#ifdef __WATCOMC__\r
+       unlink("profile.16w");\r
+       gvar->handle.profilehandle = open("profile.16w", O_CREAT | O_WRONLY | O_TEXT);\r
+#endif\r
 #endif\r
 //     unlink("debug0.16");\r
 //     gvar->handle.showmemhandle = open("debug0.16", O_CREAT | O_WRONLY | O_TEXT);\r
index 20a0aac820b6122ca440bba72b7db2f018488427..b3bafefa5e1241080e597b3ed3ef90635766cc00 100755 (executable)
@@ -521,8 +521,14 @@ void heapstat0(int heap_status)
 */
 void HC_OpenDebug(global_game_variables_t *gvar)
 {
-       unlink("heap.16");
-       gvar->handle.heaphandle = open("heap.16", O_CREAT | O_WRONLY | O_TEXT);
+#ifdef __BORLANDC__
+       unlink("heap.16b");
+       gvar->handle.heaphandle = open("heap.16b", O_CREAT | O_WRONLY | O_TEXT);
+#endif
+#ifdef __WATCOMC__
+       unlink("heap.16w");
+       gvar->handle.heaphandle = open("heap.16w", O_CREAT | O_WRONLY | O_TEXT);
+#endif
 }
 
 void HC_CloseDebug(global_game_variables_t *gvar)
index 1b52644a00447a8cc253a0369c3f02c2cde7f64f..7cf59d3dfa3033db30a596e6c627ce33b3d2feb9 100755 (executable)
@@ -1467,7 +1467,12 @@ void MM_DumpData(mminfo_t *mm)
        FILE    *dumpfile;
 
        free(mm->nearheap);
-       dumpfile = fopen ("mmdump.16","w");
+#ifdef __BORLANDC__
+               dumpfile = fopen ("mmdump.16b","w");
+#endif
+#ifdef __WATCOMC__
+               dumpfile = fopen ("mmdump.16w","w");
+#endif
        if (!dumpfile){
                printf("MM_DumpData: Couldn't open MMDUMP.16!\n");
                return;
index c7ece19e0185d14cf0f16cda09763c18f2655d83..1db245a2f488dafa38c8fc3b0ea1465473ae1eb3 100755 (executable)
@@ -1,6 +1,6 @@
 Open Watcom Linker Version 1.9
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/09/11 09:57:30
+Created on:       15/09/11 10:07:12
 Executable Image: tsthimem.exe
 creating a DOS executable
 
@@ -384,4 +384,4 @@ Module: /dos/fdos/watcom/lib286/dos/clibc.lib(doserror)
 Stack size:  8000 (32768.)
 Memory size:  d0b0 (53424.)
 Entry point address: 0000:168e
-Link time: 00:00.00
+Link time: 00:00.01