From: sparky4 Date: Fri, 11 Sep 2015 15:07:16 +0000 (-0500) Subject: borland c and watcom 16 files made~ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=05b59a2be57557408dada7c2134c406c073e424c;p=16.git borland c and watcom 16 files made~ 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 --- diff --git a/16.maw b/16.maw index 420cef62..f9124aa8 100755 --- 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 diff --git a/bakapi.maw b/bakapi.maw index 4cb30bca..4527d30a 100755 --- a/bakapi.maw +++ b/bakapi.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: bakapi.exe creating a DOS executable diff --git a/exmmtest.exe b/exmmtest.exe index bf62474f..903256a0 100755 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/exmmtest.maw b/exmmtest.maw index 24b38515..d3c331b8 100755 --- a/exmmtest.maw +++ b/exmmtest.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: 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 diff --git a/fmemtest.maw b/fmemtest.maw index 6415ea74..c528829d 100755 --- a/fmemtest.maw +++ b/fmemtest.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: fmemtest.exe creating a DOS executable diff --git a/fontgfx.maw b/fontgfx.maw index b4b06381..b8b860d2 100755 --- a/fontgfx.maw +++ b/fontgfx.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: fontgfx.exe creating a DOS executable diff --git a/inputest.maw b/inputest.maw index 9d4d6dc7..b09e3177 100755 --- a/inputest.maw +++ b/inputest.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: inputest.exe creating a DOS executable diff --git a/maptest.maw b/maptest.maw index 07f0b8b5..964a3855 100755 --- a/maptest.maw +++ b/maptest.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: maptest.exe creating a DOS executable diff --git a/palettec.maw b/palettec.maw index ee1c14c9..ab3b7198 100755 --- a/palettec.maw +++ b/palettec.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: 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 diff --git a/scroll.maw b/scroll.maw index ed83ee25..d9665720 100755 --- a/scroll.maw +++ b/scroll.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: scroll.exe creating a DOS executable diff --git a/src/lib/16_ca.c b/src/lib/16_ca.c index 385db154..3b436ab5 100755 --- a/src/lib/16_ca.c +++ b/src/lib/16_ca.c @@ -1088,8 +1088,14 @@ asm mov ds,ax void CA_Startup(global_game_variables_t *gvar) { #ifdef PROFILE - unlink("profile.16"); - gvar->handle.profilehandle = open("profile.16", O_CREAT | O_WRONLY | O_TEXT); +#ifdef __BORLANDC__ + unlink("profile.16b"); + gvar->handle.profilehandle = open("profile.16b", O_CREAT | O_WRONLY | O_TEXT); +#endif +#ifdef __WATCOMC__ + unlink("profile.16w"); + gvar->handle.profilehandle = open("profile.16w", O_CREAT | O_WRONLY | O_TEXT); +#endif #endif // unlink("debug0.16"); // gvar->handle.showmemhandle = open("debug0.16", O_CREAT | O_WRONLY | O_TEXT); diff --git a/src/lib/16_hc.c b/src/lib/16_hc.c index 20a0aac8..b3bafefa 100755 --- a/src/lib/16_hc.c +++ b/src/lib/16_hc.c @@ -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) diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 1b52644a..7cf59d3d 100755 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -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; diff --git a/tsthimem.maw b/tsthimem.maw index c7ece19e..1db245a2 100755 --- a/tsthimem.maw +++ b/tsthimem.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: 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