]> 4ch.mooo.com Git - 16.git/commitdiff
wwww
authorsparky4 <sparky4@cock.li>
Tue, 29 Sep 2015 19:46:07 +0000 (14:46 -0500)
committersparky4 <sparky4@cock.li>
Tue, 29 Sep 2015 19:46:07 +0000 (14:46 -0500)
modified:   16.exe
modified:   16.map
modified:   bakapi.exe
modified:   bakapi.map
modified:   exmmtest.exe
modified:   exmmtest.map
modified:   fmemtest.map
modified:   fontgfx.exe
modified:   fontgfx.map
modified:   inputest.map
modified:   makefile
modified:   maptest.exe
modified:   maptest.map
modified:   palettec.exe
modified:   palettec.map
modified:   pcxtest.exe
modified:   pcxtest.map
new file:   pcxtest2.exe
new file:   pcxtest2.map
modified:   scroll.exe
modified:   scroll.map
modified:   src/lib/bakapee.c
modified:   src/lib/bakapee.h
modified:   src/lib/modex16.c
modified:   src/lib/modex16.h
modified:   src/pcxtest.c
new file:   src/pcxtest2.c
modified:   test.exe
modified:   test.map
modified:   test2.exe
modified:   test2.map
modified:   vgmtest.exe
modified:   vgmtest.map

33 files changed:
16.exe
16.map
bakapi.exe
bakapi.map
exmmtest.exe
exmmtest.map
fmemtest.map
fontgfx.exe
fontgfx.map
inputest.map
makefile
maptest.exe
maptest.map
palettec.exe
palettec.map
pcxtest.exe
pcxtest.map
pcxtest2.exe [new file with mode: 0755]
pcxtest2.map [new file with mode: 0755]
scroll.exe
scroll.map
src/lib/bakapee.c
src/lib/bakapee.h
src/lib/modex16.c
src/lib/modex16.h
src/pcxtest.c
src/pcxtest2.c [new file with mode: 0755]
test.exe
test.map
test2.exe
test2.map
vgmtest.exe
vgmtest.map

diff --git a/16.exe b/16.exe
index c90c2863559ebb28cbc21a0ff62c967aac20c0b1..ad16cb673035dd24dc49ed4d9d4dcaeaec2e1db7 100755 (executable)
Binary files a/16.exe and b/16.exe differ
diff --git a/16.map b/16.map
index a48f52a4ff261a70b370e94a6246e2665a0d678b..f4beef1fba4602175db76d2887f8889b840b6751 100755 (executable)
--- a/16.map
+++ b/16.map
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: 16.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0c42:0000            0000ef40
+DGROUP                          0c5e:0000            0000ef40
 
 
 
@@ -26,31 +26,31 @@ Segment                Class          Group          Address         Size
 
 16_TEXT                CODE           AUTO           0000:0000       0000023d
 mapread_TEXT           CODE           AUTO           0000:0240       00000872
-jsmn_TEXT              CODE           AUTO           0000:0ac0       00000921
-_TEXT                  CODE           AUTO           0000:13f0       0000662c
-modex16_TEXT           CODE           AUTO           0000:7a20       00001fae
-16_in_TEXT             CODE           AUTO           0000:99d0       00001d43
-wcpu_TEXT              CODE           AUTO           0000:b720       00000058
-bitmap_TEXT            CODE           AUTO           0000:b780       000005c7
-16text_TEXT            CODE           AUTO           0000:bd50       0000010d
-16_head_TEXT           CODE           AUTO           0000:be60       00000405
-16_in13_DATA           FAR_DATA       AUTO           0c27:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           0c41:0004       00000000
-_NULL                  BEGDATA        DGROUP         0c42:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         0c44:0000       00000002
-CONST                  DATA           DGROUP         0c44:0002       00000076
-CONST2                 DATA           DGROUP         0c4b:0008       00000102
-_DATA                  DATA           DGROUP         0c5c:0000       0000052e
-XIB                    DATA           DGROUP         0cae:000e       00000000
-XI                     DATA           DGROUP         0cae:000e       00000024
-XIE                    DATA           DGROUP         0cb1:0002       00000000
-YIB                    DATA           DGROUP         0cb1:0002       00000000
-YI                     DATA           DGROUP         0cb1:0002       00000012
-YIE                    DATA           DGROUP         0cb2:0004       00000000
-STRINGS                DATA           DGROUP         0cb2:0004       00000000
-DATA                   DATA           DGROUP         0cb2:0004       00000000
-_BSS                   BSS            DGROUP         0cb3:0000       00000d6d
-STACK                  STACK          DGROUP         0d8a:0000       0000dac0
+jsmn_TEXT              CODE           AUTO           0000:0ac0       00000919
+_TEXT                  CODE           AUTO           0000:13e0       0000662c
+modex16_TEXT           CODE           AUTO           0000:7a10       00002180
+16_in_TEXT             CODE           AUTO           0000:9b90       00001d43
+wcpu_TEXT              CODE           AUTO           0000:b8e0       00000058
+bitmap_TEXT            CODE           AUTO           0000:b940       000005c9
+16text_TEXT            CODE           AUTO           0000:bf10       0000010d
+16_head_TEXT           CODE           AUTO           0000:c020       00000405
+16_in13_DATA           FAR_DATA       AUTO           0c43:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           0c5d:0004       00000000
+_NULL                  BEGDATA        DGROUP         0c5e:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0c60:0000       00000002
+CONST                  DATA           DGROUP         0c60:0002       00000076
+CONST2                 DATA           DGROUP         0c67:0008       00000102
+_DATA                  DATA           DGROUP         0c78:0000       0000052e
+XIB                    DATA           DGROUP         0cca:000e       00000000
+XI                     DATA           DGROUP         0cca:000e       00000024
+XIE                    DATA           DGROUP         0ccd:0002       00000000
+YIB                    DATA           DGROUP         0ccd:0002       00000000
+YI                     DATA           DGROUP         0ccd:0002       00000012
+YIE                    DATA           DGROUP         0cce:0004       00000000
+STRINGS                DATA           DGROUP         0cce:0004       00000000
+DATA                   DATA           DGROUP         0cce:0004       00000000
+_BSS                   BSS            DGROUP         0ccf:0000       00000d6d
+STACK                  STACK          DGROUP         0da6:0000       0000dac0
 
 
                         +----------------+
@@ -65,423 +65,425 @@ Address        Symbol
 
 Module: 16.o(/dos/z/16/src/16.c)
 0000:00cc      main_
-0c42:0710+     _player
-0c42:0810+     _gvar
-0c42:0828+     _cpus
-0c42:082c*     _gpal
-0c42:0830+     _dpal
-0c42:0834+     _engi_stat
+0c5e:0710+     _player
+0c5e:0810+     _gvar
+0c5e:0828+     _cpus
+0c5e:082c*     _gpal
+0c5e:0830+     _dpal
+0c5e:0834+     _engi_stat
 Module: mapread.o(/dos/z/16/src/lib/mapread.c)
 0000:02dc+     jsoneq_
 0000:0380+     dump_
 0000:087c*     loadmap_
 Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
-0000:0e9a      jsmn_parse_
-0000:1396      jsmn_init_
+0000:0e92      jsmn_parse_
+0000:138e      jsmn_init_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
-0000:13f5      __STK
-0000:1415*     __STKOVERFLOW_
+0000:13e5      __STK
+0000:1405*     __STKOVERFLOW_
 Module: 16.lib(/dos/z/16/src/lib/modex16.c)
-0000:7bd8      VGAmodeX_
-0000:7c80+     modexEnter_
-0000:7d1c*     modexLeave_
-0000:7d34*     modexDefaultPage_
-0000:7d8e*     modexNextPage_
-0000:7e4a*     modexNextPage0_
-0000:7eee*     modexShowPage_
-0000:7fea*     modexPanPage_
-0000:803a*     modexSelectPlane_
-0000:805e+     modexClearRegion_
-0000:8176*     oldDrawBmp_
-0000:82dc*     modexDrawBmp_
-0000:8342+     modexDrawBmpRegion_
-0000:84ac*     modexDrawPlanarBuf_
-0000:84ca*     modexDrawSprite_
-0000:8530+     modexDrawSpriteRegion_
-0000:86a8*     modexCopyPageRegion_
-0000:8812      modexFadeOn_
-0000:8842      modexFadeOff_
-0000:8870*     modexFlashOn_
-0000:889e*     modexFlashOff_
-0000:896e      modexPalSave_
-0000:89c4      modexNewPal_
-0000:8a14*     modexLoadPalFile_
-0000:8af6*     modexSavePalFile_
-0000:8b6e      modexPalBlack_
-0000:8b98*     modexPalWhite_
-0000:8bc2+     modexPalUpdate_
-0000:9132+     modexPalUpdate1_
-0000:91ac*     modexPalUpdate0_
-0000:91f8+     chkcolor_
-0000:9510+     modexputPixel_
-0000:959e*     modexgetPixel_
-0000:9624*     modexhlin_
-0000:9690*     modexprint_
-0000:982a*     modexprintbig_
-0000:99a6+     modexWaitBorder_
-0c42:01c4+     _VGA
+0000:7bc8      VGAmodeX_
+0000:7c70+     modexEnter_
+0000:7d0c*     modexLeave_
+0000:7d24*     modexDefaultPage_
+0000:7d7e*     modexNextPage_
+0000:7e3a*     modexNextPage0_
+0000:7ede*     modexShowPage_
+0000:7fda*     modexPanPage_
+0000:802a*     modexSelectPlane_
+0000:804e+     modexClearRegion_
+0000:8166*     oldDrawBmp_
+0000:82cc*     CDrawBmp_
+0000:8430*     modexDrawBmp_
+0000:8496+     modexDrawBmpRegion_
+0000:8600*     modexDrawPlanarBuf_
+0000:861e*     modexDrawSprite_
+0000:8684+     modexDrawSpriteRegion_
+0000:87fc*     modexCopyPageRegion_
+0000:8966      modexFadeOn_
+0000:8996      modexFadeOff_
+0000:89c4*     modexFlashOn_
+0000:89f2*     modexFlashOff_
+0000:8ac2      modexPalSave_
+0000:8b18      modexNewPal_
+0000:8b68*     modexLoadPalFile_
+0000:8c4a*     modexSavePalFile_
+0000:8cc2      modexPalBlack_
+0000:8cec*     modexPalWhite_
+0000:8d16+     modexPalUpdate_
+0000:9286+     modexPalUpdate1_
+0000:9300*     modexPalUpdate0_
+0000:934c+     chkcolor_
+0000:9664+     modexputPixel_
+0000:96f2*     modexgetPixel_
+0000:9778*     modexhlin_
+0000:97e4*     modexprint_
+0000:997e*     modexprintbig_
+0000:9afa*     cls_
+0000:9b68+     modexWaitBorder_
+0c5e:01c4+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
-0000:1432      printf_
+0000:1422      printf_
 Module: 16.lib(/dos/z/16/src/lib/16_in.c)
-0000:9ae8+     INL_KeyService_
-0000:9d32+     Mouse_
-0000:9d8a+     IN_GetJoyAbs_
-0000:a150+     IN_GetJoyButtonsDB_
-0000:a3e6+     IN_SetupJoy_
-0000:a5a8      IN_Startup_
-0000:a6ae      IN_Default_
-0000:a812      IN_Shutdown_
-0000:a892*     IN_SetKeyHook_
-0000:a8b4+     IN_ClearKeysDown_
-0000:a994*     IN_ReadCursor_
-0000:aab0      IN_ReadControl_
-0000:b230*     IN_SetControlType_
-0000:b27e*     IN_GetScanName_
-0000:b306*     IN_WaitForKey_
-0000:b33c*     IN_WaitForASCII_
-0000:b372+     IN_AckBack_
-0000:b45a*     IN_Ack_
-0000:b4fc+     IN_IsUserInput_
-0000:b5a2*     IN_UserInput_
-0000:b5fa      IN_KeyDown_
-0000:b642+     IN_ClearKey_
-0000:b6ba*     IN_qb_
-0c42:115e+     _inpu
+0000:9ca8+     INL_KeyService_
+0000:9ef2+     Mouse_
+0000:9f4a+     IN_GetJoyAbs_
+0000:a310+     IN_GetJoyButtonsDB_
+0000:a5a6+     IN_SetupJoy_
+0000:a768      IN_Startup_
+0000:a86e      IN_Default_
+0000:a9d2      IN_Shutdown_
+0000:aa52*     IN_SetKeyHook_
+0000:aa74+     IN_ClearKeysDown_
+0000:ab54*     IN_ReadCursor_
+0000:ac70      IN_ReadControl_
+0000:b3f0*     IN_SetControlType_
+0000:b43e*     IN_GetScanName_
+0000:b4c6*     IN_WaitForKey_
+0000:b4fc*     IN_WaitForASCII_
+0000:b532+     IN_AckBack_
+0000:b61a*     IN_Ack_
+0000:b6bc+     IN_IsUserInput_
+0000:b762*     IN_UserInput_
+0000:b7ba      IN_KeyDown_
+0000:b802+     IN_ClearKey_
+0000:b87a*     IN_qb_
+0c5e:115e+     _inpu
 Module: 16.lib(/dos/z/16/src/lib/wcpu/wcpu.c)
-0000:b720      detectcpu_
+0000:b8e0      detectcpu_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-0c42:0000*     __nullarea
-0c42:049a*     __ovlflag
-0c42:049b*     __intno
-0c42:049c*     __ovlvec
-0000:1462      _cstart_
-0000:1535*     _Not_Enough_Memory_
-0000:1667      __exit_
-0000:1686      __do_exit_with_msg__
-0000:16e3      __GETDS
+0c5e:0000*     __nullarea
+0c5e:049a*     __ovlflag
+0c5e:049b*     __intno
+0c5e:049c*     __ovlvec
+0000:1452      _cstart_
+0000:1525*     _Not_Enough_Memory_
+0000:1657      __exit_
+0000:1676      __do_exit_with_msg__
+0000:16d3      __GETDS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
-0000:16ee      _big_code_
-0000:16ee*     CodeModelMismatch
+0000:16de      _big_code_
+0000:16de*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-0c42:12b4      __argv
-0c42:12b8      ___argv
-0c42:12bc      __argc
-0c42:12be      ___argc
+0c5e:12b4      __argv
+0c5e:12b8      ___argv
+0c5e:12bc      __argc
+0c5e:12be      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
-0000:16f5      __PIA
-0000:16ee*     __PIS
+0000:16e5      __PIA
+0000:16de*     __PIS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c)
-0000:170c      strncmp_
+0000:16fc      strncmp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
-0000:1749      _fmalloc_
-0000:1749      malloc_
-0c42:04a0+     ___fheap
-0c42:04a2      ___fheapRover
-0c42:04a4      ___LargestSizeB4Rover
+0000:1739      _fmalloc_
+0000:1739      malloc_
+0c5e:04a0+     ___fheap
+0c5e:04a2      ___fheapRover
+0c5e:04a4      ___LargestSizeB4Rover
 Module: 16.lib(/dos/z/16/src/lib/bitmap.c)
-0000:ba80      bitmapLoadPcx_
-0000:bbdc*     bitmapLoadPcxTiles_
+0000:bc42      bitmapLoadPcx_
+0000:bd9e*     bitmapLoadPcxTiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c)
-0000:18be      strstr_
+0000:18ae      strstr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
-0000:19c0      atoi_
+0000:19b0      atoi_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
-0000:1a5b+     __open_flags_
-0000:1d1c+     _fsopen_
-0000:1d83      fopen_
-0000:1ea6*     freopen_
+0000:1a4b+     __open_flags_
+0000:1d0c+     _fsopen_
+0000:1d73      fopen_
+0000:1e96*     freopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
-0000:1f30      fread_
+0000:1f20      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
-0000:22a7      __get_errno_ptr_
-0c42:1340      _errno
+0000:2297      __get_errno_ptr_
+0c5e:1340      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-0c42:04b4      ___iob
-0c42:1342      ___ClosedStreams
-0c42:1346      ___OpenStreams
+0c5e:04b4      ___iob
+0c5e:1342      ___ClosedStreams
+0c5e:1346      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
-0000:22ae      fprintf_
+0000:229e      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
-0000:22dd*     _frealloc_
-0000:22dd      realloc_
+0000:22cd*     _frealloc_
+0000:22cd      realloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
-0000:23ba      __PTC
+0000:23aa      __PTC
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncpy.c)
-0000:23ed      strncpy_
+0000:23dd      strncpy_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
-0000:2429*     __exit_with_msg_
-0000:242e      __fatal_runtime_error_
+0000:2419*     __exit_with_msg_
+0000:241e      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-0c42:061c      __curbrk
-0c42:0624      __STACKLOW
-0c42:0626      __STACKTOP
-0c42:0628      __cbyte
-0c42:062a      __child
-0c42:062c      __no87
-0c42:0639      ___FPE_handler
-0c42:061e      __psp
-0c42:062d      __get_ovl_stack
-0c42:0631      __restore_ovl_stack
-0c42:0635      __close_ovl_file
-0c42:063d      __LpCmdLine
-0c42:0641      __LpPgmName
-0c42:0620      __osmajor
-0c42:0621      __osminor
-0c42:0622      __osmode
-0c42:0623      __HShift
+0c5e:061c      __curbrk
+0c5e:0624      __STACKLOW
+0c5e:0626      __STACKTOP
+0c5e:0628      __cbyte
+0c5e:062a      __child
+0c5e:062c      __no87
+0c5e:0639      ___FPE_handler
+0c5e:061e      __psp
+0c5e:062d      __get_ovl_stack
+0c5e:0631      __restore_ovl_stack
+0c5e:0635      __close_ovl_file
+0c5e:063d      __LpCmdLine
+0c5e:0641      __LpPgmName
+0c5e:0620      __osmajor
+0c5e:0621      __osminor
+0c5e:0622      __osmode
+0c5e:0623      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
-0000:244c+     int86x_
-0000:25cf      int86_
+0000:243c+     int86x_
+0000:25bf      int86_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
-0000:25fc+     _null_exit_rtn_
-0000:25fc+     __null_int23_exit_
-0000:25fd      exit_
-0000:261e+     _exit_
-0c42:0646+     ___int23_exit
-0c42:064a+     ___FPE_handler_exit
+0000:25ec+     _null_exit_rtn_
+0000:25ec+     __null_int23_exit_
+0000:25ed      exit_
+0000:260e+     _exit_
+0c5e:0646+     ___int23_exit
+0c5e:064a+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
-0000:263a      __fill_buffer_
-0000:2889      fgetc_
+0000:262a      __fill_buffer_
+0000:2879      fgetc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
-0000:29d0      __doclose_
-0000:2b1a      __shutdown_stream_
-0000:2b34      fclose_
-0c42:134a+     ___RmTmpFileFn
+0000:29c0      __doclose_
+0000:2b0a      __shutdown_stream_
+0000:2b24      fclose_
+0c5e:134a+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
-0000:2b9f      _ffree_
-0000:2b9f      free_
+0000:2b8f      _ffree_
+0000:2b8f      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
-0000:2c0c      fwrite_
+0000:2bfc      fwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
-0000:2f85      rand_
-0000:2fc7*     srand_
+0000:2f75      rand_
+0000:2fb7*     srand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
-0000:2fea      __I4M
-0000:2fea      __U4M
+0000:2fda      __I4M
+0000:2fda      __U4M
 Module: 16.lib(/dos/z/16/src/lib/16text.c)
-0000:bdc6*     textInit_
-0c42:134e      _romFonts
+0000:bf86*     textInit_
+0c5e:134e      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
-0000:301c      __fprtf_
+0000:300c      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_getvec.c)
-0000:316f      _dos_getvect_
+0000:315f      _dos_getvect_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_setvec.c)
-0000:317a      _dos_setvect_
+0000:316a      _dos_setvect_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
-0000:3188      __I4D
-0000:31d7      __U4D
+0000:3178      __I4D
+0000:31c7      __U4D
 Module: 16.lib(/dos/z/16/src/lib/16_head.c)
-0000:be6e*     wait_
-0000:beba*     filesize_
-0000:bf20*     printmeminfoline_
-0000:c10c      US_CheckParm_
+0000:c02e*     wait_
+0000:c07a*     filesize_
+0000:c0e0*     printmeminfoline_
+0000:c2cc      US_CheckParm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
-0000:325b      __CMain
+0000:324b      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
-0000:32c1      __InitRtns
-0000:32c1*     __FInitRtns
-0000:331c      __FiniRtns
-0000:331c*     __FFiniRtns
+0000:32b1      __InitRtns
+0000:32b1*     __FInitRtns
+0000:330c      __FiniRtns
+0000:330c*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-0c42:0664      ___uselfn
+0c5e:0664      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
-0000:3380      __DOSseg__
+0000:3370      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
-0000:3381      __Init_Argv_
-0000:33e4+     _getargv_
-0000:3714      __Fini_Argv_
+0000:3371      __Init_Argv_
+0000:33d4+     _getargv_
+0000:3704      __Fini_Argv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
-0000:3740      __MemAllocator
-0000:380a      __MemFree
+0000:3730      __MemAllocator
+0000:37fa      __MemFree
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
-0000:3967      __GrowSeg_
+0000:3957      __GrowSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
-0000:3add      __AllocSeg_
+0000:3acd      __AllocSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
-0000:3bcc      __fmemneed_
+0000:3bbc      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
-0000:3bcf      _nmalloc_
-0c42:0666      ___nheapbeg
-0c42:0668      ___MiniHeapRover
-0c42:066a      ___LargestSizeB4MiniHeapRover
+0000:3bbf      _nmalloc_
+0c5e:0666      ___nheapbeg
+0c5e:0668      ___MiniHeapRover
+0c5e:066a      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
-0000:3ca9*     _heapgrow_
-0000:3ca9*     _fheapgrow_
-0000:3caa      _nheapgrow_
+0000:3c99*     _heapgrow_
+0000:3c99*     _fheapgrow_
+0000:3c9a      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
-0000:3e40      fseek_
+0000:3e30      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
-0000:4038      __PTS
+0000:4028      __PTS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-0c42:0098      __IsTable
+0c5e:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
-0000:4069*     __set_commode_
-0c42:066c      __commode
+0000:4059*     __set_commode_
+0c5e:066c      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-0c42:066e      __fmode
+0c5e:066e      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
-0000:4075      tolower_
+0000:4065      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
-0000:42a4*     open_
-0000:42db      sopen_
+0000:4294*     open_
+0000:42cb      sopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
-0000:4308      __chktty_
+0000:42f8      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
-0000:4367      __freefp_
-0000:4408      __purgefp_
+0000:4357      __freefp_
+0000:43f8      __purgefp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
-0000:4449      __allocfp_
+0000:4439      __allocfp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
-0000:45f9      __ioalloc_
+0000:45e9      __ioalloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
-0000:4787      __qread_
+0000:4777      __qread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
-0000:47a7      __InitFiles_
+0000:4797      __InitFiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
-0000:49db*     fcloseall_
-0000:49e2      __full_io_exit_
+0000:49cb*     fcloseall_
+0000:49d2      __full_io_exit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
-0000:49ec*     _msize_
-0000:4a07      _fmsize_
+0000:49dc*     _msize_
+0000:49f7      _fmsize_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
-0000:4a18      __HeapManager_expand_
-0000:4f21      _nexpand_
+0000:4a08      __HeapManager_expand_
+0000:4f11      _nexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
-0000:4f74      _fexpand_
-0000:4f74*     _expand_
+0000:4f64      _fexpand_
+0000:4f64*     _expand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
-0000:4fa9      __EnterWVIDEO_
-0c42:0670+     ___WD_Present
+0000:4f99      __EnterWVIDEO_
+0c5e:0670+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
-0000:4fcd      intr_
+0000:4fbd      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
-0000:4fe1      segread_
+0000:4fd1      segread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
-0000:5047      __flushall_
-0000:50db      flushall_
+0000:5037      __flushall_
+0000:50cb      flushall_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
-0000:50e1      getche_
+0000:50d1      getche_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
-0000:50fb      __lseek_
+0000:50eb      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
-0000:5135      __close_
+0000:5125      __close_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
-0000:516b      __flush_
+0000:515b      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
-0000:53b4      _nfree_
-0c42:136a+     ___MiniHeapFreeRover
+0000:53a4      _nfree_
+0c5e:136a+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
-0000:54af      __qwrite_
+0000:549f      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
-0000:550f      fputc_
+0000:54ff      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
-0000:56e4      __prtf_
+0000:56d4      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
-0000:6846+     __ibm_bios_get_ticks_
-0000:68bd      clock_
+0000:6836+     __ibm_bios_get_ticks_
+0000:68ad      clock_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
-0000:68e4      kbhit_
+0000:68d4      kbhit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
-0000:68fb      ftell_
+0000:68eb      ftell_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
-0000:69c3      ultoa_
-0000:6a81*     ltoa_
+0000:69b3      ultoa_
+0000:6a71*     ltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-0c42:1370      ____Argv
-0c42:1374      ____Argc
+0c5e:1370      ____Argv
+0c5e:1374      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0c42:067a      __amblksiz
+0c5e:067a      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0c42:06ce      __Start_XI
-0c42:06f2      __End_XI
-0c42:06f2      __Start_YI
-0c42:0704      __End_YI
+0c5e:06ce      __Start_XI
+0c5e:06f2      __End_XI
+0c5e:06f2      __Start_YI
+0c5e:0704      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-0c42:1376      ___historical_splitparms
+0c5e:1376      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
-0000:6ad0*     _heapenable_
-0c42:067c      ___heap_enabled
+0000:6ac0*     _heapenable_
+0c5e:067c      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
-0000:6ae1      __nmemneed_
+0000:6ad1      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
-0000:6b69      __LastFree_
-0000:6be3      __ExpandDGROUP_
+0000:6b59      __LastFree_
+0000:6bd3      __ExpandDGROUP_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
-0000:6cf4      lseek_
+0000:6ce4      lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
-0000:6d25      tell_
+0000:6d15      tell_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
-0000:6d36      _dos_open_
+0000:6d26      _dos_open_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
-0000:6d5c      __GetIOMode_
-0000:6d91      __SetIOMode_nogrow_
-0c42:067e      ___NFiles
-0c42:0680      ___init_mode
-0c42:06a8      ___io_mode
+0000:6d4c      __GetIOMode_
+0000:6d81      __SetIOMode_nogrow_
+0c5e:067e      ___NFiles
+0c5e:0680      ___init_mode
+0c5e:06a8      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
-0000:6dc6      isatty_
+0000:6db6      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
-0000:6de2*     __get_doserrno_ptr_
-0c42:1378      __doserrno
+0000:6dd2*     __get_doserrno_ptr_
+0c5e:1378      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-0c42:06ac      ___umaskval
+0c5e:06ac      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
-0000:6de9      _dos_creat_
-0000:6e0d*     _dos_creatnew_
+0000:6dd9      _dos_creat_
+0000:6dfd*     _dos_creatnew_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
-0000:6e2e+     __grow_iomode_
-0000:6f15+     __shrink_iomode_
-0000:6f56      __SetIOMode_
+0000:6e1e+     __grow_iomode_
+0000:6f05+     __shrink_iomode_
+0000:6f46      __SetIOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
-0000:6ffd*     __dosretax
-0000:7002*     __dosret0
-0000:7009      __set_errno_dos_
-0000:7071*     __set_errno_dos_reterr_
+0000:6fed*     __dosretax
+0000:6ff2*     __dosret0
+0000:6ff9      __set_errno_dos_
+0000:7061*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
-0000:707c      _bfree_
+0000:706c      _bfree_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
-0000:70a1      _bexpand_
+0000:7091      _bexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
-0000:70fa      _DoINTR_
+0000:70ea      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
-0000:7473      fsync_
+0000:7463      fsync_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
-0000:7478      wctomb_
+0000:7468      wctomb_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
-0000:74c3+     utoa_
-0000:7564      itoa_
+0000:74b3+     utoa_
+0000:7554      itoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
-0000:75ae      strupr_
+0000:759e      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-0c42:06c2      ___EFG_printf
-0c42:06c6*     ___EFG_scanf
+0c5e:06c2      ___EFG_printf
+0c5e:06c6*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-0c42:06ca      ___IsDBCS
+0c5e:06ca      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
-0000:75f6*     _ismbblead_
-0c42:137c      ___MBCSIsTable
+0000:75e6*     _ismbblead_
+0c5e:137c      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
-0000:7612      ulltoa_
-0000:774f*     lltoa_
+0000:7602      ulltoa_
+0000:773f*     lltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
-0000:77c0      fflush_
+0000:77b0      fflush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-0c42:0072      ___Alphabet
+0c5e:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
-0000:77d5*     sbrk_
-0000:77e5      __brk_
+0000:77c5*     sbrk_
+0000:77d5      __brk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
-0000:784e      __doserror_
-0000:785c*     __doserror1_
+0000:783e      __doserror_
+0000:784c*     __doserror1_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
-0000:7868      __ChkTTYIOMode_
-0000:78d6*     __IOMode_
+0000:7858      __ChkTTYIOMode_
+0000:78c6*     __IOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
-0000:78e6*     _dos_close_
-0000:78f4      _dos_commit_
+0000:78d6*     _dos_close_
+0000:78e4      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
-0000:7941      __mbinit_
-0c42:06cc+     ___MBCodePage
+0000:7931      __mbinit_
+0c5e:06cc+     ___MBCodePage
 
 
                         +--------------------+
@@ -497,6 +499,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  0001b360 (111456.)
-Entry point address: 0000:1462
+Memory size:  0001b520 (111904.)
+Entry point address: 0000:1452
 Link time: 00:00.00
index aef9ca2acfeaacc504524b201e5b32443b88f80e..cf5cac00ebc3f5a2f411258b51bf43afcb9933fc 100755 (executable)
Binary files a/bakapi.exe and b/bakapi.exe differ
index eed78b749f5d15bc0400f881b3bbb3de60539f03..616f1249680dba029ce51d0fa89bcdecfb84b139 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: bakapi.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0a81:0000            0000e950
+DGROUP                          0a98:0000            0000e950
 
 
 
@@ -26,25 +26,25 @@ Segment                Class          Group          Address         Size
 
 bakapi_TEXT            CODE           AUTO           0000:0000       00000236
 _TEXT                  CODE           AUTO           0000:0240       00007920
-modex16_TEXT           CODE           AUTO           0000:7b60       00001fae
-16text_TEXT            CODE           AUTO           0000:9b10       0000010d
-bakapee_TEXT           CODE           AUTO           0000:9c20       00000be5
-FAR_DATA               FAR_DATA       AUTO           0a80:0005       00000000
-_NULL                  BEGDATA        DGROUP         0a81:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         0a83:0000       00000002
-CONST                  DATA           DGROUP         0a83:0002       00000076
-CONST2                 DATA           DGROUP         0a8a:0008       0000010a
-_DATA                  DATA           DGROUP         0a9c:0000       0000024c
-XIB                    DATA           DGROUP         0ac0:000c       00000000
-XI                     DATA           DGROUP         0ac0:000c       0000001e
-XIE                    DATA           DGROUP         0ac2:000a       00000000
-YIB                    DATA           DGROUP         0ac2:000a       00000000
-YI                     DATA           DGROUP         0ac2:000a       00000012
-YIE                    DATA           DGROUP         0ac3:000c       00000000
-STRINGS                DATA           DGROUP         0ac3:000c       00000000
-DATA                   DATA           DGROUP         0ac3:000c       00000000
-_BSS                   BSS            DGROUP         0ac3:000c       00000a56
-STACK                  STACK          DGROUP         0b6a:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:7b60       00002180
+16text_TEXT            CODE           AUTO           0000:9ce0       0000010d
+bakapee_TEXT           CODE           AUTO           0000:9df0       00000b86
+FAR_DATA               FAR_DATA       AUTO           0a97:0006       00000000
+_NULL                  BEGDATA        DGROUP         0a98:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0a9a:0000       00000002
+CONST                  DATA           DGROUP         0a9a:0002       00000076
+CONST2                 DATA           DGROUP         0aa1:0008       0000010a
+_DATA                  DATA           DGROUP         0ab3:0000       0000024c
+XIB                    DATA           DGROUP         0ad7:000c       00000000
+XI                     DATA           DGROUP         0ad7:000c       0000001e
+XIE                    DATA           DGROUP         0ad9:000a       00000000
+YIB                    DATA           DGROUP         0ad9:000a       00000000
+YI                     DATA           DGROUP         0ad9:000a       00000012
+YIE                    DATA           DGROUP         0ada:000c       00000000
+STRINGS                DATA           DGROUP         0ada:000c       00000000
+DATA                   DATA           DGROUP         0ada:000c       00000000
+_BSS                   BSS            DGROUP         0ada:000c       00000a56
+STACK                  STACK          DGROUP         0b81:0000       0000dac0
 
 
                         +----------------+
@@ -80,50 +80,51 @@ Module: 16.lib(/dos/z/16/src/lib/modex16.c)
 0000:817a*     modexSelectPlane_
 0000:819e      modexClearRegion_
 0000:82b6*     oldDrawBmp_
-0000:841c*     modexDrawBmp_
-0000:8482+     modexDrawBmpRegion_
-0000:85ec*     modexDrawPlanarBuf_
-0000:860a*     modexDrawSprite_
-0000:8670+     modexDrawSpriteRegion_
-0000:87e8*     modexCopyPageRegion_
-0000:8952*     modexFadeOn_
-0000:8982*     modexFadeOff_
-0000:89b0*     modexFlashOn_
-0000:89de*     modexFlashOff_
-0000:8aae+     modexPalSave_
-0000:8b04+     modexNewPal_
-0000:8b54*     modexLoadPalFile_
-0000:8c36*     modexSavePalFile_
-0000:8cae*     modexPalBlack_
-0000:8cd8*     modexPalWhite_
-0000:8d02+     modexPalUpdate_
-0000:9272+     modexPalUpdate1_
-0000:92ec*     modexPalUpdate0_
-0000:9338+     chkcolor_
-0000:9650      modexputPixel_
-0000:96de*     modexgetPixel_
-0000:9764*     modexhlin_
-0000:97d0      modexprint_
-0000:996a*     modexprintbig_
-0000:9ae6+     modexWaitBorder_
-0a81:01c4      _VGA
+0000:841c*     CDrawBmp_
+0000:8580*     modexDrawBmp_
+0000:85e6+     modexDrawBmpRegion_
+0000:8750*     modexDrawPlanarBuf_
+0000:876e*     modexDrawSprite_
+0000:87d4+     modexDrawSpriteRegion_
+0000:894c*     modexCopyPageRegion_
+0000:8ab6*     modexFadeOn_
+0000:8ae6*     modexFadeOff_
+0000:8b14*     modexFlashOn_
+0000:8b42*     modexFlashOff_
+0000:8c12+     modexPalSave_
+0000:8c68+     modexNewPal_
+0000:8cb8*     modexLoadPalFile_
+0000:8d9a*     modexSavePalFile_
+0000:8e12*     modexPalBlack_
+0000:8e3c*     modexPalWhite_
+0000:8e66+     modexPalUpdate_
+0000:93d6+     modexPalUpdate1_
+0000:9450*     modexPalUpdate0_
+0000:949c+     chkcolor_
+0000:97b4      modexputPixel_
+0000:9842*     modexgetPixel_
+0000:98c8*     modexhlin_
+0000:9934      modexprint_
+0000:9ace*     modexprintbig_
+0000:9c4a      cls_
+0000:9cb8+     modexWaitBorder_
+0a98:01c4      _VGA
 Module: 16.lib(/dos/z/16/src/lib/16text.c)
-0000:9b86      textInit_
-0a81:0d3c      _romFonts
+0000:9d56      textInit_
+0a98:0d3c      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
 0000:0306      kbhit_
 Module: 16.lib(/dos/z/16/src/lib/bakapee.c)
-0000:9c28*     pdump_
-0000:9c88+     cls_
-0000:9cee+     colortest_
-0000:9d40+     colorz_
-0000:9da4+     ssd_
-0000:9ec2+     dingpp_
-0000:9f34+     dingo_
-0000:9fca+     dingas_
-0000:a078+     dingu_
-0000:a0da+     dingq_
-0000:a17a      ding_
+0000:9df8*     pdump_
+0000:9e5a+     colortest_
+0000:9eae+     colorz_
+0000:9f14+     ssd_
+0000:a032+     dingpp_
+0000:a0a4+     dingo_
+0000:a13a+     dingas_
+0000:a1e8+     dingu_
+0000:a24a+     dingq_
+0000:a2ea      ding_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
 0000:031d      getch_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
@@ -132,10 +133,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(scanf.c)
 0000:0416+     vscanf_
 0000:0444      scanf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-0a81:0000*     __nullarea
-0a81:01f4*     __ovlflag
-0a81:01f5*     __intno
-0a81:01f6*     __ovlvec
+0a98:0000*     __nullarea
+0a98:01f4*     __ovlflag
+0a98:01f5*     __intno
+0a98:01f6*     __ovlvec
 0000:046c      _cstart_
 0000:053f*     _Not_Enough_Memory_
 0000:0671      __exit_
@@ -145,31 +146,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 0000:06f8      _big_code_
 0000:06f8*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-0a81:0d54      __argv
-0a81:0d58      ___argv
-0a81:0d5c      __argc
-0a81:0d5e      ___argc
+0a98:0d54      __argv
+0a98:0d58      ___argv
+0a98:0d5c      __argc
+0a98:0d5e      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:06f8*     __exit_with_msg_
 0000:06fd      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-0a81:01fa      __curbrk
-0a81:0202      __STACKLOW
-0a81:0204      __STACKTOP
-0a81:0206      __cbyte
-0a81:0208      __child
-0a81:020a      __no87
-0a81:0217      ___FPE_handler
-0a81:01fc      __psp
-0a81:020b      __get_ovl_stack
-0a81:020f      __restore_ovl_stack
-0a81:0213      __close_ovl_file
-0a81:021b      __LpCmdLine
-0a81:021f      __LpPgmName
-0a81:01fe      __osmajor
-0a81:01ff      __osminor
-0a81:0200      __osmode
-0a81:0201      __HShift
+0a98:01fa      __curbrk
+0a98:0202      __STACKLOW
+0a98:0204      __STACKTOP
+0a98:0206      __cbyte
+0a98:0208      __child
+0a98:020a      __no87
+0a98:0217      ___FPE_handler
+0a98:01fc      __psp
+0a98:020b      __get_ovl_stack
+0a98:020f      __restore_ovl_stack
+0a98:0213      __close_ovl_file
+0a98:021b      __LpCmdLine
+0a98:021f      __LpPgmName
+0a98:01fe      __osmajor
+0a98:01ff      __osminor
+0a98:0200      __osmode
+0a98:0201      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
 0000:071c      __I4M
 0000:071c      __U4M
@@ -179,16 +180,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:08e4      _fmalloc_
 0000:08e4      malloc_
-0a81:0224+     ___fheap
-0a81:0226      ___fheapRover
-0a81:0228      ___LargestSizeB4Rover
+0a98:0224+     ___fheap
+0a98:0226      ___fheapRover
+0a98:0228      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:0a59+     _null_exit_rtn_
 0000:0a59+     __null_int23_exit_
 0000:0a5a      exit_
 0000:0a7b+     _exit_
-0a81:022a+     ___int23_exit
-0a81:022e+     ___FPE_handler_exit
+0a98:022a+     ___int23_exit
+0a98:022e+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:0a97+     __open_flags_
 0000:0d58+     _fsopen_
@@ -201,7 +202,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:1302      __doclose_
 0000:144c      __shutdown_stream_
 0000:1466      fclose_
-0a81:0d60+     ___RmTmpFileFn
+0a98:0d60+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:14d1      _ffree_
 0000:14d1      free_
@@ -210,9 +211,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(delay.c)
 0000:18b7      delay_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-0a81:0232      ___iob
-0a81:0d64      ___ClosedStreams
-0a81:0d68      ___OpenStreams
+0a98:0232      ___iob
+0a98:0d64      ___ClosedStreams
+0a98:0d68      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 0000:1a30      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ungetc.c)
@@ -227,7 +228,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:313f      __FiniRtns
 0000:313f*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-0a81:039a      ___uselfn
+0a98:039a      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:31a4      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -236,7 +237,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
 0000:3538      __Fini_Argv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:3562      __EnterWVIDEO_
-0a81:039c+     ___WD_Present
+0a98:039c+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
 0000:3586      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
@@ -252,21 +253,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 0000:3a8c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:3a8f      _nmalloc_
-0a81:039e      ___nheapbeg
-0a81:03a0      ___MiniHeapRover
-0a81:03a2      ___LargestSizeB4MiniHeapRover
+0a98:039e      ___nheapbeg
+0a98:03a0      ___MiniHeapRover
+0a98:03a2      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0000:3b69*     _heapgrow_
 0000:3b69*     _fheapgrow_
 0000:3b6a      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:3be2*     __set_commode_
-0a81:03a4      __commode
+0a98:03a4      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:3bee*     __get_errno_ptr_
-0a81:0d70      _errno
+0a98:0d70      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-0a81:03a6      __fmode
+0a98:03a6      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:3bf5      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
@@ -300,7 +301,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
 0000:4795      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:49de      _nfree_
-0a81:0d72+     ___MiniHeapFreeRover
+0a98:0d72+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0000:4ad9      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
@@ -313,48 +314,48 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
 0000:4f53      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-0a81:0098      __IsTable
+0a98:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-0a81:03a8      ___IsDBCS
+0a98:03a8      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:60b5*     _ismbblead_
-0a81:0d74      ___MBCSIsTable
+0a98:0d74      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbtowc.c)
 0000:60d1      mbtowc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bits.c)
-0a81:019a      __Bits
+0a98:019a      __Bits
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fdfs086.asm)
 0000:61ee      __FDFS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
 0000:6236*     __I4D
 0000:6285      __U4D
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-0a81:03aa      ___EFG_printf
-0a81:03ae      ___EFG_scanf
+0a98:03aa      ___EFG_printf
+0a98:03ae      ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i8m086.asm)
 0000:6337*     __I8M
 0000:6337      __U8M
 0000:631c*     __I8ME
 0000:631c*     __U8ME
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-0a81:0e76      ____Argv
-0a81:0e7a      ____Argc
+0a98:0e76      ____Argv
+0a98:0e7a      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0a81:03b2      __amblksiz
+0a98:03b2      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0a81:03fc      __Start_XI
-0a81:041a      __End_XI
-0a81:041a      __Start_YI
-0a81:042c      __End_YI
+0a98:03fc      __Start_XI
+0a98:041a      __End_XI
+0a98:041a      __Start_YI
+0a98:042c      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-0a81:0e7c      ___historical_splitparms
+0a98:0e7c      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
 0000:6482      __PTS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
 0000:64b4      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:682d*     _heapenable_
-0a81:03b4      ___heap_enabled
+0a98:03b4      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:683e      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
@@ -365,16 +366,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:6a77      __GetIOMode_
 0000:6aac      __SetIOMode_nogrow_
-0a81:03b6      ___NFiles
-0a81:03b8      ___init_mode
-0a81:03e0      ___io_mode
+0a98:03b6      ___NFiles
+0a98:03b8      ___init_mode
+0a98:03e0      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:6ae1      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:6afd*     __get_doserrno_ptr_
-0a81:0e7e      __doserrno
+0a98:0e7e      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-0a81:03e4      ___umaskval
+0a98:03e4      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:6b04      _dos_creat_
 0000:6b28*     _dos_creatnew_
@@ -408,7 +409,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
 0000:71b5*     ltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:7241      __mbinit_
-0a81:03fa+     ___MBCodePage
+0a98:03fa+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
 0000:731c*     sbrk_
 0000:732c      __brk_
@@ -425,7 +426,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
 0000:7508*     _dos_close_
 0000:7516      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-0a81:0072      ___Alphabet
+0a98:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:7525*     _msize_
 0000:7540      _fmsize_
@@ -454,6 +455,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00019160 (102752.)
+Memory size:  000192d0 (103120.)
 Entry point address: 0000:046c
 Link time: 00:00.00
index c344405de91fc352aa131d789c8ba22302a1e6ce..6f40ad1f493ef97ad58542ade44294c4117cfcd9 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index a90ae691ee66cb035f05c055f641bbf9cc61504c..83508ebf8f33724a67cd7765d563253537911075 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: exmmtest.exe
 creating a DOS executable
 
@@ -26,12 +26,12 @@ Segment                Class          Group          Address         Size
 
 exmmtest_TEXT          CODE           AUTO           0000:0000       00000373
 _TEXT                  CODE           AUTO           0000:0380       0000643a
-16_mm_TEXT             CODE           AUTO           0000:67c0       00003306
+16_mm_TEXT             CODE           AUTO           0000:67c0       00003308
 16_ca_TEXT             CODE           AUTO           0000:9ad0       000003fd
-16_hc_TEXT             CODE           AUTO           0000:9ed0       00001585
+16_hc_TEXT             CODE           AUTO           0000:9ed0       0000158b
 16_head_TEXT           CODE           AUTO           0000:b460       00000405
-kitten_TEXT            CODE           AUTO           0000:b870       0000080e
-FAR_DATA               FAR_DATA       AUTO           0c07:000e       00000000
+kitten_TEXT            CODE           AUTO           0000:b870       0000080a
+FAR_DATA               FAR_DATA       AUTO           0c07:000a       00000000
 _NULL                  BEGDATA        DGROUP         0c08:0000       00000020
 _AFTERNULL             BEGDATA        DGROUP         0c0a:0000       00000002
 CONST                  DATA           DGROUP         0c0a:0002       00000076
@@ -86,18 +86,18 @@ Module: 16.lib(/dos/z/16/src/lib/16_mm.c)
 0000:7812+     MML_UseSpace_
 0000:79f0+     MML_ClearBlock_
 0000:7a74      MM_Startup_
-0000:7ea4      MM_Shutdown_
-0000:7f3a      MM_GetPtr_
-0000:8334      MM_FreePtr_
-0000:842c*     MM_SetPurge_
-0000:8506*     MM_SetLock_
-0000:85de+     MM_SortMem_
-0000:87cc      MM_ShowMemory_
-0000:8e6c      MM_DumpData_
-0000:8fc6+     MM_UnusedMemory_
-0000:904a+     MM_TotalFree_
-0000:90e0*     MM_Report_
-0000:9a98*     MM_BombOnError_
+0000:7ea6      MM_Shutdown_
+0000:7f3c      MM_GetPtr_
+0000:8336      MM_FreePtr_
+0000:842e*     MM_SetPurge_
+0000:8508*     MM_SetLock_
+0000:85e0+     MM_SortMem_
+0000:87ce      MM_ShowMemory_
+0000:8e6e      MM_DumpData_
+0000:8fc8+     MM_UnusedMemory_
+0000:904c+     MM_TotalFree_
+0000:90e2*     MM_Report_
+0000:9a9a*     MM_BombOnError_
 0c08:0460+     _beforesort
 0c08:0464+     _aftersort
 0c08:0468+     _XMSaddr
@@ -134,10 +134,10 @@ Module: 16.lib(/dos/z/16/src/lib/16_hc.c)
 0000:a504      GetFarFreeSize_
 0000:a54e      GetNearFreeSize_
 0000:a59c      heapdump_
-0000:b238+     heapstat_
-0000:b376+     heapstat0_
-0000:b3d8+     HC_OpenDebug_
-0000:b428*     HC_CloseDebug_
+0000:b23e+     heapstat_
+0000:b37c+     heapstat0_
+0000:b3de+     HC_OpenDebug_
+0000:b42e*     HC_CloseDebug_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
 0c08:0000*     __nullarea
 0c08:01e4*     __ovlflag
@@ -264,10 +264,10 @@ Module: 16.lib(/dos/z/16/src/lib/nyan/kitten.c)
 0000:bb5a+     catread_
 0000:bc0e*     kittenclose_
 0000:bc2a+     mystrtoul_
-0000:bce2+     processEscChars_
-0000:be68+     get_line_
-0000:beda+     db_fetch_
-0000:bf70+     db_insert_
+0000:bcde+     processEscChars_
+0000:be64+     get_line_
+0000:bed6+     db_fetch_
+0000:bf6c+     db_insert_
 0c08:0394+     __kitten_catalog
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
 0000:232d      stackavail_
index e66e72f3459c3936848314bc75c6fb844cab57c0..4149c10f97302365a0832b16ef8ba1586f6f81d4 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: fmemtest.exe
 creating a DOS executable
 
index ba9895ddb852375cb986222e9573a8337e8fac7d..97c0b068d51c2e54e7ab3c2378b6f7f4a38cf577 100755 (executable)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index 60bee81232aeb3736890eb48f1287d5bb5f44579..57dd2fb96089083f9c7e7972c97fb9de8c45c1fd 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: fontgfx.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          080c:0000            0000ec80
+DGROUP                          0829:0000            0000ec80
 
 
 
@@ -27,23 +27,23 @@ Segment                Class          Group          Address         Size
 fontgfx_TEXT           CODE           AUTO           0000:0000       00000147
 _TEXT                  CODE           AUTO           0000:0150       00005ea3
 16text_TEXT            CODE           AUTO           0000:6000       0000010d
-modex16_TEXT           CODE           AUTO           0000:6110       00001fae
-FAR_DATA               FAR_DATA       AUTO           080b:000e       00000000
-_NULL                  BEGDATA        DGROUP         080c:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         080e:0000       00000002
-CONST                  DATA           DGROUP         080e:0002       00000076
-CONST2                 DATA           DGROUP         0815:0008       00000000
-_DATA                  DATA           DGROUP         0816:0000       00000698
-XIB                    DATA           DGROUP         087f:0008       00000000
-XI                     DATA           DGROUP         087f:0008       0000001e
-XIE                    DATA           DGROUP         0881:0006       00000000
-YIB                    DATA           DGROUP         0881:0006       00000000
-YI                     DATA           DGROUP         0881:0006       00000012
-YIE                    DATA           DGROUP         0882:0008       00000000
-STRINGS                DATA           DGROUP         0882:0008       00000000
-DATA                   DATA           DGROUP         0882:0008       00000000
-_BSS                   BSS            DGROUP         0882:0008       00000a4d
-STACK                  STACK          DGROUP         0928:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:6110       00002180
+FAR_DATA               FAR_DATA       AUTO           0829:0000       00000000
+_NULL                  BEGDATA        DGROUP         0829:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         082b:0000       00000002
+CONST                  DATA           DGROUP         082b:0002       00000076
+CONST2                 DATA           DGROUP         0832:0008       00000000
+_DATA                  DATA           DGROUP         0833:0000       00000698
+XIB                    DATA           DGROUP         089c:0008       00000000
+XI                     DATA           DGROUP         089c:0008       0000001e
+XIE                    DATA           DGROUP         089e:0006       00000000
+YIB                    DATA           DGROUP         089e:0006       00000000
+YI                     DATA           DGROUP         089e:0006       00000012
+YIE                    DATA           DGROUP         089f:0008       00000000
+STRINGS                DATA           DGROUP         089f:0008       00000000
+DATA                   DATA           DGROUP         089f:0008       00000000
+_BSS                   BSS            DGROUP         089f:0008       00000a4d
+STACK                  STACK          DGROUP         0945:0000       0000dac0
 
 
                         +----------------+
@@ -63,7 +63,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:0175*     __STKOVERFLOW_
 Module: 16.lib(/dos/z/16/src/lib/16text.c)
 0000:6076      textInit_
-080c:0770      _romFonts
+0829:0770      _romFonts
 Module: 16.lib(/dos/z/16/src/lib/modex16.c)
 0000:62c8*     VGAmodeX_
 0000:6370      modexEnter_
@@ -76,33 +76,35 @@ Module: 16.lib(/dos/z/16/src/lib/modex16.c)
 0000:672a*     modexSelectPlane_
 0000:674e+     modexClearRegion_
 0000:6866*     oldDrawBmp_
-0000:69cc*     modexDrawBmp_
-0000:6a32+     modexDrawBmpRegion_
-0000:6b9c*     modexDrawPlanarBuf_
-0000:6bba*     modexDrawSprite_
-0000:6c20+     modexDrawSpriteRegion_
-0000:6d98*     modexCopyPageRegion_
-0000:6f02*     modexFadeOn_
-0000:6f32*     modexFadeOff_
-0000:6f60*     modexFlashOn_
-0000:6f8e*     modexFlashOff_
-0000:705e+     modexPalSave_
-0000:70b4+     modexNewPal_
-0000:7104*     modexLoadPalFile_
-0000:71e6*     modexSavePalFile_
-0000:725e*     modexPalBlack_
-0000:7288*     modexPalWhite_
-0000:72b2+     modexPalUpdate_
-0000:7822+     modexPalUpdate1_
-0000:789c*     modexPalUpdate0_
-0000:78e8+     chkcolor_
-0000:7c00+     modexputPixel_
-0000:7c8e*     modexgetPixel_
-0000:7d14*     modexhlin_
-0000:7d80      modexprint_
-0000:7f1a      modexprintbig_
-0000:8096+     modexWaitBorder_
-080c:0504+     _VGA
+0000:69cc*     CDrawBmp_
+0000:6b30*     modexDrawBmp_
+0000:6b96+     modexDrawBmpRegion_
+0000:6d00*     modexDrawPlanarBuf_
+0000:6d1e*     modexDrawSprite_
+0000:6d84+     modexDrawSpriteRegion_
+0000:6efc*     modexCopyPageRegion_
+0000:7066*     modexFadeOn_
+0000:7096*     modexFadeOff_
+0000:70c4*     modexFlashOn_
+0000:70f2*     modexFlashOff_
+0000:71c2+     modexPalSave_
+0000:7218+     modexNewPal_
+0000:7268*     modexLoadPalFile_
+0000:734a*     modexSavePalFile_
+0000:73c2*     modexPalBlack_
+0000:73ec*     modexPalWhite_
+0000:7416+     modexPalUpdate_
+0000:7986+     modexPalUpdate1_
+0000:7a00*     modexPalUpdate0_
+0000:7a4c+     chkcolor_
+0000:7d64+     modexputPixel_
+0000:7df2*     modexgetPixel_
+0000:7e78*     modexhlin_
+0000:7ee4      modexprint_
+0000:807e      modexprintbig_
+0000:81fa*     cls_
+0000:8268+     modexWaitBorder_
+0829:0504+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
 0000:0192      getch_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
@@ -110,10 +112,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c)
 0000:01db      sprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-080c:0000*     __nullarea
-080c:052c*     __ovlflag
-080c:052d*     __intno
-080c:052e*     __ovlvec
+0829:0000*     __nullarea
+0829:052c*     __ovlflag
+0829:052d*     __intno
+0829:052e*     __ovlvec
 0000:020a      _cstart_
 0000:02dd*     _Not_Enough_Memory_
 0000:040f      __exit_
@@ -123,31 +125,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 0000:0496      _big_code_
 0000:0496*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-080c:1088      __argv
-080c:108c      ___argv
-080c:1090      __argc
-080c:1092      ___argc
+0829:1088      __argv
+0829:108c      ___argv
+0829:1090      __argc
+0829:1092      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:0496*     __exit_with_msg_
 0000:049b      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-080c:0532      __curbrk
-080c:053a      __STACKLOW
-080c:053c      __STACKTOP
-080c:053e      __cbyte
-080c:0540      __child
-080c:0542      __no87
-080c:054f      ___FPE_handler
-080c:0534      __psp
-080c:0543      __get_ovl_stack
-080c:0547      __restore_ovl_stack
-080c:054b      __close_ovl_file
-080c:0553      __LpCmdLine
-080c:0557      __LpPgmName
-080c:0536      __osmajor
-080c:0537      __osminor
-080c:0538      __osmode
-080c:0539      __HShift
+0829:0532      __curbrk
+0829:053a      __STACKLOW
+0829:053c      __STACKTOP
+0829:053e      __cbyte
+0829:0540      __child
+0829:0542      __no87
+0829:054f      ___FPE_handler
+0829:0534      __psp
+0829:0543      __get_ovl_stack
+0829:0547      __restore_ovl_stack
+0829:054b      __close_ovl_file
+0829:0553      __LpCmdLine
+0829:0557      __LpPgmName
+0829:0536      __osmajor
+0829:0537      __osminor
+0829:0538      __osmode
+0829:0539      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
 0000:04ba      __I4M
 0000:04ba      __U4M
@@ -160,16 +162,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:06a0      _fmalloc_
 0000:06a0      malloc_
-080c:055c+     ___fheap
-080c:055e      ___fheapRover
-080c:0560      ___LargestSizeB4Rover
+0829:055c+     ___fheap
+0829:055e      ___fheapRover
+0829:0560      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:0815+     _null_exit_rtn_
 0000:0815+     __null_int23_exit_
 0000:0816      exit_
 0000:0837+     _exit_
-080c:0562+     ___int23_exit
-080c:0566+     ___FPE_handler_exit
+0829:0562+     ___int23_exit
+0829:0566+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:0853+     __open_flags_
 0000:0b14+     _fsopen_
@@ -182,7 +184,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:10be      __doclose_
 0000:1208      __shutdown_stream_
 0000:1222      fclose_
-080c:1094+     ___RmTmpFileFn
+0829:1094+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:128d      _ffree_
 0000:128d      free_
@@ -192,9 +194,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
 0000:1673      rand_
 0000:16b5*     srand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-080c:056e      ___iob
-080c:1098      ___ClosedStreams
-080c:109c      ___OpenStreams
+0829:056e      ___iob
+0829:1098      ___ClosedStreams
+0829:109c      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 0000:16f2      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
@@ -207,7 +209,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:1961      __FiniRtns
 0000:1961*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-080c:06d6      ___uselfn
+0829:06d6      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:19c6      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -216,7 +218,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
 0000:1d5a      __Fini_Argv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:1d84      __EnterWVIDEO_
-080c:06d8+     ___WD_Present
+0829:06d8+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
 0000:1da8      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
@@ -232,21 +234,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 0000:22bc      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:22bf      _nmalloc_
-080c:06da      ___nheapbeg
-080c:06dc      ___MiniHeapRover
-080c:06de      ___LargestSizeB4MiniHeapRover
+0829:06da      ___nheapbeg
+0829:06dc      ___MiniHeapRover
+0829:06de      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0000:2399*     _heapgrow_
 0000:2399*     _fheapgrow_
 0000:239a      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:2412*     __set_commode_
-080c:06e0      __commode
+0829:06e0      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:241e*     __get_errno_ptr_
-080c:10a4      _errno
+0829:10a4      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-080c:06e2      __fmode
+0829:06e2      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:2425      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
@@ -280,7 +282,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
 0000:2fc5      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:320e      _nfree_
-080c:10a6+     ___MiniHeapFreeRover
+0829:10a6+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0000:3309      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
@@ -293,24 +295,24 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
 0000:3783      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-080c:10a8      ____Argv
-080c:10ac      ____Argc
+0829:10a8      ____Argv
+0829:10ac      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-080c:06e4      __amblksiz
+0829:06e4      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-080c:0738      __Start_XI
-080c:0756      __End_XI
-080c:0756      __Start_YI
-080c:0768      __End_YI
+0829:0738      __Start_XI
+0829:0756      __End_XI
+0829:0756      __Start_YI
+0829:0768      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-080c:10ae      ___historical_splitparms
+0829:10ae      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
 0000:48e6      __PTS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
 0000:4918      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:4c91*     _heapenable_
-080c:06e6      ___heap_enabled
+0829:06e6      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:4ca2      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
@@ -321,16 +323,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:4edb      __GetIOMode_
 0000:4f10      __SetIOMode_nogrow_
-080c:06e8      ___NFiles
-080c:06ea      ___init_mode
-080c:0712      ___io_mode
+0829:06e8      ___NFiles
+0829:06ea      ___init_mode
+0829:0712      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:4f45      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:4f61*     __get_doserrno_ptr_
-080c:10b0      __doserrno
+0829:10b0      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-080c:0716      ___umaskval
+0829:0716      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:4f68      _dos_creat_
 0000:4f8c*     _dos_creatnew_
@@ -357,13 +359,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:5378      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-080c:072c      ___EFG_printf
-080c:0730*     ___EFG_scanf
+0829:072c      ___EFG_printf
+0829:0730*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-080c:0734      ___IsDBCS
+0829:0734      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:53c0*     _ismbblead_
-080c:10b4      ___MBCSIsTable
+0829:10b4      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:53dc      ulltoa_
 0000:5519*     lltoa_
@@ -386,10 +388,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
 0000:5882*     _dos_close_
 0000:5890      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-080c:0072      ___Alphabet
+0829:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:58dd      __mbinit_
-080c:0736+     ___MBCodePage
+0829:0736+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:59b8*     _msize_
 0000:59d3      _fmsize_
@@ -418,6 +420,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00016d40 (93504.)
+Memory size:  00016f10 (93968.)
 Entry point address: 0000:020a
 Link time: 00:00.00
index 70003ee51a7996e57d1f429d3c25a9b7f8c48035..272d20ffefc655cfb7560787b13b013d9bbd9eec 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: inputest.exe
 creating a DOS executable
 
index d8639f9e3ad059b8cc3e7af2401aa616f012fa1c..5a38bb2f122037786fd1b9f4615c2e4362837e8f 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -47,7 +47,7 @@ DOSLIBOBJ = adlib.$(OBJ) 8254.$(OBJ) 8259.$(OBJ) dos.$(OBJ) cpu.$(OBJ)
 #3812intf.$(OBJ)
 GFXLIBOBJS = modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) 16text.$(OBJ)
 
-TESTEXEC =  exmmtest.exe test.exe pcxtest.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe fontgfx.exe inputest.exe scroll.exe vgmtest.exe
+TESTEXEC =  exmmtest.exe test.exe pcxtest.exe pcxtest2.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe fontgfx.exe inputest.exe scroll.exe vgmtest.exe
 #tsthimem.exe
 #testemm.exe testemm0.exe fonttes0.exe miditest.exe sega.exe sountest.exe
 EXEC = 16.exe bakapi.exe $(TESTEXEC) tesuto.exe
@@ -119,6 +119,9 @@ pcxtest.exe: pcxtest.$(OBJ) gfx.lib
 palettec.exe: palettec.$(OBJ) 16.lib
        wcl $(FLAGS) palettec.$(OBJ) 16.lib -fm=palettec.map
 
+pcxtest2.exe: pcxtest2.$(OBJ) gfx.lib
+       wcl $(FLAGS) pcxtest2.$(OBJ) gfx.lib -fm=pcxtest2.map
+
 maptest.exe: maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib
        wcl $(FLAGS) maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib -fm=maptest.map
 
@@ -160,6 +163,9 @@ test2.$(OBJ): $(SRC)test2.c $(SRCLIB)modex16.h
 pcxtest.$(OBJ): $(SRC)pcxtest.c $(SRCLIB)modex16.h
        wcl $(FLAGS) -c $(SRC)pcxtest.c
 
+pcxtest2.$(OBJ): $(SRC)pcxtest2.c $(SRCLIB)modex16.h
+       wcl $(FLAGS) -c $(SRC)pcxtest2.c
+
 palettec.$(OBJ): $(SRC)palettec.c
        wcl $(FLAGS) -c $(SRC)palettec.c
 
index 019e57ecd254ac2df08e3e537e71962d1fb560b9..8bc5fe95c72a5ed7ce2737fe369797356a2c24a1 100755 (executable)
Binary files a/maptest.exe and b/maptest.exe differ
index 0a55fcb949ad44ed9f1cd51caf496946ddc262fd..570eaa3baac17a4116504e86dcb260721e7e61f6 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: maptest.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          09db:0000            0000e9c0
+DGROUP                          09f7:0000            0000e9c0
 
 
 
@@ -26,27 +26,27 @@ Segment                Class          Group          Address         Size
 
 maptest_TEXT           CODE           AUTO           0000:0000       000001a5
 mapread_TEXT           CODE           AUTO           0000:01b0       00000872
-jsmn_TEXT              CODE           AUTO           0000:0a30       00000921
-_TEXT                  CODE           AUTO           0000:1360       000063bb
-bitmap_TEXT            CODE           AUTO           0000:7720       000005c7
-modex16_TEXT           CODE           AUTO           0000:7cf0       00001fae
-16text_TEXT            CODE           AUTO           0000:9ca0       0000010d
-FAR_DATA               FAR_DATA       AUTO           09da:000d       00000000
-_NULL                  BEGDATA        DGROUP         09db:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         09dd:0000       00000002
-CONST                  DATA           DGROUP         09dd:0002       00000076
-CONST2                 DATA           DGROUP         09e4:0008       00000102
-_DATA                  DATA           DGROUP         09f5:0000       0000025a
-XIB                    DATA           DGROUP         0a1a:000a       00000000
-XI                     DATA           DGROUP         0a1a:000a       0000001e
-XIE                    DATA           DGROUP         0a1c:0008       00000000
-YIB                    DATA           DGROUP         0a1c:0008       00000000
-YI                     DATA           DGROUP         0a1c:0008       00000012
-YIE                    DATA           DGROUP         0a1d:000a       00000000
-STRINGS                DATA           DGROUP         0a1d:000a       00000000
-DATA                   DATA           DGROUP         0a1d:000a       00000000
-_BSS                   BSS            DGROUP         0a1d:000a       00000ad5
-STACK                  STACK          DGROUP         0acb:0000       0000dac0
+jsmn_TEXT              CODE           AUTO           0000:0a30       00000919
+_TEXT                  CODE           AUTO           0000:1350       000063bb
+bitmap_TEXT            CODE           AUTO           0000:7710       000005c9
+modex16_TEXT           CODE           AUTO           0000:7ce0       00002180
+16text_TEXT            CODE           AUTO           0000:9e60       0000010d
+FAR_DATA               FAR_DATA       AUTO           09f6:000d       00000000
+_NULL                  BEGDATA        DGROUP         09f7:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         09f9:0000       00000002
+CONST                  DATA           DGROUP         09f9:0002       00000076
+CONST2                 DATA           DGROUP         0a00:0008       00000102
+_DATA                  DATA           DGROUP         0a11:0000       0000025a
+XIB                    DATA           DGROUP         0a36:000a       00000000
+XI                     DATA           DGROUP         0a36:000a       0000001e
+XIE                    DATA           DGROUP         0a38:0008       00000000
+YIB                    DATA           DGROUP         0a38:0008       00000000
+YI                     DATA           DGROUP         0a38:0008       00000012
+YIE                    DATA           DGROUP         0a39:000a       00000000
+STRINGS                DATA           DGROUP         0a39:000a       00000000
+DATA                   DATA           DGROUP         0a39:000a       00000000
+_BSS                   BSS            DGROUP         0a39:000a       00000ad5
+STACK                  STACK          DGROUP         0ae7:0000       0000dac0
 
 
                         +----------------+
@@ -66,364 +66,366 @@ Module: mapread.o(/dos/z/16/src/lib/mapread.c)
 0000:02f0+     dump_
 0000:07ec      loadmap_
 Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
-0000:0e0a      jsmn_parse_
-0000:1306      jsmn_init_
+0000:0e02      jsmn_parse_
+0000:12fe      jsmn_init_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
-0000:1365      __STK
-0000:1385*     __STKOVERFLOW_
+0000:1355      __STK
+0000:1375*     __STKOVERFLOW_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-09db:01b8      ___iob
-09db:043a      ___ClosedStreams
-09db:043e      ___OpenStreams
+09f7:01b8      ___iob
+09f7:043a      ___ClosedStreams
+09f7:043e      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
-0000:13a2      fprintf_
+0000:1392      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-09db:0000*     __nullarea
-09db:0320*     __ovlflag
-09db:0321*     __intno
-09db:0322*     __ovlvec
-0000:13d2      _cstart_
-0000:14a5*     _Not_Enough_Memory_
-0000:15d7      __exit_
-0000:15f6      __do_exit_with_msg__
-0000:1653      __GETDS
+09f7:0000*     __nullarea
+09f7:0320*     __ovlflag
+09f7:0321*     __intno
+09f7:0322*     __ovlvec
+0000:13c2      _cstart_
+0000:1495*     _Not_Enough_Memory_
+0000:15c7      __exit_
+0000:15e6      __do_exit_with_msg__
+0000:1643      __GETDS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
-0000:165e      _big_code_
-0000:165e*     CodeModelMismatch
+0000:164e      _big_code_
+0000:164e*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-09db:0442      __argv
-09db:0446      ___argv
-09db:044a      __argc
-09db:044c      ___argc
+09f7:0442      __argv
+09f7:0446      ___argv
+09f7:044a      __argc
+09f7:044c      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
-0000:1665      __PIA
-0000:165e*     __PIS
+0000:1655      __PIA
+0000:164e*     __PIS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c)
-0000:167c      strncmp_
+0000:166c      strncmp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
-0000:16b9      _fmalloc_
-0000:16b9      malloc_
-09db:0326+     ___fheap
-09db:0328      ___fheapRover
-09db:032a      ___LargestSizeB4Rover
+0000:16a9      _fmalloc_
+0000:16a9      malloc_
+09f7:0326+     ___fheap
+09f7:0328      ___fheapRover
+09f7:032a      ___LargestSizeB4Rover
 Module: 16.lib(/dos/z/16/src/lib/bitmap.c)
-0000:7a20      bitmapLoadPcx_
-0000:7b7c*     bitmapLoadPcxTiles_
+0000:7a12      bitmapLoadPcx_
+0000:7b6e*     bitmapLoadPcxTiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c)
-0000:182e      strstr_
+0000:181e      strstr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
-0000:1930      atoi_
+0000:1920      atoi_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
-0000:19cb+     __open_flags_
-0000:1c8c+     _fsopen_
-0000:1cf3      fopen_
-0000:1e16*     freopen_
+0000:19bb+     __open_flags_
+0000:1c7c+     _fsopen_
+0000:1ce3      fopen_
+0000:1e06*     freopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
-0000:1ea0      fread_
+0000:1e90      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
-0000:2217      __get_errno_ptr_
-09db:04ce      _errno
+0000:2207      __get_errno_ptr_
+09f7:04ce      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
-0000:221e*     _frealloc_
-0000:221e      realloc_
+0000:220e*     _frealloc_
+0000:220e      realloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
-0000:22fa      __PTC
+0000:22ea      __PTC
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncpy.c)
-0000:232d      strncpy_
+0000:231d      strncpy_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
-0000:2369*     __exit_with_msg_
-0000:236e      __fatal_runtime_error_
+0000:2359*     __exit_with_msg_
+0000:235e      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-09db:0334      __curbrk
-09db:033c      __STACKLOW
-09db:033e      __STACKTOP
-09db:0340      __cbyte
-09db:0342      __child
-09db:0344      __no87
-09db:0351      ___FPE_handler
-09db:0336      __psp
-09db:0345      __get_ovl_stack
-09db:0349      __restore_ovl_stack
-09db:034d      __close_ovl_file
-09db:0355      __LpCmdLine
-09db:0359      __LpPgmName
-09db:0338      __osmajor
-09db:0339      __osminor
-09db:033a      __osmode
-09db:033b      __HShift
+09f7:0334      __curbrk
+09f7:033c      __STACKLOW
+09f7:033e      __STACKTOP
+09f7:0340      __cbyte
+09f7:0342      __child
+09f7:0344      __no87
+09f7:0351      ___FPE_handler
+09f7:0336      __psp
+09f7:0345      __get_ovl_stack
+09f7:0349      __restore_ovl_stack
+09f7:034d      __close_ovl_file
+09f7:0355      __LpCmdLine
+09f7:0359      __LpPgmName
+09f7:0338      __osmajor
+09f7:0339      __osminor
+09f7:033a      __osmode
+09f7:033b      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
-0000:238c      __InitFiles_
+0000:237c      __InitFiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
-0000:25c0*     fcloseall_
-0000:25c7      __full_io_exit_
+0000:25b0*     fcloseall_
+0000:25b7      __full_io_exit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
-0000:25eb      __fprtf_
+0000:25db      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
-0000:273e      __CMain
+0000:272e      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
-0000:27a4      __InitRtns
-0000:27a4*     __FInitRtns
-0000:27ff      __FiniRtns
-0000:27ff*     __FFiniRtns
+0000:2794      __InitRtns
+0000:2794*     __FInitRtns
+0000:27ef      __FiniRtns
+0000:27ef*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-09db:035e      ___uselfn
+09f7:035e      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
-0000:2864      __DOSseg__
+0000:2854      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
-0000:2865      __Init_Argv_
-0000:28c8+     _getargv_
-0000:2bf8      __Fini_Argv_
+0000:2855      __Init_Argv_
+0000:28b8+     _getargv_
+0000:2be8      __Fini_Argv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
-0000:2c30      __MemAllocator
-0000:2cfa      __MemFree
+0000:2c20      __MemAllocator
+0000:2cea      __MemFree
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
-0000:2e57      __GrowSeg_
+0000:2e47      __GrowSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
-0000:2fcd      __AllocSeg_
+0000:2fbd      __AllocSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
-0000:30bc      __fmemneed_
+0000:30ac      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
-0000:30bf      _nmalloc_
-09db:0360      ___nheapbeg
-09db:0362      ___MiniHeapRover
-09db:0364      ___LargestSizeB4MiniHeapRover
+0000:30af      _nmalloc_
+09f7:0360      ___nheapbeg
+09f7:0362      ___MiniHeapRover
+09f7:0364      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
-0000:3199*     _heapgrow_
-0000:3199*     _fheapgrow_
-0000:319a      _nheapgrow_
+0000:3189*     _heapgrow_
+0000:3189*     _fheapgrow_
+0000:318a      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
-0000:3212      printf_
+0000:3202      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
-0000:3241      __doclose_
-0000:338b      __shutdown_stream_
-0000:33a5      fclose_
-09db:04d4+     ___RmTmpFileFn
+0000:3231      __doclose_
+0000:337b      __shutdown_stream_
+0000:3395      fclose_
+09f7:04d4+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
-0000:3410+     _null_exit_rtn_
-0000:3410+     __null_int23_exit_
-0000:3411      exit_
-0000:3432+     _exit_
-09db:0366+     ___int23_exit
-09db:036a+     ___FPE_handler_exit
+0000:3400+     _null_exit_rtn_
+0000:3400+     __null_int23_exit_
+0000:3401      exit_
+0000:3422+     _exit_
+09f7:0366+     ___int23_exit
+09f7:036a+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
-0000:356c      fseek_
+0000:355c      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
-0000:3764      __fill_buffer_
-0000:39b3      fgetc_
+0000:3754      __fill_buffer_
+0000:39a3      fgetc_
 Module: 16.lib(/dos/z/16/src/lib/modex16.c)
-0000:7ea8*     VGAmodeX_
-0000:7f50+     modexEnter_
-0000:7fec*     modexLeave_
-0000:8004*     modexDefaultPage_
-0000:805e*     modexNextPage_
-0000:811a*     modexNextPage0_
-0000:81be*     modexShowPage_
-0000:82ba*     modexPanPage_
-0000:830a*     modexSelectPlane_
-0000:832e+     modexClearRegion_
-0000:8446*     oldDrawBmp_
-0000:85ac*     modexDrawBmp_
-0000:8612+     modexDrawBmpRegion_
-0000:877c*     modexDrawPlanarBuf_
-0000:879a*     modexDrawSprite_
-0000:8800+     modexDrawSpriteRegion_
-0000:8978*     modexCopyPageRegion_
-0000:8ae2*     modexFadeOn_
-0000:8b12*     modexFadeOff_
-0000:8b40*     modexFlashOn_
-0000:8b6e*     modexFlashOff_
-0000:8c3e+     modexPalSave_
-0000:8c94      modexNewPal_
-0000:8ce4*     modexLoadPalFile_
-0000:8dc6*     modexSavePalFile_
-0000:8e3e*     modexPalBlack_
-0000:8e68*     modexPalWhite_
-0000:8e92+     modexPalUpdate_
-0000:9402+     modexPalUpdate1_
-0000:947c*     modexPalUpdate0_
-0000:94c8+     chkcolor_
-0000:97e0+     modexputPixel_
-0000:986e*     modexgetPixel_
-0000:98f4*     modexhlin_
-0000:9960*     modexprint_
-0000:9afa*     modexprintbig_
-0000:9c76+     modexWaitBorder_
-09db:0374+     _VGA
+0000:7e98*     VGAmodeX_
+0000:7f40+     modexEnter_
+0000:7fdc*     modexLeave_
+0000:7ff4*     modexDefaultPage_
+0000:804e*     modexNextPage_
+0000:810a*     modexNextPage0_
+0000:81ae*     modexShowPage_
+0000:82aa*     modexPanPage_
+0000:82fa*     modexSelectPlane_
+0000:831e+     modexClearRegion_
+0000:8436*     oldDrawBmp_
+0000:859c*     CDrawBmp_
+0000:8700*     modexDrawBmp_
+0000:8766+     modexDrawBmpRegion_
+0000:88d0*     modexDrawPlanarBuf_
+0000:88ee*     modexDrawSprite_
+0000:8954+     modexDrawSpriteRegion_
+0000:8acc*     modexCopyPageRegion_
+0000:8c36*     modexFadeOn_
+0000:8c66*     modexFadeOff_
+0000:8c94*     modexFlashOn_
+0000:8cc2*     modexFlashOff_
+0000:8d92+     modexPalSave_
+0000:8de8      modexNewPal_
+0000:8e38*     modexLoadPalFile_
+0000:8f1a*     modexSavePalFile_
+0000:8f92*     modexPalBlack_
+0000:8fbc*     modexPalWhite_
+0000:8fe6+     modexPalUpdate_
+0000:9556+     modexPalUpdate1_
+0000:95d0*     modexPalUpdate0_
+0000:961c+     chkcolor_
+0000:9934+     modexputPixel_
+0000:99c2*     modexgetPixel_
+0000:9a48*     modexhlin_
+0000:9ab4*     modexprint_
+0000:9c4e*     modexprintbig_
+0000:9dca*     cls_
+0000:9e38+     modexWaitBorder_
+09f7:0374+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
-0000:3afa      __PTS
+0000:3aea      __PTS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-09db:0098      __IsTable
+09f7:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
-0000:3b2b*     __set_commode_
-09db:039c      __commode
+0000:3b1b*     __set_commode_
+09f7:039c      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-09db:039e      __fmode
+09f7:039e      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
-0000:3b37      tolower_
+0000:3b27      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
-0000:3d66*     open_
-0000:3d9d      sopen_
+0000:3d56*     open_
+0000:3d8d      sopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
-0000:3dca      __chktty_
+0000:3dba      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
-0000:3e29      __freefp_
-0000:3eca      __purgefp_
+0000:3e19      __freefp_
+0000:3eba      __purgefp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
-0000:3f0b      __allocfp_
+0000:3efb      __allocfp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
-0000:40bb      __ioalloc_
+0000:40ab      __ioalloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
-0000:4249      __qread_
+0000:4239      __qread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
-0000:4269*     _msize_
-0000:4284      _fmsize_
+0000:4259*     _msize_
+0000:4274      _fmsize_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
-0000:4295      __HeapManager_expand_
-0000:479e      _nexpand_
+0000:4285      __HeapManager_expand_
+0000:478e      _nexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
-0000:47f1      _ffree_
-0000:47f1      free_
+0000:47e1      _ffree_
+0000:47e1      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
-0000:485e      _fexpand_
-0000:485e*     _expand_
+0000:484e      _fexpand_
+0000:484e*     _expand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
-0000:4893      __EnterWVIDEO_
-09db:03a0+     ___WD_Present
+0000:4883      __EnterWVIDEO_
+09f7:03a0+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
-0000:48b7      fputc_
+0000:48a7      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
-0000:4a8c      __prtf_
+0000:4a7c      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
-0000:5bee      __flush_
+0000:5bde      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-09db:0dd8      ____Argv
-09db:0ddc      ____Argc
+09f7:0dd8      ____Argv
+09f7:0ddc      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-09db:03a2      __amblksiz
+09f7:03a2      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-09db:03fa      __Start_XI
-09db:0418      __End_XI
-09db:0418      __Start_YI
-09db:042a      __End_YI
+09f7:03fa      __Start_XI
+09f7:0418      __End_XI
+09f7:0418      __Start_YI
+09f7:042a      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-09db:0dde      ___historical_splitparms
+09f7:0dde      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
-0000:5e38*     _heapenable_
-09db:03a4      ___heap_enabled
+0000:5e28*     _heapenable_
+09f7:03a4      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
-0000:5e49      __nmemneed_
+0000:5e39      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
-0000:5ed1      __LastFree_
-0000:5f4b      __ExpandDGROUP_
+0000:5ec1      __LastFree_
+0000:5f3b      __ExpandDGROUP_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
-0000:605c      _nfree_
-09db:0de0+     ___MiniHeapFreeRover
+0000:604c      _nfree_
+09f7:0de0+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
-0000:6157      __lseek_
+0000:6147      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
-0000:6191      __close_
+0000:6181      __close_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
-0000:61c7      lseek_
+0000:61b7      lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
-0000:61f8      tell_
+0000:61e8      tell_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
-0000:6209      __flushall_
-0000:629d*     flushall_
+0000:61f9      __flushall_
+0000:628d*     flushall_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
-0000:62a3      getche_
+0000:6293      getche_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
-0000:62bd+     int86x_
-0000:6440      int86_
+0000:62ad+     int86x_
+0000:6430      int86_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
-0000:646d      fwrite_
+0000:645d      fwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
-0000:67e6      rand_
-0000:6828*     srand_
+0000:67d6      rand_
+0000:6818*     srand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
-0000:684c      __I4M
-0000:684c      __U4M
+0000:683c      __I4M
+0000:683c      __U4M
 Module: 16.lib(/dos/z/16/src/lib/16text.c)
-0000:9d16*     textInit_
-09db:0de2      _romFonts
+0000:9ed6*     textInit_
+09f7:0de2      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
-0000:6864      _dos_open_
+0000:6854      _dos_open_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
-0000:688a      __GetIOMode_
-0000:68bf      __SetIOMode_nogrow_
-09db:03aa      ___NFiles
-09db:03ac      ___init_mode
-09db:03d4      ___io_mode
+0000:687a      __GetIOMode_
+0000:68af      __SetIOMode_nogrow_
+09f7:03aa      ___NFiles
+09f7:03ac      ___init_mode
+09f7:03d4      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
-0000:68f4      isatty_
+0000:68e4      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
-0000:6910*     __get_doserrno_ptr_
-09db:0dfa      __doserrno
+0000:6900*     __get_doserrno_ptr_
+09f7:0dfa      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-09db:03d8      ___umaskval
+09f7:03d8      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
-0000:6917      _dos_creat_
-0000:693b*     _dos_creatnew_
+0000:6907      _dos_creat_
+0000:692b*     _dos_creatnew_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
-0000:695c+     __grow_iomode_
-0000:6a43+     __shrink_iomode_
-0000:6a84      __SetIOMode_
+0000:694c+     __grow_iomode_
+0000:6a33+     __shrink_iomode_
+0000:6a74      __SetIOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
-0000:6b2b*     __dosretax
-0000:6b30*     __dosret0
-0000:6b37      __set_errno_dos_
-0000:6b9f*     __set_errno_dos_reterr_
+0000:6b1b*     __dosretax
+0000:6b20*     __dosret0
+0000:6b27      __set_errno_dos_
+0000:6b8f*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
-0000:6baa      _bfree_
+0000:6b9a      _bfree_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
-0000:6bcf      _bexpand_
+0000:6bbf      _bexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
-0000:6c28      wctomb_
+0000:6c18      wctomb_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
-0000:6c73+     utoa_
-0000:6d14      itoa_
+0000:6c63+     utoa_
+0000:6d04      itoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
-0000:6d5e      strupr_
+0000:6d4e      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-09db:03ee      ___EFG_printf
-09db:03f2*     ___EFG_scanf
+09f7:03ee      ___EFG_printf
+09f7:03f2*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-09db:03f6      ___IsDBCS
+09f7:03f6      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
-0000:6da6*     _ismbblead_
-09db:0dfe      ___MBCSIsTable
+0000:6d96*     _ismbblead_
+09f7:0dfe      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
-0000:6dc2      ulltoa_
-0000:6eff*     lltoa_
+0000:6db2      ulltoa_
+0000:6eef*     lltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
-0000:6f70      ultoa_
-0000:702e*     ltoa_
+0000:6f60      ultoa_
+0000:701e*     ltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
-0000:707c      __qwrite_
+0000:706c      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
-0000:70dc      fsync_
+0000:70cc      fsync_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
-0000:70e1*     sbrk_
-0000:70f1      __brk_
+0000:70d1*     sbrk_
+0000:70e1      __brk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
-0000:7159      intr_
+0000:7149      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
-0000:716d      segread_
+0000:715d      segread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
-0000:71d4      __doserror_
-0000:71e2*     __doserror1_
+0000:71c4      __doserror_
+0000:71d2*     __doserror1_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
-0000:71ee      __ChkTTYIOMode_
-0000:725c*     __IOMode_
+0000:71de      __ChkTTYIOMode_
+0000:724c*     __IOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-09db:0072      ___Alphabet
+09f7:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
-0000:72aa      __mbinit_
-09db:03f8+     ___MBCodePage
+0000:729a      __mbinit_
+09f7:03f8+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
-0000:7385*     _dos_close_
-0000:7393      _dos_commit_
+0000:7375*     _dos_close_
+0000:7383      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
-0000:73a2      _DoINTR_
+0000:7392      _DoINTR_
 
 
                         +--------------------+
@@ -439,6 +441,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00018770 (100208.)
-Entry point address: 0000:13d2
+Memory size:  00018930 (100656.)
+Entry point address: 0000:13c2
 Link time: 00:00.00
index b719a9df808241a0101bc562ccc95dcba23806a9..661bf7faf417e11c97c65a6b51fec87a39da84c9 100755 (executable)
Binary files a/palettec.exe and b/palettec.exe differ
index adffeb19864a2355964b0d40e7397e4fc8b7e56b..0380ad7155313ddf425f2e6e21cec6d8da2cfda6 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: palettec.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          07b5:0000            0000e800
+DGROUP                          07d2:0000            0000e800
 
 
 
@@ -26,24 +26,24 @@ Segment                Class          Group          Address         Size
 
 palettec_TEXT          CODE           AUTO           0000:0000       0000004c
 _TEXT                  CODE           AUTO           0000:0050       00005a3d
-modex16_TEXT           CODE           AUTO           0000:5a90       00001fae
-16text_TEXT            CODE           AUTO           0000:7a40       0000010d
-FAR_DATA               FAR_DATA       AUTO           07b4:000d       00000000
-_NULL                  BEGDATA        DGROUP         07b5:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         07b7:0000       00000002
-CONST                  DATA           DGROUP         07b7:0002       00000076
-CONST2                 DATA           DGROUP         07be:0008       00000000
-_DATA                  DATA           DGROUP         07bf:0000       00000248
-XIB                    DATA           DGROUP         07e3:0008       00000000
-XI                     DATA           DGROUP         07e3:0008       00000018
-XIE                    DATA           DGROUP         07e5:0000       00000000
-YIB                    DATA           DGROUP         07e5:0000       00000000
-YI                     DATA           DGROUP         07e5:0000       0000000c
-YIE                    DATA           DGROUP         07e5:000c       00000000
-STRINGS                DATA           DGROUP         07e5:000c       00000000
-DATA                   DATA           DGROUP         07e5:000c       00000000
-_BSS                   BSS            DGROUP         07e5:000c       00000a33
-STACK                  STACK          DGROUP         0889:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:5a90       00002180
+16text_TEXT            CODE           AUTO           0000:7c10       0000010d
+FAR_DATA               FAR_DATA       AUTO           07d1:000d       00000000
+_NULL                  BEGDATA        DGROUP         07d2:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         07d4:0000       00000002
+CONST                  DATA           DGROUP         07d4:0002       00000076
+CONST2                 DATA           DGROUP         07db:0008       00000000
+_DATA                  DATA           DGROUP         07dc:0000       00000248
+XIB                    DATA           DGROUP         0800:0008       00000000
+XI                     DATA           DGROUP         0800:0008       00000018
+XIE                    DATA           DGROUP         0802:0000       00000000
+YIB                    DATA           DGROUP         0802:0000       00000000
+YI                     DATA           DGROUP         0802:0000       0000000c
+YIE                    DATA           DGROUP         0802:000c       00000000
+STRINGS                DATA           DGROUP         0802:000c       00000000
+DATA                   DATA           DGROUP         0802:000c       00000000
+_BSS                   BSS            DGROUP         0802:000c       00000a33
+STACK                  STACK          DGROUP         08a6:0000       0000dac0
 
 
                         +----------------+
@@ -73,38 +73,40 @@ Module: 16.lib(/dos/z/16/src/lib/modex16.c)
 0000:60aa*     modexSelectPlane_
 0000:60ce+     modexClearRegion_
 0000:61e6*     oldDrawBmp_
-0000:634c*     modexDrawBmp_
-0000:63b2+     modexDrawBmpRegion_
-0000:651c*     modexDrawPlanarBuf_
-0000:653a*     modexDrawSprite_
-0000:65a0+     modexDrawSpriteRegion_
-0000:6718*     modexCopyPageRegion_
-0000:6882*     modexFadeOn_
-0000:68b2*     modexFadeOff_
-0000:68e0*     modexFlashOn_
-0000:690e*     modexFlashOff_
-0000:69de      modexPalSave_
-0000:6a34      modexNewPal_
-0000:6a84*     modexLoadPalFile_
-0000:6b66      modexSavePalFile_
-0000:6bde*     modexPalBlack_
-0000:6c08*     modexPalWhite_
-0000:6c32+     modexPalUpdate_
-0000:71a2+     modexPalUpdate1_
-0000:721c*     modexPalUpdate0_
-0000:7268+     chkcolor_
-0000:7580+     modexputPixel_
-0000:760e*     modexgetPixel_
-0000:7694*     modexhlin_
-0000:7700*     modexprint_
-0000:789a*     modexprintbig_
-0000:7a16+     modexWaitBorder_
-07b5:00b4+     _VGA
+0000:634c*     CDrawBmp_
+0000:64b0*     modexDrawBmp_
+0000:6516+     modexDrawBmpRegion_
+0000:6680*     modexDrawPlanarBuf_
+0000:669e*     modexDrawSprite_
+0000:6704+     modexDrawSpriteRegion_
+0000:687c*     modexCopyPageRegion_
+0000:69e6*     modexFadeOn_
+0000:6a16*     modexFadeOff_
+0000:6a44*     modexFlashOn_
+0000:6a72*     modexFlashOff_
+0000:6b42      modexPalSave_
+0000:6b98      modexNewPal_
+0000:6be8*     modexLoadPalFile_
+0000:6cca      modexSavePalFile_
+0000:6d42*     modexPalBlack_
+0000:6d6c*     modexPalWhite_
+0000:6d96+     modexPalUpdate_
+0000:7306+     modexPalUpdate1_
+0000:7380*     modexPalUpdate0_
+0000:73cc+     chkcolor_
+0000:76e4+     modexputPixel_
+0000:7772*     modexgetPixel_
+0000:77f8*     modexhlin_
+0000:7864*     modexprint_
+0000:79fe*     modexprintbig_
+0000:7b7a*     cls_
+0000:7be8+     modexWaitBorder_
+07d2:00b4+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-07b5:0000*     __nullarea
-07b5:00dc*     __ovlflag
-07b5:00dd*     __intno
-07b5:00de*     __ovlvec
+07d2:0000*     __nullarea
+07d2:00dc*     __ovlflag
+07d2:00dd*     __intno
+07d2:00de*     __ovlvec
 0000:0092      _cstart_
 0000:0165*     _Not_Enough_Memory_
 0000:0297      __exit_
@@ -117,23 +119,23 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:031e*     __exit_with_msg_
 0000:0323      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-07b5:00e2      __curbrk
-07b5:00ea      __STACKLOW
-07b5:00ec      __STACKTOP
-07b5:00ee      __cbyte
-07b5:00f0      __child
-07b5:00f2      __no87
-07b5:00ff      ___FPE_handler
-07b5:00e4      __psp
-07b5:00f3      __get_ovl_stack
-07b5:00f7      __restore_ovl_stack
-07b5:00fb      __close_ovl_file
-07b5:0103      __LpCmdLine
-07b5:0107      __LpPgmName
-07b5:00e6      __osmajor
-07b5:00e7      __osminor
-07b5:00e8      __osmode
-07b5:00e9      __HShift
+07d2:00e2      __curbrk
+07d2:00ea      __STACKLOW
+07d2:00ec      __STACKTOP
+07d2:00ee      __cbyte
+07d2:00f0      __child
+07d2:00f2      __no87
+07d2:00ff      ___FPE_handler
+07d2:00e4      __psp
+07d2:00f3      __get_ovl_stack
+07d2:00f7      __restore_ovl_stack
+07d2:00fb      __close_ovl_file
+07d2:0103      __LpCmdLine
+07d2:0107      __LpPgmName
+07d2:00e6      __osmajor
+07d2:00e7      __osminor
+07d2:00e8      __osmode
+07d2:00e9      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 0000:0342+     int86x_
 0000:04c5      int86_
@@ -143,9 +145,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:0510      _fmalloc_
 0000:0510      malloc_
-07b5:010c+     ___fheap
-07b5:010e      ___fheapRover
-07b5:0110      ___LargestSizeB4Rover
+07d2:010c+     ___fheap
+07d2:010e      ___fheapRover
+07d2:0110      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0000:0685      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
@@ -153,8 +155,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:06b4+     __null_int23_exit_
 0000:06b5      exit_
 0000:06d6+     _exit_
-07b5:0112+     ___int23_exit
-07b5:0116+     ___FPE_handler_exit
+07d2:0112+     ___int23_exit
+07d2:0116+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:06f2+     __open_flags_
 0000:09b3+     _fsopen_
@@ -167,7 +169,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:0f5d      __doclose_
 0000:10a7      __shutdown_stream_
 0000:10c1      fclose_
-07b5:0c0c+     ___RmTmpFileFn
+07d2:0c0c+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:112c      _ffree_
 0000:112c      free_
@@ -180,8 +182,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
 0000:1578      __I4M
 0000:1578      __U4M
 Module: 16.lib(/dos/z/16/src/lib/16text.c)
-0000:7ab6*     textInit_
-07b5:0c10      _romFonts
+0000:7c86*     textInit_
+07d2:0c10      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
 0000:1590      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
@@ -190,12 +192,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:1651      __FiniRtns
 0000:1651*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-07b5:011e      ___uselfn
+07d2:011e      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:16b6      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:16b7      __EnterWVIDEO_
-07b5:0120+     ___WD_Present
+07d2:0120+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
 0000:16db      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
@@ -211,27 +213,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 0000:1bec      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:1bef      _nmalloc_
-07b5:0122      ___nheapbeg
-07b5:0124      ___MiniHeapRover
-07b5:0126      ___LargestSizeB4MiniHeapRover
+07d2:0122      ___nheapbeg
+07d2:0124      ___MiniHeapRover
+07d2:0126      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0000:1cc9*     _heapgrow_
 0000:1cc9*     _fheapgrow_
 0000:1cca      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-07b5:0128      ___iob
-07b5:0c28      ___ClosedStreams
-07b5:0c2c      ___OpenStreams
+07d2:0128      ___iob
+07d2:0c28      ___ClosedStreams
+07d2:0c2c      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 0000:1d5c      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:1eaf*     __set_commode_
-07b5:0290      __commode
+07d2:0290      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:1ebb*     __get_errno_ptr_
-07b5:0c30      _errno
+07d2:0c30      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-07b5:0292      __fmode
+07d2:0292      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:1ec2      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
@@ -265,26 +267,26 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
 0000:2a61      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:2caa      _nfree_
-07b5:0c32+     ___MiniHeapFreeRover
+07d2:0c32+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0000:2da5      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 0000:2e05      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-07b5:0c34      ____Argv
-07b5:0c38      ____Argc
+07d2:0c34      ____Argv
+07d2:0c38      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-07b5:0294      __amblksiz
+07d2:0294      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-07b5:02e8      __Start_XI
-07b5:0300      __End_XI
-07b5:0300      __Start_YI
-07b5:030c      __End_YI
+07d2:02e8      __Start_XI
+07d2:0300      __End_XI
+07d2:0300      __Start_YI
+07d2:030c      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
 0000:2fda      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:3353*     _heapenable_
-07b5:0296      ___heap_enabled
+07d2:0296      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:3364      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
@@ -302,16 +304,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:4944      __GetIOMode_
 0000:4979      __SetIOMode_nogrow_
-07b5:0298      ___NFiles
-07b5:029a      ___init_mode
-07b5:02c2      ___io_mode
+07d2:0298      ___NFiles
+07d2:029a      ___init_mode
+07d2:02c2      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:49ae      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:49ca*     __get_doserrno_ptr_
-07b5:0c3a      __doserrno
+07d2:0c3a      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-07b5:02c6      ___umaskval
+07d2:02c6      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:49d1      _dos_creat_
 0000:49f5*     _dos_creatnew_
@@ -343,13 +345,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:4e8a      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-07b5:02dc      ___EFG_printf
-07b5:02e0*     ___EFG_scanf
+07d2:02dc      ___EFG_printf
+07d2:02e0*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-07b5:02e4      ___IsDBCS
+07d2:02e4      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:4ed2*     _ismbblead_
-07b5:0c3e      ___MBCSIsTable
+07d2:0c3e      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:4eee      ulltoa_
 0000:502b*     lltoa_
@@ -369,10 +371,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
 0000:531c*     _dos_close_
 0000:532a      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-07b5:0072      ___Alphabet
+07d2:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:5377      __mbinit_
-07b5:02e6+     ___MBCodePage
+07d2:02e6+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:5452*     _msize_
 0000:546d      _fmsize_
@@ -401,6 +403,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00016350 (90960.)
+Memory size:  00016520 (91424.)
 Entry point address: 0000:0092
 Link time: 00:00.00
index e23ffe5948172d7a18043508527299179d75d9ae..e1a00fd2cda6b812ada90a78748603de7d1fc96d 100755 (executable)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index db701fb87465727fe5a665241ba6ad81fc0a2ff7..d25a69051cf3e040c1b57eb85db61a882d2d3d26 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: pcxtest.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0b05:0000            0000ecc0
+DGROUP                          0b26:0000            0000ecc0
 
 
 
@@ -24,30 +24,30 @@ DGROUP                          0b05:0000            0000ecc0
 Segment                Class          Group          Address         Size
 =======                =====          =====          =======         ====
 
-pcxtest_TEXT           CODE           AUTO           0000:0000       000001c3
-_TEXT                  CODE           AUTO           0000:01d0       00008567
-modex16_TEXT           CODE           AUTO           0000:8740       00001fae
-bitmap_TEXT            CODE           AUTO           0000:a6f0       000005c7
-planar_TEXT            CODE           AUTO           0000:acc0       00000275
-16text_TEXT            CODE           AUTO           0000:af40       0000010d
-FAR_DATA               FAR_DATA       AUTO           0b04:000d       00000000
-_NULL                  BEGDATA        DGROUP         0b05:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         0b07:0000       00000002
-CONST                  DATA           DGROUP         0b07:0002       00000076
-CONST2                 DATA           DGROUP         0b0e:0008       00000132
-_DATA                  DATA           DGROUP         0b22:0000       00000336
-XIB                    DATA           DGROUP         0b55:0006       00000000
-XI                     DATA           DGROUP         0b55:0006       0000002a
-XIE                    DATA           DGROUP         0b58:0000       00000000
-YIB                    DATA           DGROUP         0b58:0000       00000000
-YI                     DATA           DGROUP         0b58:0000       0000000c
-YIE                    DATA           DGROUP         0b58:000c       00000000
-STRINGS                DATA           DGROUP         0b58:000c       00000000
-DATA                   DATA           DGROUP         0b58:000c       00000000
-_emu_init_start        EMU            DGROUP         0b58:000c       00000000
-_emu_init_end          EMU            DGROUP         0b58:000c       00000000
-_BSS                   BSS            DGROUP         0b58:000c       00000cb8
-STACK                  STACK          DGROUP         0c25:0000       0000dac0
+pcxtest_TEXT           CODE           AUTO           0000:0000       00000203
+_TEXT                  CODE           AUTO           0000:0210       00008567
+modex16_TEXT           CODE           AUTO           0000:8780       00002180
+bitmap_TEXT            CODE           AUTO           0000:a900       000005c9
+planar_TEXT            CODE           AUTO           0000:aed0       00000275
+16text_TEXT            CODE           AUTO           0000:b150       0000010d
+FAR_DATA               FAR_DATA       AUTO           0b25:000d       00000000
+_NULL                  BEGDATA        DGROUP         0b26:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0b28:0000       00000002
+CONST                  DATA           DGROUP         0b28:0002       00000076
+CONST2                 DATA           DGROUP         0b2f:0008       00000132
+_DATA                  DATA           DGROUP         0b43:0000       00000336
+XIB                    DATA           DGROUP         0b76:0006       00000000
+XI                     DATA           DGROUP         0b76:0006       0000002a
+XIE                    DATA           DGROUP         0b79:0000       00000000
+YIB                    DATA           DGROUP         0b79:0000       00000000
+YI                     DATA           DGROUP         0b79:0000       0000000c
+YIE                    DATA           DGROUP         0b79:000c       00000000
+STRINGS                DATA           DGROUP         0b79:000c       00000000
+DATA                   DATA           DGROUP         0b79:000c       00000000
+_emu_init_start        EMU            DGROUP         0b79:000c       00000000
+_emu_init_end          EMU            DGROUP         0b79:000c       00000000
+_BSS                   BSS            DGROUP         0b79:000c       00000cb8
+STACK                  STACK          DGROUP         0c46:0000       0000dac0
 
 
                         +----------------+
@@ -61,351 +61,353 @@ Address        Symbol
 =======        ======
 
 Module: pcxtest.o(/dos/z/16/src/pcxtest.c)
-0000:0040      main_
-0b05:01d4+     _clockw
+0000:0060      main_
+0b26:01d4+     _clockw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
-0000:01d5      __STK
-0000:01f5*     __STKOVERFLOW_
+0000:0215      __STK
+0000:0235*     __STKOVERFLOW_
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
-0000:88f8*     VGAmodeX_
-0000:89a0      modexEnter_
-0000:8a3c      modexLeave_
-0000:8a54      modexDefaultPage_
-0000:8aae*     modexNextPage_
-0000:8b6a*     modexNextPage0_
-0000:8c0e*     modexShowPage_
-0000:8d0a*     modexPanPage_
-0000:8d5a*     modexSelectPlane_
-0000:8d7e      modexClearRegion_
-0000:8e96      oldDrawBmp_
-0000:8ffc      modexDrawBmp_
-0000:9062+     modexDrawBmpRegion_
-0000:91cc*     modexDrawPlanarBuf_
-0000:91ea      modexDrawSprite_
-0000:9250+     modexDrawSpriteRegion_
-0000:93c8      modexCopyPageRegion_
-0000:9532*     modexFadeOn_
-0000:9562*     modexFadeOff_
-0000:9590*     modexFlashOn_
-0000:95be*     modexFlashOff_
-0000:968e+     modexPalSave_
-0000:96e4      modexNewPal_
-0000:9734*     modexLoadPalFile_
-0000:9816*     modexSavePalFile_
-0000:988e*     modexPalBlack_
-0000:98b8*     modexPalWhite_
-0000:98e2+     modexPalUpdate_
-0000:9e52      modexPalUpdate1_
-0000:9ecc*     modexPalUpdate0_
-0000:9f18+     chkcolor_
-0000:a230+     modexputPixel_
-0000:a2be*     modexgetPixel_
-0000:a344*     modexhlin_
-0000:a3b0*     modexprint_
-0000:a54a*     modexprintbig_
-0000:a6c6+     modexWaitBorder_
-0b05:01e4      _VGA
+0000:8938*     VGAmodeX_
+0000:89e0      modexEnter_
+0000:8a7c      modexLeave_
+0000:8a94      modexDefaultPage_
+0000:8aee*     modexNextPage_
+0000:8baa*     modexNextPage0_
+0000:8c4e*     modexShowPage_
+0000:8d4a*     modexPanPage_
+0000:8d9a*     modexSelectPlane_
+0000:8dbe      modexClearRegion_
+0000:8ed6      oldDrawBmp_
+0000:903c*     CDrawBmp_
+0000:91a0      modexDrawBmp_
+0000:9206+     modexDrawBmpRegion_
+0000:9370*     modexDrawPlanarBuf_
+0000:938e      modexDrawSprite_
+0000:93f4+     modexDrawSpriteRegion_
+0000:956c      modexCopyPageRegion_
+0000:96d6*     modexFadeOn_
+0000:9706*     modexFadeOff_
+0000:9734*     modexFlashOn_
+0000:9762*     modexFlashOff_
+0000:9832+     modexPalSave_
+0000:9888      modexNewPal_
+0000:98d8*     modexLoadPalFile_
+0000:99ba*     modexSavePalFile_
+0000:9a32*     modexPalBlack_
+0000:9a5c*     modexPalWhite_
+0000:9a86+     modexPalUpdate_
+0000:9ff6      modexPalUpdate1_
+0000:a070*     modexPalUpdate0_
+0000:a0bc+     chkcolor_
+0000:a3d4+     modexputPixel_
+0000:a462*     modexgetPixel_
+0000:a4e8*     modexhlin_
+0000:a554*     modexprint_
+0000:a6ee*     modexprintbig_
+0000:a86a*     cls_
+0000:a8d8+     modexWaitBorder_
+0b26:01e4      _VGA
 Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
-0000:a9f0      bitmapLoadPcx_
-0000:ab4c*     bitmapLoadPcxTiles_
+0000:ac02      bitmapLoadPcx_
+0000:ad5e*     bitmapLoadPcxTiles_
 Module: gfx.lib(/dos/z/16/src/lib/planar.c)
-0000:acc0      planar_buf_from_bitmap_
-0000:ade0+     planar_buf_alloc_
-0000:aeda*     planar_buf_free_
+0000:aed0      planar_buf_from_bitmap_
+0000:aff0+     planar_buf_alloc_
+0000:b0ea*     planar_buf_free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
-0000:0212      kbhit_
+0000:0252      kbhit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
-0000:0229      printf_
+0000:0269      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-0b05:0000*     __nullarea
-0b05:0224*     __ovlflag
-0b05:0225*     __intno
-0b05:0226*     __ovlvec
-0000:0258      _cstart_
-0000:032b*     _Not_Enough_Memory_
-0000:045d      __exit_
-0000:047c      __do_exit_with_msg__
-0000:04d9      __GETDS
+0b26:0000*     __nullarea
+0b26:0224*     __ovlflag
+0b26:0225*     __intno
+0b26:0226*     __ovlvec
+0000:0298      _cstart_
+0000:036b*     _Not_Enough_Memory_
+0000:049d      __exit_
+0000:04bc      __do_exit_with_msg__
+0000:0519      __GETDS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c)
-0b05:022a      _fltused_
+0b26:022a      _fltused_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
-0000:04e4      _big_code_
-0000:04e4*     CodeModelMismatch
+0000:0524      _big_code_
+0000:0524*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-0b05:022c      __8087
-0b05:022d      __real87
-0b05:022e      __dos87emucall
-0b05:0230      __dos87real
+0b26:022c      __8087
+0b26:022d      __real87
+0b26:022e      __dos87emucall
+0b26:0230      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
-0000:04e4*     __exit_with_msg_
-0000:04e9      __fatal_runtime_error_
+0000:0524*     __exit_with_msg_
+0000:0529      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-0b05:0232      __curbrk
-0b05:023a      __STACKLOW
-0b05:023c      __STACKTOP
-0b05:023e      __cbyte
-0b05:0240      __child
-0b05:0242      __no87
-0b05:024f      ___FPE_handler
-0b05:0234      __psp
-0b05:0243      __get_ovl_stack
-0b05:0247      __restore_ovl_stack
-0b05:024b      __close_ovl_file
-0b05:0253      __LpCmdLine
-0b05:0257      __LpPgmName
-0b05:0236      __osmajor
-0b05:0237      __osminor
-0b05:0238      __osmode
-0b05:0239      __HShift
+0b26:0232      __curbrk
+0b26:023a      __STACKLOW
+0b26:023c      __STACKTOP
+0b26:023e      __cbyte
+0b26:0240      __child
+0b26:0242      __no87
+0b26:024f      ___FPE_handler
+0b26:0234      __psp
+0b26:0243      __get_ovl_stack
+0b26:0247      __restore_ovl_stack
+0b26:024b      __close_ovl_file
+0b26:0253      __LpCmdLine
+0b26:0257      __LpPgmName
+0b26:0236      __osmajor
+0b26:0237      __osminor
+0b26:0238      __osmode
+0b26:0239      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
-0000:0508+     int86x_
-0000:068b      int86_
+0000:0548+     int86x_
+0000:06cb      int86_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
-0000:06bf      __PIA
-0000:06b8*     __PIS
+0000:06ff      __PIA
+0000:06f8*     __PIS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
-0000:06d6      _fmalloc_
-0000:06d6      malloc_
-0b05:025c+     ___fheap
-0b05:025e      ___fheapRover
-0b05:0260      ___LargestSizeB4Rover
+0000:0716      _fmalloc_
+0000:0716      malloc_
+0b26:025c+     ___fheap
+0b26:025e      ___fheapRover
+0b26:0260      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
-0000:084b+     _null_exit_rtn_
-0000:084b+     __null_int23_exit_
-0000:084c      exit_
-0000:086d+     _exit_
-0b05:0262+     ___int23_exit
-0b05:0266      ___FPE_handler_exit
+0000:088b+     _null_exit_rtn_
+0000:088b+     __null_int23_exit_
+0000:088c      exit_
+0000:08ad+     _exit_
+0b26:0262+     ___int23_exit
+0b26:0266      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
-0000:0889+     __open_flags_
-0000:0b4a+     _fsopen_
-0000:0bb1      fopen_
-0000:0cd4*     freopen_
+0000:08c9+     __open_flags_
+0000:0b8a+     _fsopen_
+0000:0bf1      fopen_
+0000:0d14*     freopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
-0000:0d5e      __fill_buffer_
-0000:0fad      fgetc_
+0000:0d9e      __fill_buffer_
+0000:0fed      fgetc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
-0000:10f4      __doclose_
-0000:123e      __shutdown_stream_
-0000:1258      fclose_
-0b05:0ebc+     ___RmTmpFileFn
+0000:1134      __doclose_
+0000:127e      __shutdown_stream_
+0000:1298      fclose_
+0b26:0ebc+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
-0000:12c3      _ffree_
-0000:12c3      free_
+0000:1303      _ffree_
+0000:1303      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
-0000:1330      fwrite_
+0000:1370      fwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
-0000:16a9      rand_
-0000:16eb*     srand_
+0000:16e9      rand_
+0000:172b*     srand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
-0000:170e      __I4M
-0000:170e      __U4M
+0000:174e      __I4M
+0000:174e      __U4M
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0000:afb6*     textInit_
-0b05:0ec0      _romFonts
+0000:b1c6*     textInit_
+0b26:0ec0      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
-0000:1726      fread_
+0000:1766      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
-0000:1bbb      fseek_
+0000:1bfb      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-0b05:026e      ___iob
-0b05:0ed8      ___ClosedStreams
-0b05:0edc      ___OpenStreams
+0b26:026e      ___iob
+0b26:0ed8      ___ClosedStreams
+0b26:0edc      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
-0000:1db3      fprintf_
+0000:1df3      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
-0000:1dfc      __fprtf_
+0000:1e3c      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
-0000:1f4f      __CMain
+0000:1f8f      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
-0000:1fb5      __InitRtns
-0000:1fb5*     __FInitRtns
-0000:2010      __FiniRtns
-0000:2010*     __FFiniRtns
+0000:1ff5      __InitRtns
+0000:1ff5*     __FInitRtns
+0000:2050      __FiniRtns
+0000:2050*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-0b05:03d6      ___uselfn
+0b26:03d6      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
-0000:2074      __DOSseg__
+0000:20b4      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c)
-0000:2075      __setEFGfmt_
+0000:20b5      __setEFGfmt_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
-0000:20ad*     _fpreset_
-0000:20d8      __init_8087_
-0000:210b+     __default_sigfpe_handler_
-0000:2160      __chk8087_
+0000:20ed*     _fpreset_
+0000:2118      __init_8087_
+0000:214b+     __default_sigfpe_handler_
+0000:21a0      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
-0000:21d0      __EnterWVIDEO_
-0b05:03f6+     ___WD_Present
+0000:2210      __EnterWVIDEO_
+0b26:03f6+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
-0000:21f4      intr_
+0000:2234      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
-0000:2208      segread_
+0000:2248      segread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
-0000:2270      __MemAllocator
-0000:233a      __MemFree
+0000:22b0      __MemAllocator
+0000:237a      __MemFree
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
-0000:2497      __GrowSeg_
+0000:24d7      __GrowSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
-0000:260d      __AllocSeg_
+0000:264d      __AllocSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
-0000:26fc      __fmemneed_
+0000:273c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
-0000:26ff      _nmalloc_
-0b05:03f8      ___nheapbeg
-0b05:03fa      ___MiniHeapRover
-0b05:03fc      ___LargestSizeB4MiniHeapRover
+0000:273f      _nmalloc_
+0b26:03f8      ___nheapbeg
+0b26:03fa      ___MiniHeapRover
+0b26:03fc      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
-0000:27d9*     _heapgrow_
-0000:27d9*     _fheapgrow_
-0000:27da      _nheapgrow_
+0000:2819*     _heapgrow_
+0000:2819*     _fheapgrow_
+0000:281a      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
-0000:2852*     __set_commode_
-0b05:03fe      __commode
+0000:2892*     __set_commode_
+0b26:03fe      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
-0000:285e*     __get_errno_ptr_
-0b05:0ee0      _errno
+0000:289e*     __get_errno_ptr_
+0b26:0ee0      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-0b05:0400      __fmode
+0b26:0400      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
-0000:2865      tolower_
+0000:28a5      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
-0000:2a94*     open_
-0000:2acb      sopen_
+0000:2ad4*     open_
+0000:2b0b      sopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
-0000:2af8      __chktty_
+0000:2b38      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
-0000:2b57      __freefp_
-0000:2bf8      __purgefp_
+0000:2b97      __freefp_
+0000:2c38      __purgefp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
-0000:2c39      __allocfp_
+0000:2c79      __allocfp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
-0000:2dea      __PTC
+0000:2e2a      __PTC
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
-0000:2e1d      __flushall_
-0000:2eb1*     flushall_
+0000:2e5d      __flushall_
+0000:2ef1*     flushall_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
-0000:2eb7      getche_
+0000:2ef7      getche_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
-0000:2ed1      __ioalloc_
+0000:2f11      __ioalloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
-0000:305f      __qread_
+0000:309f      __qread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
-0000:307f      __lseek_
+0000:30bf      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
-0000:30b9      __close_
+0000:30f9      __close_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
-0000:30ef      __flush_
+0000:312f      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
-0000:3338      _nfree_
-0b05:0ee2+     ___MiniHeapFreeRover
+0000:3378      _nfree_
+0b26:0ee2+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
-0000:3433      __qwrite_
+0000:3473      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
-0000:3493      fputc_
+0000:34d3      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
-0000:3668      __PTS
+0000:36a8      __PTS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
-0000:3699      lseek_
+0000:36d9      lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
-0000:36ca      tell_
+0000:370a      tell_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
-0000:36db      __InitFiles_
+0000:371b      __InitFiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
-0000:390f*     fcloseall_
-0000:3916      __full_io_exit_
+0000:394f*     fcloseall_
+0000:3956      __full_io_exit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
-0000:3920      __prtf_
+0000:3960      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-0b05:0ee4      ____Argv
-0b05:0ee8      ____Argc
+0b26:0ee4      ____Argv
+0b26:0ee8      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0b05:0402      __amblksiz
+0b26:0402      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0b05:0506      __Start_XI
-0b05:0530      __End_XI
-0b05:0530      __Start_YI
-0b05:053c      __End_YI
+0b26:0506      __Start_XI
+0b26:0530      __End_XI
+0b26:0530      __Start_YI
+0b26:053c      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-0b05:0404      ___EFG_printf
-0b05:0408      ___EFG_scanf
+0b26:0404      ___EFG_printf
+0b26:0408      ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c)
-0000:4a95      _EFG_Format_
+0000:4ad5      _EFG_Format_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c)
-0000:4c67      __cnvs2d_
+0000:4ca7      __cnvs2d_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-0b05:040c      __8087cw
+0b26:040c      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-0b05:040e      ___Save8087
-0b05:0412      ___Rest8087
+0b26:040e      ___Save8087
+0b26:0412      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
-0000:4c87      __GrabFP87_
+0000:4cc7      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
-0000:4cba*     __init_8087_emu
-0000:4cc0      __x87id
+0000:4cfa*     __init_8087_emu
+0000:4d00      __x87id
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
-0000:4d1e      _DoINTR_
+0000:4d5e      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
-0000:5097*     _heapenable_
-0b05:0416      ___heap_enabled
+0000:50d7*     _heapenable_
+0b26:0416      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
-0000:50a8      __nmemneed_
+0000:50e8      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
-0000:5130      __LastFree_
-0000:51aa      __ExpandDGROUP_
+0000:5170      __LastFree_
+0000:51ea      __ExpandDGROUP_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
-0000:52bb      _dos_open_
+0000:52fb      _dos_open_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
-0000:52e1      __GetIOMode_
-0000:5316      __SetIOMode_nogrow_
-0b05:0418      ___NFiles
-0b05:041a      ___init_mode
-0b05:0442      ___io_mode
+0000:5321      __GetIOMode_
+0000:5356      __SetIOMode_nogrow_
+0b26:0418      ___NFiles
+0b26:041a      ___init_mode
+0b26:0442      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
-0000:534b      isatty_
+0000:538b      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
-0000:5367*     __get_doserrno_ptr_
-0b05:0eea      __doserrno
+0000:53a7*     __get_doserrno_ptr_
+0b26:0eea      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-0b05:0446      ___umaskval
+0b26:0446      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
-0000:536e      _dos_creat_
-0000:5392*     _dos_creatnew_
+0000:53ae      _dos_creat_
+0000:53d2*     _dos_creatnew_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
-0000:53b3+     __grow_iomode_
-0000:549a+     __shrink_iomode_
-0000:54db      __SetIOMode_
+0000:53f3+     __grow_iomode_
+0000:54da+     __shrink_iomode_
+0000:551b      __SetIOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
-0000:5582*     __dosretax
-0000:5587*     __dosret0
-0000:558e      __set_errno_dos_
-0000:55f6*     __set_errno_dos_reterr_
+0000:55c2*     __dosretax
+0000:55c7*     __dosret0
+0000:55ce      __set_errno_dos_
+0000:5636*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
-0000:5601      fsync_
+0000:5641      fsync_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
-0000:5606      wctomb_
+0000:5646      wctomb_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
-0000:5651+     utoa_
-0000:56f2      itoa_
+0000:5691+     utoa_
+0000:5732      itoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
-0000:573c      strupr_
+0000:577c      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-0b05:045c      ___IsDBCS
+0b26:045c      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
-0000:5771*     _ismbblead_
-0b05:0eee      ___MBCSIsTable
+0000:57b1*     _ismbblead_
+0b26:0eee      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
-0000:578d      ulltoa_
-0000:58ca*     lltoa_
+0000:57cd      ulltoa_
+0000:590a*     lltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
-0000:593b      ultoa_
-0000:59f9*     ltoa_
+0000:597b      ultoa_
+0000:5a39*     ltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rtcntrl.c)
-0000:5a47*     _SetLD64bit_
-0000:5a52*     _SetLD80bit_
-0000:5a5d      _LDisDouble_
+0000:5a87*     _SetLD64bit_
+0000:5a92*     _SetLD80bit_
+0000:5a9d      _LDisDouble_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(ldcvt.c)
-0000:5bc2      _LDScale10x_
-0000:649a      __LDcvt_
+0000:5c02      _LDScale10x_
+0000:64da      __LDcvt_
 Module: /dos/fdos/watcom2/lib286/noemu87.lib(emustub.asm)
 0000:0000*     FJSRQQ
 0000:0000*     FISRQQ
@@ -416,72 +418,72 @@ Module: /dos/fdos/watcom2/lib286/noemu87.lib(emustub.asm)
 0000:0000*     FJARQQ
 0000:0000*     FICRQQ
 0000:0000*     FIARQQ
-0000:6c76*     __init_87_emulator
+0000:6cb6*     __init_87_emulator
 Module: /dos/fdos/watcom2/lib286/math87h.lib(strtod.c)
-0000:748a+     __Strtold_
-0000:76c9      strtod_
+0000:74ca+     __Strtold_
+0000:7709      strtod_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm)
-0000:7870      __Init_FPE_handler_
-0000:78a9      __Fini_FPE_handler_
-0000:78e0*     __FPEHandler
+0000:78b0      __Init_FPE_handler_
+0000:78e9      __Fini_FPE_handler_
+0000:7920*     __FPEHandler
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
-0000:7b72*     sbrk_
-0000:7b82      __brk_
+0000:7bb2*     sbrk_
+0000:7bc2      __brk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
-0000:7bea      __doserror_
-0000:7bf8*     __doserror1_
+0000:7c2a      __doserror_
+0000:7c38*     __doserror1_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
-0000:7c04*     _frealloc_
-0000:7c04      realloc_
+0000:7c44*     _frealloc_
+0000:7c44      realloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
-0000:7ce0      __ChkTTYIOMode_
-0000:7d4e*     __IOMode_
+0000:7d20      __ChkTTYIOMode_
+0000:7d8e*     __IOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
-0000:7d5e*     _dos_close_
-0000:7d6c      _dos_commit_
+0000:7d9e*     _dos_close_
+0000:7dac      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-0b05:0072      ___Alphabet
+0b26:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
-0000:7db9      __mbinit_
-0b05:0502+     ___MBCodePage
+0000:7df9      __mbinit_
+0b26:0502+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
-0000:7e94      __LDClass_
-0000:7f1a*     _FLClass_
+0000:7ed4      __LDClass_
+0000:7f5a*     _FLClass_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
-0000:7f2e      __I4D
-0000:7f7d*     __U4D
+0000:7f6e      __I4D
+0000:7fbd*     __U4D
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-0b05:0098      __IsTable
+0b26:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
-0000:8002      __ZBuf2LD
+0000:8042      __ZBuf2LD
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
-0000:80ca*     __set_EDOM_
-0000:80d6      __set_ERANGE_
-0000:80e2*     __set_EINVAL_
+0000:810a*     __set_EDOM_
+0000:8116      __set_ERANGE_
+0000:8122*     __set_EINVAL_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c)
-0b05:019a*     ___f_infinity
-0b05:019e*     ___f_posqnan
-0b05:01a2      ___d_infinity
-0b05:01aa      ___d_posqnan
-0b05:01b2*     ___ld_infinity
-0b05:01ba*     ___ld_posqnan
+0b26:019a*     ___f_infinity
+0b26:019e*     ___f_posqnan
+0b26:01a2      ___d_infinity
+0b26:01aa      ___d_posqnan
+0b26:01b2*     ___ld_infinity
+0b26:01ba*     ___ld_posqnan
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
-0b05:01c2      __HugeValue
+0b26:01c2      __HugeValue
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-0b05:0504      ___FPE_int
+0b26:0504      ___FPE_int
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
-0000:80fc*     _msize_
-0000:8117      _fmsize_
+0000:813c*     _msize_
+0000:8157      _fmsize_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
-0000:8128      __HeapManager_expand_
-0000:8631      _nexpand_
+0000:8168      __HeapManager_expand_
+0000:8671      _nexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
-0000:8684      _fexpand_
-0000:8684*     _expand_
+0000:86c4      _fexpand_
+0000:86c4*     _expand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
-0000:86b9      _bfree_
+0000:86f9      _bfree_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
-0000:86de      _bexpand_
+0000:871e      _bexpand_
 
 
                         +--------------------+
@@ -489,9 +491,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
                         +--------------------+
 
 gfx.lib
-/dos/fdos/watcom2/lib286/dos/clibh.lib
-/dos/fdos/watcom2/lib286/math87h.lib
 /dos/fdos/watcom2/lib286/noemu87.lib
+/dos/fdos/watcom2/lib286/math87h.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
 
 
                         +-----------------------+
@@ -499,6 +501,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00019d10 (105744.)
-Entry point address: 0000:0258
+Memory size:  00019f20 (106272.)
+Entry point address: 0000:0298
 Link time: 00:00.00
diff --git a/pcxtest2.exe b/pcxtest2.exe
new file mode 100755 (executable)
index 0000000..43d06ad
Binary files /dev/null and b/pcxtest2.exe differ
diff --git a/pcxtest2.map b/pcxtest2.map
new file mode 100755 (executable)
index 0000000..d91f3b7
--- /dev/null
@@ -0,0 +1,506 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:45:32
+Executable Image: pcxtest2.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0b26:0000            0000ecc0
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+pcxtest2_TEXT          CODE           AUTO           0000:0000       0000020b
+_TEXT                  CODE           AUTO           0000:0210       00008567
+modex16_TEXT           CODE           AUTO           0000:8780       00002180
+bitmap_TEXT            CODE           AUTO           0000:a900       000005c9
+planar_TEXT            CODE           AUTO           0000:aed0       00000275
+16text_TEXT            CODE           AUTO           0000:b150       0000010d
+FAR_DATA               FAR_DATA       AUTO           0b25:000d       00000000
+_NULL                  BEGDATA        DGROUP         0b26:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0b28:0000       00000002
+CONST                  DATA           DGROUP         0b28:0002       00000076
+CONST2                 DATA           DGROUP         0b2f:0008       00000132
+_DATA                  DATA           DGROUP         0b43:0000       00000336
+XIB                    DATA           DGROUP         0b76:0006       00000000
+XI                     DATA           DGROUP         0b76:0006       0000002a
+XIE                    DATA           DGROUP         0b79:0000       00000000
+YIB                    DATA           DGROUP         0b79:0000       00000000
+YI                     DATA           DGROUP         0b79:0000       0000000c
+YIE                    DATA           DGROUP         0b79:000c       00000000
+STRINGS                DATA           DGROUP         0b79:000c       00000000
+DATA                   DATA           DGROUP         0b79:000c       00000000
+_emu_init_start        EMU            DGROUP         0b79:000c       00000000
+_emu_init_end          EMU            DGROUP         0b79:000c       00000000
+_BSS                   BSS            DGROUP         0b79:000c       00000cb8
+STACK                  STACK          DGROUP         0c46:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: pcxtest2.o(/dos/z/16/src/pcxtest2.c)
+0000:0060      main_
+0b26:01d4+     _clockw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0215      __STK
+0000:0235*     __STKOVERFLOW_
+Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
+0000:8938*     VGAmodeX_
+0000:89e0      modexEnter_
+0000:8a7c      modexLeave_
+0000:8a94      modexDefaultPage_
+0000:8aee*     modexNextPage_
+0000:8baa*     modexNextPage0_
+0000:8c4e*     modexShowPage_
+0000:8d4a*     modexPanPage_
+0000:8d9a*     modexSelectPlane_
+0000:8dbe      modexClearRegion_
+0000:8ed6      oldDrawBmp_
+0000:903c*     CDrawBmp_
+0000:91a0      modexDrawBmp_
+0000:9206+     modexDrawBmpRegion_
+0000:9370*     modexDrawPlanarBuf_
+0000:938e      modexDrawSprite_
+0000:93f4+     modexDrawSpriteRegion_
+0000:956c      modexCopyPageRegion_
+0000:96d6*     modexFadeOn_
+0000:9706*     modexFadeOff_
+0000:9734*     modexFlashOn_
+0000:9762*     modexFlashOff_
+0000:9832+     modexPalSave_
+0000:9888      modexNewPal_
+0000:98d8*     modexLoadPalFile_
+0000:99ba*     modexSavePalFile_
+0000:9a32*     modexPalBlack_
+0000:9a5c*     modexPalWhite_
+0000:9a86+     modexPalUpdate_
+0000:9ff6      modexPalUpdate1_
+0000:a070*     modexPalUpdate0_
+0000:a0bc+     chkcolor_
+0000:a3d4+     modexputPixel_
+0000:a462*     modexgetPixel_
+0000:a4e8*     modexhlin_
+0000:a554*     modexprint_
+0000:a6ee*     modexprintbig_
+0000:a86a*     cls_
+0000:a8d8+     modexWaitBorder_
+0b26:01e4      _VGA
+Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
+0000:ac02      bitmapLoadPcx_
+0000:ad5e*     bitmapLoadPcxTiles_
+Module: gfx.lib(/dos/z/16/src/lib/planar.c)
+0000:aed0      planar_buf_from_bitmap_
+0000:aff0+     planar_buf_alloc_
+0000:b0ea*     planar_buf_free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:0252      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:0269      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0b26:0000*     __nullarea
+0b26:0224*     __ovlflag
+0b26:0225*     __intno
+0b26:0226*     __ovlvec
+0000:0298      _cstart_
+0000:036b*     _Not_Enough_Memory_
+0000:049d      __exit_
+0000:04bc      __do_exit_with_msg__
+0000:0519      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c)
+0b26:022a      _fltused_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:0524      _big_code_
+0000:0524*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
+0b26:022c      __8087
+0b26:022d      __real87
+0b26:022e      __dos87emucall
+0b26:0230      __dos87real
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:0524*     __exit_with_msg_
+0000:0529      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+0b26:0232      __curbrk
+0b26:023a      __STACKLOW
+0b26:023c      __STACKTOP
+0b26:023e      __cbyte
+0b26:0240      __child
+0b26:0242      __no87
+0b26:024f      ___FPE_handler
+0b26:0234      __psp
+0b26:0243      __get_ovl_stack
+0b26:0247      __restore_ovl_stack
+0b26:024b      __close_ovl_file
+0b26:0253      __LpCmdLine
+0b26:0257      __LpPgmName
+0b26:0236      __osmajor
+0b26:0237      __osminor
+0b26:0238      __osmode
+0b26:0239      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:0548+     int86x_
+0000:06cb      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:06ff      __PIA
+0000:06f8*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:0716      _fmalloc_
+0000:0716      malloc_
+0b26:025c+     ___fheap
+0b26:025e      ___fheapRover
+0b26:0260      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:088b+     _null_exit_rtn_
+0000:088b+     __null_int23_exit_
+0000:088c      exit_
+0000:08ad+     _exit_
+0b26:0262+     ___int23_exit
+0b26:0266      ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:08c9+     __open_flags_
+0000:0b8a+     _fsopen_
+0000:0bf1      fopen_
+0000:0d14*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:0d9e      __fill_buffer_
+0000:0fed      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:1134      __doclose_
+0000:127e      __shutdown_stream_
+0000:1298      fclose_
+0b26:0ebc+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:1303      _ffree_
+0000:1303      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:1370      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:16e9      rand_
+0000:172b*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:174e      __I4M
+0000:174e      __U4M
+Module: gfx.lib(/dos/z/16/src/lib/16text.c)
+0000:b1c6*     textInit_
+0b26:0ec0      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:1766      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:1bfb      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+0b26:026e      ___iob
+0b26:0ed8      ___ClosedStreams
+0b26:0edc      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:1df3      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1e3c      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:1f8f      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:1ff5      __InitRtns
+0000:1ff5*     __FInitRtns
+0000:2050      __FiniRtns
+0000:2050*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+0b26:03d6      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:20b4      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c)
+0000:20b5      __setEFGfmt_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
+0000:20ed*     _fpreset_
+0000:2118      __init_8087_
+0000:214b+     __default_sigfpe_handler_
+0000:21a0      __chk8087_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:2210      __EnterWVIDEO_
+0b26:03f6+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:2234      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:2248      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:22b0      __MemAllocator
+0000:237a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:24d7      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:264d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:273c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:273f      _nmalloc_
+0b26:03f8      ___nheapbeg
+0b26:03fa      ___MiniHeapRover
+0b26:03fc      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:2819*     _heapgrow_
+0000:2819*     _fheapgrow_
+0000:281a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:2892*     __set_commode_
+0b26:03fe      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:289e*     __get_errno_ptr_
+0b26:0ee0      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0b26:0400      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:28a5      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:2ad4*     open_
+0000:2b0b      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:2b38      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:2b97      __freefp_
+0000:2c38      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:2c79      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:2e2a      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:2e5d      __flushall_
+0000:2ef1*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:2ef7      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:2f11      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:309f      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:30bf      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:30f9      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:312f      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:3378      _nfree_
+0b26:0ee2+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:3473      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:34d3      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:36a8      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:36d9      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:370a      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:371b      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:394f*     fcloseall_
+0000:3956      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:3960      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0b26:0ee4      ____Argv
+0b26:0ee8      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0b26:0402      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0b26:0506      __Start_XI
+0b26:0530      __End_XI
+0b26:0530      __Start_YI
+0b26:053c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0b26:0404      ___EFG_printf
+0b26:0408      ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c)
+0000:4ad5      _EFG_Format_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c)
+0000:4ca7      __cnvs2d_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
+0b26:040c      __8087cw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
+0b26:040e      ___Save8087
+0b26:0412      ___Rest8087
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
+0000:4cc7      __GrabFP87_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
+0000:4cfa*     __init_8087_emu
+0000:4d00      __x87id
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:4d5e      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:50d7*     _heapenable_
+0b26:0416      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:50e8      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:5170      __LastFree_
+0000:51ea      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:52fb      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:5321      __GetIOMode_
+0000:5356      __SetIOMode_nogrow_
+0b26:0418      ___NFiles
+0b26:041a      ___init_mode
+0b26:0442      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:538b      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:53a7*     __get_doserrno_ptr_
+0b26:0eea      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0b26:0446      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:53ae      _dos_creat_
+0000:53d2*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:53f3+     __grow_iomode_
+0000:54da+     __shrink_iomode_
+0000:551b      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:55c2*     __dosretax
+0000:55c7*     __dosret0
+0000:55ce      __set_errno_dos_
+0000:5636*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:5641      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:5646      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:5691+     utoa_
+0000:5732      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:577c      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0b26:045c      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:57b1*     _ismbblead_
+0b26:0eee      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:57cd      ulltoa_
+0000:590a*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:597b      ultoa_
+0000:5a39*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rtcntrl.c)
+0000:5a87*     _SetLD64bit_
+0000:5a92*     _SetLD80bit_
+0000:5a9d      _LDisDouble_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldcvt.c)
+0000:5c02      _LDScale10x_
+0000:64da      __LDcvt_
+Module: /dos/fdos/watcom2/lib286/noemu87.lib(emustub.asm)
+0000:0000*     FJSRQQ
+0000:0000*     FISRQQ
+0000:0000*     FIERQQ
+0000:0000      FIDRQQ
+0000:0000      FIWRQQ
+0000:0000*     FJCRQQ
+0000:0000*     FJARQQ
+0000:0000*     FICRQQ
+0000:0000*     FIARQQ
+0000:6cb6*     __init_87_emulator
+Module: /dos/fdos/watcom2/lib286/math87h.lib(strtod.c)
+0000:74ca+     __Strtold_
+0000:7709      strtod_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm)
+0000:78b0      __Init_FPE_handler_
+0000:78e9      __Fini_FPE_handler_
+0000:7920*     __FPEHandler
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:7bb2*     sbrk_
+0000:7bc2      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:7c2a      __doserror_
+0000:7c38*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:7c44*     _frealloc_
+0000:7c44      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:7d20      __ChkTTYIOMode_
+0000:7d8e*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7d9e*     _dos_close_
+0000:7dac      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0b26:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:7df9      __mbinit_
+0b26:0502+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
+0000:7ed4      __LDClass_
+0000:7f5a*     _FLClass_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:7f6e      __I4D
+0000:7fbd*     __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+0b26:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
+0000:8042      __ZBuf2LD
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
+0000:810a*     __set_EDOM_
+0000:8116      __set_ERANGE_
+0000:8122*     __set_EINVAL_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c)
+0b26:019a*     ___f_infinity
+0b26:019e*     ___f_posqnan
+0b26:01a2      ___d_infinity
+0b26:01aa      ___d_posqnan
+0b26:01b2*     ___ld_infinity
+0b26:01ba*     ___ld_posqnan
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
+0b26:01c2      __HugeValue
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
+0b26:0504      ___FPE_int
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:813c*     _msize_
+0000:8157      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:8168      __HeapManager_expand_
+0000:8671      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:86c4      _fexpand_
+0000:86c4*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:86f9      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:871e      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+gfx.lib
+/dos/fdos/watcom2/lib286/noemu87.lib
+/dos/fdos/watcom2/lib286/math87h.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00019f20 (106272.)
+Entry point address: 0000:0298
+Link time: 00:00.00
index 9e402c7f88df4d7801f1a85be80608da65be481d..65275b30748490187357342d76e4fc00c8b4f842 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index e559f1a8ee7243d0f20bbb198891f00cb3493a33..436395b7fc446653f619af44daa53298e921e6b9 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: scroll.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          1130:0000            0000f490
+DGROUP                          1146:0000            0000f490
 
 
 
@@ -27,33 +27,33 @@ Segment                Class          Group          Address         Size
 scroll_TEXT            CODE           AUTO           0000:0000       00000c4f
 scroll16_TEXT          CODE           AUTO           0000:0c50       0000341d
 mapread_TEXT           CODE           AUTO           0000:4070       00000872
-jsmn_TEXT              CODE           AUTO           0000:48f0       00000921
-_TEXT                  CODE           AUTO           0000:5220       00006868
-bitmap_TEXT            CODE           AUTO           0000:ba90       000005c7
-planar_TEXT            CODE           AUTO           0000:c060       00000275
-16_in_TEXT             CODE           AUTO           0000:c2e0       00001d43
-16text_TEXT            CODE           AUTO           0000:e030       0000010d
-modex16_TEXT           CODE           AUTO           0e14:0000       00001fae
-bakapee_TEXT           CODE           AUTO           0e14:1fb0       00000be5
-wcpu_TEXT              CODE           AUTO           0e14:2ba0       00000058
-16_head_TEXT           CODE           AUTO           0e14:2c00       00000405
-16_in13_DATA           FAR_DATA       AUTO           1115:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           112f:0004       00000000
-_NULL                  BEGDATA        DGROUP         1130:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         1132:0000       00000002
-CONST                  DATA           DGROUP         1132:0002       00000076
-CONST2                 DATA           DGROUP         1139:0008       00000102
-_DATA                  DATA           DGROUP         114a:0000       00000a0c
-XIB                    DATA           DGROUP         11ea:000c       00000000
-XI                     DATA           DGROUP         11ea:000c       00000024
-XIE                    DATA           DGROUP         11ed:0000       00000000
-YIB                    DATA           DGROUP         11ed:0000       00000000
-YI                     DATA           DGROUP         11ed:0000       00000012
-YIE                    DATA           DGROUP         11ee:0002       00000000
-STRINGS                DATA           DGROUP         11ee:0002       00000000
-DATA                   DATA           DGROUP         11ee:0002       00000000
-_BSS                   BSS            DGROUP         11ef:0000       00000dd6
-STACK                  STACK          DGROUP         12cd:0000       0000dac0
+jsmn_TEXT              CODE           AUTO           0000:48f0       00000919
+_TEXT                  CODE           AUTO           0000:5210       00006868
+bitmap_TEXT            CODE           AUTO           0000:ba80       000005c9
+planar_TEXT            CODE           AUTO           0000:c050       00000275
+16_in_TEXT             CODE           AUTO           0000:c2d0       00001d43
+16text_TEXT            CODE           AUTO           0000:e020       0000010d
+modex16_TEXT           CODE           AUTO           0e13:0000       00002180
+bakapee_TEXT           CODE           AUTO           0e13:2180       00000b86
+wcpu_TEXT              CODE           AUTO           0e13:2d10       00000058
+16_head_TEXT           CODE           AUTO           0e13:2d70       00000405
+16_in13_DATA           FAR_DATA       AUTO           112b:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           1145:0004       00000000
+_NULL                  BEGDATA        DGROUP         1146:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         1148:0000       00000002
+CONST                  DATA           DGROUP         1148:0002       00000076
+CONST2                 DATA           DGROUP         114f:0008       00000102
+_DATA                  DATA           DGROUP         1160:0000       00000a0c
+XIB                    DATA           DGROUP         1200:000c       00000000
+XI                     DATA           DGROUP         1200:000c       00000024
+XIE                    DATA           DGROUP         1203:0000       00000000
+YIB                    DATA           DGROUP         1203:0000       00000000
+YI                     DATA           DGROUP         1203:0000       00000012
+YIE                    DATA           DGROUP         1204:0002       00000000
+STRINGS                DATA           DGROUP         1204:0002       00000000
+DATA                   DATA           DGROUP         1204:0002       00000000
+_BSS                   BSS            DGROUP         1205:0000       00000dd6
+STACK                  STACK          DGROUP         12e3:0000       0000dac0
 
 
                         +----------------+
@@ -67,17 +67,17 @@ Address        Symbol
 =======        ======
 
 Module: scroll.o(/dos/z/16/src/scroll.c)
-1130:0bf0+     _player
-1130:0cf0+     _screen
-1130:0d00+     _screen3
-1130:0d10+     _screen2
-1130:0d20+     _mv
-1130:0d50+     _gvar
-1130:0d68+     _spri
-1130:0d6c+     _mask
-1130:0d70+     _p
+1146:0bf0+     _player
+1146:0cf0+     _screen
+1146:0d00+     _screen3
+1146:0d10+     _screen2
+1146:0d20+     _mv
+1146:0d50+     _gvar
+1146:0d68+     _spri
+1146:0d6c+     _mask
+1146:0d70+     _p
 0000:01ee      main_
-1130:0d80+     _bg
+1146:0d80+     _bg
 Module: scroll16.o(/dos/z/16/src/lib/scroll16.c)
 0000:0c5a      walk_
 0000:2712+     mapScrollRight_
@@ -97,437 +97,438 @@ Module: mapread.o(/dos/z/16/src/lib/mapread.c)
 0000:41b0+     dump_
 0000:46ac      loadmap_
 Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
-0000:4cca      jsmn_parse_
-0000:51c6      jsmn_init_
+0000:4cc2      jsmn_parse_
+0000:51be      jsmn_init_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
-0000:5225      __STK
-0000:5245*     __STKOVERFLOW_
+0000:5215      __STK
+0000:5235*     __STKOVERFLOW_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
-0000:5262      _fmalloc_
-0000:5262      malloc_
-1130:0678+     ___fheap
-1130:067a      ___fheapRover
-1130:067c      ___LargestSizeB4Rover
+0000:5252      _fmalloc_
+0000:5252      malloc_
+1146:0678+     ___fheap
+1146:067a      ___fheapRover
+1146:067c      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
-0000:53df      __PIA
-0000:53d8*     __PIS
+0000:53cf      __PIA
+0000:53c8*     __PIS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-1130:067e      ___iob
-1130:0d94      ___ClosedStreams
-1130:0d98      ___OpenStreams
+1146:067e      ___iob
+1146:0d94      ___ClosedStreams
+1146:0d98      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
-0000:53f6      fprintf_
+0000:53e6      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
-0000:5425      printf_
+0000:5415      printf_
 Module: 16.lib(/dos/z/16/src/lib/bitmap.c)
-0000:bd90      bitmapLoadPcx_
-0000:beec*     bitmapLoadPcxTiles_
+0000:bd82      bitmapLoadPcx_
+0000:bede*     bitmapLoadPcxTiles_
 Module: 16.lib(/dos/z/16/src/lib/planar.c)
-0000:c060      planar_buf_from_bitmap_
-0000:c180+     planar_buf_alloc_
-0000:c27a*     planar_buf_free_
+0000:c050      planar_buf_from_bitmap_
+0000:c170+     planar_buf_alloc_
+0000:c26a*     planar_buf_free_
 Module: 16.lib(/dos/z/16/src/lib/16_in.c)
-0000:c3f8+     INL_KeyService_
-0000:c642+     Mouse_
-0000:c69a+     IN_GetJoyAbs_
-0000:ca60+     IN_GetJoyButtonsDB_
-0000:ccf6+     IN_SetupJoy_
-0000:ceb8      IN_Startup_
-0000:cfbe      IN_Default_
-0000:d122      IN_Shutdown_
-0000:d1a2*     IN_SetKeyHook_
-0000:d1c4+     IN_ClearKeysDown_
-0000:d2a4*     IN_ReadCursor_
-0000:d3c0      IN_ReadControl_
-0000:db40*     IN_SetControlType_
-0000:db8e*     IN_GetScanName_
-0000:dc16*     IN_WaitForKey_
-0000:dc4c*     IN_WaitForASCII_
-0000:dc82+     IN_AckBack_
-0000:dd6a*     IN_Ack_
-0000:de0c+     IN_IsUserInput_
-0000:deb2*     IN_UserInput_
-0000:df0a      IN_KeyDown_
-0000:df52+     IN_ClearKey_
-0000:dfca*     IN_qb_
-1130:0e2e+     _inpu
+0000:c3e8+     INL_KeyService_
+0000:c632+     Mouse_
+0000:c68a+     IN_GetJoyAbs_
+0000:ca50+     IN_GetJoyButtonsDB_
+0000:cce6+     IN_SetupJoy_
+0000:cea8      IN_Startup_
+0000:cfae      IN_Default_
+0000:d112      IN_Shutdown_
+0000:d192*     IN_SetKeyHook_
+0000:d1b4+     IN_ClearKeysDown_
+0000:d294*     IN_ReadCursor_
+0000:d3b0      IN_ReadControl_
+0000:db30*     IN_SetControlType_
+0000:db7e*     IN_GetScanName_
+0000:dc06*     IN_WaitForKey_
+0000:dc3c*     IN_WaitForASCII_
+0000:dc72+     IN_AckBack_
+0000:dd5a*     IN_Ack_
+0000:ddfc+     IN_IsUserInput_
+0000:dea2*     IN_UserInput_
+0000:defa      IN_KeyDown_
+0000:df42+     IN_ClearKey_
+0000:dfba*     IN_qb_
+1146:0e2e+     _inpu
 Module: 16.lib(/dos/z/16/src/lib/16text.c)
-0000:e0a6      textInit_
-1130:0f84      _romFonts
+0000:e096      textInit_
+1146:0f84      _romFonts
 Module: 16.lib(/dos/z/16/src/lib/modex16.c)
-0e14:01b8      VGAmodeX_
-0e14:0260+     modexEnter_
-0e14:02fc*     modexLeave_
-0e14:0314      modexDefaultPage_
-0e14:036e      modexNextPage_
-0e14:042a      modexNextPage0_
-0e14:04ce      modexShowPage_
-0e14:05ca*     modexPanPage_
-0e14:061a*     modexSelectPlane_
-0e14:063e      modexClearRegion_
-0e14:0756*     oldDrawBmp_
-0e14:08bc*     modexDrawBmp_
-0e14:0922      modexDrawBmpRegion_
-0e14:0a8c*     modexDrawPlanarBuf_
-0e14:0aaa*     modexDrawSprite_
-0e14:0b10      modexDrawSpriteRegion_
-0e14:0c88      modexCopyPageRegion_
-0e14:0df2*     modexFadeOn_
-0e14:0e22*     modexFadeOff_
-0e14:0e50*     modexFlashOn_
-0e14:0e7e*     modexFlashOff_
-0e14:0f4e+     modexPalSave_
-0e14:0fa4      modexNewPal_
-0e14:0ff4*     modexLoadPalFile_
-0e14:10d6*     modexSavePalFile_
-0e14:114e*     modexPalBlack_
-0e14:1178*     modexPalWhite_
-0e14:11a2+     modexPalUpdate_
-0e14:1712+     modexPalUpdate1_
-0e14:178c*     modexPalUpdate0_
-0e14:17d8+     chkcolor_
-0e14:1af0      modexputPixel_
-0e14:1b7e*     modexgetPixel_
-0e14:1c04*     modexhlin_
-0e14:1c70      modexprint_
-0e14:1e0a*     modexprintbig_
-0e14:1f86      modexWaitBorder_
-1130:0ac4      _VGA
+0e13:01b8      VGAmodeX_
+0e13:0260+     modexEnter_
+0e13:02fc*     modexLeave_
+0e13:0314      modexDefaultPage_
+0e13:036e      modexNextPage_
+0e13:042a      modexNextPage0_
+0e13:04ce      modexShowPage_
+0e13:05ca*     modexPanPage_
+0e13:061a*     modexSelectPlane_
+0e13:063e      modexClearRegion_
+0e13:0756*     oldDrawBmp_
+0e13:08bc*     CDrawBmp_
+0e13:0a20*     modexDrawBmp_
+0e13:0a86      modexDrawBmpRegion_
+0e13:0bf0*     modexDrawPlanarBuf_
+0e13:0c0e*     modexDrawSprite_
+0e13:0c74      modexDrawSpriteRegion_
+0e13:0dec      modexCopyPageRegion_
+0e13:0f56*     modexFadeOn_
+0e13:0f86*     modexFadeOff_
+0e13:0fb4*     modexFlashOn_
+0e13:0fe2*     modexFlashOff_
+0e13:10b2+     modexPalSave_
+0e13:1108      modexNewPal_
+0e13:1158*     modexLoadPalFile_
+0e13:123a*     modexSavePalFile_
+0e13:12b2*     modexPalBlack_
+0e13:12dc*     modexPalWhite_
+0e13:1306+     modexPalUpdate_
+0e13:1876+     modexPalUpdate1_
+0e13:18f0*     modexPalUpdate0_
+0e13:193c+     chkcolor_
+0e13:1c54      modexputPixel_
+0e13:1ce2*     modexgetPixel_
+0e13:1d68*     modexhlin_
+0e13:1dd4      modexprint_
+0e13:1f6e*     modexprintbig_
+0e13:20ea      cls_
+0e13:2158      modexWaitBorder_
+1146:0ac4      _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c)
-0000:5454      sprintf_
+0000:5444      sprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sound.c)
-0000:5483      sound_
-0000:54be      nosound_
+0000:5473      sound_
+0000:54ae      nosound_
 Module: 16.lib(/dos/z/16/src/lib/bakapee.c)
-0e14:1fb8      pdump_
-0e14:2018+     cls_
-0e14:207e+     colortest_
-0e14:20d0+     colorz_
-0e14:2134+     ssd_
-0e14:2252+     dingpp_
-0e14:22c4+     dingo_
-0e14:235a+     dingas_
-0e14:2408+     dingu_
-0e14:246a+     dingq_
-0e14:250a*     ding_
+0e13:2188      pdump_
+0e13:21ea+     colortest_
+0e13:223e+     colorz_
+0e13:22a4+     ssd_
+0e13:23c2+     dingpp_
+0e13:2434+     dingo_
+0e13:24ca+     dingas_
+0e13:2578+     dingu_
+0e13:25da+     dingq_
+0e13:267a*     ding_
 Module: 16.lib(/dos/z/16/src/lib/wcpu/wcpu.c)
-0e14:2ba0      detectcpu_
+0e13:2d10      detectcpu_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-1130:0000*     __nullarea
-1130:0af4*     __ovlflag
-1130:0af5*     __intno
-1130:0af6*     __ovlvec
-0000:54ca      _cstart_
-0000:559d*     _Not_Enough_Memory_
-0000:56cf      __exit_
-0000:56ee      __do_exit_with_msg__
-0000:574b      __GETDS
+1146:0000*     __nullarea
+1146:0af4*     __ovlflag
+1146:0af5*     __intno
+1146:0af6*     __ovlvec
+0000:54ba      _cstart_
+0000:558d*     _Not_Enough_Memory_
+0000:56bf      __exit_
+0000:56de      __do_exit_with_msg__
+0000:573b      __GETDS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
-0000:5756      _big_code_
-0000:5756*     CodeModelMismatch
+0000:5746      _big_code_
+0000:5746*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c)
-0000:5756      strncmp_
+0000:5746      strncmp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c)
-0000:5793      strstr_
+0000:5783      strstr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
-0000:5895      atoi_
+0000:5885      atoi_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
-0000:5930+     __open_flags_
-0000:5bf1+     _fsopen_
-0000:5c58      fopen_
-0000:5d7b*     freopen_
+0000:5920+     __open_flags_
+0000:5be1+     _fsopen_
+0000:5c48      fopen_
+0000:5d6b*     freopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
-0000:5e05      fread_
+0000:5df5      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
-0000:617c      __get_errno_ptr_
-1130:189c      _errno
+0000:616c      __get_errno_ptr_
+1146:189c      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
-0000:6183*     _frealloc_
-0000:6183      realloc_
+0000:6173*     _frealloc_
+0000:6173      realloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
-0000:6260      __PTC
+0000:6250      __PTC
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncpy.c)
-0000:6293      strncpy_
+0000:6283      strncpy_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
-0000:62cf*     __exit_with_msg_
-0000:62d4      __fatal_runtime_error_
+0000:62bf*     __exit_with_msg_
+0000:62c4      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-1130:0afa      __curbrk
-1130:0b02      __STACKLOW
-1130:0b04      __STACKTOP
-1130:0b06      __cbyte
-1130:0b08      __child
-1130:0b0a      __no87
-1130:0b17      ___FPE_handler
-1130:0afc      __psp
-1130:0b0b      __get_ovl_stack
-1130:0b0f      __restore_ovl_stack
-1130:0b13      __close_ovl_file
-1130:0b1b      __LpCmdLine
-1130:0b1f      __LpPgmName
-1130:0afe      __osmajor
-1130:0aff      __osminor
-1130:0b00      __osmode
-1130:0b01      __HShift
+1146:0afa      __curbrk
+1146:0b02      __STACKLOW
+1146:0b04      __STACKTOP
+1146:0b06      __cbyte
+1146:0b08      __child
+1146:0b0a      __no87
+1146:0b17      ___FPE_handler
+1146:0afc      __psp
+1146:0b0b      __get_ovl_stack
+1146:0b0f      __restore_ovl_stack
+1146:0b13      __close_ovl_file
+1146:0b1b      __LpCmdLine
+1146:0b1f      __LpPgmName
+1146:0afe      __osmajor
+1146:0aff      __osminor
+1146:0b00      __osmode
+1146:0b01      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
-0000:6300      __MemAllocator
-0000:63ca      __MemFree
+0000:62f0      __MemAllocator
+0000:63ba      __MemFree
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
-0000:6527      __GrowSeg_
+0000:6517      __GrowSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
-0000:669d      __AllocSeg_
+0000:668d      __AllocSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
-0000:678c      __fmemneed_
+0000:677c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
-0000:678f      _nmalloc_
-1130:0b24      ___nheapbeg
-1130:0b26      ___MiniHeapRover
-1130:0b28      ___LargestSizeB4MiniHeapRover
+0000:677f      _nmalloc_
+1146:0b24      ___nheapbeg
+1146:0b26      ___MiniHeapRover
+1146:0b28      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
-0000:6869*     _heapgrow_
-0000:6869*     _fheapgrow_
-0000:686a      _nheapgrow_
+0000:6859*     _heapgrow_
+0000:6859*     _fheapgrow_
+0000:685a      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
-0000:68e2      __InitFiles_
+0000:68d2      __InitFiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
-0000:6b16*     fcloseall_
-0000:6b1d      __full_io_exit_
+0000:6b06*     fcloseall_
+0000:6b0d      __full_io_exit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
-0000:6b41      __fprtf_
+0000:6b31      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
-0000:6c94      __doclose_
-0000:6dde      __shutdown_stream_
-0000:6df8      fclose_
-1130:189e+     ___RmTmpFileFn
+0000:6c84      __doclose_
+0000:6dce      __shutdown_stream_
+0000:6de8      fclose_
+1146:189e+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
-0000:6e63+     _null_exit_rtn_
-0000:6e63+     __null_int23_exit_
-0000:6e64      exit_
-0000:6e85+     _exit_
-1130:0b2a+     ___int23_exit
-1130:0b2e+     ___FPE_handler_exit
+0000:6e53+     _null_exit_rtn_
+0000:6e53+     __null_int23_exit_
+0000:6e54      exit_
+0000:6e75+     _exit_
+1146:0b2a+     ___int23_exit
+1146:0b2e+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
-0000:6fbf      fseek_
+0000:6faf      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
-0000:71b7      __fill_buffer_
-0000:7406      fgetc_
+0000:71a7      __fill_buffer_
+0000:73f6      fgetc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
-0000:754d      _ffree_
-0000:754d      free_
+0000:753d      _ffree_
+0000:753d      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
-0000:75ba+     int86x_
-0000:773d      int86_
+0000:75aa+     int86x_
+0000:772d      int86_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
-0000:776a      __I4M
-0000:776a      __U4M
+0000:775a      __I4M
+0000:775a      __U4M
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_getvec.c)
-0000:7782      _dos_getvect_
+0000:7772      _dos_getvect_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_setvec.c)
-0000:778d      _dos_setvect_
+0000:777d      _dos_setvect_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
-0000:779a      __I4D
-0000:77e9      __U4D
+0000:778a      __I4D
+0000:77d9      __U4D
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-1130:18a2      __argv
-1130:18a6      ___argv
-1130:18aa      __argc
-1130:18ac      ___argc
+1146:18a2      __argv
+1146:18a6      ___argv
+1146:18aa      __argc
+1146:18ac      ___argc
 Module: 16.lib(/dos/z/16/src/lib/16_head.c)
-0e14:2c0e*     wait_
-0e14:2c5a*     filesize_
-0e14:2cc0*     printmeminfoline_
-0e14:2eac      US_CheckParm_
+0e13:2d7e*     wait_
+0e13:2dca*     filesize_
+0e13:2e30*     printmeminfoline_
+0e13:301c      US_CheckParm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
-0000:786d      fwrite_
+0000:785d      fwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
-0000:7be6      rand_
-0000:7c28*     srand_
+0000:7bd6      rand_
+0000:7c18*     srand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
-0000:7c64      vsprintf_
+0000:7c54      vsprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(delay.c)
-0000:7ca6      delay_
+0000:7c96      delay_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
-0000:7e05      __CMain
+0000:7df5      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
-0000:7e6b      __InitRtns
-0000:7e6b*     __FInitRtns
-0000:7ec6      __FiniRtns
-0000:7ec6*     __FFiniRtns
+0000:7e5b      __InitRtns
+0000:7e5b*     __FInitRtns
+0000:7eb6      __FiniRtns
+0000:7eb6*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-1130:0b48      ___uselfn
+1146:0b48      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
-0000:7f2a      __DOSseg__
+0000:7f1a      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
-0000:7f2c      __PTS
+0000:7f1c      __PTS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-1130:0098      __IsTable
+1146:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
-0000:7f5d*     __set_commode_
-1130:0b4a      __commode
+0000:7f4d*     __set_commode_
+1146:0b4a      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-1130:0b4c      __fmode
+1146:0b4c      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
-0000:7f69      tolower_
+0000:7f59      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
-0000:8198*     open_
-0000:81cf      sopen_
+0000:8188*     open_
+0000:81bf      sopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
-0000:81fc      __chktty_
+0000:81ec      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
-0000:825b      __freefp_
-0000:82fc      __purgefp_
+0000:824b      __freefp_
+0000:82ec      __purgefp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
-0000:833d      __allocfp_
+0000:832d      __allocfp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
-0000:84ed      __ioalloc_
+0000:84dd      __ioalloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
-0000:867b      __qread_
+0000:866b      __qread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
-0000:869b*     _msize_
-0000:86b6      _fmsize_
+0000:868b*     _msize_
+0000:86a6      _fmsize_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
-0000:86c7      __HeapManager_expand_
-0000:8bd0      _nexpand_
+0000:86b7      __HeapManager_expand_
+0000:8bc0      _nexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
-0000:8c23      _fexpand_
-0000:8c23*     _expand_
+0000:8c13      _fexpand_
+0000:8c13*     _expand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
-0000:8c58      __EnterWVIDEO_
-1130:0b4e+     ___WD_Present
+0000:8c48      __EnterWVIDEO_
+1146:0b4e+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
-0000:8c7c*     _heapenable_
-1130:0b50      ___heap_enabled
+0000:8c6c*     _heapenable_
+1146:0b50      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-1130:0b52      __amblksiz
+1146:0b52      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
-0000:8c8d      __nmemneed_
+0000:8c7d      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
-0000:8d15      __LastFree_
-0000:8d8f      __ExpandDGROUP_
+0000:8d05      __LastFree_
+0000:8d7f      __ExpandDGROUP_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
-0000:8ea0      _nfree_
-1130:18ae+     ___MiniHeapFreeRover
+0000:8e90      _nfree_
+1146:18ae+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
-0000:8f9b      fputc_
+0000:8f8b      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
-0000:9170      __prtf_
+0000:9160      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
-0000:a2d2      __flush_
+0000:a2c2      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
-0000:a51b      __lseek_
+0000:a50b      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
-0000:a555      __close_
+0000:a545      __close_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
-0000:a58b      lseek_
+0000:a57b      lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
-0000:a5bc      tell_
+0000:a5ac      tell_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
-0000:a5cd      __flushall_
-0000:a661      flushall_
+0000:a5bd      __flushall_
+0000:a651      flushall_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
-0000:a667      getche_
+0000:a657      getche_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
-0000:a681      intr_
+0000:a671      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
-0000:a695      segread_
+0000:a685      segread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
-0000:a6fb      __Init_Argv_
-0000:a75e+     _getargv_
-0000:aa8e      __Fini_Argv_
+0000:a6eb      __Init_Argv_
+0000:a74e+     _getargv_
+0000:aa7e      __Fini_Argv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
-0000:aab8+     __ibm_bios_get_ticks_
-0000:ab2f      clock_
+0000:aaa8+     __ibm_bios_get_ticks_
+0000:ab1f      clock_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
-0000:ab56      kbhit_
+0000:ab46      kbhit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
-0000:ab6d      ftell_
+0000:ab5d      ftell_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
-0000:ac35      ultoa_
-0000:acf3*     ltoa_
+0000:ac25      ultoa_
+0000:ace3*     ltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
-0000:ad41      __qwrite_
+0000:ad31      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-1130:18b8      ____Argv
-1130:18bc      ____Argc
+1146:18b8      ____Argv
+1146:18bc      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-1130:0bac      __Start_XI
-1130:0bd0      __End_XI
-1130:0bd0      __Start_YI
-1130:0be2      __End_YI
+1146:0bac      __Start_XI
+1146:0bd0      __End_XI
+1146:0bd0      __Start_YI
+1146:0be2      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
-0000:ada2      _dos_open_
+0000:ad92      _dos_open_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
-0000:adc8      __GetIOMode_
-0000:adfd      __SetIOMode_nogrow_
-1130:0b5c      ___NFiles
-1130:0b5e      ___init_mode
-1130:0b86      ___io_mode
+0000:adb8      __GetIOMode_
+0000:aded      __SetIOMode_nogrow_
+1146:0b5c      ___NFiles
+1146:0b5e      ___init_mode
+1146:0b86      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
-0000:ae32      isatty_
+0000:ae22      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
-0000:ae4e*     __get_doserrno_ptr_
-1130:18be      __doserrno
+0000:ae3e*     __get_doserrno_ptr_
+1146:18be      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-1130:0b8a      ___umaskval
+1146:0b8a      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
-0000:ae55      _dos_creat_
-0000:ae79*     _dos_creatnew_
+0000:ae45      _dos_creat_
+0000:ae69*     _dos_creatnew_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
-0000:ae9a+     __grow_iomode_
-0000:af81+     __shrink_iomode_
-0000:afc2      __SetIOMode_
+0000:ae8a+     __grow_iomode_
+0000:af71+     __shrink_iomode_
+0000:afb2      __SetIOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
-0000:b069*     __dosretax
-0000:b06e*     __dosret0
-0000:b075      __set_errno_dos_
-0000:b0dd*     __set_errno_dos_reterr_
+0000:b059*     __dosretax
+0000:b05e*     __dosret0
+0000:b065      __set_errno_dos_
+0000:b0cd*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
-0000:b0e8      _bfree_
+0000:b0d8      _bfree_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
-0000:b10d      _bexpand_
+0000:b0fd      _bexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
-0000:b166*     sbrk_
-0000:b176      __brk_
+0000:b156*     sbrk_
+0000:b166      __brk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
-0000:b1de      wctomb_
+0000:b1ce      wctomb_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
-0000:b229+     utoa_
-0000:b2ca      itoa_
+0000:b219+     utoa_
+0000:b2ba      itoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
-0000:b314      strupr_
+0000:b304      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-1130:0ba0      ___EFG_printf
-1130:0ba4*     ___EFG_scanf
+1146:0ba0      ___EFG_printf
+1146:0ba4*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-1130:0ba8      ___IsDBCS
+1146:0ba8      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
-0000:b35c*     _ismbblead_
-1130:18c2      ___MBCSIsTable
+0000:b34c*     _ismbblead_
+1146:18c2      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
-0000:b378      ulltoa_
-0000:b4b5*     lltoa_
+0000:b368      ulltoa_
+0000:b4a5*     lltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
-0000:b526      fsync_
+0000:b516      fsync_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
-0000:b52c      _DoINTR_
+0000:b51c      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-1130:19c4      ___historical_splitparms
+1146:19c4      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
-0000:b8a5      fflush_
+0000:b895      fflush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-1130:0072      ___Alphabet
+1146:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
-0000:b8ba      __doserror_
-0000:b8c8*     __doserror1_
+0000:b8aa      __doserror_
+0000:b8b8*     __doserror1_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
-0000:b8d4      __ChkTTYIOMode_
-0000:b942*     __IOMode_
+0000:b8c4      __ChkTTYIOMode_
+0000:b932*     __IOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
-0000:b990      __mbinit_
-1130:0baa+     ___MBCodePage
+0000:b980      __mbinit_
+1146:0baa+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
-0000:ba6b*     _dos_close_
-0000:ba79      _dos_commit_
+0000:ba5b*     _dos_close_
+0000:ba69      _dos_commit_
 
 
                         +--------------------+
@@ -543,6 +544,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00020790 (133008.)
-Entry point address: 0000:54ca
+Memory size:  000208f0 (133360.)
+Entry point address: 0000:54ba
 Link time: 00:00.00
index 03be784f5cfa4bff7120ff6eb8fd31b9b35db317..a69a97e85adb8081f468b6ddf5a4142517af0e73 100755 (executable)
@@ -36,18 +36,6 @@ void pdump(page_t *pee)
        }
 }
 
-/////////////////////////////////////////////////////////////////////////////
-//                                                                                                                                              //
-// cls() - This clears the screen to the specified color, on the VGA or on //
-//              the Virtual screen.                                                                                     //
-//                                                                                                                                              //
-/////////////////////////////////////////////////////////////////////////////
-void cls(page_t *page, byte color, byte *Where)
-{
-       //modexClearRegion(page, 0, 0, page->width, page->height, color);
-       _fmemset(Where, color, page->width*(page->height*2));
-}
-
 //color \82Ä\82·\82Æ
 void colortest(page_t *page, bakapee_t *pee)
 {
index 18ba2c8aed3873f59c28a718b67a3ee05f342eeb..684737217c7ede2c2cc1e06009a8a690c32b8e31 100755 (executable)
@@ -1,56 +1,55 @@
-/* Project 16 Source Code~
- * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669
- *
- * This file is part of Project 16.
- *
- * Project 16 is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * Project 16 is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>, or
- * write to the Free Software Foundation, Inc., 51 Franklin Street,
- * Fifth Floor, Boston, MA 02110-1301 USA.
- *
- */
-
-#ifndef __BAKAPEE_H_
-#define __BAKAPEE_H_
-
-#include "src/lib/16_head.h"
-#include "src/lib/modex16.h"
-
-#define TILEWH 16
-#define QUADWH                 TILEWH/2
+/* Project 16 Source Code~\r
+ * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669\r
+ *\r
+ * This file is part of Project 16.\r
+ *\r
+ * Project 16 is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * Project 16 is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>, or\r
+ * write to the Free Software Foundation, Inc., 51 Franklin Street,\r
+ * Fifth Floor, Boston, MA 02110-1301 USA.\r
+ *\r
+ */\r
+\r
+#ifndef __BAKAPEE_H_\r
+#define __BAKAPEE_H_\r
+\r
+#include "src/lib/16_head.h"\r
+#include "src/lib/modex16.h"\r
+\r
+#define TILEWH 16\r
+#define QUADWH                 TILEWH/2\r
 #define BONK       400\r
 #define LGQ         32\r
-#define HGQ         55
-
-//#define TILE
-
+#define HGQ         55\r
+\r
+//#define TILE\r
+\r
 typedef struct {\r
-       word gq;
+       word gq;\r
        sword bakax, bakay;\r
        sword xx, yy, sx, sy;\r
-       byte coor;
-} bakapee_t;
-
-void pdump(page_t *pee);
-void cls(page_t *page, byte color, byte *Where);
-void colortest(page_t *page, bakapee_t *pee);
-void colorz(page_t *page, bakapee_t *pee);
-void ssd(page_t *page, bakapee_t *pee, word svq);
-void dingpp(page_t *page, bakapee_t *pee);
-void dingo(bakapee_t *pee);
-void dingas(bakapee_t *pee);
-void dingu(bakapee_t *pee);
-void dingq(bakapee_t *pee);
-void ding(page_t *page, bakapee_t *pee, word q);
-
-#endif /*__BAKAPEE_H_*/
+       byte coor;\r
+} bakapee_t;\r
+\r
+void pdump(page_t *pee);\r
+void colortest(page_t *page, bakapee_t *pee);\r
+void colorz(page_t *page, bakapee_t *pee);\r
+void ssd(page_t *page, bakapee_t *pee, word svq);\r
+void dingpp(page_t *page, bakapee_t *pee);\r
+void dingo(bakapee_t *pee);\r
+void dingas(bakapee_t *pee);\r
+void dingu(bakapee_t *pee);\r
+void dingq(bakapee_t *pee);\r
+void ding(page_t *page, bakapee_t *pee, word q);\r
+\r
+#endif /*__BAKAPEE_H_*/\r
index e3e70397b36b4241f4240b2c318d10449151a97e..eaf9966c805f047ddb35804d6967d2161d086277 100755 (executable)
@@ -284,24 +284,46 @@ modexClearRegion(page_t *page, int x, int y, int w, int h, byte  color) {
 void\r
 oldDrawBmp(byte far* page, int x, int y, bitmap_t *bmp, byte sprite)\r
 {\r
-        byte plane;\r
-        word px, py;\r
-        word offset;\r
-\r
-        /* TODO Make this fast.  It's SLOOOOOOW */\r
-        for(plane=0; plane < 4; plane++) {\r
-                modexSelectPlane(PLANE(plane+x));\r
-                for(px = plane; px < bmp->width; px+=4) {\r
-                        offset=px;\r
-                        for(py=0; py<bmp->height; py++) {\r
-                        if(!sprite || bmp->data[offset])\r
-                                page[PAGE_OFFSET(x+px, y+py)] = bmp->data[offset];\r
-                        offset+=bmp->width;\r
-                        }\r
-                }\r
-        }\r
+       byte plane;\r
+       word px, py;\r
+       word offset;\r
+\r
+       /* TODO Make this fast.  It's SLOOOOOOW */\r
+       for(plane=0; plane < 4; plane++) {\r
+               modexSelectPlane(PLANE(plane+x));\r
+               for(px = plane; px < bmp->width; px+=4) {\r
+                       offset=px;\r
+                       for(py=0; py<bmp->height; py++) {\r
+                       if(!sprite || bmp->data[offset])\r
+                               page[PAGE_OFFSET(x+px, y+py)] = bmp->data[offset];\r
+                       offset+=bmp->width;\r
+                       }\r
+               }\r
+       }\r
 }\r
 \r
+void\r
+CDrawBmp(byte far* vgamem, page_t* page, int x, int y, bitmap_t *bmp, byte sprite)\r
+{\r
+       byte plane;\r
+       word px, py;\r
+       word offset=0;\r
+\r
+\r
+       /* TODO Make this fast.  It's SLOOOOOOW */\r
+       for(plane=0; plane < 4; plane++) {\r
+               modexSelectPlane(PLANE(plane+x));\r
+               for(px = plane; px < bmp->width; px+=4) {\r
+                       offset=px;\r
+                       for(py=0; py<bmp->height; py++) {\r
+                       if(!sprite || bmp->data[offset])\r
+                               //modexputPixel(page, x+px, y+py, bmp->data[offset]);\r
+                               vgamem[PAGE_OFFSET(x+px, y+py)] = bmp->data[offset];\r
+                       offset+=bmp->width;\r
+                       }\r
+               }\r
+       }\r
+}\r
 \r
 void\r
 modexDrawBmp(page_t *page, int x, int y, bitmap_t *bmp) {\r
@@ -1166,6 +1188,21 @@ void modexprintbig(page_t *page, word x, word y, word t, word col, word bgcol, c
        }\r
 }\r
 \r
+/////////////////////////////////////////////////////////////////////////////\r
+//                                                                                                                                              //\r
+// cls() - This clears the screen to the specified color, on the VGA or on //\r
+//              the Virtual screen.                                                                                     //\r
+//                                                                                                                                              //\r
+/////////////////////////////////////////////////////////////////////////////\r
+void cls(page_t *page, byte color, byte *Where)\r
+{\r
+       //modexClearRegion(page, 0, 0, page->width, page->height, color);\r
+       /* set map mask to all 4 planes */\r
+       outpw(SC_INDEX, 0xff02);\r
+       //_fmemset(VGA, color, 16000);\r
+       _fmemset(Where, color, page->width*(page->height));\r
+}\r
+\r
 void\r
 modexWaitBorder() {\r
     while(inp(INPUT_STATUS_1)  & 8)  {\r
index 01e687c700d7c5487c8ddb0d0ddbb5135770447b..41b67de269ab544d30cadf8d9f315f32691dd487 100755 (executable)
@@ -66,6 +66,7 @@ void modexPanPage(page_t *page, int dx, int dy);
 void modexSelectPlane(byte plane);
 void modexClearRegion(page_t *page, int x, int y, int w, int h, byte color);
 void oldDrawBmp(byte far* page, int x, int y, bitmap_t *bmp, byte sprite);
+//void CDrawBmp(byte far* vgamem, page_t* page, int x, int y, bitmap_t *bmp, byte sprite);
 void modexDrawBmp(page_t *page, int x, int y, bitmap_t *bmp);
 void modexDrawBmpRegion(page_t *page, int x, int y, int rx, int ry, int rw, int rh, bitmap_t *bmp);
 void modexDrawPlanarBuf(page_t *page, int x, int y, planar_buf_t *bmp);
@@ -99,6 +100,7 @@ byte modexgetPixel(page_t *page, int x, int y);
 void modexhlin(page_t *page, word xl, word xh, word y, word color);
 void modexprint(page_t *page, word x, word y, word t, word col, word bgcol, const byte *str);
 void modexprintbig(page_t *page, word x, word y, word t, word col, word bgcol, const byte *str);
+void cls(page_t *page, byte color, byte *Where);
 void modexWaitBorder();
 
 /* -======================= Constants & Vars ==========================- */
index 07a4795d487aac8355418a993378365fb7702030..1e9529b7b3e16f9d8572d03eb7fa2a2109c138a4 100755 (executable)
@@ -132,5 +132,7 @@ void main() {
        }*/\r
        printf("CPU to VGA: %f\n", t1);\r
        printf("VGA to VGA: %f\n", t2);\r
+       printf("page.width: %u\n", page.width);\r
+       printf("page.height: %u\n", page.height);\r
        return;\r
 }\r
diff --git a/src/pcxtest2.c b/src/pcxtest2.c
new file mode 100755 (executable)
index 0000000..b5fbbda
--- /dev/null
@@ -0,0 +1,139 @@
+/* Project 16 Source Code~\r
+ * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669\r
+ *\r
+ * This file is part of Project 16.\r
+ *\r
+ * Project 16 is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * Project 16 is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>, or\r
+ * write to the Free Software Foundation, Inc., 51 Franklin Street,\r
+ * Fifth Floor, Boston, MA 02110-1301 USA.\r
+ *\r
+ */\r
+\r
+#include <stdio.h>\r
+#include <dos.h>\r
+#include <string.h>\r
+#include "src/lib/modex16.h"\r
+#include "src/lib/bitmap.h"\r
+#include "src/lib/planar.h"\r
+\r
+word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
+\r
+/*\r
+void\r
+DrawPBuf(page_t *page, int x, int y, planar_buf_t *p, byte sprite)\r
+{\r
+       byte plane;\r
+       word px, py;\r
+       word offset;\r
+\r
+       // TODO Make this fast.  It's SLOOOOOOW\r
+       for(plane=0; plane < 4; plane++) {\r
+       modexSelectPlane(PLANE(plane+x));\r
+       for(px = plane; px < p->width; px+=4) {\r
+               offset=px;\r
+               for(py=0; py<p->height/2; py++) {\r
+               SELECT_ALL_PLANES();\r
+               if(!sprite || p->plane[offset])\r
+                       page->data = p->plane;\r
+               //offset+=p->width;\r
+               //offset++;\r
+               }\r
+       }\r
+       }\r
+}\r
+*/\r
+\r
+void main() {\r
+       bitmap_t bmp;\r
+       planar_buf_t *p;\r
+       int i;\r
+       page_t page;\r
+       word start;\r
+       int plane;\r
+       float t1, t2;\r
+\r
+       page=modexDefaultPage();\r
+       page.width+=32;\r
+       page.height+=32;\r
+//0000 bmp = bitmapLoadPcx("data/koishi~~.pcx");\r
+//     bmp = bitmapLoadPcx("data/chikyuu.pcx");\r
+       bmp = bitmapLoadPcx("data/koishi^^.pcx");\r
+//     bmp = bitmapLoadPcx("16/PCX_LIB/chikyuu.pcx");\r
+       p = planar_buf_from_bitmap(&bmp);\r
+       modexEnter();\r
+\r
+       /* fix up the palette and everything */\r
+       modexPalUpdate1(bmp.palette);\r
+\r
+       /* clear and draw one sprite and one bitmap */\r
+       modexClearRegion(&page, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 1);\r
+\r
+       /* non sprite comparison */\r
+       start = *clockw;\r
+       //for(i=0; i<100 ;i++) {\r
+               oldDrawBmp(VGA, 20, 20, &bmp, 0);\r
+       //}\r
+\r
+       start = *clockw;\r
+       //for(i=0; i<100 ;i++) {\r
+//0000         modexDrawBmp(&page, 20, 20, &bmp);\r
+               modexDrawBmp(&page, 160, 120, &bmp);\r
+       //}\r
+       t1 = (*clockw-start) /18.2;\r
+\r
+       start = *clockw;\r
+       //for(i=0; i<100; i++) {\r
+//0000         modexCopyPageRegion(&page, &page, 20, 20, 128, 20, 64, 64);\r
+               modexCopyPageRegion(&page, &page, 0, 0, 0, 0, 320, 240);\r
+       //}\r
+       t2 = (*clockw-start)/18.2;\r
+\r
+\r
+       start = *clockw;\r
+       //for(i=0; i<100 ;i++) {\r
+               oldDrawBmp(VGA, 20, 20, &bmp, 1);\r
+       //}\r
+\r
+\r
+       start = *clockw;\r
+       //for(i=0; i<100 ;i++) {\r
+//0000         modexDrawSprite(&page, 20, 20, &bmp);\r
+               modexDrawSprite(&page, 160, 120, &bmp);\r
+       //}\r
+       //_fmemset(MK_FP(0xA000, 0), (int)p->plane, SCREEN_WIDTH*(SCREEN_HEIGHT*2));\r
+       //modexDrawBmp(&page, 0, 0, &bmp);\r
+       while(!kbhit())\r
+       {\r
+               //DrawPBuf(&page, 0, 0, p, 0);\r
+       }\r
+       modexLeave();\r
+       /*printf("\nmain=%Fp\n\n", &i);\r
+       printf("bmp.data=%Fp\n", bmp.data);\r
+       printf("*bmp.data=%Fp\n", *(bmp.data));\r
+       printf("&bmp.data=%Fp\n", &(bmp.data));\r
+\r
+       printf("\n%d\n", sizeof(p->plane));\r
+       printf("%d\n", sizeof(bmp));*/\r
+\r
+       /*for(i=0; i<(320*240); i++)\r
+       {\r
+               fprintf(stdout, "%d", bmp.data[i]);\r
+               if(i%bmp.width==0) fprintf(stdout, "\n");\r
+       }*/\r
+       printf("CPU to VGA: %f\n", t1);\r
+       printf("VGA to VGA: %f\n", t2);\r
+       printf("page.width: %u\n", page.width);\r
+       printf("page.height: %u\n", page.height);\r
+       return;\r
+}\r
index f2ba9237ff51975c9008d4199d5182b038889799..e7cf0255538108b2f2cbeb51958232c52c0ae0de 100755 (executable)
Binary files a/test.exe and b/test.exe differ
index 2ecf9d3f08d4d3ee29784890fff981d3dab4c0a8..713a26feac0ec857a7a836b8992db0a9d0dbd40c 100755 (executable)
--- a/test.map
+++ b/test.map
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: test.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          07c9:0000            0000e800
+DGROUP                          07e6:0000            0000e800
 
 
 
@@ -24,26 +24,26 @@ DGROUP                          07c9:0000            0000e800
 Segment                Class          Group          Address         Size
 =======                =====          =====          =======         ====
 
-test_TEXT              CODE           AUTO           0000:0000       00000188
+test_TEXT              CODE           AUTO           0000:0000       0000018c
 _TEXT                  CODE           AUTO           0000:0190       00005a3d
-modex16_TEXT           CODE           AUTO           0000:5bd0       00001fae
-16text_TEXT            CODE           AUTO           0000:7b80       0000010d
-FAR_DATA               FAR_DATA       AUTO           07c8:000d       00000000
-_NULL                  BEGDATA        DGROUP         07c9:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         07cb:0000       00000002
-CONST                  DATA           DGROUP         07cb:0002       00000076
-CONST2                 DATA           DGROUP         07d2:0008       00000000
-_DATA                  DATA           DGROUP         07d3:0000       00000248
-XIB                    DATA           DGROUP         07f7:0008       00000000
-XI                     DATA           DGROUP         07f7:0008       00000018
-XIE                    DATA           DGROUP         07f9:0000       00000000
-YIB                    DATA           DGROUP         07f9:0000       00000000
-YI                     DATA           DGROUP         07f9:0000       0000000c
-YIE                    DATA           DGROUP         07f9:000c       00000000
-STRINGS                DATA           DGROUP         07f9:000c       00000000
-DATA                   DATA           DGROUP         07f9:000c       00000000
-_BSS                   BSS            DGROUP         07f9:000c       00000a33
-STACK                  STACK          DGROUP         089d:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:5bd0       00002180
+16text_TEXT            CODE           AUTO           0000:7d50       0000010d
+FAR_DATA               FAR_DATA       AUTO           07e5:000d       00000000
+_NULL                  BEGDATA        DGROUP         07e6:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         07e8:0000       00000002
+CONST                  DATA           DGROUP         07e8:0002       00000076
+CONST2                 DATA           DGROUP         07ef:0008       00000000
+_DATA                  DATA           DGROUP         07f0:0000       00000248
+XIB                    DATA           DGROUP         0814:0008       00000000
+XI                     DATA           DGROUP         0814:0008       00000018
+XIE                    DATA           DGROUP         0816:0000       00000000
+YIB                    DATA           DGROUP         0816:0000       00000000
+YI                     DATA           DGROUP         0816:0000       0000000c
+YIE                    DATA           DGROUP         0816:000c       00000000
+STRINGS                DATA           DGROUP         0816:000c       00000000
+DATA                   DATA           DGROUP         0816:000c       00000000
+_BSS                   BSS            DGROUP         0816:000c       00000a33
+STACK                  STACK          DGROUP         08ba:0000       0000dac0
 
 
                         +----------------+
@@ -58,7 +58,7 @@ Address        Symbol
 
 Module: test.o(/dos/z/16/src/test.c)
 0000:0012      main_
-07c9:00a4*     _clockw
+07e6:00a4*     _clockw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:0195      __STK
 0000:01b5*     __STKOVERFLOW_
@@ -74,38 +74,40 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0000:61ea*     modexSelectPlane_
 0000:620e      modexClearRegion_
 0000:6326*     oldDrawBmp_
-0000:648c*     modexDrawBmp_
-0000:64f2+     modexDrawBmpRegion_
-0000:665c*     modexDrawPlanarBuf_
-0000:667a*     modexDrawSprite_
-0000:66e0+     modexDrawSpriteRegion_
-0000:6858*     modexCopyPageRegion_
-0000:69c2      modexFadeOn_
-0000:69f2      modexFadeOff_
-0000:6a20*     modexFlashOn_
-0000:6a4e*     modexFlashOff_
-0000:6b1e      modexPalSave_
-0000:6b74      modexNewPal_
-0000:6bc4      modexLoadPalFile_
-0000:6ca6*     modexSavePalFile_
-0000:6d1e      modexPalBlack_
-0000:6d48*     modexPalWhite_
-0000:6d72+     modexPalUpdate_
-0000:72e2+     modexPalUpdate1_
-0000:735c*     modexPalUpdate0_
-0000:73a8+     chkcolor_
-0000:76c0+     modexputPixel_
-0000:774e*     modexgetPixel_
-0000:77d4*     modexhlin_
-0000:7840*     modexprint_
-0000:79da*     modexprintbig_
-0000:7b56+     modexWaitBorder_
-07c9:00b4+     _VGA
+0000:648c*     CDrawBmp_
+0000:65f0*     modexDrawBmp_
+0000:6656+     modexDrawBmpRegion_
+0000:67c0*     modexDrawPlanarBuf_
+0000:67de*     modexDrawSprite_
+0000:6844+     modexDrawSpriteRegion_
+0000:69bc*     modexCopyPageRegion_
+0000:6b26      modexFadeOn_
+0000:6b56      modexFadeOff_
+0000:6b84*     modexFlashOn_
+0000:6bb2*     modexFlashOff_
+0000:6c82      modexPalSave_
+0000:6cd8      modexNewPal_
+0000:6d28      modexLoadPalFile_
+0000:6e0a*     modexSavePalFile_
+0000:6e82      modexPalBlack_
+0000:6eac*     modexPalWhite_
+0000:6ed6+     modexPalUpdate_
+0000:7446+     modexPalUpdate1_
+0000:74c0*     modexPalUpdate0_
+0000:750c+     chkcolor_
+0000:7824+     modexputPixel_
+0000:78b2*     modexgetPixel_
+0000:7938*     modexhlin_
+0000:79a4*     modexprint_
+0000:7b3e*     modexprintbig_
+0000:7cba*     cls_
+0000:7d28+     modexWaitBorder_
+07e6:00b4+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-07c9:0000*     __nullarea
-07c9:00dc*     __ovlflag
-07c9:00dd*     __intno
-07c9:00de*     __ovlvec
+07e6:0000*     __nullarea
+07e6:00dc*     __ovlflag
+07e6:00dd*     __intno
+07e6:00de*     __ovlvec
 0000:01d2      _cstart_
 0000:02a5*     _Not_Enough_Memory_
 0000:03d7      __exit_
@@ -118,23 +120,23 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:045e*     __exit_with_msg_
 0000:0463      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-07c9:00e2      __curbrk
-07c9:00ea      __STACKLOW
-07c9:00ec      __STACKTOP
-07c9:00ee      __cbyte
-07c9:00f0      __child
-07c9:00f2      __no87
-07c9:00ff      ___FPE_handler
-07c9:00e4      __psp
-07c9:00f3      __get_ovl_stack
-07c9:00f7      __restore_ovl_stack
-07c9:00fb      __close_ovl_file
-07c9:0103      __LpCmdLine
-07c9:0107      __LpPgmName
-07c9:00e6      __osmajor
-07c9:00e7      __osminor
-07c9:00e8      __osmode
-07c9:00e9      __HShift
+07e6:00e2      __curbrk
+07e6:00ea      __STACKLOW
+07e6:00ec      __STACKTOP
+07e6:00ee      __cbyte
+07e6:00f0      __child
+07e6:00f2      __no87
+07e6:00ff      ___FPE_handler
+07e6:00e4      __psp
+07e6:00f3      __get_ovl_stack
+07e6:00f7      __restore_ovl_stack
+07e6:00fb      __close_ovl_file
+07e6:0103      __LpCmdLine
+07e6:0107      __LpPgmName
+07e6:00e6      __osmajor
+07e6:00e7      __osminor
+07e6:00e8      __osmode
+07e6:00e9      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 0000:0482+     int86x_
 0000:0605      int86_
@@ -144,9 +146,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:0650      _fmalloc_
 0000:0650      malloc_
-07c9:010c+     ___fheap
-07c9:010e      ___fheapRover
-07c9:0110      ___LargestSizeB4Rover
+07e6:010c+     ___fheap
+07e6:010e      ___fheapRover
+07e6:0110      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0000:07c5      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
@@ -154,8 +156,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:07f4+     __null_int23_exit_
 0000:07f5      exit_
 0000:0816+     _exit_
-07c9:0112+     ___int23_exit
-07c9:0116+     ___FPE_handler_exit
+07e6:0112+     ___int23_exit
+07e6:0116+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:0832+     __open_flags_
 0000:0af3+     _fsopen_
@@ -168,7 +170,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:109d      __doclose_
 0000:11e7      __shutdown_stream_
 0000:1201      fclose_
-07c9:0c0c+     ___RmTmpFileFn
+07e6:0c0c+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:126c      _ffree_
 0000:126c      free_
@@ -181,8 +183,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
 0000:16b8      __I4M
 0000:16b8      __U4M
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0000:7bf6*     textInit_
-07c9:0c10      _romFonts
+0000:7dc6*     textInit_
+07e6:0c10      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
 0000:16d0      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
@@ -191,12 +193,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:1791      __FiniRtns
 0000:1791*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-07c9:011e      ___uselfn
+07e6:011e      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:17f6      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:17f7      __EnterWVIDEO_
-07c9:0120+     ___WD_Present
+07e6:0120+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
 0000:181b      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
@@ -212,27 +214,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 0000:1d2c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:1d2f      _nmalloc_
-07c9:0122      ___nheapbeg
-07c9:0124      ___MiniHeapRover
-07c9:0126      ___LargestSizeB4MiniHeapRover
+07e6:0122      ___nheapbeg
+07e6:0124      ___MiniHeapRover
+07e6:0126      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0000:1e09*     _heapgrow_
 0000:1e09*     _fheapgrow_
 0000:1e0a      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-07c9:0128      ___iob
-07c9:0c28      ___ClosedStreams
-07c9:0c2c      ___OpenStreams
+07e6:0128      ___iob
+07e6:0c28      ___ClosedStreams
+07e6:0c2c      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 0000:1e9c      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:1fef*     __set_commode_
-07c9:0290      __commode
+07e6:0290      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:1ffb*     __get_errno_ptr_
-07c9:0c30      _errno
+07e6:0c30      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-07c9:0292      __fmode
+07e6:0292      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:2002      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
@@ -266,26 +268,26 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
 0000:2ba1      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:2dea      _nfree_
-07c9:0c32+     ___MiniHeapFreeRover
+07e6:0c32+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0000:2ee5      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 0000:2f45      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-07c9:0c34      ____Argv
-07c9:0c38      ____Argc
+07e6:0c34      ____Argv
+07e6:0c38      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-07c9:0294      __amblksiz
+07e6:0294      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-07c9:02e8      __Start_XI
-07c9:0300      __End_XI
-07c9:0300      __Start_YI
-07c9:030c      __End_YI
+07e6:02e8      __Start_XI
+07e6:0300      __End_XI
+07e6:0300      __Start_YI
+07e6:030c      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
 0000:311a      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:3493*     _heapenable_
-07c9:0296      ___heap_enabled
+07e6:0296      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:34a4      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
@@ -303,16 +305,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:4a84      __GetIOMode_
 0000:4ab9      __SetIOMode_nogrow_
-07c9:0298      ___NFiles
-07c9:029a      ___init_mode
-07c9:02c2      ___io_mode
+07e6:0298      ___NFiles
+07e6:029a      ___init_mode
+07e6:02c2      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:4aee      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:4b0a*     __get_doserrno_ptr_
-07c9:0c3a      __doserrno
+07e6:0c3a      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-07c9:02c6      ___umaskval
+07e6:02c6      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:4b11      _dos_creat_
 0000:4b35*     _dos_creatnew_
@@ -344,13 +346,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:4fca      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-07c9:02dc      ___EFG_printf
-07c9:02e0*     ___EFG_scanf
+07e6:02dc      ___EFG_printf
+07e6:02e0*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-07c9:02e4      ___IsDBCS
+07e6:02e4      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:5012*     _ismbblead_
-07c9:0c3e      ___MBCSIsTable
+07e6:0c3e      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:502e      ulltoa_
 0000:516b*     lltoa_
@@ -370,10 +372,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
 0000:545c*     _dos_close_
 0000:546a      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-07c9:0072      ___Alphabet
+07e6:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:54b7      __mbinit_
-07c9:02e6+     ___MBCodePage
+07e6:02e6+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:5592*     _msize_
 0000:55ad      _fmsize_
@@ -402,6 +404,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00016490 (91280.)
+Memory size:  00016660 (91744.)
 Entry point address: 0000:01d2
 Link time: 00:00.00
index b44c91b0ce014a047c5549d06e91488bc59e3dab..dabc27c05193c4b2a89f32c1242d9912cca3ab9e 100755 (executable)
Binary files a/test2.exe and b/test2.exe differ
index a5920a9d64e69ba737ecad3cce479d53a7b71075..0c0a45a29b5cea64adb9718af12f87f23be76803 100755 (executable)
--- a/test2.map
+++ b/test2.map
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 14:07:45
+Created on:       15/09/29 14:45:32
 Executable Image: test2.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0884:0000            0000e8a0
+DGROUP                          08a1:0000            0000e8a0
 
 
 
@@ -26,26 +26,26 @@ Segment                Class          Group          Address         Size
 
 test2_TEXT             CODE           AUTO           0000:0000       00000142
 _TEXT                  CODE           AUTO           0000:0150       00005dde
-bitmap_TEXT            CODE           AUTO           0000:5f30       000005c7
+bitmap_TEXT            CODE           AUTO           0000:5f30       000005c9
 planar_TEXT            CODE           AUTO           0000:6500       00000275
-modex16_TEXT           CODE           AUTO           0000:6780       00001fae
-16text_TEXT            CODE           AUTO           0000:8730       0000010d
-FAR_DATA               FAR_DATA       AUTO           0883:000d       00000000
-_NULL                  BEGDATA        DGROUP         0884:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         0886:0000       00000002
-CONST                  DATA           DGROUP         0886:0002       00000076
-CONST2                 DATA           DGROUP         088d:0008       00000000
-_DATA                  DATA           DGROUP         088e:0000       00000260
-XIB                    DATA           DGROUP         08b4:0000       00000000
-XI                     DATA           DGROUP         08b4:0000       00000018
-XIE                    DATA           DGROUP         08b5:0008       00000000
-YIB                    DATA           DGROUP         08b5:0008       00000000
-YI                     DATA           DGROUP         08b5:0008       0000000c
-YIE                    DATA           DGROUP         08b6:0004       00000000
-STRINGS                DATA           DGROUP         08b6:0004       00000000
-DATA                   DATA           DGROUP         08b6:0004       00000000
-_BSS                   BSS            DGROUP         08b6:0004       00000ab3
-STACK                  STACK          DGROUP         0962:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:6780       00002180
+16text_TEXT            CODE           AUTO           0000:8900       0000010d
+FAR_DATA               FAR_DATA       AUTO           08a0:000d       00000000
+_NULL                  BEGDATA        DGROUP         08a1:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         08a3:0000       00000002
+CONST                  DATA           DGROUP         08a3:0002       00000076
+CONST2                 DATA           DGROUP         08aa:0008       00000000
+_DATA                  DATA           DGROUP         08ab:0000       00000260
+XIB                    DATA           DGROUP         08d1:0000       00000000
+XI                     DATA           DGROUP         08d1:0000       00000018
+XIE                    DATA           DGROUP         08d2:0008       00000000
+YIB                    DATA           DGROUP         08d2:0008       00000000
+YI                     DATA           DGROUP         08d2:0008       0000000c
+YIE                    DATA           DGROUP         08d3:0004       00000000
+STRINGS                DATA           DGROUP         08d3:0004       00000000
+DATA                   DATA           DGROUP         08d3:0004       00000000
+_BSS                   BSS            DGROUP         08d3:0004       00000ab3
+STACK                  STACK          DGROUP         097f:0000       0000dac0
 
 
                         +----------------+
@@ -60,13 +60,13 @@ Address        Symbol
 
 Module: test2.o(/dos/z/16/src/test2.c)
 0000:0024      main_
-0884:00a4*     _clockw
+08a1:00a4*     _clockw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:0155      __STK
 0000:0175*     __STKOVERFLOW_
 Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
-0000:6230      bitmapLoadPcx_
-0000:638c*     bitmapLoadPcxTiles_
+0000:6232      bitmapLoadPcx_
+0000:638e*     bitmapLoadPcxTiles_
 Module: gfx.lib(/dos/z/16/src/lib/planar.c)
 0000:6500      planar_buf_from_bitmap_
 0000:6620+     planar_buf_alloc_
@@ -77,10 +77,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0000:01b0      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-0884:0000*     __nullarea
-0884:00c4*     __ovlflag
-0884:00c5*     __intno
-0884:00c6*     __ovlvec
+08a1:0000*     __nullarea
+08a1:00c4*     __ovlflag
+08a1:00c5*     __intno
+08a1:00c6*     __ovlvec
 0000:01e0      _cstart_
 0000:02b3*     _Not_Enough_Memory_
 0000:03e5      __exit_
@@ -93,37 +93,37 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:046c*     __exit_with_msg_
 0000:0471      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-0884:00ca      __curbrk
-0884:00d2      __STACKLOW
-0884:00d4      __STACKTOP
-0884:00d6      __cbyte
-0884:00d8      __child
-0884:00da      __no87
-0884:00e7      ___FPE_handler
-0884:00cc      __psp
-0884:00db      __get_ovl_stack
-0884:00df      __restore_ovl_stack
-0884:00e3      __close_ovl_file
-0884:00eb      __LpCmdLine
-0884:00ef      __LpPgmName
-0884:00ce      __osmajor
-0884:00cf      __osminor
-0884:00d0      __osmode
-0884:00d1      __HShift
+08a1:00ca      __curbrk
+08a1:00d2      __STACKLOW
+08a1:00d4      __STACKTOP
+08a1:00d6      __cbyte
+08a1:00d8      __child
+08a1:00da      __no87
+08a1:00e7      ___FPE_handler
+08a1:00cc      __psp
+08a1:00db      __get_ovl_stack
+08a1:00df      __restore_ovl_stack
+08a1:00e3      __close_ovl_file
+08a1:00eb      __LpCmdLine
+08a1:00ef      __LpPgmName
+08a1:00ce      __osmajor
+08a1:00cf      __osminor
+08a1:00d0      __osmode
+08a1:00d1      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
 0000:0490      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:0807      __doclose_
 0000:0951      __shutdown_stream_
 0000:096b      fclose_
-0884:03a4+     ___RmTmpFileFn
+08a1:03a4+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:09d6+     _null_exit_rtn_
 0000:09d6+     __null_int23_exit_
 0000:09d7      exit_
 0000:09f8+     _exit_
-0884:00f4+     ___int23_exit
-0884:00f8+     ___FPE_handler_exit
+08a1:00f4+     ___int23_exit
+08a1:00f8+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
 0000:0b32      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
@@ -141,33 +141,35 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0000:6d9a*     modexSelectPlane_
 0000:6dbe+     modexClearRegion_
 0000:6ed6*     oldDrawBmp_
-0000:703c*     modexDrawBmp_
-0000:70a2+     modexDrawBmpRegion_
-0000:720c*     modexDrawPlanarBuf_
-0000:722a*     modexDrawSprite_
-0000:7290+     modexDrawSpriteRegion_
-0000:7408*     modexCopyPageRegion_
-0000:7572*     modexFadeOn_
-0000:75a2*     modexFadeOff_
-0000:75d0*     modexFlashOn_
-0000:75fe*     modexFlashOff_
-0000:76ce+     modexPalSave_
-0000:7724      modexNewPal_
-0000:7774*     modexLoadPalFile_
-0000:7856*     modexSavePalFile_
-0000:78ce*     modexPalBlack_
-0000:78f8*     modexPalWhite_
-0000:7922+     modexPalUpdate_
-0000:7e92+     modexPalUpdate1_
-0000:7f0c*     modexPalUpdate0_
-0000:7f58+     chkcolor_
-0000:8270+     modexputPixel_
-0000:82fe*     modexgetPixel_
-0000:8384*     modexhlin_
-0000:83f0*     modexprint_
-0000:858a*     modexprintbig_
-0000:8706+     modexWaitBorder_
-0884:0104+     _VGA
+0000:703c*     CDrawBmp_
+0000:71a0*     modexDrawBmp_
+0000:7206+     modexDrawBmpRegion_
+0000:7370*     modexDrawPlanarBuf_
+0000:738e*     modexDrawSprite_
+0000:73f4+     modexDrawSpriteRegion_
+0000:756c*     modexCopyPageRegion_
+0000:76d6*     modexFadeOn_
+0000:7706*     modexFadeOff_
+0000:7734*     modexFlashOn_
+0000:7762*     modexFlashOff_
+0000:7832+     modexPalSave_
+0000:7888      modexNewPal_
+0000:78d8*     modexLoadPalFile_
+0000:79ba*     modexSavePalFile_
+0000:7a32*     modexPalBlack_
+0000:7a5c*     modexPalWhite_
+0000:7a86+     modexPalUpdate_
+0000:7ff6+     modexPalUpdate1_
+0000:8070*     modexPalUpdate0_
+0000:80bc+     chkcolor_
+0000:83d4+     modexputPixel_
+0000:8462*     modexgetPixel_
+0000:84e8*     modexhlin_
+0000:8554*     modexprint_
+0000:86ee*     modexprintbig_
+0000:886a*     cls_
+0000:88d8+     modexWaitBorder_
+08a1:0104+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:10c0+     __open_flags_
 0000:1381+     _fsopen_
@@ -176,13 +178,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:1595      _fmalloc_
 0000:1595      malloc_
-0884:012c+     ___fheap
-0884:012e      ___fheapRover
-0884:0130      ___LargestSizeB4Rover
+08a1:012c+     ___fheap
+08a1:012e      ___fheapRover
+08a1:0130      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-0884:0132      ___iob
-0884:0ca8      ___ClosedStreams
-0884:0cac      ___OpenStreams
+08a1:0132      ___iob
+08a1:0ca8      ___ClosedStreams
+08a1:0cac      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
 0000:170a      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
@@ -198,15 +200,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:19d4      __FiniRtns
 0000:19d4*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-0884:029a      ___uselfn
+08a1:029a      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:1a38      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:1a39      __EnterWVIDEO_
-0884:029c+     ___WD_Present
+08a1:029c+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:1a5d*     __get_errno_ptr_
-0884:0cb0      _errno
+08a1:0cb0      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
 0000:1a64      __ioalloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
@@ -245,13 +247,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
 0000:2698      __I4M
 0000:2698      __U4M
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0000:87a6*     textInit_
-0884:0cb2      _romFonts
+0000:8976*     textInit_
+08a1:0cb2      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:26b0*     __set_commode_
-0884:02a2      __commode
+08a1:02a2      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-0884:02a4      __fmode
+08a1:02a4      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:26bc      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
@@ -272,9 +274,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 0000:2fec      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:2fef      _nmalloc_
-0884:02a6      ___nheapbeg
-0884:02a8      ___MiniHeapRover
-0884:02aa      ___LargestSizeB4MiniHeapRover
+08a1:02a6      ___nheapbeg
+08a1:02a8      ___MiniHeapRover
+08a1:02aa      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0000:30c9*     _heapgrow_
 0000:30c9*     _fheapgrow_
@@ -286,21 +288,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
 0000:337d      __full_io_exit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:3387      _nfree_
-0884:0cca+     ___MiniHeapFreeRover
+08a1:0cca+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 0000:3482      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
 0000:3657      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-0884:0ccc      ____Argv
-0884:0cd0      ____Argc
+08a1:0ccc      ____Argv
+08a1:0cd0      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0884:02ac      __amblksiz
+08a1:02ac      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0884:0300      __Start_XI
-0884:0318      __End_XI
-0884:0318      __Start_YI
-0884:0324      __End_YI
+08a1:0300      __Start_XI
+08a1:0318      __End_XI
+08a1:0318      __Start_YI
+08a1:0324      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 0000:47ba*     __dosretax
 0000:47bf*     __dosret0
@@ -309,9 +311,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:4839      __GetIOMode_
 0000:486e      __SetIOMode_nogrow_
-0884:02c2      ___NFiles
-0884:02c4      ___init_mode
-0884:02ec      ___io_mode
+08a1:02c2      ___NFiles
+08a1:02c4      ___init_mode
+08a1:02ec      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0000:48a3      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
@@ -330,15 +332,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:4b77      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:4b93*     __get_doserrno_ptr_
-0884:0cd4      __doserrno
+08a1:0cd4      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-0884:02f0      ___umaskval
+08a1:02f0      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:4b9a      _dos_creat_
 0000:4bbe*     _dos_creatnew_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:4bdf*     _heapenable_
-0884:02f2      ___heap_enabled
+08a1:02f2      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:4bf0      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
@@ -352,13 +354,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:4f39      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-0884:02f4      ___EFG_printf
-0884:02f8*     ___EFG_scanf
+08a1:02f4      ___EFG_printf
+08a1:02f8*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-0884:02fc      ___IsDBCS
+08a1:02fc      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:4f81*     _ismbblead_
-0884:0cd6      ___MBCSIsTable
+08a1:0cd6      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:4f9d      ulltoa_
 0000:50da*     lltoa_
@@ -383,10 +385,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
 0000:5762*     sbrk_
 0000:5772      __brk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-0884:0072      ___Alphabet
+08a1:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:5818      __mbinit_
-0884:02fe+     ___MBCodePage
+08a1:02fe+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:58f3*     _msize_
 0000:590e      _fmsize_
@@ -415,6 +417,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  000170e0 (94432.)
+Memory size:  000172b0 (94896.)
 Entry point address: 0000:01e0
 Link time: 00:00.00
index dfcfd6e685d24711befa84549b8bd1079ec9b961..60af4ed398e7d8ee704861e7fc2b7321ffac1674 100755 (executable)
Binary files a/vgmtest.exe and b/vgmtest.exe differ
index 631d9f5c932805743d06b1cad5298b77716280a8..82ec9e301d8bfe2e897c2b964b7f339fc4e00ba1 100755 (executable)
@@ -1,7 +1,7 @@
-Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (32-bit)
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-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/09/29 13:42:59
+Created on:       15/09/29 14:45:32
 Executable Image: vgmtest.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          09cc:0000            0000e660
+DGROUP                          09cb:0000            0000e660
 
 
 
@@ -27,26 +27,26 @@ Segment                Class          Group          Address         Size
 vgmtest_TEXT           CODE           AUTO           0000:0000       00000114
 16_in_TEXT             CODE           AUTO           0000:0120       00001d43
 16_head_TEXT           CODE           AUTO           0000:1e70       00000405
-_TEXT                  CODE           AUTO           0000:2280       0000601c
-16_snd_TEXT            CODE           AUTO           0000:82a0       00000338
-vgmSnd_TEXT            CODE           AUTO           0000:85e0       00001525
-16_in13_DATA           FAR_DATA       AUTO           09b1:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           09cb:0004       00000000
-_NULL                  BEGDATA        DGROUP         09cc:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         09ce:0000       00000002
-CONST                  DATA           DGROUP         09ce:0002       00000076
-CONST2                 DATA           DGROUP         09d5:0008       00000102
-_DATA                  DATA           DGROUP         09e6:0000       000004ee
-XIB                    DATA           DGROUP         0a34:000e       00000000
-XI                     DATA           DGROUP         0a34:000e       00000024
-XIE                    DATA           DGROUP         0a37:0002       00000000
-YIB                    DATA           DGROUP         0a37:0002       00000000
-YI                     DATA           DGROUP         0a37:0002       00000012
-YIE                    DATA           DGROUP         0a38:0004       00000000
-STRINGS                DATA           DGROUP         0a38:0004       00000000
-DATA                   DATA           DGROUP         0a38:0004       00000000
-_BSS                   BSS            DGROUP         0a39:0000       000004cf
-STACK                  STACK          DGROUP         0a86:0000       0000dac0
+_TEXT                  CODE           AUTO           0000:2280       0000600e
+16_snd_TEXT            CODE           AUTO           0000:8290       00000338
+vgmSnd_TEXT            CODE           AUTO           0000:85d0       00001525
+16_in13_DATA           FAR_DATA       AUTO           09b0:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           09ca:0004       00000000
+_NULL                  BEGDATA        DGROUP         09cb:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         09cd:0000       00000002
+CONST                  DATA           DGROUP         09cd:0002       00000076
+CONST2                 DATA           DGROUP         09d4:0008       00000102
+_DATA                  DATA           DGROUP         09e5:0000       000004ee
+XIB                    DATA           DGROUP         0a33:000e       00000000
+XI                     DATA           DGROUP         0a33:000e       00000024
+XIE                    DATA           DGROUP         0a36:0002       00000000
+YIB                    DATA           DGROUP         0a36:0002       00000000
+YI                     DATA           DGROUP         0a36:0002       00000012
+YIE                    DATA           DGROUP         0a37:0004       00000000
+STRINGS                DATA           DGROUP         0a37:0004       00000000
+DATA                   DATA           DGROUP         0a37:0004       00000000
+_BSS                   BSS            DGROUP         0a38:0000       000004cf
+STACK                  STACK          DGROUP         0a85:0000       0000dac0
 
 
                         +----------------+
@@ -87,7 +87,7 @@ Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
 0000:1d4a      IN_KeyDown_
 0000:1d92+     IN_ClearKey_
 0000:1e0a*     IN_qb_
-09cc:06de+     _inpu
+09cb:06de+     _inpu
 Module: 16_head.o(/dos/z/16/src/lib/16_head.c)
 0000:1e7e*     wait_
 0000:1eca*     filesize_
@@ -97,41 +97,41 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:2285      __STK
 0000:22a5*     __STKOVERFLOW_
 Module: vgmsnd.lib(/dos/z/16/src/lib/16_snd.c)
-0000:82a0      opl2out_
-0000:82e2*     opl3out_
-0000:831e*     opl3exp_
-0000:835a*     FMReset_
-0000:8398*     FMKeyOff_
-0000:83c2*     FMKeyOn_
-0000:8410*     FMSetVoice_
+0000:8290      opl2out_
+0000:82d2*     opl3out_
+0000:830e*     opl3exp_
+0000:834a*     FMReset_
+0000:8388*     FMKeyOff_
+0000:83b2*     FMKeyOn_
+0000:8400*     FMSetVoice_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:22c2      _fmalloc_
 0000:22c2      malloc_
-09cc:0474+     ___fheap
-09cc:0476      ___fheapRover
-09cc:0478      ___LargestSizeB4Rover
+09cb:0474+     ___fheap
+09cb:0476      ___fheapRover
+09cb:0478      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 0000:243f      __PIA
 0000:2438*     __PIS
 Module: vgmsnd.lib(/dos/z/16/src/lib/vgmsnd/vgmSnd.c)
-0000:862a      OpenVGMFile_
-0000:891a      FreeVGMFile_
-0000:8ed2      InitEngine_
-0000:9090      DeinitEngine_
-0000:90f8      PlayMusic_
-0000:9162*     PlaySFX_
-0000:91f6      StopMusic_
-0000:9216*     StopSFX_
-0000:92ac*     PauseMusic_
-0000:9308*     ResumeMusic_
-0000:9a54      UpdateSoundEngine_
+0000:861a      OpenVGMFile_
+0000:890a      FreeVGMFile_
+0000:8ec2      InitEngine_
+0000:9080      DeinitEngine_
+0000:90e8      PlayMusic_
+0000:9152*     PlaySFX_
+0000:91e6      StopMusic_
+0000:9206*     StopSFX_
+0000:929c*     PauseMusic_
+0000:92f8*     ResumeMusic_
+0000:9a44      UpdateSoundEngine_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0000:2456      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-09cc:0000*     __nullarea
-09cc:0484*     __ovlflag
-09cc:0485*     __intno
-09cc:0486*     __ovlvec
+09cb:0000*     __nullarea
+09cb:0484*     __ovlflag
+09cb:0485*     __intno
+09cb:0486*     __ovlvec
 0000:2486      _cstart_
 0000:2559*     _Not_Enough_Memory_
 0000:268b      __exit_
@@ -141,10 +141,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 0000:2712      _big_code_
 0000:2712*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-09cc:0a6e      __argv
-09cc:0a72      ___argv
-09cc:0a76      __argc
-09cc:0a78      ___argc
+09cb:0a6e      __argv
+09cb:0a72      ___argv
+09cb:0a76      __argc
+09cb:0a78      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 0000:2712+     int86x_
 0000:2895      int86_
@@ -171,7 +171,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
 0000:2e58      ultoa_
 0000:2f16*     ltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-09cc:0098      __IsTable
+09cb:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:2f64      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
@@ -180,23 +180,23 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:2fa5*     __exit_with_msg_
 0000:2faa      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-09cc:0492      __curbrk
-09cc:049a      __STACKLOW
-09cc:049c      __STACKTOP
-09cc:049e      __cbyte
-09cc:04a0      __child
-09cc:04a2      __no87
-09cc:04af      ___FPE_handler
-09cc:0494      __psp
-09cc:04a3      __get_ovl_stack
-09cc:04a7      __restore_ovl_stack
-09cc:04ab      __close_ovl_file
-09cc:04b3      __LpCmdLine
-09cc:04b7      __LpPgmName
-09cc:0496      __osmajor
-09cc:0497      __osminor
-09cc:0498      __osmode
-09cc:0499      __HShift
+09cb:0492      __curbrk
+09cb:049a      __STACKLOW
+09cb:049c      __STACKTOP
+09cb:049e      __cbyte
+09cb:04a0      __child
+09cb:04a2      __no87
+09cb:04af      ___FPE_handler
+09cb:0494      __psp
+09cb:04a3      __get_ovl_stack
+09cb:04a7      __restore_ovl_stack
+09cb:04ab      __close_ovl_file
+09cb:04b3      __LpCmdLine
+09cb:04b7      __LpPgmName
+09cb:0496      __osmajor
+09cb:0497      __osminor
+09cb:0498      __osmode
+09cb:0499      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
 0000:2fd0      __MemAllocator
 0000:309a      __MemFree
@@ -208,9 +208,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 0000:345c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:345f      _nmalloc_
-09cc:04bc      ___nheapbeg
-09cc:04be      ___MiniHeapRover
-09cc:04c0      ___LargestSizeB4MiniHeapRover
+09cb:04bc      ___nheapbeg
+09cb:04be      ___MiniHeapRover
+09cb:04c0      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0000:3539*     _heapgrow_
 0000:3539*     _fheapgrow_
@@ -226,14 +226,14 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:3dfe      __doclose_
 0000:3f48      __shutdown_stream_
 0000:3f62      fclose_
-09cc:0a7e+     ___RmTmpFileFn
+09cb:0a7e+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:3fcd      _ffree_
 0000:3fcd      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-09cc:04c2      ___iob
-09cc:0a82      ___OpenStreams
-09cc:0a86      ___ClosedStreams
+09cb:04c2      ___iob
+09cb:0a82      ___ClosedStreams
+09cb:0a86      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 0000:4054      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
@@ -244,7 +244,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:4268      __FiniRtns
 0000:4268*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-09cc:062a      ___uselfn
+09cb:062a      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:42cc      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -267,17 +267,17 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
 0000:478c      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:49d5*     __get_errno_ptr_
-09cc:0a8e      _errno
+09cb:0a8e      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-09cc:0022      ___Alphabet
+09cb:0022      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:49dc      __EnterWVIDEO_
-09cc:062c+     ___WD_Present
+09cb:062c+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:4a00*     _heapenable_
-09cc:062e      ___heap_enabled
+09cb:062e      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-09cc:0630      __amblksiz
+09cb:0630      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:4a11      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
@@ -285,12 +285,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
 0000:4b13      __ExpandDGROUP_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:4c24      _nfree_
-09cc:0a90+     ___MiniHeapFreeRover
+09cb:0a90+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:4d1f*     __set_commode_
-09cc:0632      __commode
+09cb:0632      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-09cc:0634      __fmode
+09cb:0634      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
 0000:4f4c*     open_
 0000:4f83      sopen_
@@ -322,109 +322,109 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
 0000:5c6f      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-09cc:0a92      ____Argv
-09cc:0a96      ____Argc
+09cb:0a92      ____Argv
+09cb:0a96      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
-0000:6ddf+     _null_exit_rtn_
-0000:6ddf+     __null_int23_exit_
-0000:6de0      exit_
-0000:6e01+     _exit_
-09cc:0636+     ___int23_exit
-09cc:063a+     ___FPE_handler_exit
+0000:6dd1+     _null_exit_rtn_
+0000:6dd1+     __null_int23_exit_
+0000:6dd2      exit_
+0000:6df3+     _exit_
+09cb:0636+     ___int23_exit
+09cb:063a+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-09cc:068e      __Start_XI
-09cc:06b2      __End_XI
-09cc:06b2      __Start_YI
-09cc:06c4      __End_YI
+09cb:068e      __Start_XI
+09cb:06b2      __End_XI
+09cb:06b2      __Start_YI
+09cb:06c4      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-09cc:0a98      ___historical_splitparms
+09cb:0a98      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
-0000:6e1e      _DoINTR_
+0000:6e10      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
-0000:7197      __flushall_
-0000:722b      flushall_
+0000:7189      __flushall_
+0000:721d      flushall_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
-0000:7231      __GetIOMode_
-0000:7266      __SetIOMode_nogrow_
-09cc:063e      ___NFiles
-09cc:0640      ___init_mode
-09cc:0668      ___io_mode
+0000:7223      __GetIOMode_
+0000:7258      __SetIOMode_nogrow_
+09cb:063e      ___NFiles
+09cb:0640      ___init_mode
+09cb:0668      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
-0000:729b+     __grow_iomode_
-0000:7382+     __shrink_iomode_
-0000:73c3      __SetIOMode_
+0000:728d+     __grow_iomode_
+0000:7374+     __shrink_iomode_
+0000:73b5      __SetIOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
-0000:746a      __qwrite_
+0000:745c      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
-0000:74ca      fsync_
+0000:74bc      fsync_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
-0000:74cf*     sbrk_
-0000:74df      __brk_
+0000:74c1*     sbrk_
+0000:74d1      __brk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
-0000:7547      _dos_open_
+0000:7539      _dos_open_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
-0000:756d      isatty_
+0000:755f      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
-0000:7589*     __get_doserrno_ptr_
-09cc:0a9c      __doserrno
+0000:757b*     __get_doserrno_ptr_
+09cb:0a9c      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-09cc:066c      ___umaskval
+09cb:066c      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
-0000:7590      _dos_creat_
-0000:75b4*     _dos_creatnew_
+0000:7582      _dos_creat_
+0000:75a6*     _dos_creatnew_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
-0000:75d5*     __dosretax
-0000:75da*     __dosret0
-0000:75e1      __set_errno_dos_
-0000:7649*     __set_errno_dos_reterr_
+0000:75c7*     __dosretax
+0000:75cc*     __dosret0
+0000:75d3      __set_errno_dos_
+0000:763b*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
-0000:7654      getche_
+0000:7646      getche_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
-0000:766e      wctomb_
+0000:7660      wctomb_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
-0000:76b9+     utoa_
-0000:775a      itoa_
+0000:76ab+     utoa_
+0000:774c      itoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
-0000:77a4      strupr_
+0000:7796      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-09cc:0682      ___EFG_printf
-09cc:0686*     ___EFG_scanf
+09cb:0682      ___EFG_printf
+09cb:0686*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-09cc:068a      ___IsDBCS
+09cb:068a      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
-0000:77ec*     _ismbblead_
-09cc:0a9e      ___MBCSIsTable
+0000:77de*     _ismbblead_
+09cb:0a9e      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
-0000:7808      ulltoa_
-0000:7945*     lltoa_
+0000:77fa      ulltoa_
+0000:7937*     lltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
-0000:79b6*     _frealloc_
-0000:79b6      realloc_
+0000:79a8*     _frealloc_
+0000:79a8      realloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
-0000:7a92      __ChkTTYIOMode_
-0000:7b00*     __IOMode_
+0000:7a84      __ChkTTYIOMode_
+0000:7af2*     __IOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
-0000:7b10*     _dos_close_
-0000:7b1e      _dos_commit_
+0000:7b02*     _dos_close_
+0000:7b10      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
-0000:7b2e      __doserror_
-0000:7b3c*     __doserror1_
+0000:7b20      __doserror_
+0000:7b2e*     __doserror1_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
-0000:7b86      __mbinit_
-09cc:068c+     ___MBCodePage
+0000:7b78      __mbinit_
+09cb:068c+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
-0000:7c61*     _msize_
-0000:7c7c      _fmsize_
+0000:7c53*     _msize_
+0000:7c6e      _fmsize_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
-0000:7c8d      __HeapManager_expand_
-0000:8196      _nexpand_
+0000:7c7f      __HeapManager_expand_
+0000:8188      _nexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
-0000:81e9      _fexpand_
-0000:81e9*     _expand_
+0000:81db      _fexpand_
+0000:81db*     _expand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
-0000:821e      _bfree_
+0000:8210      _bfree_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
-0000:8243      _bexpand_
+0000:8235      _bexpand_
 
 
                         +--------------------+
@@ -440,6 +440,6 @@ vgmsnd.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00018320 (99104.)
+Memory size:  00018310 (99088.)
 Entry point address: 0000:2486
 Link time: 00:00.00