]> 4ch.mooo.com Git - 16.git/commitdiff
ww
authorsparky4 <sparky4@cock.li>
Thu, 22 Oct 2015 16:12:45 +0000 (11:12 -0500)
committersparky4 <sparky4@cock.li>
Thu, 22 Oct 2015 16:12:45 +0000 (11:12 -0500)
21 files changed:
16.exe
16.map
bakapi.map
exmmtest.exe
exmmtest.map
fmemtest.map
fontgfx.map
fonttest.map
inputest.map
maptest.map
palettec.map
palettel.map
pcxtest.map
pcxtest2.map
scroll.exe
scroll.map
src/test.c
test.exe
test.map
test2.map
vgmtest.map

diff --git a/16.exe b/16.exe
index f03c4cbf212f46697e772ded9a79fca6d018fed3..2ea2ad49eccf09ff9d55add51fb971fc8fe76a4e 100755 (executable)
Binary files a/16.exe and b/16.exe differ
diff --git a/16.map b/16.map
index 3f2225e99c3bf77040c956962ff8ec26945ce1a7..f90f9605d67e6271e219c6e5360a565e6442fc50 100755 (executable)
--- a/16.map
+++ b/16.map
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:06
 Executable Image: 16.exe
 creating a DOS executable
 
@@ -664,4 +664,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  00022c20 (142368.)
 Entry point address: 08ed:0072
-Link time: 00:00.18
+Link time: 00:00.38
index 2b6cd4282663e746f93a7b7ba492df5c38f7214f..0dc8b3ce0067816756cfd74e7ec9950116df2dbc 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:06
 Executable Image: bakapi.exe
 creating a DOS executable
 
@@ -676,4 +676,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  00023520 (144672.)
 Entry point address: 07d7:022c
-Link time: 00:00.47
+Link time: 00:00.56
index 91aec7b48ac75be76256a322d2102d7abe9fd862..cd4bc0dbf3e620c607cb0bab43d5f847c86b5e7a 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index a79fe49d6d01e402ae35751985f4d4fc9a30a470..4e9ef830e01852d4b68df609339252cdadeaa5c9 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:06
 Executable Image: exmmtest.exe
 creating a DOS executable
 
@@ -577,4 +577,4 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
 Stack size:  dac0 (56000.)
 Memory size:  0001d620 (120352.)
 Entry point address: 0000:8094
-Link time: 00:00.09
+Link time: 00:00.38
index 12ec3473b4ebf6261a06daa28085634c4306b45e..c1dd963604cdba56ba5d2f440711cdd1bec69f7c 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: fmemtest.exe
 creating a DOS executable
 
@@ -576,4 +576,4 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
 Stack size:  dac0 (56000.)
 Memory size:  0001d3e0 (119776.)
 Entry point address: 0000:7e06
-Link time: 00:00.43
+Link time: 00:00.77
index e14df2e08907216a3aadbd9ecad223fe553016d4..c35b0e4ce5d97d25de799c0cfde2bb793890d309 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: fontgfx.exe
 creating a DOS executable
 
@@ -638,4 +638,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  00021030 (135216.)
 Entry point address: 0000:7cf8
-Link time: 00:00.64
+Link time: 00:00.79
index 3c588119f8ac79b41c5fd16c78c936acd55a8f32..ca96938bd611d8f3481704179355ac2cb5addb5b 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: fonttest.exe
 creating a DOS executable
 
@@ -588,4 +588,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  0001d960 (121184.)
 Entry point address: 0000:7d82
-Link time: 00:00.13
+Link time: 00:00.07
index c24f1fa55704c15939aa64f76dcc817b1c507bdc..a3bfaf131e05944d4b55fd1ad6658a61e6957983 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: inputest.exe
 creating a DOS executable
 
@@ -572,4 +572,4 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
 Stack size:  dac0 (56000.)
 Memory size:  0001d1c0 (119232.)
 Entry point address: 0000:7ae2
-Link time: 00:00.71
+Link time: 00:00.72
index 668cb36d7d48b37955ed9326ff05f4ba88edb2ff..6224158a8304a4a0a2bd50d4beec6aea9112b594 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: maptest.exe
 creating a DOS executable
 
@@ -658,4 +658,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  000229b0 (141744.)
 Entry point address: 08e3:0072
-Link time: 00:00.27
+Link time: 00:00.48
index 36a137c724cadeefc14841e115f7c32462a8cc88..533ffc9bce9b83ffb4aa556a24d1cb4bc5e6771f 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: palettec.exe
 creating a DOS executable
 
@@ -636,4 +636,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  00020ab0 (133808.)
 Entry point address: 0000:7cd6
-Link time: 00:00.46
+Link time: 00:00.54
index 31f85c45181e1cc2efa88637babc274279e672ae..449a64108c8a7b408c7ad07a4ccafe19a7da2091 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: palettel.exe
 creating a DOS executable
 
@@ -641,4 +641,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  00020b60 (133984.)
 Entry point address: 0000:7d80
-Link time: 00:00.86
+Link time: 00:00.70
index 3c9df5c0a9403601744798c45fe32c7186283a50..0e187bdf52b599f9604b6a9e099ca5716e814334 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: pcxtest.exe
 creating a DOS executable
 
@@ -507,4 +507,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  0001a5a0 (107936.)
 Entry point address: 0000:03d6
-Link time: 00:00.44
+Link time: 00:00.31
index fbb24b6f9bdbda577b2736bc1c023c28478819de..a0312f087cac8dbe34e59d7343f5cc6d242fa904 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: pcxtest2.exe
 creating a DOS executable
 
@@ -507,4 +507,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  0001a5e0 (108000.)
 Entry point address: 0000:0416
-Link time: 00:00.72
+Link time: 00:00.25
index 0dc0a4699aac10f54492b64a4e5672e0c45d6f80..f353443c9b0ba8d4f15121f320014fffd88be33e 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index b5d311f32f263de45877cbe60b9ca15daf055e56..b64dacd86129ae228c13c469f07cd1a22da11c11 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: scroll.exe
 creating a DOS executable
 
@@ -740,4 +740,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  00029d80 (171392.)
 Entry point address: 09cc:037c
-Link time: 00:00.20
+Link time: 00:00.25
index 21b4d325171010a37cfbc4b448516be6c86b375a..7ff2cc3850aacd91339cdb4bf1576fb4273c8539 100755 (executable)
 \r
 global_game_variables_t gvar;\r
 \r
-void main() {\r
+void main(int argc, char *argv[])\r
+{\r
        int i, j;\r
        word start, end;\r
-       byte *pal, *pal2=NULL;\r
+       byte *pal, *pal2;\r
+       sword bakapee;\r
+\r
+       //argument\r
+       if(argv[1]) bakapee = atoi(argv[1]);\r
+       else bakapee = 1;\r
 \r
        /* load our palette */\r
        modexLoadPalFile("data/default.pal", &pal2);\r
@@ -39,7 +45,7 @@ void main() {
        modexFadeOff(1, pal);\r
        modexPalBlack();\r
 \r
-       VGAmodeX(1, &gvar);\r
+       VGAmodeX(bakapee, &gvar);\r
        modexPalBlack();\r
 \r
        /* set up the page, but with 16 pixels on all borders in offscreen mem */\r
@@ -59,7 +65,6 @@ void main() {
        /* fade in */\r
        modexFadeOn(1, pal2);\r
 \r
-\r
        start = *clockw;\r
        for(i=0; i<5; i++) {\r
        /* go right */\r
index af565d82b7493f6c833a94e1ba520bae9d60e243..d9da451772ca8ddd5756b6165bff662d4e0ae919 100755 (executable)
Binary files a/test.exe and b/test.exe differ
index 83676534b52e7f4f8560d37a9220bd4efa60e082..b72511041463b1a7d96f4bd4eaad7385ce368902 100755 (executable)
--- a/test.map
+++ b/test.map
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: test.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0846:0000            0000e8b0
+DGROUP                          088d:0000            0000e9d0
 
 
 
@@ -24,26 +24,26 @@ DGROUP                          0846:0000            0000e8b0
 Segment                Class          Group          Address         Size
 =======                =====          =====          =======         ====
 
-test_TEXT              CODE           AUTO           0000:0000       00000355
-_TEXT                  CODE           AUTO           0000:0360       00005a3d
-modex16_TEXT           CODE           AUTO           0000:5da0       000025b0
-16text_TEXT            CODE           AUTO           0000:8350       0000010d
-FAR_DATA               FAR_DATA       AUTO           0845:000d       00000000
-_NULL                  BEGDATA        DGROUP         0846:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         0848:0000       00000002
-CONST                  DATA           DGROUP         0848:0002       00000076
-CONST2                 DATA           DGROUP         084f:0008       00000000
-_DATA                  DATA           DGROUP         0850:0000       00000234
-XIB                    DATA           DGROUP         0873:0004       00000000
-XI                     DATA           DGROUP         0873:0004       00000018
-XIE                    DATA           DGROUP         0874:000c       00000000
-YIB                    DATA           DGROUP         0874:000c       00000000
-YI                     DATA           DGROUP         0874:000c       0000000c
-YIE                    DATA           DGROUP         0875:0008       00000000
-STRINGS                DATA           DGROUP         0875:0008       00000000
-DATA                   DATA           DGROUP         0875:0008       00000000
-_BSS                   BSS            DGROUP         0876:0000       00000aeb
-STACK                  STACK          DGROUP         0925:0000       0000dac0
+test_TEXT              CODE           AUTO           0000:0000       00000372
+_TEXT                  CODE           AUTO           0000:0380       00005e8f
+modex16_TEXT           CODE           AUTO           0000:6210       000025b0
+16text_TEXT            CODE           AUTO           0000:87c0       0000010d
+FAR_DATA               FAR_DATA       AUTO           088c:000d       00000000
+_NULL                  BEGDATA        DGROUP         088d:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         088f:0000       00000002
+CONST                  DATA           DGROUP         088f:0002       00000076
+CONST2                 DATA           DGROUP         0896:0008       00000102
+_DATA                  DATA           DGROUP         08a7:0000       00000234
+XIB                    DATA           DGROUP         08ca:0004       00000000
+XI                     DATA           DGROUP         08ca:0004       0000001e
+XIE                    DATA           DGROUP         08cc:0002       00000000
+YIB                    DATA           DGROUP         08cc:0002       00000000
+YI                     DATA           DGROUP         08cc:0002       00000012
+YIE                    DATA           DGROUP         08cd:0004       00000000
+STRINGS                DATA           DGROUP         08cd:0004       00000000
+DATA                   DATA           DGROUP         08cd:0004       00000000
+_BSS                   BSS            DGROUP         08ce:0000       00000afd
+STACK                  STACK          DGROUP         097e:0000       0000dac0
 
 
                         +----------------+
@@ -58,341 +58,356 @@ Address        Symbol
 
 Module: test.o(/dos/z/16/src/test.c)
 0000:009a      main_
-0846:0300+     _gvar
+088d:0410+     _gvar
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
-0000:0365      __STK
-0000:0385*     __STKOVERFLOW_
-Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
-0000:5fe0      VGAmodeX_
-0000:6072+     vgaGetMode_
-0000:60b2+     modexEnter_
-0000:6332*     modexLeave_
-0000:634a+     modexsetBaseXMode_
-0000:6388      modexDefaultPage_
-0000:6468      modexNextPage_
-0000:6534*     modexNextPageFlexibleSize_
-0000:6602      modexShowPage_
-0000:66fe*     modexPanPage_
-0000:674e*     modexSelectPlane_
-0000:6772      modexClearRegion_
-0000:688a*     oldDrawBmp_
-0000:69f0*     CDrawBmp_
-0000:6b54*     modexDrawBmp_
-0000:6bba+     modexDrawBmpRegion_
-0000:6d24*     modexDrawPlanarBuf_
-0000:6d42*     modexDrawSprite_
-0000:6da8+     modexDrawSpriteRegion_
-0000:6f20*     modexCopyPageRegion_
-0000:708a      modexFadeOn_
-0000:70ba      modexFadeOff_
-0000:70e8*     modexFlashOn_
-0000:7116*     modexFlashOff_
-0000:71e6      modexPalSave_
-0000:723c      modexNewPal_
-0000:728c      modexLoadPalFile_
-0000:736e*     modexSavePalFile_
-0000:73e6      modexPalBlack_
-0000:7410*     modexPalWhite_
-0000:743a+     modexPalUpdate_
-0000:79aa+     modexPalUpdate1_
-0000:7a24*     modexPalUpdate0_
-0000:7a70*     modexPalOverscan_
-0000:7a94+     chkcolor_
-0000:7dac+     modexputPixel_
-0000:7e3a*     modexgetPixel_
-0000:7ec0*     modexhlin_
-0000:7f44*     modexprint_
-0000:80de*     modexprintbig_
-0000:825a*     pdump_
-0000:82ba*     cls_
-0000:8328+     modexWaitBorder_
-0846:00b4+     _VGA
+0000:0385      __STK
+0000:03a5*     __STKOVERFLOW_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
-0000:03a9      __PIA
-0000:03a2*     __PIS
+0000:03c9      __PIA
+0000:03c2*     __PIS
+Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
+0000:6450      VGAmodeX_
+0000:64e2+     vgaGetMode_
+0000:6522+     modexEnter_
+0000:67a2*     modexLeave_
+0000:67ba+     modexsetBaseXMode_
+0000:67f8      modexDefaultPage_
+0000:68d8      modexNextPage_
+0000:69a4*     modexNextPageFlexibleSize_
+0000:6a72      modexShowPage_
+0000:6b6e*     modexPanPage_
+0000:6bbe*     modexSelectPlane_
+0000:6be2      modexClearRegion_
+0000:6cfa*     oldDrawBmp_
+0000:6e60*     CDrawBmp_
+0000:6fc4*     modexDrawBmp_
+0000:702a+     modexDrawBmpRegion_
+0000:7194*     modexDrawPlanarBuf_
+0000:71b2*     modexDrawSprite_
+0000:7218+     modexDrawSpriteRegion_
+0000:7390*     modexCopyPageRegion_
+0000:74fa      modexFadeOn_
+0000:752a      modexFadeOff_
+0000:7558*     modexFlashOn_
+0000:7586*     modexFlashOff_
+0000:7656      modexPalSave_
+0000:76ac      modexNewPal_
+0000:76fc      modexLoadPalFile_
+0000:77de*     modexSavePalFile_
+0000:7856      modexPalBlack_
+0000:7880*     modexPalWhite_
+0000:78aa+     modexPalUpdate_
+0000:7e1a+     modexPalUpdate1_
+0000:7e94*     modexPalUpdate0_
+0000:7ee0*     modexPalOverscan_
+0000:7f04+     chkcolor_
+0000:821c+     modexputPixel_
+0000:82aa*     modexgetPixel_
+0000:8330*     modexhlin_
+0000:83b4*     modexprint_
+0000:854e*     modexprintbig_
+0000:86ca*     pdump_
+0000:872a*     cls_
+0000:8798+     modexWaitBorder_
+088d:01b4+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
+0000:03e0      atoi_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-0846:0000*     __nullarea
-0846:00c8*     __ovlflag
-0846:00c9*     __intno
-0846:00ca*     __ovlvec
-0000:03c0      _cstart_
-0000:0493*     _Not_Enough_Memory_
-0000:05c5      __exit_
-0000:05e4      __do_exit_with_msg__
-0000:0641      __GETDS
+088d:0000*     __nullarea
+088d:01c8*     __ovlflag
+088d:01c9*     __intno
+088d:01ca*     __ovlvec
+0000:047c      _cstart_
+0000:054f*     _Not_Enough_Memory_
+0000:0681      __exit_
+0000:06a0      __do_exit_with_msg__
+0000:06fd      __GETDS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
-0000:064c      _big_code_
-0000:064c*     CodeModelMismatch
+0000:0708      _big_code_
+0000:0708*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+088d:0dc8      __argv
+088d:0dcc      ___argv
+088d:0dd0      __argc
+088d:0dd2      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
-0000:064c*     __exit_with_msg_
-0000:0651      __fatal_runtime_error_
+0000:0708*     __exit_with_msg_
+0000:070d      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-0846:00ce      __curbrk
-0846:00d6      __STACKLOW
-0846:00d8      __STACKTOP
-0846:00da      __cbyte
-0846:00dc      __child
-0846:00de      __no87
-0846:00eb      ___FPE_handler
-0846:00d0      __psp
-0846:00df      __get_ovl_stack
-0846:00e3      __restore_ovl_stack
-0846:00e7      __close_ovl_file
-0846:00ef      __LpCmdLine
-0846:00f3      __LpPgmName
-0846:00d2      __osmajor
-0846:00d3      __osminor
-0846:00d4      __osmode
-0846:00d5      __HShift
+088d:01ce      __curbrk
+088d:01d6      __STACKLOW
+088d:01d8      __STACKTOP
+088d:01da      __cbyte
+088d:01dc      __child
+088d:01de      __no87
+088d:01eb      ___FPE_handler
+088d:01d0      __psp
+088d:01df      __get_ovl_stack
+088d:01e3      __restore_ovl_stack
+088d:01e7      __close_ovl_file
+088d:01ef      __LpCmdLine
+088d:01f3      __LpPgmName
+088d:01d2      __osmajor
+088d:01d3      __osminor
+088d:01d4      __osmode
+088d:01d5      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
-0000:0670+     int86x_
-0000:07f3      int86_
+0000:072c+     int86x_
+0000:08af      int86_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
-0000:0820      _fmalloc_
-0000:0820      malloc_
-0846:00f8+     ___fheap
-0846:00fa      ___fheapRover
-0846:00fc      ___LargestSizeB4Rover
+0000:08dc      _fmalloc_
+0000:08dc      malloc_
+088d:01f8+     ___fheap
+088d:01fa      ___fheapRover
+088d:01fc      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
-0000:0995      printf_
+0000:0a51      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
-0000:09c4+     _null_exit_rtn_
-0000:09c4+     __null_int23_exit_
-0000:09c5      exit_
-0000:09e6+     _exit_
-0846:00fe+     ___int23_exit
-0846:0102+     ___FPE_handler_exit
+0000:0a80+     _null_exit_rtn_
+0000:0a80+     __null_int23_exit_
+0000:0a81      exit_
+0000:0aa2+     _exit_
+088d:01fe+     ___int23_exit
+088d:0202+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
-0000:0a02+     __open_flags_
-0000:0cc3+     _fsopen_
-0000:0d2a      fopen_
-0000:0e4d*     freopen_
+0000:0abe+     __open_flags_
+0000:0d7f+     _fsopen_
+0000:0de6      fopen_
+0000:0f09*     freopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
-0000:0ed7+     __fill_buffer_
-0000:1126      fgetc_
+0000:0f93+     __fill_buffer_
+0000:11e2      fgetc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
-0000:126d      __doclose_
-0000:13b7      __shutdown_stream_
-0000:13d1      fclose_
-0846:0cb8+     ___RmTmpFileFn
+0000:1329      __doclose_
+0000:1473      __shutdown_stream_
+0000:148d      fclose_
+088d:0dd4+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
-0000:143c      _ffree_
-0000:143c      free_
+0000:14f8      _ffree_
+0000:14f8      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
-0000:14a9      fwrite_
+0000:1565      fwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
-0000:1822      rand_
-0000:1864*     srand_
+0000:18de      rand_
+0000:1920*     srand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
-0000:1888      __I4M
-0000:1888      __U4M
+0000:1944      __I4M
+0000:1944      __U4M
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0000:83c6*     textInit_
-0846:0cbc      _romFonts
+0000:8836*     textInit_
+088d:0dd8      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+088d:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
-0000:18a0      __CMain
+0000:195c      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
-0000:1906      __InitRtns
-0000:1906*     __FInitRtns
-0000:1961      __FiniRtns
-0000:1961*     __FFiniRtns
+0000:19c2      __InitRtns
+0000:19c2*     __FInitRtns
+0000:1a1d      __FiniRtns
+0000:1a1d*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-0846:010a      ___uselfn
+088d:020a      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
-0000:19c6      __DOSseg__
+0000:1a82      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:1a83      __Init_Argv_
+0000:1ae6+     _getargv_
+0000:1e16      __Fini_Argv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
-0000:19c7      __EnterWVIDEO_
-0846:010c+     ___WD_Present
+0000:1e40      __EnterWVIDEO_
+088d:020c+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
-0000:19eb      intr_
+0000:1e64      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
-0000:19ff      segread_
+0000:1e78      segread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
-0000:1a70      __MemAllocator
-0000:1b3a      __MemFree
+0000:1ee0      __MemAllocator
+0000:1faa      __MemFree
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
-0000:1c97      __GrowSeg_
+0000:2107      __GrowSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
-0000:1e0d      __AllocSeg_
+0000:227d      __AllocSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
-0000:1efc      __fmemneed_
+0000:236c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
-0000:1eff      _nmalloc_
-0846:010e      ___nheapbeg
-0846:0110      ___MiniHeapRover
-0846:0112      ___LargestSizeB4MiniHeapRover
+0000:236f      _nmalloc_
+088d:020e      ___nheapbeg
+088d:0210      ___MiniHeapRover
+088d:0212      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
-0000:1fd9*     _heapgrow_
-0000:1fd9*     _fheapgrow_
-0000:1fda      _nheapgrow_
+0000:2449*     _heapgrow_
+0000:2449*     _fheapgrow_
+0000:244a      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-0846:0114      ___iob
-0846:0cd4      ___ClosedStreams
-0846:0cd8      ___OpenStreams
+088d:0214      ___iob
+088d:0df4      ___ClosedStreams
+088d:0df8      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
-0000:206c      __fprtf_
+0000:24dc      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
-0000:21bf*     __set_commode_
-0846:027c      __commode
+0000:262f*     __set_commode_
+088d:037c      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
-0000:21cb*     __get_errno_ptr_
-0846:0cdc      _errno
+0000:263b*     __get_errno_ptr_
+088d:0dfc      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-0846:027e      __fmode
+088d:037e      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
-0000:21d2      tolower_
+0000:2642      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
-0000:2401*     open_
-0000:2438      sopen_
+0000:2871*     open_
+0000:28a8      sopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
-0000:2583      fseek_
+0000:29f3      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
-0000:277b      __chktty_
+0000:2beb      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
-0000:27da      __freefp_
-0000:287b      __purgefp_
+0000:2c4a      __freefp_
+0000:2ceb      __purgefp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
-0000:28bc      __allocfp_
+0000:2d2c      __allocfp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
-0000:2a6c      __PTC
+0000:2edc      __PTC
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
-0000:2a9f      __flushall_
-0000:2b33*     flushall_
+0000:2f0f      __flushall_
+0000:2fa3*     flushall_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
-0000:2b39      getche_
+0000:2fa9      getche_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
-0000:2b53      __ioalloc_
+0000:2fc3      __ioalloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
-0000:2ce1      __qread_
+0000:3151      __qread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
-0000:2d01      __lseek_
+0000:3171      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
-0000:2d3b      __close_
+0000:31ab      __close_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
-0000:2d71      __flush_
+0000:31e1      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
-0000:2fba      _nfree_
-0846:0cde+     ___MiniHeapFreeRover
+0000:342a      _nfree_
+088d:0dfe+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
-0000:30b5      __qwrite_
+0000:3525      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
-0000:3115      fputc_
+0000:3585      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-0846:0ce0      ____Argv
-0846:0ce4      ____Argc
+088d:0e00      ____Argv
+088d:0e04      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0846:0280      __amblksiz
+088d:0380      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0846:02d4      __Start_XI
-0846:02ec      __End_XI
-0846:02ec      __Start_YI
-0846:02f8      __End_YI
+088d:03d4      __Start_XI
+088d:03f2      __End_XI
+088d:03f2      __Start_YI
+088d:0404      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+088d:0e06      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:375a      __PTS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
-0000:32ea      _DoINTR_
+0000:378c      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
-0000:3663*     _heapenable_
-0846:0282      ___heap_enabled
+0000:3b05*     _heapenable_
+088d:0382      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
-0000:3674      __nmemneed_
+0000:3b16      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
-0000:36fc      __LastFree_
-0000:3776      __ExpandDGROUP_
+0000:3b9e      __LastFree_
+0000:3c18      __ExpandDGROUP_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
-0000:3887      __InitFiles_
+0000:3d29      __InitFiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
-0000:3abb*     fcloseall_
-0000:3ac2      __full_io_exit_
+0000:3f5d*     fcloseall_
+0000:3f64      __full_io_exit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
-0000:3acc      __prtf_
+0000:3f6e      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
-0000:4c2e      _dos_open_
+0000:50d0      _dos_open_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
-0000:4c54      __GetIOMode_
-0000:4c89      __SetIOMode_nogrow_
-0846:0284      ___NFiles
-0846:0286      ___init_mode
-0846:02ae      ___io_mode
+0000:50f6      __GetIOMode_
+0000:512b      __SetIOMode_nogrow_
+088d:0384      ___NFiles
+088d:0386      ___init_mode
+088d:03ae      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
-0000:4cbe      isatty_
+0000:5160      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
-0000:4cda*     __get_doserrno_ptr_
-0846:0ce6      __doserrno
+0000:517c*     __get_doserrno_ptr_
+088d:0e08      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-0846:02b2      ___umaskval
+088d:03b2      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
-0000:4ce1      _dos_creat_
-0000:4d05*     _dos_creatnew_
+0000:5183      _dos_creat_
+0000:51a7*     _dos_creatnew_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
-0000:4d26+     __grow_iomode_
-0000:4e0d+     __shrink_iomode_
-0000:4e4e      __SetIOMode_
+0000:51c8+     __grow_iomode_
+0000:52af+     __shrink_iomode_
+0000:52f0      __SetIOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
-0000:4ef5*     __dosretax
-0000:4efa*     __dosret0
-0000:4f01      __set_errno_dos_
-0000:4f69*     __set_errno_dos_reterr_
-Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
-0000:4f74      __PTS
+0000:5397*     __dosretax
+0000:539c*     __dosret0
+0000:53a3      __set_errno_dos_
+0000:540b*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
-0000:4fa5      lseek_
+0000:5416      lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
-0000:4fd6      tell_
+0000:5447      tell_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
-0000:4fe7      fsync_
+0000:5458      fsync_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
-0000:4fec*     sbrk_
-0000:4ffc      __brk_
+0000:545d*     sbrk_
+0000:546d      __brk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
-0000:5064      wctomb_
+0000:54d5      wctomb_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
-0000:50af+     utoa_
-0000:5150      itoa_
+0000:5520+     utoa_
+0000:55c1      itoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
-0000:519a      strupr_
+0000:560b      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-0846:02c8      ___EFG_printf
-0846:02cc*     ___EFG_scanf
+088d:03c8      ___EFG_printf
+088d:03cc*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-0846:02d0      ___IsDBCS
+088d:03d0      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
-0000:51e2*     _ismbblead_
-0846:0cea      ___MBCSIsTable
+0000:5653*     _ismbblead_
+088d:0e0c      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
-0000:51fe      ulltoa_
-0000:533b*     lltoa_
+0000:566f      ulltoa_
+0000:57ac*     lltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
-0000:53ac      ultoa_
-0000:546a*     ltoa_
+0000:581d      ultoa_
+0000:58db*     ltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
-0000:54b8      __doserror_
-0000:54c6*     __doserror1_
+0000:592a      __doserror_
+0000:5938*     __doserror1_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
-0000:54d2*     _frealloc_
-0000:54d2      realloc_
+0000:5944*     _frealloc_
+0000:5944      realloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
-0000:55ae      __ChkTTYIOMode_
-0000:561c*     __IOMode_
+0000:5a20      __ChkTTYIOMode_
+0000:5a8e*     __IOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
-0000:562c*     _dos_close_
-0000:563a      _dos_commit_
+0000:5a9e*     _dos_close_
+0000:5aac      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-0846:0072      ___Alphabet
+088d:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
-0000:5687      __mbinit_
-0846:02d2+     ___MBCodePage
+0000:5af9      __mbinit_
+088d:03d2+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
-0000:5762*     _msize_
-0000:577d      _fmsize_
+0000:5bd4*     _msize_
+0000:5bef      _fmsize_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
-0000:578e      __HeapManager_expand_
-0000:5c97      _nexpand_
+0000:5c00      __HeapManager_expand_
+0000:6109      _nexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
-0000:5cea      _fexpand_
-0000:5cea*     _expand_
+0000:615c      _fexpand_
+0000:615c*     _expand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
-0000:5d1f      _bfree_
+0000:6191      _bfree_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
-0000:5d44      _bexpand_
+0000:61b6      _bexpand_
 
 
                         +--------------------+
@@ -408,6 +423,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00016d10 (93456.)
-Entry point address: 0000:03c0
-Link time: 00:00.15
+Memory size:  000172a0 (94880.)
+Entry point address: 0000:047c
+Link time: 00:00.52
index 99b38314e62f3d17cf545f8af2cd89a324709d5c..8293b410e492218eca23efb17035232720e63995 100755 (executable)
--- a/test2.map
+++ b/test2.map
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: test2.exe
 creating a DOS executable
 
@@ -422,4 +422,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  000177e0 (96224.)
 Entry point address: 0000:0260
-Link time: 00:00.72
+Link time: 00:00.69
index 84c8c03ef0b988533a9897b3395c85e71ac9e18e..ab5b7a2e0fc50eaa0b9f5acc2711d8bf268bb859 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/22 10:51:05
+Created on:       15/10/22 11:12:41
 Executable Image: vgmtest.exe
 creating a DOS executable
 
@@ -606,4 +606,4 @@ vgmsnd.lib
 Stack size:  dac0 (56000.)
 Memory size:  0001f460 (128096.)
 Entry point address: 0000:7d06
-Link time: 00:00.22
+Link time: 00:00.18