]> 4ch.mooo.com Git - 16.git/commitdiff
ok
authorsparky4 <sparky4@cock.li>
Tue, 13 Oct 2015 20:51:44 +0000 (15:51 -0500)
committersparky4 <sparky4@cock.li>
Tue, 13 Oct 2015 20:51:44 +0000 (15:51 -0500)
30 files changed:
16.exe
16.map
bakapi.exe
bakapi.map
exmmtest.map
fmemtest.map
fontgfx.exe
fontgfx.map
fonttest.map
inputest.map
maptest.exe
maptest.map
palettec.exe
palettec.map
palettel.exe
palettel.map
pcxtest.exe
pcxtest.map
pcxtest2.exe
pcxtest2.map
scroll.exe
scroll.map
src/lib/modex16.c
src/lib/modex16/256x192.h
src/lib/modex16/320x240.h
test.exe
test.map
test2.exe
test2.map
vgmtest.map

diff --git a/16.exe b/16.exe
index 5e5b87beffe9af2d28db025d70577d3ce4a0e656..12042cb0c8a1aa34fe6c5bb02ef6cd61f61e8ea6 100755 (executable)
Binary files a/16.exe and b/16.exe differ
diff --git a/16.map b/16.map
index eefc3e99f45d47b33716fcc1f2826ba8c636adc1..998bd09c97bbb0ff44a0a7c332e3068b4fdff6e0 100755 (executable)
--- a/16.map
+++ b/16.map
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: 16.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          136b:0000            0000f230
+DGROUP                          136d:0000            0000f230
 
 
 
@@ -36,28 +36,28 @@ kitten_TEXT            CODE           AUTO           0000:6e50       0000080a
 16_hc_TEXT             CODE           AUTO           0000:7660       0000158b
 timer_TEXT             CODE           AUTO           0000:8bf0       00000235
 _TEXT                  CODE           AUTO           08e3:0000       00007bbb
-modex16_TEXT           CODE           AUTO           08e3:7bc0       000023ee
-bitmap_TEXT            CODE           AUTO           08e3:9fb0       00000605
-16text_TEXT            CODE           AUTO           08e3:a5c0       0000010d
-16_in13_DATA           FAR_DATA       AUTO           1350:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           136a:0004       00000000
-_NULL                  BEGDATA        DGROUP         136b:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         136d:0000       00000002
-CONST                  DATA           DGROUP         136d:0002       00000076
-CONST2                 DATA           DGROUP         1374:0008       00000102
-_DATA                  DATA           DGROUP         1385:0000       000005b1
-XIB                    DATA           DGROUP         13e0:0002       00000000
-XI                     DATA           DGROUP         13e0:0002       00000036
-XIE                    DATA           DGROUP         13e3:0008       00000000
-YIB                    DATA           DGROUP         13e3:0008       00000000
-YI                     DATA           DGROUP         13e3:0008       00000018
-YIE                    DATA           DGROUP         13e5:0000       00000000
-STRINGS                DATA           DGROUP         13e5:0000       00000000
-DATA                   DATA           DGROUP         13e5:0000       00000000
-_emu_init_start        EMU            DGROUP         13e5:0000       00000000
-_emu_init_end          EMU            DGROUP         13e5:0000       00000000
-_BSS                   BSS            DGROUP         13e5:0000       00000fc2
-STACK                  STACK          DGROUP         14e2:0000       0000dac0
+modex16_TEXT           CODE           AUTO           08e3:7bc0       00002406
+bitmap_TEXT            CODE           AUTO           08e3:9fd0       00000605
+16text_TEXT            CODE           AUTO           08e3:a5e0       0000010d
+16_in13_DATA           FAR_DATA       AUTO           1352:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           136c:0004       00000000
+_NULL                  BEGDATA        DGROUP         136d:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         136f:0000       00000002
+CONST                  DATA           DGROUP         136f:0002       00000076
+CONST2                 DATA           DGROUP         1376:0008       00000102
+_DATA                  DATA           DGROUP         1387:0000       000005b1
+XIB                    DATA           DGROUP         13e2:0002       00000000
+XI                     DATA           DGROUP         13e2:0002       00000036
+XIE                    DATA           DGROUP         13e5:0008       00000000
+YIB                    DATA           DGROUP         13e5:0008       00000000
+YI                     DATA           DGROUP         13e5:0008       00000018
+YIE                    DATA           DGROUP         13e7:0000       00000000
+STRINGS                DATA           DGROUP         13e7:0000       00000000
+DATA                   DATA           DGROUP         13e7:0000       00000000
+_emu_init_start        EMU            DGROUP         13e7:0000       00000000
+_emu_init_end          EMU            DGROUP         13e7:0000       00000000
+_BSS                   BSS            DGROUP         13e7:0000       00000fc2
+STACK                  STACK          DGROUP         14e4:0000       0000dac0
 
 
                         +----------------+
@@ -71,12 +71,12 @@ Address        Symbol
 =======        ======
 
 Module: 16.o(/dos/z/16/src/16.c)
-136b:07a0+     _player
-136b:08a0+     _gvar
-136b:08c8+     _cpus
-136b:08cc*     _gpal
-136b:08d0+     _dpal
-136b:08d4+     _engi_stat
+136d:07a0+     _player
+136d:08a0+     _gvar
+136d:08c8+     _cpus
+136d:08cc*     _gpal
+136d:08d0+     _dpal
+136d:08d4+     _engi_stat
 0000:0108      main_
 Module: mapread.o(/dos/z/16/src/lib/mapread.c)
 0000:0358+     jsoneq_
@@ -86,7 +86,7 @@ Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
 0000:0f02      jsmn_parse_
 0000:13fe      jsmn_init_
 Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
-136b:08fe+     _inpu
+136d:08fe+     _inpu
 0000:1590+     INL_KeyService_
 0000:182a+     Mouse_
 0000:1882+     IN_GetJoyAbs_
@@ -134,9 +134,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c)
 0000:5b5c+     MM_TotalFree_
 0000:5bf2*     MM_Report_
 0000:65aa*     MM_BombOnError_
-136b:0a60+     _beforesort
-136b:0a64+     _aftersort
-136b:0a68+     _XMSaddr
+136d:0a60+     _beforesort
+136d:0a64+     _aftersort
+136d:0a68+     _XMSaddr
 Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c)
 0000:65e0      detectcpu_
 Module: 16_head.o(/dos/z/16/src/lib/16_head.c)
@@ -154,9 +154,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:6d20*     CAL_OptimizeNodes_
 0000:6dd0*     CA_Startup_
 0000:6e20*     CA_Shutdown_
-136b:0a70*     _finishcachebox
-136b:0a74*     _drawcachebox
-136b:0a78*     _updatecachebox
+136d:0a70*     _finishcachebox
+136d:0a74*     _drawcachebox
+136d:0a78*     _updatecachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:6e8c      KITTENGETS
 0000:6eec*     kittenopen_
@@ -167,7 +167,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:7444+     get_line_
 0000:74b6+     db_fetch_
 0000:754c+     db_insert_
-136b:04a4+     __kitten_catalog
+136d:04a4+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:780c+     LargestFreeBlock_
 0000:789a+     _coreleft_
@@ -193,55 +193,55 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 08e3:0025      __STKOVERFLOW_
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 08e3:7db4      VGAmodeX_
-08e3:7e5e+     modex__320x240_256__Enter_
-08e3:7ebe*     modex__256x192_256__Enter_
-08e3:7f1e*     modexLeave_
-08e3:7f36+     modexsetBaseXMode_
-08e3:7f88*     modexDefaultPage_
-08e3:7fee*     modexNextPage_
-08e3:80be*     modexNextPageFlexibleSize_
-08e3:8192*     modexShowPage_
-08e3:828e*     modexPanPage_
-08e3:82de*     modexSelectPlane_
-08e3:8302+     modexClearRegion_
-08e3:841a*     oldDrawBmp_
-08e3:8580*     CDrawBmp_
-08e3:86e4*     modexDrawBmp_
-08e3:874a+     modexDrawBmpRegion_
-08e3:88b4*     modex_sparky4_DrawBmpRegion_
-08e3:8a1e*     modexDrawPlanarBuf_
-08e3:8a3c*     modexDrawSprite_
-08e3:8aa2+     modexDrawSpriteRegion_
-08e3:8c1a*     modexCopyPageRegion_
-08e3:8d84      modexFadeOn_
-08e3:8db4      modexFadeOff_
-08e3:8de2*     modexFlashOn_
-08e3:8e10*     modexFlashOff_
-08e3:8ee0      modexPalSave_
-08e3:8f36      modexNewPal_
-08e3:8f86*     modexLoadPalFile_
-08e3:9068*     modexSavePalFile_
-08e3:90e0      modexPalBlack_
-08e3:910a*     modexPalWhite_
-08e3:9134+     modexPalUpdate_
-08e3:96a4+     modexPalUpdate1_
-08e3:971e*     modexPalUpdate0_
-08e3:976a+     chkcolor_
-08e3:9a82+     modexputPixel_
-08e3:9b10*     modexgetPixel_
-08e3:9b96*     modexhlin_
-08e3:9c02*     modexprint_
-08e3:9d9c*     modexprintbig_
-08e3:9f18*     cls_
-08e3:9f86+     modexWaitBorder_
-136b:04d4+     _VGA
+08e3:7e8a+     modex__320x240_256__Enter_
+08e3:7eea+     modex__256x192_256__Enter_
+08e3:7f4a*     modexLeave_
+08e3:7f62+     modexsetBaseXMode_
+08e3:7fa0*     modexDefaultPage_
+08e3:8006*     modexNextPage_
+08e3:80d6*     modexNextPageFlexibleSize_
+08e3:81aa*     modexShowPage_
+08e3:82a6*     modexPanPage_
+08e3:82f6*     modexSelectPlane_
+08e3:831a+     modexClearRegion_
+08e3:8432*     oldDrawBmp_
+08e3:8598*     CDrawBmp_
+08e3:86fc*     modexDrawBmp_
+08e3:8762+     modexDrawBmpRegion_
+08e3:88cc*     modex_sparky4_DrawBmpRegion_
+08e3:8a36*     modexDrawPlanarBuf_
+08e3:8a54*     modexDrawSprite_
+08e3:8aba+     modexDrawSpriteRegion_
+08e3:8c32*     modexCopyPageRegion_
+08e3:8d9c      modexFadeOn_
+08e3:8dcc      modexFadeOff_
+08e3:8dfa*     modexFlashOn_
+08e3:8e28*     modexFlashOff_
+08e3:8ef8      modexPalSave_
+08e3:8f4e      modexNewPal_
+08e3:8f9e*     modexLoadPalFile_
+08e3:9080*     modexSavePalFile_
+08e3:90f8      modexPalBlack_
+08e3:9122*     modexPalWhite_
+08e3:914c+     modexPalUpdate_
+08e3:96bc+     modexPalUpdate1_
+08e3:9736*     modexPalUpdate0_
+08e3:9782+     chkcolor_
+08e3:9a9a+     modexputPixel_
+08e3:9b28*     modexgetPixel_
+08e3:9bae*     modexhlin_
+08e3:9c1a*     modexprint_
+08e3:9db4*     modexprintbig_
+08e3:9f30*     cls_
+08e3:9f9e+     modexWaitBorder_
+136d:04d4+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 08e3:0042      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-136b:0000*     __nullarea
-136b:04e8*     __ovlflag
-136b:04e9*     __intno
-136b:04ea*     __ovlvec
+136d:0000*     __nullarea
+136d:04e8*     __ovlflag
+136d:04e9*     __intno
+136d:04ea*     __ovlvec
 08e3:0072      _cstart_
 08e3:0145*     _Not_Enough_Memory_
 08e3:0277      __exit_
@@ -251,10 +251,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 08e3:02fe      _big_code_
 08e3:02fe*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-136b:1384      __argv
-136b:1388      ___argv
-136b:138c      __argc
-136b:138e      ___argc
+136d:1384      __argv
+136d:1388      ___argv
+136d:138c      __argc
+136d:138e      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 08e3:0305      __PIA
 08e3:02fe*     __PIS
@@ -263,12 +263,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 08e3:0359      _fmalloc_
 08e3:0359      malloc_
-136b:04ee      ___fheap
-136b:04f0      ___fheapRover
-136b:04f2      ___LargestSizeB4Rover
+136d:04ee      ___fheap
+136d:04f0      ___fheapRover
+136d:04f2      ___LargestSizeB4Rover
 Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
-08e3:a2ee      bitmapLoadPcx_
-08e3:a44a*     bitmapLoadPcxTiles_
+08e3:a30e      bitmapLoadPcx_
+08e3:a46a*     bitmapLoadPcxTiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c)
 08e3:04ce      strstr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
@@ -282,11 +282,11 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
 08e3:0b40      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 08e3:0eb7      __get_errno_ptr_
-136b:1410      _errno
+136d:1410      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-136b:0504      ___iob
-136b:1412      ___ClosedStreams
-136b:1416      ___OpenStreams
+136d:0504      ___iob
+136d:1412      ___ClosedStreams
+136d:1416      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
 08e3:0ebe      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
@@ -317,22 +317,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
 08e3:1366      _memavl_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 08e3:13ab      _nmalloc_
-136b:066c      ___nheapbeg
-136b:066e      ___MiniHeapRover
-136b:0670      ___LargestSizeB4MiniHeapRover
+136d:066c      ___nheapbeg
+136d:066e      ___MiniHeapRover
+136d:0670      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 08e3:1485      _ffree_
 08e3:1485      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 08e3:14f2      _nfree_
-136b:141a+     ___MiniHeapFreeRover
+136d:141a+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 08e3:15ed+     _null_exit_rtn_
 08e3:15ed+     __null_int23_exit_
 08e3:15ee      exit_
 08e3:160f+     _exit_
-136b:0672+     ___int23_exit
-136b:0676      ___FPE_handler_exit
+136d:0672+     ___int23_exit
+136d:0676      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
 08e3:162b      ultoa_
 08e3:16e9*     ltoa_
@@ -342,7 +342,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 08e3:1a9b      __doclose_
 08e3:1be5      __shutdown_stream_
 08e3:1bff      fclose_
-136b:141c+     ___RmTmpFileFn
+136d:141c+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
 08e3:1c6a+     __ibm_bios_get_ticks_
 08e3:1ce1      clock_
@@ -353,7 +353,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
 08e3:1f05      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-136b:0098      __IsTable
+136d:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 08e3:20fd      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c)
@@ -388,31 +388,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
 08e3:28f7      stackavail_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-136b:0682      __8087
-136b:0683      __real87
-136b:0684      __dos87emucall
-136b:0686      __dos87real
+136d:0682      __8087
+136d:0683      __real87
+136d:0684      __dos87emucall
+136d:0686      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 08e3:2906*     __exit_with_msg_
 08e3:290b      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-136b:0688      __curbrk
-136b:0690      __STACKLOW
-136b:0692      __STACKTOP
-136b:0694      __cbyte
-136b:0696      __child
-136b:0698      __no87
-136b:06a5      ___FPE_handler
-136b:068a      __psp
-136b:0699      __get_ovl_stack
-136b:069d      __restore_ovl_stack
-136b:06a1      __close_ovl_file
-136b:06a9      __LpCmdLine
-136b:06ad      __LpPgmName
-136b:068c      __osmajor
-136b:068d      __osminor
-136b:068e      __osmode
-136b:068f      __HShift
+136d:0688      __curbrk
+136d:0690      __STACKLOW
+136d:0692      __STACKTOP
+136d:0694      __cbyte
+136d:0696      __child
+136d:0698      __no87
+136d:06a5      ___FPE_handler
+136d:068a      __psp
+136d:0699      __get_ovl_stack
+136d:069d      __restore_ovl_stack
+136d:06a1      __close_ovl_file
+136d:06a9      __LpCmdLine
+136d:06ad      __LpPgmName
+136d:068c      __osmajor
+136d:068d      __osminor
+136d:068e      __osmode
+136d:068f      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
 08e3:292a      __fill_buffer_
 08e3:2b79      fgetc_
@@ -422,8 +422,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
 08e3:3039      rand_
 08e3:307b*     srand_
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-08e3:a636*     textInit_
-136b:1424      _romFonts
+08e3:a656*     textInit_
+136d:1424      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 08e3:30b8      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
@@ -434,7 +434,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 08e3:32cc      __FiniRtns
 08e3:32cc*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-136b:06b6      ___uselfn
+136d:06b6      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 08e3:3330      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -452,9 +452,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 08e3:3b7c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 08e3:3b7f*     __set_commode_
-136b:06b8      __commode
+136d:06b8      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-136b:06ba      __fmode
+136d:06ba      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
 08e3:3b8b      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
@@ -490,7 +490,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 08e3:4ab6      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-136b:0050      ___Alphabet
+136d:0050      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
 08e3:4ab9      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
@@ -501,9 +501,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 08e3:4b72      __GetIOMode_
 08e3:4ba7      __SetIOMode_nogrow_
-136b:06d0      ___NFiles
-136b:06d2      ___init_mode
-136b:06fa      ___io_mode
+136d:06d0      ___NFiles
+136d:06d2      ___init_mode
+136d:06fa      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
 08e3:4bdc      __close_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
@@ -523,9 +523,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 08e3:4ef2      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 08e3:4f0e*     __get_doserrno_ptr_
-136b:1440      __doserrno
+136d:1440      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-136b:06fe      ___umaskval
+136d:06fe      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 08e3:4f15      _dos_creat_
 08e3:4f39*     _dos_creatnew_
@@ -536,9 +536,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
 08e3:5142      vsprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
-136b:1444      ___env_mask
-136b:1448      _environ
-136b:144c*     __wenviron
+136d:1444      ___env_mask
+136d:1448      _environ
+136d:144c*     __wenviron
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
 08e3:5184      _mbterm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
@@ -559,7 +559,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
 08e3:56da      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 08e3:574a      __EnterWVIDEO_
-136b:071e+     ___WD_Present
+136d:071e+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
 08e3:576e      __flushall_
 08e3:5802      flushall_
@@ -572,20 +572,20 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
 08e3:5a57      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-136b:1450      ____Argv
-136b:1454      ____Argc
+136d:1450      ____Argv
+136d:1454      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-136b:0720      __amblksiz
+136d:0720      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-136b:0752      __Start_XI
-136b:0788      __End_XI
-136b:0788      __Start_YI
-136b:07a0      __End_YI
+136d:0752      __Start_XI
+136d:0788      __End_XI
+136d:0788      __Start_YI
+136d:07a0      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-136b:1456      ___historical_splitparms
+136d:1456      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 08e3:6bba*     _heapenable_
-136b:0722      ___heap_enabled
+136d:0722      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
 08e3:6bcb      _bfree_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
@@ -601,22 +601,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
 08e3:705e      __setenvp_
 08e3:71ea      __freeenvp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-136b:0724      ___IsDBCS
+136d:0724      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 08e3:7248*     _ismbblead_
-136b:145c      ___MBCSIsTable
+136d:145c      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 08e3:72a2      __mbinit_
-136b:0726      ___MBCodePage
+136d:0726      ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
 08e3:737d      _mbdtoupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
 08e3:738b      toupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-136b:0728      __8087cw
+136d:0728      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-136b:072a      ___Save8087
-136b:072e      ___Rest8087
+136d:072a      ___Save8087
+136d:072e      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
 08e3:739a      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
@@ -630,8 +630,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 08e3:7565      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-136b:0732      ___EFG_printf
-136b:0736*     ___EFG_scanf
+136d:0732      ___EFG_printf
+136d:0736*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 08e3:75ad      ulltoa_
 08e3:76ea*     lltoa_
@@ -645,7 +645,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm)
 08e3:78e7      __Fini_FPE_handler_
 08e3:791e*     __FPEHandler
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-136b:0750      ___FPE_int
+136d:0750      ___FPE_int
 
 
                         +--------------------+
@@ -661,6 +661,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  000228e0 (141536.)
+Memory size:  00022900 (141568.)
 Entry point address: 08e3:0072
-Link time: 00:00.13
+Link time: 00:00.65
index b53f3d1a4812230f2b227a3ea5949801ce3f4e4d..5475de819658ff67ede68763261348bac8619b08 100755 (executable)
Binary files a/bakapi.exe and b/bakapi.exe differ
index c0057ab26f69389cd4e230f7d5e65c6052c3ccbf..4affb73f7bfa35fe6bdd16ed22458d9dbeb53b55 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: bakapi.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          13f6:0000            0000f070
+DGROUP                          13f8:0000            0000f070
 
 
 
@@ -34,28 +34,28 @@ kitten_TEXT            CODE           AUTO           0000:5c80       0000080a
 16_hc_TEXT             CODE           AUTO           0000:6490       0000158b
 timer_TEXT             CODE           AUTO           0000:7a20       00000235
 _TEXT                  CODE           AUTO           07c6:0000       0000907d
-modex16_TEXT           CODE           AUTO           07c6:9080       000023ee
-16text_TEXT            CODE           AUTO           07c6:b470       0000010d
-bakapee_TEXT           CODE           AUTO           07c6:b580       00000bc2
-16_in13_DATA           FAR_DATA       AUTO           13db:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           13f5:0004       00000000
-_NULL                  BEGDATA        DGROUP         13f6:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         13f8:0000       00000002
-CONST                  DATA           DGROUP         13f8:0002       00000076
-CONST2                 DATA           DGROUP         13ff:0008       0000010a
-_DATA                  DATA           DGROUP         1411:0000       00000599
-XIB                    DATA           DGROUP         146a:000a       00000000
-XI                     DATA           DGROUP         146a:000a       00000036
-XIE                    DATA           DGROUP         146e:0000       00000000
-YIB                    DATA           DGROUP         146e:0000       00000000
-YI                     DATA           DGROUP         146e:0000       00000018
-YIE                    DATA           DGROUP         146f:0008       00000000
-STRINGS                DATA           DGROUP         146f:0008       00000000
-DATA                   DATA           DGROUP         146f:0008       00000000
-_emu_init_start        EMU            DGROUP         146f:0008       00000000
-_emu_init_end          EMU            DGROUP         146f:0008       00000000
-_BSS                   BSS            DGROUP         1470:0000       00000e02
-STACK                  STACK          DGROUP         1551:0000       0000dac0
+modex16_TEXT           CODE           AUTO           07c6:9080       00002406
+16text_TEXT            CODE           AUTO           07c6:b490       0000010d
+bakapee_TEXT           CODE           AUTO           07c6:b5a0       00000bc2
+16_in13_DATA           FAR_DATA       AUTO           13dd:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           13f7:0004       00000000
+_NULL                  BEGDATA        DGROUP         13f8:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         13fa:0000       00000002
+CONST                  DATA           DGROUP         13fa:0002       00000076
+CONST2                 DATA           DGROUP         1401:0008       0000010a
+_DATA                  DATA           DGROUP         1413:0000       00000599
+XIB                    DATA           DGROUP         146c:000a       00000000
+XI                     DATA           DGROUP         146c:000a       00000036
+XIE                    DATA           DGROUP         1470:0000       00000000
+YIB                    DATA           DGROUP         1470:0000       00000000
+YI                     DATA           DGROUP         1470:0000       00000018
+YIE                    DATA           DGROUP         1471:0008       00000000
+STRINGS                DATA           DGROUP         1471:0008       00000000
+DATA                   DATA           DGROUP         1471:0008       00000000
+_emu_init_start        EMU            DGROUP         1471:0008       00000000
+_emu_init_end          EMU            DGROUP         1471:0008       00000000
+_BSS                   BSS            DGROUP         1472:0000       00000e02
+STACK                  STACK          DGROUP         1553:0000       0000dac0
 
 
                         +----------------+
@@ -71,7 +71,7 @@ Address        Symbol
 Module: bakapi.o(/dos/z/16/src/bakapi.c)
 0000:00de      main_
 Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
-13f6:07be+     _inpu
+13f8:07be+     _inpu
 0000:03c0+     INL_KeyService_
 0000:065a+     Mouse_
 0000:06b2+     IN_GetJoyAbs_
@@ -119,9 +119,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c)
 0000:498c+     MM_TotalFree_
 0000:4a22*     MM_Report_
 0000:53da*     MM_BombOnError_
-13f6:0920+     _beforesort
-13f6:0924+     _aftersort
-13f6:0928+     _XMSaddr
+13f8:0920+     _beforesort
+13f8:0924+     _aftersort
+13f8:0928+     _XMSaddr
 Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c)
 0000:5410      detectcpu_
 Module: 16_head.o(/dos/z/16/src/lib/16_head.c)
@@ -139,9 +139,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:5b50*     CAL_OptimizeNodes_
 0000:5c00*     CA_Startup_
 0000:5c50*     CA_Shutdown_
-13f6:0930*     _finishcachebox
-13f6:0934*     _drawcachebox
-13f6:0938*     _updatecachebox
+13f8:0930*     _finishcachebox
+13f8:0934*     _drawcachebox
+13f8:0938*     _updatecachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:5cbc      KITTENGETS
 0000:5d1c*     kittenopen_
@@ -152,7 +152,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:6274+     get_line_
 0000:62e6+     db_fetch_
 0000:637c+     db_insert_
-13f6:04a4+     __kitten_catalog
+13f8:04a4+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:663c+     LargestFreeBlock_
 0000:66ca+     _coreleft_
@@ -184,64 +184,64 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 07c6:00a8*     __PIS
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 07c6:9274      VGAmodeX_
-07c6:931e+     modex__320x240_256__Enter_
-07c6:937e*     modex__256x192_256__Enter_
-07c6:93de*     modexLeave_
-07c6:93f6+     modexsetBaseXMode_
-07c6:9448      modexDefaultPage_
-07c6:94ae*     modexNextPage_
-07c6:957e*     modexNextPageFlexibleSize_
-07c6:9652      modexShowPage_
-07c6:974e*     modexPanPage_
-07c6:979e*     modexSelectPlane_
-07c6:97c2      modexClearRegion_
-07c6:98da*     oldDrawBmp_
-07c6:9a40*     CDrawBmp_
-07c6:9ba4*     modexDrawBmp_
-07c6:9c0a+     modexDrawBmpRegion_
-07c6:9d74*     modex_sparky4_DrawBmpRegion_
-07c6:9ede*     modexDrawPlanarBuf_
-07c6:9efc*     modexDrawSprite_
-07c6:9f62+     modexDrawSpriteRegion_
-07c6:a0da*     modexCopyPageRegion_
-07c6:a244*     modexFadeOn_
-07c6:a274*     modexFadeOff_
-07c6:a2a2*     modexFlashOn_
-07c6:a2d0*     modexFlashOff_
-07c6:a3a0+     modexPalSave_
-07c6:a3f6+     modexNewPal_
-07c6:a446*     modexLoadPalFile_
-07c6:a528*     modexSavePalFile_
-07c6:a5a0*     modexPalBlack_
-07c6:a5ca*     modexPalWhite_
-07c6:a5f4+     modexPalUpdate_
-07c6:ab64+     modexPalUpdate1_
-07c6:abde*     modexPalUpdate0_
-07c6:ac2a+     chkcolor_
-07c6:af42      modexputPixel_
-07c6:afd0*     modexgetPixel_
-07c6:b056*     modexhlin_
-07c6:b0c2      modexprint_
-07c6:b25c*     modexprintbig_
-07c6:b3d8      cls_
-07c6:b446+     modexWaitBorder_
-13f6:04d4      _VGA
+07c6:934a+     modex__320x240_256__Enter_
+07c6:93aa+     modex__256x192_256__Enter_
+07c6:940a*     modexLeave_
+07c6:9422+     modexsetBaseXMode_
+07c6:9460      modexDefaultPage_
+07c6:94c6*     modexNextPage_
+07c6:9596*     modexNextPageFlexibleSize_
+07c6:966a      modexShowPage_
+07c6:9766*     modexPanPage_
+07c6:97b6*     modexSelectPlane_
+07c6:97da      modexClearRegion_
+07c6:98f2*     oldDrawBmp_
+07c6:9a58*     CDrawBmp_
+07c6:9bbc*     modexDrawBmp_
+07c6:9c22+     modexDrawBmpRegion_
+07c6:9d8c*     modex_sparky4_DrawBmpRegion_
+07c6:9ef6*     modexDrawPlanarBuf_
+07c6:9f14*     modexDrawSprite_
+07c6:9f7a+     modexDrawSpriteRegion_
+07c6:a0f2*     modexCopyPageRegion_
+07c6:a25c*     modexFadeOn_
+07c6:a28c*     modexFadeOff_
+07c6:a2ba*     modexFlashOn_
+07c6:a2e8*     modexFlashOff_
+07c6:a3b8+     modexPalSave_
+07c6:a40e+     modexNewPal_
+07c6:a45e*     modexLoadPalFile_
+07c6:a540*     modexSavePalFile_
+07c6:a5b8*     modexPalBlack_
+07c6:a5e2*     modexPalWhite_
+07c6:a60c+     modexPalUpdate_
+07c6:ab7c+     modexPalUpdate1_
+07c6:abf6*     modexPalUpdate0_
+07c6:ac42+     chkcolor_
+07c6:af5a      modexputPixel_
+07c6:afe8*     modexgetPixel_
+07c6:b06e*     modexhlin_
+07c6:b0da      modexprint_
+07c6:b274*     modexprintbig_
+07c6:b3f0      cls_
+07c6:b45e+     modexWaitBorder_
+13f8:04d4      _VGA
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-07c6:b4e6      textInit_
-13f6:1244      _romFonts
+07c6:b506      textInit_
+13f8:1244      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
 07c6:00c6      kbhit_
 Module: gfx.lib(/dos/z/16/src/lib/bakapee.c)
-07c6:b5c4*     pdump_
-07c6:b626+     colortest_
-07c6:b67a+     colorz_
-07c6:b6e0+     ssd_
-07c6:b7fe+     dingpp_
-07c6:b870+     dingo_
-07c6:b906+     dingas_
-07c6:b9b4+     dingu_
-07c6:ba16+     dingq_
-07c6:bab6      ding_
+07c6:b5e4*     pdump_
+07c6:b646+     colortest_
+07c6:b69a+     colorz_
+07c6:b700+     ssd_
+07c6:b81e+     dingpp_
+07c6:b890+     dingo_
+07c6:b926+     dingas_
+07c6:b9d4+     dingu_
+07c6:ba36+     dingq_
+07c6:bad6      ding_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
 07c6:00dd      getch_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
@@ -250,10 +250,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(scanf.c)
 07c6:01d6+     vscanf_
 07c6:0204      scanf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-13f6:0000*     __nullarea
-13f6:04f4*     __ovlflag
-13f6:04f5*     __intno
-13f6:04f6*     __ovlvec
+13f8:0000*     __nullarea
+13f8:04f4*     __ovlflag
+13f8:04f5*     __intno
+13f8:04f6*     __ovlvec
 07c6:022c      _cstart_
 07c6:02ff*     _Not_Enough_Memory_
 07c6:0431      __exit_
@@ -263,10 +263,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 07c6:04b8      _big_code_
 07c6:04b8*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-13f6:125c      __argv
-13f6:1260      ___argv
-13f6:1264      __argc
-13f6:1266      ___argc
+13f8:125c      __argv
+13f8:1260      ___argv
+13f8:1264      __argc
+13f8:1266      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 07c6:04b8+     int86x_
 07c6:063b      int86_
@@ -288,28 +288,28 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
 07c6:07e4      _memavl_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 07c6:0829      _nmalloc_
-13f6:04fa      ___nheapbeg
-13f6:04fc      ___MiniHeapRover
-13f6:04fe      ___LargestSizeB4MiniHeapRover
+13f8:04fa      ___nheapbeg
+13f8:04fc      ___MiniHeapRover
+13f8:04fe      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 07c6:0903      _fmalloc_
 07c6:0903      malloc_
-13f6:0500      ___fheap
-13f6:0502      ___fheapRover
-13f6:0504      ___LargestSizeB4Rover
+13f8:0500      ___fheap
+13f8:0502      ___fheapRover
+13f8:0504      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 07c6:0a78      _ffree_
 07c6:0a78      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 07c6:0ae5      _nfree_
-13f6:1268+     ___MiniHeapFreeRover
+13f8:1268+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 07c6:0be0+     _null_exit_rtn_
 07c6:0be0+     __null_int23_exit_
 07c6:0be1      exit_
 07c6:0c02+     _exit_
-13f6:0506+     ___int23_exit
-13f6:050a      ___FPE_handler_exit
+13f8:0506+     ___int23_exit
+13f8:050a      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
 07c6:0c1e      __PTC
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
@@ -328,7 +328,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 07c6:15c5      __doclose_
 07c6:170f      __shutdown_stream_
 07c6:1729      fclose_
-13f6:126a+     ___RmTmpFileFn
+13f8:126a+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
 07c6:1794+     __ibm_bios_get_ticks_
 07c6:180b      clock_
@@ -337,7 +337,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
 07c6:1a18      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-13f6:0098      __IsTable
+13f8:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 07c6:1c10      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c)
@@ -372,31 +372,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
 07c6:240b      stackavail_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-13f6:0516      __8087
-13f6:0517      __real87
-13f6:0518      __dos87emucall
-13f6:051a      __dos87real
+13f8:0516      __8087
+13f8:0517      __real87
+13f8:0518      __dos87emucall
+13f8:051a      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 07c6:241a*     __exit_with_msg_
 07c6:241f      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-13f6:051c      __curbrk
-13f6:0524      __STACKLOW
-13f6:0526      __STACKTOP
-13f6:0528      __cbyte
-13f6:052a      __child
-13f6:052c      __no87
-13f6:0539      ___FPE_handler
-13f6:051e      __psp
-13f6:052d      __get_ovl_stack
-13f6:0531      __restore_ovl_stack
-13f6:0535      __close_ovl_file
-13f6:053d      __LpCmdLine
-13f6:0541      __LpPgmName
-13f6:0520      __osmajor
-13f6:0521      __osminor
-13f6:0522      __osmode
-13f6:0523      __HShift
+13f8:051c      __curbrk
+13f8:0524      __STACKLOW
+13f8:0526      __STACKTOP
+13f8:0528      __cbyte
+13f8:052a      __child
+13f8:052c      __no87
+13f8:0539      ___FPE_handler
+13f8:051e      __psp
+13f8:052d      __get_ovl_stack
+13f8:0531      __restore_ovl_stack
+13f8:0535      __close_ovl_file
+13f8:053d      __LpCmdLine
+13f8:0541      __LpPgmName
+13f8:0520      __osmajor
+13f8:0521      __osminor
+13f8:0522      __osmode
+13f8:0523      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
 07c6:243e+     __fill_buffer_
 07c6:268d      fgetc_
@@ -405,9 +405,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(delay.c)
 07c6:2b4d      delay_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-13f6:0546      ___iob
-13f6:1272      ___ClosedStreams
-13f6:1276      ___OpenStreams
+13f8:0546      ___iob
+13f8:1272      ___ClosedStreams
+13f8:1276      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 07c6:2cc6      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ungetc.c)
@@ -422,7 +422,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 07c6:43d5      __FiniRtns
 07c6:43d5*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-13f6:06ae      ___uselfn
+13f8:06ae      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 07c6:443a      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -448,7 +448,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 07c6:4f1c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-13f6:0022      ___Alphabet
+13f8:0022      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
 07c6:4f1f      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
@@ -458,18 +458,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 07c6:4fcd*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 07c6:4fd8*     __get_errno_ptr_
-13f6:127e      _errno
+13f8:127e      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 07c6:4fdf      __GetIOMode_
 07c6:5014      __SetIOMode_nogrow_
-13f6:06c4      ___NFiles
-13f6:06c6      ___init_mode
-13f6:06ee      ___io_mode
+13f8:06c4      ___NFiles
+13f8:06c6      ___init_mode
+13f8:06ee      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 07c6:5049*     __set_commode_
-13f6:06f2      __commode
+13f8:06f2      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-13f6:06f4      __fmode
+13f8:06f4      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
 07c6:5055      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
@@ -496,9 +496,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 07c6:565c      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 07c6:5678*     __get_doserrno_ptr_
-13f6:1280      __doserrno
+13f8:1280      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-13f6:06f6      ___umaskval
+13f8:06f6      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 07c6:567f      _dos_creat_
 07c6:56a3*     _dos_creatnew_
@@ -509,9 +509,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
 07c6:58ac      vsprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
-13f6:1284      ___env_mask
-13f6:1288      _environ
-13f6:128c*     __wenviron
+13f8:1284      ___env_mask
+13f8:1288      _environ
+13f8:128c*     __wenviron
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
 07c6:58ee      _mbterm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
@@ -532,7 +532,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
 07c6:5e44      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 07c6:5eb4      __EnterWVIDEO_
-13f6:0716+     ___WD_Present
+13f8:0716+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
 07c6:5ed8      __flushall_
 07c6:5f6c      flushall_
@@ -554,41 +554,41 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
 07c6:65b4      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-13f6:0718      ___IsDBCS
+13f8:0718      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 07c6:7716*     _ismbblead_
-13f6:1290      ___MBCSIsTable
+13f8:1290      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbtowc.c)
 07c6:7732      mbtowc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bits.c)
-13f6:019a      __Bits
+13f8:019a      __Bits
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fdfs086.asm)
 07c6:7850      __FDFS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-13f6:071a      ___EFG_printf
-13f6:071e      ___EFG_scanf
+13f8:071a      ___EFG_printf
+13f8:071e      ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i8m086.asm)
 07c6:78c7*     __I8M
 07c6:78c7      __U8M
 07c6:78ac*     __I8ME
 07c6:78ac*     __U8ME
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-13f6:1392      ____Argv
-13f6:1396      ____Argc
+13f8:1392      ____Argv
+13f8:1396      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-13f6:0722      __amblksiz
+13f8:0722      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-13f6:074a      __Start_XI
-13f6:0780      __End_XI
-13f6:0780      __Start_YI
-13f6:0798      __End_YI
+13f8:074a      __Start_XI
+13f8:0780      __End_XI
+13f8:0780      __Start_YI
+13f8:0798      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-13f6:1398      ___historical_splitparms
+13f8:1398      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
 07c6:7a12      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 07c6:7d8b*     _heapenable_
-13f6:0724      ___heap_enabled
+13f8:0724      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
 07c6:7d9c*     sbrk_
 07c6:7dac      __brk_
@@ -602,16 +602,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
 07c6:809f      __freeenvp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 07c6:813b      __mbinit_
-13f6:0726      ___MBCodePage
+13f8:0726      ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
 07c6:8216      _mbdtoupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
 07c6:8224      toupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-13f6:0728      __8087cw
+13f8:0728      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-13f6:072a      ___Save8087
-13f6:072e      ___Rest8087
+13f8:072a      ___Save8087
+13f8:072e      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
 07c6:8233      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
@@ -650,7 +650,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
 07c6:9019      _bexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-13f6:0748      ___FPE_int
+13f8:0748      ___FPE_int
 
 
                         +--------------------+
@@ -666,6 +666,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00022fd0 (143312.)
+Memory size:  00022ff0 (143344.)
 Entry point address: 07c6:022c
-Link time: 00:00.61
+Link time: 00:00.57
index fb6d8d38e51ce2ffab64567fd20ac380213ae5b8..47767137b5b34a11e6ea3d9d622de493858d128a 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: exmmtest.exe
 creating a DOS executable
 
@@ -577,4 +577,4 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
 Stack size:  dac0 (56000.)
 Memory size:  0001d520 (120096.)
 Entry point address: 0000:8024
-Link time: 00:00.09
+Link time: 00:00.82
index 00c63b11d3f90390eef5f995f47cf88512e28a40..51ca31267c6d91bb1bb111fe7aac29807f846590 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: fmemtest.exe
 creating a DOS executable
 
@@ -576,4 +576,4 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
 Stack size:  dac0 (56000.)
 Memory size:  0001d3e0 (119776.)
 Entry point address: 0000:7e06
-Link time: 00:00.98
+Link time: 00:00.44
index f6b12a9d423c4714f5a1ba0c2fb2fa3032de76cf..dcd725190891fda8deb6fe34c40d641261069752 100755 (executable)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index be794be1d6891e3e598996322dd75033bbbb68a5..024acf394d17ca690e14dd08e32f453fdd3cd196 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: fontgfx.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          1188:0000            0000f4c0
+DGROUP                          118a:0000            0000f4c0
 
 
 
@@ -35,26 +35,26 @@ kitten_TEXT            CODE           AUTO           0000:5ba0       0000080a
 timer_TEXT             CODE           AUTO           0000:7940       00000235
 _TEXT                  CODE           AUTO           0000:7b80       00007645
 16text_TEXT            CODE           AUTO           0000:f1d0       0000010d
-modex16_TEXT           CODE           AUTO           0f2e:0000       000023ee
-16_in13_DATA           FAR_DATA       AUTO           116d:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           1187:0004       00000000
-_NULL                  BEGDATA        DGROUP         1188:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         118a:0000       00000002
-CONST                  DATA           DGROUP         118a:0002       00000076
-CONST2                 DATA           DGROUP         1191:0008       00000102
-_DATA                  DATA           DGROUP         11a2:0000       000009e1
-XIB                    DATA           DGROUP         1240:0002       00000000
-XI                     DATA           DGROUP         1240:0002       00000036
-XIE                    DATA           DGROUP         1243:0008       00000000
-YIB                    DATA           DGROUP         1243:0008       00000000
-YI                     DATA           DGROUP         1243:0008       00000018
-YIE                    DATA           DGROUP         1245:0000       00000000
-STRINGS                DATA           DGROUP         1245:0000       00000000
-DATA                   DATA           DGROUP         1245:0000       00000000
-_emu_init_start        EMU            DGROUP         1245:0000       00000000
-_emu_init_end          EMU            DGROUP         1245:0000       00000000
-_BSS                   BSS            DGROUP         1245:0000       00000e22
-STACK                  STACK          DGROUP         1328:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0f2e:0000       00002406
+16_in13_DATA           FAR_DATA       AUTO           116f:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           1189:0004       00000000
+_NULL                  BEGDATA        DGROUP         118a:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         118c:0000       00000002
+CONST                  DATA           DGROUP         118c:0002       00000076
+CONST2                 DATA           DGROUP         1193:0008       00000102
+_DATA                  DATA           DGROUP         11a4:0000       000009e1
+XIB                    DATA           DGROUP         1242:0002       00000000
+XI                     DATA           DGROUP         1242:0002       00000036
+XIE                    DATA           DGROUP         1245:0008       00000000
+YIB                    DATA           DGROUP         1245:0008       00000000
+YI                     DATA           DGROUP         1245:0008       00000018
+YIE                    DATA           DGROUP         1247:0000       00000000
+STRINGS                DATA           DGROUP         1247:0000       00000000
+DATA                   DATA           DGROUP         1247:0000       00000000
+_emu_init_start        EMU            DGROUP         1247:0000       00000000
+_emu_init_end          EMU            DGROUP         1247:0000       00000000
+_BSS                   BSS            DGROUP         1247:0000       00000e22
+STACK                  STACK          DGROUP         132a:0000       0000dac0
 
 
                         +----------------+
@@ -69,9 +69,9 @@ Address        Symbol
 
 Module: fontgfx.o(/dos/z/16/src/fontgfx.c)
 0000:0048      main_
-1188:0bd0+     _gvar
+118a:0bd0+     _gvar
 Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
-1188:0c0e+     _inpu
+118a:0c0e+     _inpu
 0000:02e0+     INL_KeyService_
 0000:057a+     Mouse_
 0000:05d2+     IN_GetJoyAbs_
@@ -119,9 +119,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c)
 0000:48ac+     MM_TotalFree_
 0000:4942*     MM_Report_
 0000:52fa*     MM_BombOnError_
-1188:0d70+     _beforesort
-1188:0d74+     _aftersort
-1188:0d78+     _XMSaddr
+118a:0d70+     _beforesort
+118a:0d74+     _aftersort
+118a:0d78+     _XMSaddr
 Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c)
 0000:5330      detectcpu_
 Module: 16_head.o(/dos/z/16/src/lib/16_head.c)
@@ -139,9 +139,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:5a70*     CAL_OptimizeNodes_
 0000:5b20*     CA_Startup_
 0000:5b70*     CA_Shutdown_
-1188:0d80*     _finishcachebox
-1188:0d84*     _drawcachebox
-1188:0d88*     _updatecachebox
+118a:0d80*     _finishcachebox
+118a:0d84*     _drawcachebox
+118a:0d88*     _updatecachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:5bdc      KITTENGETS
 0000:5c3c*     kittenopen_
@@ -152,7 +152,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:6194+     get_line_
 0000:6206+     db_fetch_
 0000:629c+     db_insert_
-1188:08e4+     __kitten_catalog
+118a:08e4+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:655c+     LargestFreeBlock_
 0000:65ea+     _coreleft_
@@ -178,51 +178,51 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:7ba5      __STKOVERFLOW_
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
 0000:f246      textInit_
-1188:0d94      _romFonts
+118a:0d94      _romFonts
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0f2e:01f4      VGAmodeX_
-0f2e:029e+     modex__320x240_256__Enter_
-0f2e:02fe*     modex__256x192_256__Enter_
-0f2e:035e*     modexLeave_
-0f2e:0376+     modexsetBaseXMode_
-0f2e:03c8      modexDefaultPage_
-0f2e:042e*     modexNextPage_
-0f2e:04fe*     modexNextPageFlexibleSize_
-0f2e:05d2*     modexShowPage_
-0f2e:06ce*     modexPanPage_
-0f2e:071e*     modexSelectPlane_
-0f2e:0742+     modexClearRegion_
-0f2e:085a*     oldDrawBmp_
-0f2e:09c0*     CDrawBmp_
-0f2e:0b24*     modexDrawBmp_
-0f2e:0b8a+     modexDrawBmpRegion_
-0f2e:0cf4*     modex_sparky4_DrawBmpRegion_
-0f2e:0e5e*     modexDrawPlanarBuf_
-0f2e:0e7c*     modexDrawSprite_
-0f2e:0ee2+     modexDrawSpriteRegion_
-0f2e:105a*     modexCopyPageRegion_
-0f2e:11c4*     modexFadeOn_
-0f2e:11f4*     modexFadeOff_
-0f2e:1222*     modexFlashOn_
-0f2e:1250*     modexFlashOff_
-0f2e:1320+     modexPalSave_
-0f2e:1376+     modexNewPal_
-0f2e:13c6*     modexLoadPalFile_
-0f2e:14a8*     modexSavePalFile_
-0f2e:1520*     modexPalBlack_
-0f2e:154a*     modexPalWhite_
-0f2e:1574+     modexPalUpdate_
-0f2e:1ae4+     modexPalUpdate1_
-0f2e:1b5e*     modexPalUpdate0_
-0f2e:1baa+     chkcolor_
-0f2e:1ec2+     modexputPixel_
-0f2e:1f50*     modexgetPixel_
-0f2e:1fd6*     modexhlin_
-0f2e:2042      modexprint_
-0f2e:21dc      modexprintbig_
-0f2e:2358*     cls_
-0f2e:23c6+     modexWaitBorder_
-1188:0914+     _VGA
+0f2e:02ca+     modex__320x240_256__Enter_
+0f2e:032a+     modex__256x192_256__Enter_
+0f2e:038a*     modexLeave_
+0f2e:03a2+     modexsetBaseXMode_
+0f2e:03e0      modexDefaultPage_
+0f2e:0446*     modexNextPage_
+0f2e:0516*     modexNextPageFlexibleSize_
+0f2e:05ea*     modexShowPage_
+0f2e:06e6*     modexPanPage_
+0f2e:0736*     modexSelectPlane_
+0f2e:075a+     modexClearRegion_
+0f2e:0872*     oldDrawBmp_
+0f2e:09d8*     CDrawBmp_
+0f2e:0b3c*     modexDrawBmp_
+0f2e:0ba2+     modexDrawBmpRegion_
+0f2e:0d0c*     modex_sparky4_DrawBmpRegion_
+0f2e:0e76*     modexDrawPlanarBuf_
+0f2e:0e94*     modexDrawSprite_
+0f2e:0efa+     modexDrawSpriteRegion_
+0f2e:1072*     modexCopyPageRegion_
+0f2e:11dc*     modexFadeOn_
+0f2e:120c*     modexFadeOff_
+0f2e:123a*     modexFlashOn_
+0f2e:1268*     modexFlashOff_
+0f2e:1338+     modexPalSave_
+0f2e:138e+     modexNewPal_
+0f2e:13de*     modexLoadPalFile_
+0f2e:14c0*     modexSavePalFile_
+0f2e:1538*     modexPalBlack_
+0f2e:1562*     modexPalWhite_
+0f2e:158c+     modexPalUpdate_
+0f2e:1afc+     modexPalUpdate1_
+0f2e:1b76*     modexPalUpdate0_
+0f2e:1bc2+     chkcolor_
+0f2e:1eda+     modexputPixel_
+0f2e:1f68*     modexgetPixel_
+0f2e:1fee*     modexhlin_
+0f2e:205a      modexprint_
+0f2e:21f4      modexprintbig_
+0f2e:2370*     cls_
+0f2e:23de+     modexWaitBorder_
+118a:0914+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
 0000:7bc2      getch_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
@@ -230,10 +230,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c)
 0000:7c0b      sprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-1188:0000*     __nullarea
-1188:0928*     __ovlflag
-1188:0929*     __intno
-1188:092a*     __ovlvec
+118a:0000*     __nullarea
+118a:0928*     __ovlflag
+118a:0929*     __intno
+118a:092a*     __ovlvec
 0000:7c3a      _cstart_
 0000:7d0d*     _Not_Enough_Memory_
 0000:7e3f      __exit_
@@ -243,10 +243,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 0000:7ec6      _big_code_
 0000:7ec6*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-1188:16ac      __argv
-1188:16b0      ___argv
-1188:16b4      __argc
-1188:16b6      ___argc
+118a:16ac      __argv
+118a:16b0      ___argv
+118a:16b4      __argc
+118a:16b6      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 0000:7ecd      __PIA
 0000:7ec6*     __PIS
@@ -271,28 +271,28 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
 0000:8210      _memavl_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:8255      _nmalloc_
-1188:092e      ___nheapbeg
-1188:0930      ___MiniHeapRover
-1188:0932      ___LargestSizeB4MiniHeapRover
+118a:092e      ___nheapbeg
+118a:0930      ___MiniHeapRover
+118a:0932      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:832f      _fmalloc_
 0000:832f      malloc_
-1188:0934      ___fheap
-1188:0936      ___fheapRover
-1188:0938      ___LargestSizeB4Rover
+118a:0934      ___fheap
+118a:0936      ___fheapRover
+118a:0938      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:84a4      _ffree_
 0000:84a4      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:8511      _nfree_
-1188:16b8+     ___MiniHeapFreeRover
+118a:16b8+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:860c+     _null_exit_rtn_
 0000:860c+     __null_int23_exit_
 0000:860d      exit_
 0000:862e+     _exit_
-1188:093a+     ___int23_exit
-1188:093e      ___FPE_handler_exit
+118a:093a+     ___int23_exit
+118a:093e      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
 0000:864a      __PTC
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
@@ -311,7 +311,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:8ff1      __doclose_
 0000:913b      __shutdown_stream_
 0000:9155      fclose_
-1188:16ba+     ___RmTmpFileFn
+118a:16ba+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
 0000:91c0+     __ibm_bios_get_ticks_
 0000:9237      clock_
@@ -322,7 +322,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
 0000:945b      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-1188:0098      __IsTable
+118a:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:9653      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c)
@@ -355,31 +355,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
 0000:9e1f      stackavail_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-1188:094a      __8087
-1188:094b      __real87
-1188:094c      __dos87emucall
-1188:094e      __dos87real
+118a:094a      __8087
+118a:094b      __real87
+118a:094c      __dos87emucall
+118a:094e      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:9e2e*     __exit_with_msg_
 0000:9e33      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-1188:0950      __curbrk
-1188:0958      __STACKLOW
-1188:095a      __STACKTOP
-1188:095c      __cbyte
-1188:095e      __child
-1188:0960      __no87
-1188:096d      ___FPE_handler
-1188:0952      __psp
-1188:0961      __get_ovl_stack
-1188:0965      __restore_ovl_stack
-1188:0969      __close_ovl_file
-1188:0971      __LpCmdLine
-1188:0975      __LpPgmName
-1188:0954      __osmajor
-1188:0955      __osminor
-1188:0956      __osmode
-1188:0957      __HShift
+118a:0950      __curbrk
+118a:0958      __STACKLOW
+118a:095a      __STACKTOP
+118a:095c      __cbyte
+118a:095e      __child
+118a:0960      __no87
+118a:096d      ___FPE_handler
+118a:0952      __psp
+118a:0961      __get_ovl_stack
+118a:0965      __restore_ovl_stack
+118a:0969      __close_ovl_file
+118a:0971      __LpCmdLine
+118a:0975      __LpPgmName
+118a:0954      __osmajor
+118a:0955      __osminor
+118a:0956      __osmode
+118a:0957      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
 0000:9e52+     __fill_buffer_
 0000:a0a1      fgetc_
@@ -389,9 +389,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
 0000:a561      rand_
 0000:a5a3*     srand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-1188:097e      ___iob
-1188:16c2      ___ClosedStreams
-1188:16c6      ___OpenStreams
+118a:097e      ___iob
+118a:16c2      ___ClosedStreams
+118a:16c6      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 0000:a5e0      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
@@ -404,7 +404,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:a84f      __FiniRtns
 0000:a84f*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-1188:0ae6      ___uselfn
+118a:0ae6      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:a8b4      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -430,7 +430,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 0000:b38c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-1188:0022      ___Alphabet
+118a:0022      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
 0000:b38f      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
@@ -440,18 +440,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 0000:b43d*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:b448*     __get_errno_ptr_
-1188:16ce      _errno
+118a:16ce      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:b44f      __GetIOMode_
 0000:b484      __SetIOMode_nogrow_
-1188:0afc      ___NFiles
-1188:0afe      ___init_mode
-1188:0b26      ___io_mode
+118a:0afc      ___NFiles
+118a:0afe      ___init_mode
+118a:0b26      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:b4b9*     __set_commode_
-1188:0b2a      __commode
+118a:0b2a      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-1188:0b2c      __fmode
+118a:0b2c      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
 0000:b4c5      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
@@ -478,9 +478,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:bacc      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:bae8*     __get_doserrno_ptr_
-1188:16d0      __doserrno
+118a:16d0      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-1188:0b2e      ___umaskval
+118a:0b2e      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:baef      _dos_creat_
 0000:bb13*     _dos_creatnew_
@@ -489,9 +489,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
 0000:bc1b+     __shrink_iomode_
 0000:bc5c      __SetIOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
-1188:16d4      ___env_mask
-1188:16d8      _environ
-1188:16dc*     __wenviron
+118a:16d4      ___env_mask
+118a:16d8      _environ
+118a:16dc*     __wenviron
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
 0000:bd03      _mbterm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
@@ -512,7 +512,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
 0000:c259      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:c2c9      __EnterWVIDEO_
-1188:0b4e+     ___WD_Present
+118a:0b4e+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
 0000:c2ed      __flushall_
 0000:c381      flushall_
@@ -534,22 +534,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
 0000:c9c9      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-1188:16e0      ____Argv
-1188:16e4      ____Argc
+118a:16e0      ____Argv
+118a:16e4      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-1188:0b50      __amblksiz
+118a:0b50      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-1188:0b82      __Start_XI
-1188:0bb8      __End_XI
-1188:0bb8      __Start_YI
-1188:0bd0      __End_YI
+118a:0b82      __Start_XI
+118a:0bb8      __End_XI
+118a:0bb8      __Start_YI
+118a:0bd0      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-1188:16e6      ___historical_splitparms
+118a:16e6      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
 0000:db2c      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:dea5*     _heapenable_
-1188:0b52      ___heap_enabled
+118a:0b52      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
 0000:deb6*     sbrk_
 0000:dec6      __brk_
@@ -562,22 +562,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
 0000:e02d      __setenvp_
 0000:e1b9      __freeenvp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-1188:0b54      ___IsDBCS
+118a:0b54      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:e217*     _ismbblead_
-1188:16ec      ___MBCSIsTable
+118a:16ec      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:e271      __mbinit_
-1188:0b56      ___MBCodePage
+118a:0b56      ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
 0000:e34c      _mbdtoupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
 0000:e35a      toupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-1188:0b58      __8087cw
+118a:0b58      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-1188:0b5a      ___Save8087
-1188:0b5e      ___Rest8087
+118a:0b5a      ___Save8087
+118a:0b5e      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
 0000:e369      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
@@ -591,8 +591,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:e535      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-1188:0b62      ___EFG_printf
-1188:0b66*     ___EFG_scanf
+118a:0b62      ___EFG_printf
+118a:0b66*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:e57d      ulltoa_
 0000:e6ba*     lltoa_
@@ -619,7 +619,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
 0000:f161      _bexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-1188:0b80      ___FPE_int
+118a:0b80      ___FPE_int
 
 
                         +--------------------+
@@ -635,6 +635,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00020d40 (134464.)
+Memory size:  00020d60 (134496.)
 Entry point address: 0000:7c3a
-Link time: 00:00.29
+Link time: 00:00.85
index 29ab235e013332577633645a3eb2797565ad2531..f5874f696df92375f9c2b262d79448be49cffc3f 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: fonttest.exe
 creating a DOS executable
 
@@ -588,4 +588,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  0001d960 (121184.)
 Entry point address: 0000:7d82
-Link time: 00:00.81
+Link time: 00:00.15
index 762d70f17cbc822c5a1029596d8ecd62e7f3a787..222856a5088773403f48ab3e19be12102348e161 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:41
 Executable Image: inputest.exe
 creating a DOS executable
 
@@ -572,4 +572,4 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
 Stack size:  dac0 (56000.)
 Memory size:  0001d1b0 (119216.)
 Entry point address: 0000:7ad2
-Link time: 00:00.23
+Link time: 00:00.46
index aa136ea772ee6b8f3473fe36ad74df1148231551..17e9ffe21db83c8a69a3153e39ff79ddbffe7209 100755 (executable)
Binary files a/maptest.exe and b/maptest.exe differ
index 084eabdf5cd2170e8ba092ea1f5fae8c1ed9bcbe..3c3f1a6ac3c4c9c44ef0726b83514f9127f50f94 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: maptest.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          1362:0000            0000f0f0
+DGROUP                          1364:0000            0000f0f0
 
 
 
@@ -37,27 +37,27 @@ kitten_TEXT            CODE           AUTO           0000:6dc0       0000080a
 timer_TEXT             CODE           AUTO           0000:8b60       00000235
 _TEXT                  CODE           AUTO           08da:0000       00007bbb
 bitmap_TEXT            CODE           AUTO           08da:7bc0       00000605
-modex16_TEXT           CODE           AUTO           08da:81d0       000023ee
-16text_TEXT            CODE           AUTO           08da:a5c0       0000010d
-16_in13_DATA           FAR_DATA       AUTO           1347:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           1361:0004       00000000
-_NULL                  BEGDATA        DGROUP         1362:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         1364:0000       00000002
-CONST                  DATA           DGROUP         1364:0002       00000076
-CONST2                 DATA           DGROUP         136b:0008       00000102
-_DATA                  DATA           DGROUP         137c:0000       000005a5
-XIB                    DATA           DGROUP         13d6:0006       00000000
-XI                     DATA           DGROUP         13d6:0006       00000036
-XIE                    DATA           DGROUP         13d9:000c       00000000
-YIB                    DATA           DGROUP         13d9:000c       00000000
-YI                     DATA           DGROUP         13d9:000c       00000018
-YIE                    DATA           DGROUP         13db:0004       00000000
-STRINGS                DATA           DGROUP         13db:0004       00000000
-DATA                   DATA           DGROUP         13db:0004       00000000
-_emu_init_start        EMU            DGROUP         13db:0004       00000000
-_emu_init_end          EMU            DGROUP         13db:0004       00000000
-_BSS                   BSS            DGROUP         13dc:0000       00000e82
-STACK                  STACK          DGROUP         14c5:0000       0000dac0
+modex16_TEXT           CODE           AUTO           08da:81d0       00002406
+16text_TEXT            CODE           AUTO           08da:a5e0       0000010d
+16_in13_DATA           FAR_DATA       AUTO           1349:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           1363:0004       00000000
+_NULL                  BEGDATA        DGROUP         1364:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         1366:0000       00000002
+CONST                  DATA           DGROUP         1366:0002       00000076
+CONST2                 DATA           DGROUP         136d:0008       00000102
+_DATA                  DATA           DGROUP         137e:0000       000005a5
+XIB                    DATA           DGROUP         13d8:0006       00000000
+XI                     DATA           DGROUP         13d8:0006       00000036
+XIE                    DATA           DGROUP         13db:000c       00000000
+YIB                    DATA           DGROUP         13db:000c       00000000
+YI                     DATA           DGROUP         13db:000c       00000018
+YIE                    DATA           DGROUP         13dd:0004       00000000
+STRINGS                DATA           DGROUP         13dd:0004       00000000
+DATA                   DATA           DGROUP         13dd:0004       00000000
+_emu_init_start        EMU            DGROUP         13dd:0004       00000000
+_emu_init_end          EMU            DGROUP         13dd:0004       00000000
+_BSS                   BSS            DGROUP         13de:0000       00000e82
+STACK                  STACK          DGROUP         14c7:0000       0000dac0
 
 
                         +----------------+
@@ -80,7 +80,7 @@ Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
 0000:0e72      jsmn_parse_
 0000:136e      jsmn_init_
 Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
-1362:07be+     _inpu
+1364:07be+     _inpu
 0000:1500+     INL_KeyService_
 0000:179a+     Mouse_
 0000:17f2+     IN_GetJoyAbs_
@@ -128,9 +128,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c)
 0000:5acc+     MM_TotalFree_
 0000:5b62*     MM_Report_
 0000:651a*     MM_BombOnError_
-1362:0920+     _beforesort
-1362:0924+     _aftersort
-1362:0928+     _XMSaddr
+1364:0920+     _beforesort
+1364:0924+     _aftersort
+1364:0928+     _XMSaddr
 Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c)
 0000:6550      detectcpu_
 Module: 16_head.o(/dos/z/16/src/lib/16_head.c)
@@ -148,9 +148,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:6c90*     CAL_OptimizeNodes_
 0000:6d40*     CA_Startup_
 0000:6d90*     CA_Shutdown_
-1362:0930*     _finishcachebox
-1362:0934*     _drawcachebox
-1362:0938*     _updatecachebox
+1364:0930*     _finishcachebox
+1364:0934*     _drawcachebox
+1364:0938*     _updatecachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:6dfc      KITTENGETS
 0000:6e5c*     kittenopen_
@@ -161,7 +161,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:73b4+     get_line_
 0000:7426+     db_fetch_
 0000:74bc+     db_insert_
-1362:04a4+     __kitten_catalog
+1364:04a4+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:777c+     LargestFreeBlock_
 0000:780a+     _coreleft_
@@ -186,16 +186,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 08da:0005      __STK
 08da:0025      __STKOVERFLOW_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-1362:04c6      ___iob
-1362:0944      ___ClosedStreams
-1362:0948      ___OpenStreams
+1364:04c6      ___iob
+1364:0944      ___ClosedStreams
+1364:0948      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
 08da:0042      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-1362:0000*     __nullarea
-1362:062e*     __ovlflag
-1362:062f*     __intno
-1362:0630*     __ovlvec
+1364:0000*     __nullarea
+1364:062e*     __ovlflag
+1364:062f*     __intno
+1364:0630*     __ovlvec
 08da:0072      _cstart_
 08da:0145*     _Not_Enough_Memory_
 08da:0277      __exit_
@@ -205,10 +205,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 08da:02fe      _big_code_
 08da:02fe*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-1362:094c      __argv
-1362:0950      ___argv
-1362:0954      __argc
-1362:0956      ___argc
+1364:094c      __argv
+1364:0950      ___argv
+1364:0954      __argc
+1364:0956      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 08da:0305      __PIA
 08da:02fe*     __PIS
@@ -217,9 +217,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 08da:0359      _fmalloc_
 08da:0359      malloc_
-1362:0634      ___fheap
-1362:0636      ___fheapRover
-1362:0638      ___LargestSizeB4Rover
+1364:0634      ___fheap
+1364:0636      ___fheapRover
+1364:0638      ___LargestSizeB4Rover
 Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
 08da:7efe      bitmapLoadPcx_
 08da:805a*     bitmapLoadPcxTiles_
@@ -236,7 +236,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
 08da:0b40      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 08da:0eb7      __get_errno_ptr_
-1362:09d8      _errno
+1364:09d8      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
 08da:0ebe*     _frealloc_
 08da:0ebe      realloc_
@@ -267,22 +267,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
 08da:1364      _memavl_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 08da:13a9      _nmalloc_
-1362:0644      ___nheapbeg
-1362:0646      ___MiniHeapRover
-1362:0648      ___LargestSizeB4MiniHeapRover
+1364:0644      ___nheapbeg
+1364:0646      ___MiniHeapRover
+1364:0648      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 08da:1483      _ffree_
 08da:1483      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 08da:14f0      _nfree_
-1362:09da+     ___MiniHeapFreeRover
+1364:09da+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 08da:15eb+     _null_exit_rtn_
 08da:15eb+     __null_int23_exit_
 08da:15ec      exit_
 08da:160d+     _exit_
-1362:064a+     ___int23_exit
-1362:064e      ___FPE_handler_exit
+1364:064a+     ___int23_exit
+1364:064e      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
 08da:1629      ultoa_
 08da:16e7*     ltoa_
@@ -292,7 +292,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 08da:1a99      __doclose_
 08da:1be3      __shutdown_stream_
 08da:1bfd      fclose_
-1362:09dc+     ___RmTmpFileFn
+1364:09dc+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
 08da:1c68+     __ibm_bios_get_ticks_
 08da:1cdf      clock_
@@ -303,7 +303,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
 08da:1f03      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-1362:0098      __IsTable
+1364:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 08da:20fb      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c)
@@ -338,31 +338,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
 08da:28f5      stackavail_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-1362:065a      __8087
-1362:065b      __real87
-1362:065c      __dos87emucall
-1362:065e      __dos87real
+1364:065a      __8087
+1364:065b      __real87
+1364:065c      __dos87emucall
+1364:065e      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 08da:2904*     __exit_with_msg_
 08da:2909      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-1362:0660      __curbrk
-1362:0668      __STACKLOW
-1362:066a      __STACKTOP
-1362:066c      __cbyte
-1362:066e      __child
-1362:0670      __no87
-1362:067d      ___FPE_handler
-1362:0662      __psp
-1362:0671      __get_ovl_stack
-1362:0675      __restore_ovl_stack
-1362:0679      __close_ovl_file
-1362:0681      __LpCmdLine
-1362:0685      __LpPgmName
-1362:0664      __osmajor
-1362:0665      __osminor
-1362:0666      __osmode
-1362:0667      __HShift
+1364:0660      __curbrk
+1364:0668      __STACKLOW
+1364:066a      __STACKTOP
+1364:066c      __cbyte
+1364:066e      __child
+1364:0670      __no87
+1364:067d      ___FPE_handler
+1364:0662      __psp
+1364:0671      __get_ovl_stack
+1364:0675      __restore_ovl_stack
+1364:0679      __close_ovl_file
+1364:0681      __LpCmdLine
+1364:0685      __LpPgmName
+1364:0664      __osmajor
+1364:0665      __osminor
+1364:0666      __osmode
+1364:0667      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
 08da:2928      __InitFiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
@@ -378,7 +378,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 08da:2d9b      __FiniRtns
 08da:2d9b*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-1362:068a      ___uselfn
+1364:068a      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 08da:2e00      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -399,53 +399,53 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
 08da:389e      fgetc_
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 08da:83c4*     VGAmodeX_
-08da:846e+     modex__320x240_256__Enter_
-08da:84ce*     modex__256x192_256__Enter_
-08da:852e*     modexLeave_
-08da:8546+     modexsetBaseXMode_
-08da:8598*     modexDefaultPage_
-08da:85fe*     modexNextPage_
-08da:86ce*     modexNextPageFlexibleSize_
-08da:87a2*     modexShowPage_
-08da:889e*     modexPanPage_
-08da:88ee*     modexSelectPlane_
-08da:8912+     modexClearRegion_
-08da:8a2a*     oldDrawBmp_
-08da:8b90*     CDrawBmp_
-08da:8cf4*     modexDrawBmp_
-08da:8d5a+     modexDrawBmpRegion_
-08da:8ec4*     modex_sparky4_DrawBmpRegion_
-08da:902e*     modexDrawPlanarBuf_
-08da:904c*     modexDrawSprite_
-08da:90b2+     modexDrawSpriteRegion_
-08da:922a*     modexCopyPageRegion_
-08da:9394*     modexFadeOn_
-08da:93c4*     modexFadeOff_
-08da:93f2*     modexFlashOn_
-08da:9420*     modexFlashOff_
-08da:94f0+     modexPalSave_
-08da:9546      modexNewPal_
-08da:9596*     modexLoadPalFile_
-08da:9678*     modexSavePalFile_
-08da:96f0*     modexPalBlack_
-08da:971a*     modexPalWhite_
-08da:9744+     modexPalUpdate_
-08da:9cb4+     modexPalUpdate1_
-08da:9d2e*     modexPalUpdate0_
-08da:9d7a+     chkcolor_
-08da:a092+     modexputPixel_
-08da:a120*     modexgetPixel_
-08da:a1a6*     modexhlin_
-08da:a212*     modexprint_
-08da:a3ac*     modexprintbig_
-08da:a528*     cls_
-08da:a596+     modexWaitBorder_
-1362:0694+     _VGA
+08da:849a+     modex__320x240_256__Enter_
+08da:84fa+     modex__256x192_256__Enter_
+08da:855a*     modexLeave_
+08da:8572+     modexsetBaseXMode_
+08da:85b0*     modexDefaultPage_
+08da:8616*     modexNextPage_
+08da:86e6*     modexNextPageFlexibleSize_
+08da:87ba*     modexShowPage_
+08da:88b6*     modexPanPage_
+08da:8906*     modexSelectPlane_
+08da:892a+     modexClearRegion_
+08da:8a42*     oldDrawBmp_
+08da:8ba8*     CDrawBmp_
+08da:8d0c*     modexDrawBmp_
+08da:8d72+     modexDrawBmpRegion_
+08da:8edc*     modex_sparky4_DrawBmpRegion_
+08da:9046*     modexDrawPlanarBuf_
+08da:9064*     modexDrawSprite_
+08da:90ca+     modexDrawSpriteRegion_
+08da:9242*     modexCopyPageRegion_
+08da:93ac*     modexFadeOn_
+08da:93dc*     modexFadeOff_
+08da:940a*     modexFlashOn_
+08da:9438*     modexFlashOff_
+08da:9508+     modexPalSave_
+08da:955e      modexNewPal_
+08da:95ae*     modexLoadPalFile_
+08da:9690*     modexSavePalFile_
+08da:9708*     modexPalBlack_
+08da:9732*     modexPalWhite_
+08da:975c+     modexPalUpdate_
+08da:9ccc+     modexPalUpdate1_
+08da:9d46*     modexPalUpdate0_
+08da:9d92+     chkcolor_
+08da:a0aa+     modexputPixel_
+08da:a138*     modexgetPixel_
+08da:a1be*     modexhlin_
+08da:a22a*     modexprint_
+08da:a3c4*     modexprintbig_
+08da:a540*     cls_
+08da:a5ae+     modexWaitBorder_
+1364:0694+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 08da:39e5*     __set_commode_
-1362:06a8      __commode
+1364:06a8      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-1362:06aa      __fmode
+1364:06aa      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
 08da:39f1      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
@@ -476,7 +476,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 08da:46d7      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-1362:0050      ___Alphabet
+1364:0050      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
 08da:46da      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
@@ -487,9 +487,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 08da:4793      __GetIOMode_
 08da:47c8      __SetIOMode_nogrow_
-1362:06c0      ___NFiles
-1362:06c2      ___init_mode
-1362:06ea      ___io_mode
+1364:06c0      ___NFiles
+1364:06c2      ___init_mode
+1364:06ea      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
 08da:47fd      __close_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
@@ -509,9 +509,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 08da:4b14      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 08da:4b30*     __get_doserrno_ptr_
-1362:12e8      __doserrno
+1364:12e8      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-1362:06ee      ___umaskval
+1364:06ee      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 08da:4b37      _dos_creat_
 08da:4b5b*     _dos_creatnew_
@@ -522,9 +522,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
 08da:4d64      vsprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
-1362:12ec      ___env_mask
-1362:12f0      _environ
-1362:12f4*     __wenviron
+1364:12ec      ___env_mask
+1364:12f0      _environ
+1364:12f4*     __wenviron
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
 08da:4da6      _mbterm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
@@ -545,26 +545,26 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
 08da:52fc      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 08da:536c      __EnterWVIDEO_
-1362:070e+     ___WD_Present
+1364:070e+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 08da:5390      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
 08da:5565      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-1362:12f8      ____Argv
-1362:12fc      ____Argc
+1364:12f8      ____Argv
+1364:12fc      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-1362:0710      __amblksiz
+1364:0710      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-1362:0746      __Start_XI
-1362:077c      __End_XI
-1362:077c      __Start_YI
-1362:0794      __End_YI
+1364:0746      __Start_XI
+1364:077c      __End_XI
+1364:077c      __Start_YI
+1364:0794      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-1362:12fe      ___historical_splitparms
+1364:12fe      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 08da:66c8*     _heapenable_
-1362:0712      ___heap_enabled
+1364:0712      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
 08da:66d9      __flushall_
 08da:676d      flushall_
@@ -576,8 +576,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
 08da:6b06      rand_
 08da:6b48*     srand_
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-08da:a636*     textInit_
-1362:1300      _romFonts
+08da:a656*     textInit_
+1364:1300      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
 08da:6b6b      _bfree_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
@@ -595,22 +595,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
 08da:705e      __setenvp_
 08da:71ea      __freeenvp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-1362:0718      ___IsDBCS
+1364:0718      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 08da:7248*     _ismbblead_
-1362:131c      ___MBCSIsTable
+1364:131c      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 08da:72a2      __mbinit_
-1362:071a      ___MBCodePage
+1364:071a      ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
 08da:737d      _mbdtoupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
 08da:738b      toupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-1362:071c      __8087cw
+1364:071c      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-1362:071e      ___Save8087
-1362:0722      ___Rest8087
+1364:071e      ___Save8087
+1364:0722      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
 08da:739a      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
@@ -624,8 +624,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 08da:7565      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-1362:0726      ___EFG_printf
-1362:072a*     ___EFG_scanf
+1364:0726      ___EFG_printf
+1364:072a*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 08da:75ad      ulltoa_
 08da:76ea*     lltoa_
@@ -639,7 +639,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm)
 08da:78e7      __Fini_FPE_handler_
 08da:791e*     __FPEHandler
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-1362:0744      ___FPE_int
+1364:0744      ___FPE_int
 
 
                         +--------------------+
@@ -655,6 +655,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00022710 (141072.)
+Memory size:  00022730 (141104.)
 Entry point address: 08da:0072
-Link time: 00:00.57
+Link time: 00:00.39
index 163b2a13e9a15054027b9df5ef7f632f72b42eed..5ada5a4b515c767c077f253d32481e94ad6f244c 100755 (executable)
Binary files a/palettec.exe and b/palettec.exe differ
index 897410a9592872c3219b0f7b1b96b476b927d4e2..f619b1808e0e8ff23ed790c08e80423902111617 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: palettec.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          117a:0000            0000f070
+DGROUP                          117c:0000            0000f070
 
 
 
@@ -34,27 +34,27 @@ kitten_TEXT            CODE           AUTO           0000:5ad0       0000080a
 16_hc_TEXT             CODE           AUTO           0000:62e0       0000158b
 timer_TEXT             CODE           AUTO           0000:7870       00000235
 _TEXT                  CODE           AUTO           0000:7ab0       00007631
-modex16_TEXT           CODE           AUTO           0f0f:0000       000023ee
-16text_TEXT            CODE           AUTO           0f0f:23f0       0000010d
-16_in13_DATA           FAR_DATA       AUTO           115f:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           1179:0004       00000000
-_NULL                  BEGDATA        DGROUP         117a:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         117c:0000       00000002
-CONST                  DATA           DGROUP         117c:0002       00000076
-CONST2                 DATA           DGROUP         1183:0008       00000102
-_DATA                  DATA           DGROUP         1194:0000       0000058b
-XIB                    DATA           DGROUP         11ec:000c       00000000
-XI                     DATA           DGROUP         11ec:000c       00000036
-XIE                    DATA           DGROUP         11f0:0002       00000000
-YIB                    DATA           DGROUP         11f0:0002       00000000
-YI                     DATA           DGROUP         11f0:0002       00000018
-YIE                    DATA           DGROUP         11f1:000a       00000000
-STRINGS                DATA           DGROUP         11f1:000a       00000000
-DATA                   DATA           DGROUP         11f1:000a       00000000
-_emu_init_start        EMU            DGROUP         11f1:000a       00000000
-_emu_init_end          EMU            DGROUP         11f1:000a       00000000
-_BSS                   BSS            DGROUP         11f2:0000       00000e22
-STACK                  STACK          DGROUP         12d5:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0f0f:0000       00002406
+16text_TEXT            CODE           AUTO           0f0f:2410       0000010d
+16_in13_DATA           FAR_DATA       AUTO           1161:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           117b:0004       00000000
+_NULL                  BEGDATA        DGROUP         117c:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         117e:0000       00000002
+CONST                  DATA           DGROUP         117e:0002       00000076
+CONST2                 DATA           DGROUP         1185:0008       00000102
+_DATA                  DATA           DGROUP         1196:0000       0000058b
+XIB                    DATA           DGROUP         11ee:000c       00000000
+XI                     DATA           DGROUP         11ee:000c       00000036
+XIE                    DATA           DGROUP         11f2:0002       00000000
+YIB                    DATA           DGROUP         11f2:0002       00000000
+YI                     DATA           DGROUP         11f2:0002       00000018
+YIE                    DATA           DGROUP         11f3:000a       00000000
+STRINGS                DATA           DGROUP         11f3:000a       00000000
+DATA                   DATA           DGROUP         11f3:000a       00000000
+_emu_init_start        EMU            DGROUP         11f3:000a       00000000
+_emu_init_end          EMU            DGROUP         11f3:000a       00000000
+_BSS                   BSS            DGROUP         11f4:0000       00000e22
+STACK                  STACK          DGROUP         12d7:0000       0000dac0
 
 
                         +----------------+
@@ -69,9 +69,9 @@ Address        Symbol
 
 Module: palettec.o(/dos/z/16/src/palettec.c)
 0000:004e      main_
-117a:0780+     _gvar
+117c:0780+     _gvar
 Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
-117a:07be+     _inpu
+117c:07be+     _inpu
 0000:0210+     INL_KeyService_
 0000:04aa+     Mouse_
 0000:0502+     IN_GetJoyAbs_
@@ -119,9 +119,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c)
 0000:47dc+     MM_TotalFree_
 0000:4872*     MM_Report_
 0000:522a*     MM_BombOnError_
-117a:0920+     _beforesort
-117a:0924+     _aftersort
-117a:0928+     _XMSaddr
+117c:0920+     _beforesort
+117c:0924+     _aftersort
+117c:0928+     _XMSaddr
 Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c)
 0000:5260      detectcpu_
 Module: 16_head.o(/dos/z/16/src/lib/16_head.c)
@@ -139,9 +139,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:59a0*     CAL_OptimizeNodes_
 0000:5a50*     CA_Startup_
 0000:5aa0*     CA_Shutdown_
-117a:0930*     _finishcachebox
-117a:0934*     _drawcachebox
-117a:0938*     _updatecachebox
+117c:0930*     _finishcachebox
+117c:0934*     _drawcachebox
+117c:0938*     _updatecachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:5b0c      KITTENGETS
 0000:5b6c*     kittenopen_
@@ -152,7 +152,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:60c4+     get_line_
 0000:6136+     db_fetch_
 0000:61cc+     db_insert_
-117a:0494+     __kitten_catalog
+117c:0494+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:648c+     LargestFreeBlock_
 0000:651a+     _coreleft_
@@ -179,61 +179,61 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:7af2      _fmalloc_
 0000:7af2      malloc_
-117a:04b6      ___fheap
-117a:04b8      ___fheapRover
-117a:04ba      ___LargestSizeB4Rover
+117c:04b6      ___fheap
+117c:04b8      ___fheapRover
+117c:04ba      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 0000:7c6f      __PIA
 0000:7c68*     __PIS
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0f0f:01f4      VGAmodeX_
-0f0f:029e+     modex__320x240_256__Enter_
-0f0f:02fe*     modex__256x192_256__Enter_
-0f0f:035e*     modexLeave_
-0f0f:0376+     modexsetBaseXMode_
-0f0f:03c8*     modexDefaultPage_
-0f0f:042e*     modexNextPage_
-0f0f:04fe*     modexNextPageFlexibleSize_
-0f0f:05d2*     modexShowPage_
-0f0f:06ce*     modexPanPage_
-0f0f:071e*     modexSelectPlane_
-0f0f:0742+     modexClearRegion_
-0f0f:085a*     oldDrawBmp_
-0f0f:09c0*     CDrawBmp_
-0f0f:0b24*     modexDrawBmp_
-0f0f:0b8a+     modexDrawBmpRegion_
-0f0f:0cf4*     modex_sparky4_DrawBmpRegion_
-0f0f:0e5e*     modexDrawPlanarBuf_
-0f0f:0e7c*     modexDrawSprite_
-0f0f:0ee2+     modexDrawSpriteRegion_
-0f0f:105a*     modexCopyPageRegion_
-0f0f:11c4*     modexFadeOn_
-0f0f:11f4*     modexFadeOff_
-0f0f:1222*     modexFlashOn_
-0f0f:1250*     modexFlashOff_
-0f0f:1320      modexPalSave_
-0f0f:1376      modexNewPal_
-0f0f:13c6*     modexLoadPalFile_
-0f0f:14a8      modexSavePalFile_
-0f0f:1520*     modexPalBlack_
-0f0f:154a*     modexPalWhite_
-0f0f:1574+     modexPalUpdate_
-0f0f:1ae4+     modexPalUpdate1_
-0f0f:1b5e*     modexPalUpdate0_
-0f0f:1baa+     chkcolor_
-0f0f:1ec2+     modexputPixel_
-0f0f:1f50*     modexgetPixel_
-0f0f:1fd6*     modexhlin_
-0f0f:2042*     modexprint_
-0f0f:21dc*     modexprintbig_
-0f0f:2358*     cls_
-0f0f:23c6+     modexWaitBorder_
-117a:04c4+     _VGA
+0f0f:02ca+     modex__320x240_256__Enter_
+0f0f:032a+     modex__256x192_256__Enter_
+0f0f:038a*     modexLeave_
+0f0f:03a2+     modexsetBaseXMode_
+0f0f:03e0*     modexDefaultPage_
+0f0f:0446*     modexNextPage_
+0f0f:0516*     modexNextPageFlexibleSize_
+0f0f:05ea*     modexShowPage_
+0f0f:06e6*     modexPanPage_
+0f0f:0736*     modexSelectPlane_
+0f0f:075a+     modexClearRegion_
+0f0f:0872*     oldDrawBmp_
+0f0f:09d8*     CDrawBmp_
+0f0f:0b3c*     modexDrawBmp_
+0f0f:0ba2+     modexDrawBmpRegion_
+0f0f:0d0c*     modex_sparky4_DrawBmpRegion_
+0f0f:0e76*     modexDrawPlanarBuf_
+0f0f:0e94*     modexDrawSprite_
+0f0f:0efa+     modexDrawSpriteRegion_
+0f0f:1072*     modexCopyPageRegion_
+0f0f:11dc*     modexFadeOn_
+0f0f:120c*     modexFadeOff_
+0f0f:123a*     modexFlashOn_
+0f0f:1268*     modexFlashOff_
+0f0f:1338      modexPalSave_
+0f0f:138e      modexNewPal_
+0f0f:13de*     modexLoadPalFile_
+0f0f:14c0      modexSavePalFile_
+0f0f:1538*     modexPalBlack_
+0f0f:1562*     modexPalWhite_
+0f0f:158c+     modexPalUpdate_
+0f0f:1afc+     modexPalUpdate1_
+0f0f:1b76*     modexPalUpdate0_
+0f0f:1bc2+     chkcolor_
+0f0f:1eda+     modexputPixel_
+0f0f:1f68*     modexgetPixel_
+0f0f:1fee*     modexhlin_
+0f0f:205a*     modexprint_
+0f0f:21f4*     modexprintbig_
+0f0f:2370*     cls_
+0f0f:23de+     modexWaitBorder_
+117c:04c4+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-117a:0000*     __nullarea
-117a:04d8*     __ovlflag
-117a:04d9*     __intno
-117a:04da*     __ovlvec
+117c:0000*     __nullarea
+117c:04d8*     __ovlflag
+117c:04d9*     __intno
+117c:04da*     __ovlvec
 0000:7c86      _cstart_
 0000:7d59*     _Not_Enough_Memory_
 0000:7e8b      __exit_
@@ -243,10 +243,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 0000:7f12      _big_code_
 0000:7f12*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-117a:1244      __argv
-117a:1248      ___argv
-117a:124c      __argc
-117a:124e      ___argc
+117c:1244      __argv
+117c:1248      ___argv
+117c:124c      __argc
+117c:124e      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0000:7f12      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
@@ -270,22 +270,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
 0000:826e      _memavl_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:82b3      _nmalloc_
-117a:04de      ___nheapbeg
-117a:04e0      ___MiniHeapRover
-117a:04e2      ___LargestSizeB4MiniHeapRover
+117c:04de      ___nheapbeg
+117c:04e0      ___MiniHeapRover
+117c:04e2      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:838d      _ffree_
 0000:838d      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:83fa      _nfree_
-117a:1250+     ___MiniHeapFreeRover
+117c:1250+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:84f5+     _null_exit_rtn_
 0000:84f5+     __null_int23_exit_
 0000:84f6      exit_
 0000:8517+     _exit_
-117a:04e4+     ___int23_exit
-117a:04e8      ___FPE_handler_exit
+117c:04e4+     ___int23_exit
+117c:04e8      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
 0000:8534      __PTC
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
@@ -304,7 +304,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:8edb      __doclose_
 0000:9025      __shutdown_stream_
 0000:903f      fclose_
-117a:1252+     ___RmTmpFileFn
+117c:1252+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
 0000:90aa+     __ibm_bios_get_ticks_
 0000:9121      clock_
@@ -315,7 +315,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
 0000:9345      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-117a:0098      __IsTable
+117c:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:953d      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c)
@@ -350,31 +350,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
 0000:9d37      stackavail_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-117a:04f4      __8087
-117a:04f5      __real87
-117a:04f6      __dos87emucall
-117a:04f8      __dos87real
+117c:04f4      __8087
+117c:04f5      __real87
+117c:04f6      __dos87emucall
+117c:04f8      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:9d46*     __exit_with_msg_
 0000:9d4b      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-117a:04fa      __curbrk
-117a:0502      __STACKLOW
-117a:0504      __STACKTOP
-117a:0506      __cbyte
-117a:0508      __child
-117a:050a      __no87
-117a:0517      ___FPE_handler
-117a:04fc      __psp
-117a:050b      __get_ovl_stack
-117a:050f      __restore_ovl_stack
-117a:0513      __close_ovl_file
-117a:051b      __LpCmdLine
-117a:051f      __LpPgmName
-117a:04fe      __osmajor
-117a:04ff      __osminor
-117a:0500      __osmode
-117a:0501      __HShift
+117c:04fa      __curbrk
+117c:0502      __STACKLOW
+117c:0504      __STACKTOP
+117c:0506      __cbyte
+117c:0508      __child
+117c:050a      __no87
+117c:0517      ___FPE_handler
+117c:04fc      __psp
+117c:050b      __get_ovl_stack
+117c:050f      __restore_ovl_stack
+117c:0513      __close_ovl_file
+117c:051b      __LpCmdLine
+117c:051f      __LpPgmName
+117c:04fe      __osmajor
+117c:04ff      __osminor
+117c:0500      __osmode
+117c:0501      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
 0000:9d70      __MemAllocator
 0000:9e3a      __MemFree
@@ -393,8 +393,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
 0000:a90e      rand_
 0000:a950*     srand_
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0f0f:2466*     textInit_
-117a:125a      _romFonts
+0f0f:2486*     textInit_
+117c:125a      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
 0000:a973      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
@@ -403,7 +403,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:aa34      __FiniRtns
 0000:aa34*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-117a:0528      ___uselfn
+117c:0528      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:aa98      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -411,9 +411,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
 0000:aafc+     _getargv_
 0000:ae2c      __Fini_Argv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-117a:052a      ___iob
-117a:1276      ___ClosedStreams
-117a:127a      ___OpenStreams
+117c:052a      ___iob
+117c:1276      ___ClosedStreams
+117c:127a      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 0000:ae70      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
@@ -426,7 +426,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:b24d      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-117a:0022      ___Alphabet
+117c:0022      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
 0000:b250      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
@@ -436,18 +436,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 0000:b2fe*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:b309*     __get_errno_ptr_
-117a:127e      _errno
+117c:127e      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:b310      __GetIOMode_
 0000:b345      __SetIOMode_nogrow_
-117a:06a6      ___NFiles
-117a:06a8      ___init_mode
-117a:06d0      ___io_mode
+117c:06a6      ___NFiles
+117c:06a8      ___init_mode
+117c:06d0      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:b37a*     __set_commode_
-117a:06d4      __commode
+117c:06d4      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-117a:06d6      __fmode
+117c:06d6      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
 0000:b386      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
@@ -474,9 +474,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:b98e      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:b9aa*     __get_doserrno_ptr_
-117a:1280      __doserrno
+117c:1280      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-117a:06d8      ___umaskval
+117c:06d8      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:b9b1      _dos_creat_
 0000:b9d5*     _dos_creatnew_
@@ -487,9 +487,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
 0000:bbde      vsprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
-117a:1284      ___env_mask
-117a:1288      _environ
-117a:128c*     __wenviron
+117c:1284      ___env_mask
+117c:1288      _environ
+117c:128c*     __wenviron
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
 0000:bc20      _mbterm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
@@ -510,12 +510,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
 0000:c176      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:c1e6      __EnterWVIDEO_
-117a:06f8+     ___WD_Present
+117c:06f8+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:c20a*     _heapenable_
-117a:06fa      ___heap_enabled
+117c:06fa      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-117a:06fc      __amblksiz
+117c:06fc      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
 0000:c21b      __flushall_
 0000:c2af      flushall_
@@ -530,15 +530,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 0000:c4dd      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-117a:1290      ____Argv
-117a:1294      ____Argc
+117c:1290      ____Argv
+117c:1294      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-117a:072c      __Start_XI
-117a:0762      __End_XI
-117a:0762      __Start_YI
-117a:077a      __End_YI
+117c:072c      __Start_XI
+117c:0762      __End_XI
+117c:0762      __Start_YI
+117c:077a      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-117a:1296      ___historical_splitparms
+117c:1296      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
 0000:c6b2      __InitFiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
@@ -560,22 +560,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
 0000:df4a      __setenvp_
 0000:e0d6      __freeenvp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-117a:06fe      ___IsDBCS
+117c:06fe      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:e134*     _ismbblead_
-117a:129c      ___MBCSIsTable
+117c:129c      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:e18e      __mbinit_
-117a:0700      ___MBCodePage
+117c:0700      ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
 0000:e269      _mbdtoupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
 0000:e277      toupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-117a:0702      __8087cw
+117c:0702      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-117a:0704      ___Save8087
-117a:0708      ___Rest8087
+117c:0704      ___Save8087
+117c:0708      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
 0000:e286      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
@@ -589,8 +589,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:e451      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-117a:070c      ___EFG_printf
-117a:0710*     ___EFG_scanf
+117c:070c      ___EFG_printf
+117c:0710*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:e499      ulltoa_
 0000:e5d6*     lltoa_
@@ -617,7 +617,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
 0000:f07d      _bexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-117a:072a      ___FPE_int
+117c:072a      ___FPE_int
 
 
                         +--------------------+
@@ -633,6 +633,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00020810 (133136.)
+Memory size:  00020830 (133168.)
 Entry point address: 0000:7c86
-Link time: 00:00.88
+Link time: 00:00.92
index a416385108859d4426447ace3b36cd45c7d94f67..904ed04d73a73396d8d85a82500b06f546392119 100755 (executable)
Binary files a/palettel.exe and b/palettel.exe differ
index 4a91c7b36c282b392f383c8f65b749eea1933914..1f2ffcd2b82446424c2676c4f29578d639bb9b76 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:41
 Executable Image: palettel.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          1256:0000            0000f0a0
+DGROUP                          1258:0000            0000f0a0
 
 
 
@@ -34,28 +34,28 @@ kitten_TEXT            CODE           AUTO           0000:5b50       0000080a
 16_hc_TEXT             CODE           AUTO           0000:6360       0000158b
 timer_TEXT             CODE           AUTO           0000:78f0       00000235
 _TEXT                  CODE           AUTO           0000:7b30       000077ad
-modex16_TEXT           CODE           AUTO           0f2e:0000       000023ee
-bakapee_TEXT           CODE           AUTO           0f2e:23f0       00000bc2
-16text_TEXT            CODE           AUTO           0f2e:2fc0       0000010d
-16_in13_DATA           FAR_DATA       AUTO           123b:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           1255:0004       00000000
-_NULL                  BEGDATA        DGROUP         1256:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         1258:0000       00000002
-CONST                  DATA           DGROUP         1258:0002       00000076
-CONST2                 DATA           DGROUP         125f:0008       00000102
-_DATA                  DATA           DGROUP         1270:0000       00000597
-XIB                    DATA           DGROUP         12c9:0008       00000000
-XI                     DATA           DGROUP         12c9:0008       00000036
-XIE                    DATA           DGROUP         12cc:000e       00000000
-YIB                    DATA           DGROUP         12cc:000e       00000000
-YI                     DATA           DGROUP         12cc:000e       00000018
-YIE                    DATA           DGROUP         12ce:0006       00000000
-STRINGS                DATA           DGROUP         12ce:0006       00000000
-DATA                   DATA           DGROUP         12ce:0006       00000000
-_emu_init_start        EMU            DGROUP         12ce:0006       00000000
-_emu_init_end          EMU            DGROUP         12ce:0006       00000000
-_BSS                   BSS            DGROUP         12cf:0000       00000e42
-STACK                  STACK          DGROUP         13b4:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0f2e:0000       00002406
+bakapee_TEXT           CODE           AUTO           0f2e:2410       00000bc2
+16text_TEXT            CODE           AUTO           0f2e:2fe0       0000010d
+16_in13_DATA           FAR_DATA       AUTO           123d:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           1257:0004       00000000
+_NULL                  BEGDATA        DGROUP         1258:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         125a:0000       00000002
+CONST                  DATA           DGROUP         125a:0002       00000076
+CONST2                 DATA           DGROUP         1261:0008       00000102
+_DATA                  DATA           DGROUP         1272:0000       00000597
+XIB                    DATA           DGROUP         12cb:0008       00000000
+XI                     DATA           DGROUP         12cb:0008       00000036
+XIE                    DATA           DGROUP         12ce:000e       00000000
+YIB                    DATA           DGROUP         12ce:000e       00000000
+YI                     DATA           DGROUP         12ce:000e       00000018
+YIE                    DATA           DGROUP         12d0:0006       00000000
+STRINGS                DATA           DGROUP         12d0:0006       00000000
+DATA                   DATA           DGROUP         12d0:0006       00000000
+_emu_init_start        EMU            DGROUP         12d0:0006       00000000
+_emu_init_end          EMU            DGROUP         12d0:0006       00000000
+_BSS                   BSS            DGROUP         12d1:0000       00000e42
+STACK                  STACK          DGROUP         13b6:0000       0000dac0
 
 
                         +----------------+
@@ -70,13 +70,13 @@ Address        Symbol
 
 Module: palettel.o(/dos/z/16/src/palettel.c)
 0000:004e      main_
-1256:0790+     _gvar
-1256:07b8+     _bakapee
-1256:07bc+     _page
-1256:07d0+     _pal
-1256:07d4*     _i
+1258:0790+     _gvar
+1258:07b8+     _bakapee
+1258:07bc+     _page
+1258:07d0+     _pal
+1258:07d4*     _i
 Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
-1256:07ee+     _inpu
+1258:07ee+     _inpu
 0000:0290+     INL_KeyService_
 0000:052a+     Mouse_
 0000:0582+     IN_GetJoyAbs_
@@ -124,9 +124,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c)
 0000:485c+     MM_TotalFree_
 0000:48f2*     MM_Report_
 0000:52aa*     MM_BombOnError_
-1256:0950+     _beforesort
-1256:0954+     _aftersort
-1256:0958+     _XMSaddr
+1258:0950+     _beforesort
+1258:0954+     _aftersort
+1258:0958+     _XMSaddr
 Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c)
 0000:52e0      detectcpu_
 Module: 16_head.o(/dos/z/16/src/lib/16_head.c)
@@ -144,9 +144,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:5a20*     CAL_OptimizeNodes_
 0000:5ad0*     CA_Startup_
 0000:5b20*     CA_Shutdown_
-1256:0960*     _finishcachebox
-1256:0964*     _drawcachebox
-1256:0968*     _updatecachebox
+1258:0960*     _finishcachebox
+1258:0964*     _drawcachebox
+1258:0968*     _updatecachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:5b8c      KITTENGETS
 0000:5bec*     kittenopen_
@@ -157,7 +157,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:6144+     get_line_
 0000:61b6+     db_fetch_
 0000:624c+     db_insert_
-1256:0494+     __kitten_catalog
+1258:0494+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:650c+     LargestFreeBlock_
 0000:659a+     _coreleft_
@@ -183,75 +183,75 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:7b55      __STKOVERFLOW_
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0f2e:01f4      VGAmodeX_
-0f2e:029e+     modex__320x240_256__Enter_
-0f2e:02fe*     modex__256x192_256__Enter_
-0f2e:035e*     modexLeave_
-0f2e:0376+     modexsetBaseXMode_
-0f2e:03c8      modexDefaultPage_
-0f2e:042e*     modexNextPage_
-0f2e:04fe*     modexNextPageFlexibleSize_
-0f2e:05d2*     modexShowPage_
-0f2e:06ce*     modexPanPage_
-0f2e:071e*     modexSelectPlane_
-0f2e:0742      modexClearRegion_
-0f2e:085a*     oldDrawBmp_
-0f2e:09c0*     CDrawBmp_
-0f2e:0b24*     modexDrawBmp_
-0f2e:0b8a+     modexDrawBmpRegion_
-0f2e:0cf4*     modex_sparky4_DrawBmpRegion_
-0f2e:0e5e*     modexDrawPlanarBuf_
-0f2e:0e7c*     modexDrawSprite_
-0f2e:0ee2+     modexDrawSpriteRegion_
-0f2e:105a*     modexCopyPageRegion_
-0f2e:11c4      modexFadeOn_
-0f2e:11f4*     modexFadeOff_
-0f2e:1222*     modexFlashOn_
-0f2e:1250*     modexFlashOff_
-0f2e:1320+     modexPalSave_
-0f2e:1376      modexNewPal_
-0f2e:13c6      modexLoadPalFile_
-0f2e:14a8*     modexSavePalFile_
-0f2e:1520      modexPalBlack_
-0f2e:154a*     modexPalWhite_
-0f2e:1574+     modexPalUpdate_
-0f2e:1ae4      modexPalUpdate1_
-0f2e:1b5e*     modexPalUpdate0_
-0f2e:1baa+     chkcolor_
-0f2e:1ec2      modexputPixel_
-0f2e:1f50*     modexgetPixel_
-0f2e:1fd6*     modexhlin_
-0f2e:2042      modexprint_
-0f2e:21dc*     modexprintbig_
-0f2e:2358      cls_
-0f2e:23c6+     modexWaitBorder_
-1256:04c4      _VGA
+0f2e:02ca+     modex__320x240_256__Enter_
+0f2e:032a+     modex__256x192_256__Enter_
+0f2e:038a*     modexLeave_
+0f2e:03a2+     modexsetBaseXMode_
+0f2e:03e0      modexDefaultPage_
+0f2e:0446*     modexNextPage_
+0f2e:0516*     modexNextPageFlexibleSize_
+0f2e:05ea*     modexShowPage_
+0f2e:06e6*     modexPanPage_
+0f2e:0736*     modexSelectPlane_
+0f2e:075a      modexClearRegion_
+0f2e:0872*     oldDrawBmp_
+0f2e:09d8*     CDrawBmp_
+0f2e:0b3c*     modexDrawBmp_
+0f2e:0ba2+     modexDrawBmpRegion_
+0f2e:0d0c*     modex_sparky4_DrawBmpRegion_
+0f2e:0e76*     modexDrawPlanarBuf_
+0f2e:0e94*     modexDrawSprite_
+0f2e:0efa+     modexDrawSpriteRegion_
+0f2e:1072*     modexCopyPageRegion_
+0f2e:11dc      modexFadeOn_
+0f2e:120c*     modexFadeOff_
+0f2e:123a*     modexFlashOn_
+0f2e:1268*     modexFlashOff_
+0f2e:1338+     modexPalSave_
+0f2e:138e      modexNewPal_
+0f2e:13de      modexLoadPalFile_
+0f2e:14c0*     modexSavePalFile_
+0f2e:1538      modexPalBlack_
+0f2e:1562*     modexPalWhite_
+0f2e:158c+     modexPalUpdate_
+0f2e:1afc      modexPalUpdate1_
+0f2e:1b76*     modexPalUpdate0_
+0f2e:1bc2+     chkcolor_
+0f2e:1eda      modexputPixel_
+0f2e:1f68*     modexgetPixel_
+0f2e:1fee*     modexhlin_
+0f2e:205a      modexprint_
+0f2e:21f4*     modexprintbig_
+0f2e:2370      cls_
+0f2e:23de+     modexWaitBorder_
+1258:04c4      _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:7b72      _fmalloc_
 0000:7b72      malloc_
-1256:04d8      ___fheap
-1256:04da      ___fheapRover
-1256:04dc      ___LargestSizeB4Rover
+1258:04d8      ___fheap
+1258:04da      ___fheapRover
+1258:04dc      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 0000:7cef      __PIA
 0000:7ce8*     __PIS
 Module: gfx.lib(/dos/z/16/src/lib/bakapee.c)
-0f2e:2434      pdump_
-0f2e:2496+     colortest_
-0f2e:24ea+     colorz_
-0f2e:2550+     ssd_
-0f2e:266e+     dingpp_
-0f2e:26e0+     dingo_
-0f2e:2776+     dingas_
-0f2e:2824+     dingu_
-0f2e:2886+     dingq_
-0f2e:2926*     ding_
+0f2e:2454      pdump_
+0f2e:24b6+     colortest_
+0f2e:250a+     colorz_
+0f2e:2570+     ssd_
+0f2e:268e+     dingpp_
+0f2e:2700+     dingo_
+0f2e:2796+     dingas_
+0f2e:2844+     dingu_
+0f2e:28a6+     dingq_
+0f2e:2946*     ding_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
 0000:7d06      getch_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-1256:0000*     __nullarea
-1256:04e4*     __ovlflag
-1256:04e5*     __intno
-1256:04e6*     __ovlvec
+1258:0000*     __nullarea
+1258:04e4*     __ovlflag
+1258:04e5*     __intno
+1258:04e6*     __ovlvec
 0000:7d20      _cstart_
 0000:7df3*     _Not_Enough_Memory_
 0000:7f25      __exit_
@@ -261,10 +261,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 0000:7fac      _big_code_
 0000:7fac*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-1256:1274      __argv
-1256:1278      ___argv
-1256:127c      __argc
-1256:127e      ___argc
+1258:1274      __argv
+1258:1278      ___argv
+1258:127c      __argc
+1258:127e      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0000:7fac      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
@@ -288,22 +288,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
 0000:8308      _memavl_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:834d      _nmalloc_
-1256:04ea      ___nheapbeg
-1256:04ec      ___MiniHeapRover
-1256:04ee      ___LargestSizeB4MiniHeapRover
+1258:04ea      ___nheapbeg
+1258:04ec      ___MiniHeapRover
+1258:04ee      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:8427      _ffree_
 0000:8427      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:8494      _nfree_
-1256:1280+     ___MiniHeapFreeRover
+1258:1280+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:858f+     _null_exit_rtn_
 0000:858f+     __null_int23_exit_
 0000:8590      exit_
 0000:85b1+     _exit_
-1256:04f0+     ___int23_exit
-1256:04f4      ___FPE_handler_exit
+1258:04f0+     ___int23_exit
+1258:04f4      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
 0000:85ce      __PTC
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
@@ -322,7 +322,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:8f75      __doclose_
 0000:90bf      __shutdown_stream_
 0000:90d9      fclose_
-1256:1282+     ___RmTmpFileFn
+1258:1282+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
 0000:9144+     __ibm_bios_get_ticks_
 0000:91bb      clock_
@@ -333,7 +333,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
 0000:93df      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-1256:0098      __IsTable
+1258:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:95d7      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c)
@@ -368,31 +368,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
 0000:9dd1      stackavail_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-1256:0500      __8087
-1256:0501      __real87
-1256:0502      __dos87emucall
-1256:0504      __dos87real
+1258:0500      __8087
+1258:0501      __real87
+1258:0502      __dos87emucall
+1258:0504      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:9de0*     __exit_with_msg_
 0000:9de5      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-1256:0506      __curbrk
-1256:050e      __STACKLOW
-1256:0510      __STACKTOP
-1256:0512      __cbyte
-1256:0514      __child
-1256:0516      __no87
-1256:0523      ___FPE_handler
-1256:0508      __psp
-1256:0517      __get_ovl_stack
-1256:051b      __restore_ovl_stack
-1256:051f      __close_ovl_file
-1256:0527      __LpCmdLine
-1256:052b      __LpPgmName
-1256:050a      __osmajor
-1256:050b      __osminor
-1256:050c      __osmode
-1256:050d      __HShift
+1258:0506      __curbrk
+1258:050e      __STACKLOW
+1258:0510      __STACKTOP
+1258:0512      __cbyte
+1258:0514      __child
+1258:0516      __no87
+1258:0523      ___FPE_handler
+1258:0508      __psp
+1258:0517      __get_ovl_stack
+1258:051b      __restore_ovl_stack
+1258:051f      __close_ovl_file
+1258:0527      __LpCmdLine
+1258:052b      __LpPgmName
+1258:050a      __osmajor
+1258:050b      __osminor
+1258:050c      __osmode
+1258:050d      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
 0000:9e04+     __fill_buffer_
 0000:a053      fgetc_
@@ -402,8 +402,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
 0000:a513      rand_
 0000:a555*     srand_
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0f2e:3036*     textInit_
-1256:128a      _romFonts
+0f2e:3056*     textInit_
+1258:128a      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
 0000:a580      __MemAllocator
 0000:a64a      __MemFree
@@ -423,7 +423,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:ac2f      __FiniRtns
 0000:ac2f*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-1256:0534      ___uselfn
+1258:0534      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:ac94      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -431,9 +431,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
 0000:acf8+     _getargv_
 0000:b028      __Fini_Argv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-1256:0536      ___iob
-1256:12a6      ___ClosedStreams
-1256:12aa      ___OpenStreams
+1258:0536      ___iob
+1258:12a6      ___ClosedStreams
+1258:12aa      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 0000:b06c      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
@@ -446,7 +446,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:b449      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-1256:0022      ___Alphabet
+1258:0022      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
 0000:b44c      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
@@ -456,18 +456,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 0000:b4fa*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:b505*     __get_errno_ptr_
-1256:12ae      _errno
+1258:12ae      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:b50c      __GetIOMode_
 0000:b541      __SetIOMode_nogrow_
-1256:06b2      ___NFiles
-1256:06b4      ___init_mode
-1256:06dc      ___io_mode
+1258:06b2      ___NFiles
+1258:06b4      ___init_mode
+1258:06dc      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:b576*     __set_commode_
-1256:06e0      __commode
+1258:06e0      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-1256:06e2      __fmode
+1258:06e2      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
 0000:b582      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
@@ -494,9 +494,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:bb8a      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:bba6*     __get_doserrno_ptr_
-1256:12b0      __doserrno
+1258:12b0      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-1256:06e4      ___umaskval
+1258:06e4      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:bbad      _dos_creat_
 0000:bbd1*     _dos_creatnew_
@@ -507,9 +507,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
 0000:bdda      vsprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
-1256:12b4      ___env_mask
-1256:12b8      _environ
-1256:12bc*     __wenviron
+1258:12b4      ___env_mask
+1258:12b8      _environ
+1258:12bc*     __wenviron
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
 0000:be1c      _mbterm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
@@ -530,7 +530,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
 0000:c372      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:c3e2      __EnterWVIDEO_
-1256:0704+     ___WD_Present
+1258:0704+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
 0000:c406      __flushall_
 0000:c49a      flushall_
@@ -546,19 +546,19 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 0000:c6c8      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:c89d*     _heapenable_
-1256:0706      ___heap_enabled
+1258:0706      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-1256:0708      __amblksiz
+1258:0708      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-1256:12c0      ____Argv
-1256:12c4      ____Argc
+1258:12c0      ____Argv
+1258:12c4      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-1256:0738      __Start_XI
-1256:076e      __End_XI
-1256:076e      __Start_YI
-1256:0786      __End_YI
+1258:0738      __Start_XI
+1258:076e      __End_XI
+1258:076e      __Start_YI
+1258:0786      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-1256:12c6      ___historical_splitparms
+1258:12c6      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
 0000:c8ae      __InitFiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
@@ -580,22 +580,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
 0000:e146      __setenvp_
 0000:e2d2      __freeenvp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-1256:070a      ___IsDBCS
+1258:070a      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:e330*     _ismbblead_
-1256:12cc      ___MBCSIsTable
+1258:12cc      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:e38a      __mbinit_
-1256:070c      ___MBCodePage
+1258:070c      ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
 0000:e465      _mbdtoupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
 0000:e473      toupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-1256:070e      __8087cw
+1258:070e      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-1256:0710      ___Save8087
-1256:0714      ___Rest8087
+1258:0710      ___Save8087
+1258:0714      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
 0000:e482      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
@@ -609,8 +609,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:e64d      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-1256:0718      ___EFG_printf
-1256:071c*     ___EFG_scanf
+1258:0718      ___EFG_printf
+1258:071c*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:e695      ulltoa_
 0000:e7d2*     lltoa_
@@ -637,7 +637,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
 0000:f279      _bexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-1256:0736      ___FPE_int
+1258:0736      ___FPE_int
 
 
                         +--------------------+
@@ -653,6 +653,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00021600 (136704.)
+Memory size:  00021620 (136736.)
 Entry point address: 0000:7d20
-Link time: 00:00.68
+Link time: 00:00.94
index 09609a9f15d4bbc63d056bdfc1a631afa9fc559c..34404619c56c5ad64adb69284e612347c7ba09c9 100755 (executable)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index f58fb422ec211c6c164af0c88a5bf46f37a193fb..604c1fa5352994b577a37e3bf6ada6d3dbf44f9d 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: pcxtest.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0b55:0000            0000ecd0
+DGROUP                          0b57:0000            0000ecd0
 
 
 
@@ -26,28 +26,28 @@ Segment                Class          Group          Address         Size
 
 pcxtest_TEXT           CODE           AUTO           0000:0000       0000024c
 _TEXT                  CODE           AUTO           0000:0250       00008567
-modex16_TEXT           CODE           AUTO           0000:87c0       000023ee
-bitmap_TEXT            CODE           AUTO           0000:abb0       00000605
-planar_TEXT            CODE           AUTO           0000:b1c0       00000275
-16text_TEXT            CODE           AUTO           0000:b440       0000010d
-FAR_DATA               FAR_DATA       AUTO           0b54:000d       00000000
-_NULL                  BEGDATA        DGROUP         0b55:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         0b57:0000       00000002
-CONST                  DATA           DGROUP         0b57:0002       00000076
-CONST2                 DATA           DGROUP         0b5e:0008       00000132
-_DATA                  DATA           DGROUP         0b72:0000       00000326
-XIB                    DATA           DGROUP         0ba4:0006       00000000
-XI                     DATA           DGROUP         0ba4:0006       0000002a
-XIE                    DATA           DGROUP         0ba7:0000       00000000
-YIB                    DATA           DGROUP         0ba7:0000       00000000
-YI                     DATA           DGROUP         0ba7:0000       0000000c
-YIE                    DATA           DGROUP         0ba7:000c       00000000
-STRINGS                DATA           DGROUP         0ba7:000c       00000000
-DATA                   DATA           DGROUP         0ba7:000c       00000000
-_emu_init_start        EMU            DGROUP         0ba7:000c       00000000
-_emu_init_end          EMU            DGROUP         0ba7:000c       00000000
-_BSS                   BSS            DGROUP         0ba8:0000       00000ce0
-STACK                  STACK          DGROUP         0c76:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:87c0       00002406
+bitmap_TEXT            CODE           AUTO           0000:abd0       00000605
+planar_TEXT            CODE           AUTO           0000:b1e0       00000275
+16text_TEXT            CODE           AUTO           0000:b460       0000010d
+FAR_DATA               FAR_DATA       AUTO           0b56:000d       00000000
+_NULL                  BEGDATA        DGROUP         0b57:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0b59:0000       00000002
+CONST                  DATA           DGROUP         0b59:0002       00000076
+CONST2                 DATA           DGROUP         0b60:0008       00000132
+_DATA                  DATA           DGROUP         0b74:0000       00000326
+XIB                    DATA           DGROUP         0ba6:0006       00000000
+XI                     DATA           DGROUP         0ba6:0006       0000002a
+XIE                    DATA           DGROUP         0ba9:0000       00000000
+YIB                    DATA           DGROUP         0ba9:0000       00000000
+YI                     DATA           DGROUP         0ba9:0000       0000000c
+YIE                    DATA           DGROUP         0ba9:000c       00000000
+STRINGS                DATA           DGROUP         0ba9:000c       00000000
+DATA                   DATA           DGROUP         0ba9:000c       00000000
+_emu_init_start        EMU            DGROUP         0ba9:000c       00000000
+_emu_init_end          EMU            DGROUP         0ba9:000c       00000000
+_BSS                   BSS            DGROUP         0baa:0000       00000ce0
+STACK                  STACK          DGROUP         0c78:0000       0000dac0
 
 
                         +----------------+
@@ -62,106 +62,106 @@ Address        Symbol
 
 Module: pcxtest.o(/dos/z/16/src/pcxtest.c)
 0000:0098      main_
-0b55:0530+     _gvar
+0b57:0530+     _gvar
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:0255      __STK
 0000:0275*     __STKOVERFLOW_
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0000:89b4      VGAmodeX_
-0000:8a5e+     modex__320x240_256__Enter_
-0000:8abe*     modex__256x192_256__Enter_
-0000:8b1e*     modexLeave_
-0000:8b36+     modexsetBaseXMode_
-0000:8b88      modexDefaultPage_
-0000:8bee*     modexNextPage_
-0000:8cbe*     modexNextPageFlexibleSize_
-0000:8d92*     modexShowPage_
-0000:8e8e*     modexPanPage_
-0000:8ede*     modexSelectPlane_
-0000:8f02      modexClearRegion_
-0000:901a      oldDrawBmp_
-0000:9180*     CDrawBmp_
-0000:92e4      modexDrawBmp_
-0000:934a+     modexDrawBmpRegion_
-0000:94b4*     modex_sparky4_DrawBmpRegion_
-0000:961e*     modexDrawPlanarBuf_
-0000:963c      modexDrawSprite_
-0000:96a2+     modexDrawSpriteRegion_
-0000:981a      modexCopyPageRegion_
-0000:9984*     modexFadeOn_
-0000:99b4*     modexFadeOff_
-0000:99e2*     modexFlashOn_
-0000:9a10*     modexFlashOff_
-0000:9ae0+     modexPalSave_
-0000:9b36      modexNewPal_
-0000:9b86*     modexLoadPalFile_
-0000:9c68*     modexSavePalFile_
-0000:9ce0*     modexPalBlack_
-0000:9d0a*     modexPalWhite_
-0000:9d34+     modexPalUpdate_
-0000:a2a4      modexPalUpdate1_
-0000:a31e*     modexPalUpdate0_
-0000:a36a+     chkcolor_
-0000:a682+     modexputPixel_
-0000:a710*     modexgetPixel_
-0000:a796*     modexhlin_
-0000:a802*     modexprint_
-0000:a99c*     modexprintbig_
-0000:ab18*     cls_
-0000:ab86+     modexWaitBorder_
-0b55:01e4      _VGA
+0000:8a8a+     modex__320x240_256__Enter_
+0000:8aea+     modex__256x192_256__Enter_
+0000:8b4a*     modexLeave_
+0000:8b62+     modexsetBaseXMode_
+0000:8ba0      modexDefaultPage_
+0000:8c06*     modexNextPage_
+0000:8cd6*     modexNextPageFlexibleSize_
+0000:8daa*     modexShowPage_
+0000:8ea6*     modexPanPage_
+0000:8ef6*     modexSelectPlane_
+0000:8f1a      modexClearRegion_
+0000:9032      oldDrawBmp_
+0000:9198*     CDrawBmp_
+0000:92fc      modexDrawBmp_
+0000:9362+     modexDrawBmpRegion_
+0000:94cc*     modex_sparky4_DrawBmpRegion_
+0000:9636*     modexDrawPlanarBuf_
+0000:9654      modexDrawSprite_
+0000:96ba+     modexDrawSpriteRegion_
+0000:9832      modexCopyPageRegion_
+0000:999c*     modexFadeOn_
+0000:99cc*     modexFadeOff_
+0000:99fa*     modexFlashOn_
+0000:9a28*     modexFlashOff_
+0000:9af8+     modexPalSave_
+0000:9b4e      modexNewPal_
+0000:9b9e*     modexLoadPalFile_
+0000:9c80*     modexSavePalFile_
+0000:9cf8*     modexPalBlack_
+0000:9d22*     modexPalWhite_
+0000:9d4c+     modexPalUpdate_
+0000:a2bc      modexPalUpdate1_
+0000:a336*     modexPalUpdate0_
+0000:a382+     chkcolor_
+0000:a69a+     modexputPixel_
+0000:a728*     modexgetPixel_
+0000:a7ae*     modexhlin_
+0000:a81a*     modexprint_
+0000:a9b4*     modexprintbig_
+0000:ab30*     cls_
+0000:ab9e+     modexWaitBorder_
+0b57:01e4      _VGA
 Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
-0000:aeee      bitmapLoadPcx_
-0000:b04a*     bitmapLoadPcxTiles_
+0000:af0e      bitmapLoadPcx_
+0000:b06a*     bitmapLoadPcxTiles_
 Module: gfx.lib(/dos/z/16/src/lib/planar.c)
-0000:b1c0      planar_buf_from_bitmap_
-0000:b2e0+     planar_buf_alloc_
-0000:b3da*     planar_buf_free_
+0000:b1e0      planar_buf_from_bitmap_
+0000:b300+     planar_buf_alloc_
+0000:b3fa*     planar_buf_free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
 0000:0292      kbhit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0000:02a9      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-0b55:0000*     __nullarea
-0b55:0214*     __ovlflag
-0b55:0215*     __intno
-0b55:0216*     __ovlvec
+0b57:0000*     __nullarea
+0b57:0214*     __ovlflag
+0b57:0215*     __intno
+0b57:0216*     __ovlvec
 0000:02d8      _cstart_
 0000:03ab*     _Not_Enough_Memory_
 0000:04dd      __exit_
 0000:04fc      __do_exit_with_msg__
 0000:0559      __GETDS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c)
-0b55:021a      _fltused_
+0b57:021a      _fltused_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 0000:0564      _big_code_
 0000:0564*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-0b55:021c      __8087
-0b55:021d      __real87
-0b55:021e      __dos87emucall
-0b55:0220      __dos87real
+0b57:021c      __8087
+0b57:021d      __real87
+0b57:021e      __dos87emucall
+0b57:0220      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:0564*     __exit_with_msg_
 0000:0569      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-0b55:0222      __curbrk
-0b55:022a      __STACKLOW
-0b55:022c      __STACKTOP
-0b55:022e      __cbyte
-0b55:0230      __child
-0b55:0232      __no87
-0b55:023f      ___FPE_handler
-0b55:0224      __psp
-0b55:0233      __get_ovl_stack
-0b55:0237      __restore_ovl_stack
-0b55:023b      __close_ovl_file
-0b55:0243      __LpCmdLine
-0b55:0247      __LpPgmName
-0b55:0226      __osmajor
-0b55:0227      __osminor
-0b55:0228      __osmode
-0b55:0229      __HShift
+0b57:0222      __curbrk
+0b57:022a      __STACKLOW
+0b57:022c      __STACKTOP
+0b57:022e      __cbyte
+0b57:0230      __child
+0b57:0232      __no87
+0b57:023f      ___FPE_handler
+0b57:0224      __psp
+0b57:0233      __get_ovl_stack
+0b57:0237      __restore_ovl_stack
+0b57:023b      __close_ovl_file
+0b57:0243      __LpCmdLine
+0b57:0247      __LpPgmName
+0b57:0226      __osmajor
+0b57:0227      __osminor
+0b57:0228      __osmode
+0b57:0229      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 0000:0588+     int86x_
 0000:070b      int86_
@@ -171,16 +171,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:0756      _fmalloc_
 0000:0756      malloc_
-0b55:024c+     ___fheap
-0b55:024e      ___fheapRover
-0b55:0250      ___LargestSizeB4Rover
+0b57:024c+     ___fheap
+0b57:024e      ___fheapRover
+0b57:0250      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:08cb+     _null_exit_rtn_
 0000:08cb+     __null_int23_exit_
 0000:08cc      exit_
 0000:08ed+     _exit_
-0b55:0252+     ___int23_exit
-0b55:0256      ___FPE_handler_exit
+0b57:0252+     ___int23_exit
+0b57:0256      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:0909+     __open_flags_
 0000:0bca+     _fsopen_
@@ -193,7 +193,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:1174      __doclose_
 0000:12be      __shutdown_stream_
 0000:12d8      fclose_
-0b55:0ed8+     ___RmTmpFileFn
+0b57:0ed8+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:1343      _ffree_
 0000:1343      free_
@@ -206,16 +206,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
 0000:178e      __I4M
 0000:178e      __U4M
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0000:b4b6*     textInit_
-0b55:0edc      _romFonts
+0000:b4d6*     textInit_
+0b57:0edc      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
 0000:17a6      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
 0000:1c3b      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-0b55:025e      ___iob
-0b55:0ef4      ___ClosedStreams
-0b55:0ef8      ___OpenStreams
+0b57:025e      ___iob
+0b57:0ef4      ___ClosedStreams
+0b57:0ef8      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
 0000:1e33      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
@@ -228,7 +228,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:2090      __FiniRtns
 0000:2090*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-0b55:03c6      ___uselfn
+0b57:03c6      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:20f4      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c)
@@ -240,7 +240,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
 0000:21e0      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:2250      __EnterWVIDEO_
-0b55:03e6+     ___WD_Present
+0b57:03e6+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
 0000:2274      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
@@ -256,21 +256,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 0000:277c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:277f      _nmalloc_
-0b55:03e8      ___nheapbeg
-0b55:03ea      ___MiniHeapRover
-0b55:03ec      ___LargestSizeB4MiniHeapRover
+0b57:03e8      ___nheapbeg
+0b57:03ea      ___MiniHeapRover
+0b57:03ec      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0000:2859*     _heapgrow_
 0000:2859*     _fheapgrow_
 0000:285a      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:28d2*     __set_commode_
-0b55:03ee      __commode
+0b57:03ee      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:28de*     __get_errno_ptr_
-0b55:0efc      _errno
+0b57:0efc      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-0b55:03f0      __fmode
+0b57:03f0      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:28e5      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
@@ -302,7 +302,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
 0000:316f      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:33b8      _nfree_
-0b55:0efe+     ___MiniHeapFreeRover
+0b57:0efe+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0000:34b3      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
@@ -321,27 +321,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
 0000:39a0      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-0b55:0f00      ____Argv
-0b55:0f04      ____Argc
+0b57:0f00      ____Argv
+0b57:0f04      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0b55:03f2      __amblksiz
+0b57:03f2      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0b55:04f6      __Start_XI
-0b55:0520      __End_XI
-0b55:0520      __Start_YI
-0b55:052c      __End_YI
+0b57:04f6      __Start_XI
+0b57:0520      __End_XI
+0b57:0520      __Start_YI
+0b57:052c      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-0b55:03f4      ___EFG_printf
-0b55:03f8      ___EFG_scanf
+0b57:03f4      ___EFG_printf
+0b57:03f8      ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c)
 0000:4b15      _EFG_Format_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c)
 0000:4ce7      __cnvs2d_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-0b55:03fc      __8087cw
+0b57:03fc      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-0b55:03fe      ___Save8087
-0b55:0402      ___Rest8087
+0b57:03fe      ___Save8087
+0b57:0402      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
 0000:4d07      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
@@ -351,7 +351,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
 0000:4d9e      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:5117*     _heapenable_
-0b55:0406      ___heap_enabled
+0b57:0406      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:5128      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
@@ -362,16 +362,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:5361      __GetIOMode_
 0000:5396      __SetIOMode_nogrow_
-0b55:0408      ___NFiles
-0b55:040a      ___init_mode
-0b55:0432      ___io_mode
+0b57:0408      ___NFiles
+0b57:040a      ___init_mode
+0b57:0432      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:53cb      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:53e7*     __get_doserrno_ptr_
-0b55:0f06      __doserrno
+0b57:0f06      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-0b55:0436      ___umaskval
+0b57:0436      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:53ee      _dos_creat_
 0000:5412*     _dos_creatnew_
@@ -394,10 +394,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:57bc      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-0b55:044c      ___IsDBCS
+0b57:044c      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:57f1*     _ismbblead_
-0b55:0f0a      ___MBCSIsTable
+0b57:0f0a      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:580d      ulltoa_
 0000:594a*     lltoa_
@@ -445,10 +445,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
 0000:7dde*     _dos_close_
 0000:7dec      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-0b55:0072      ___Alphabet
+0b57:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:7e39      __mbinit_
-0b55:04f2+     ___MBCodePage
+0b57:04f2+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
 0000:7f14      __LDClass_
 0000:7f9a*     _FLClass_
@@ -456,7 +456,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
 0000:7fae      __I4D
 0000:7ffd*     __U4D
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-0b55:0098      __IsTable
+0b57:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
 0000:8082      __ZBuf2LD
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
@@ -464,16 +464,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
 0000:8156      __set_ERANGE_
 0000:8162*     __set_EINVAL_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c)
-0b55:019a*     ___f_infinity
-0b55:019e*     ___f_posqnan
-0b55:01a2      ___d_infinity
-0b55:01aa      ___d_posqnan
-0b55:01b2*     ___ld_infinity
-0b55:01ba*     ___ld_posqnan
+0b57:019a*     ___f_infinity
+0b57:019e*     ___f_posqnan
+0b57:01a2      ___d_infinity
+0b57:01aa      ___d_posqnan
+0b57:01b2*     ___ld_infinity
+0b57:01ba*     ___ld_posqnan
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
-0b55:01c2      __HugeValue
+0b57:01c2      __HugeValue
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-0b55:04f4      ___FPE_int
+0b57:04f4      ___FPE_int
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:817c*     _msize_
 0000:8197      _fmsize_
@@ -504,6 +504,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  0001a220 (107040.)
+Memory size:  0001a240 (107072.)
 Entry point address: 0000:02d8
-Link time: 00:00.68
+Link time: 00:00.74
index cfd0d3390495eb99f032cc9f5a54cd577a7c66b1..87a4ce3622b87d4f4c33df11b899511663ad5c0b 100755 (executable)
Binary files a/pcxtest2.exe and b/pcxtest2.exe differ
index 6dadd0ec29395bb06c21e4e77419472244bac278..4255e094f843c3515bd6b07a55de7030ad9a3088 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: pcxtest2.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0b57:0000            0000ecd0
+DGROUP                          0b59:0000            0000ecd0
 
 
 
@@ -26,28 +26,28 @@ Segment                Class          Group          Address         Size
 
 pcxtest2_TEXT          CODE           AUTO           0000:0000       00000266
 _TEXT                  CODE           AUTO           0000:0270       00008567
-modex16_TEXT           CODE           AUTO           0000:87e0       000023ee
-bitmap_TEXT            CODE           AUTO           0000:abd0       00000605
-planar_TEXT            CODE           AUTO           0000:b1e0       00000275
-16text_TEXT            CODE           AUTO           0000:b460       0000010d
-FAR_DATA               FAR_DATA       AUTO           0b56:000d       00000000
-_NULL                  BEGDATA        DGROUP         0b57:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         0b59:0000       00000002
-CONST                  DATA           DGROUP         0b59:0002       00000076
-CONST2                 DATA           DGROUP         0b60:0008       00000132
-_DATA                  DATA           DGROUP         0b74:0000       00000326
-XIB                    DATA           DGROUP         0ba6:0006       00000000
-XI                     DATA           DGROUP         0ba6:0006       0000002a
-XIE                    DATA           DGROUP         0ba9:0000       00000000
-YIB                    DATA           DGROUP         0ba9:0000       00000000
-YI                     DATA           DGROUP         0ba9:0000       0000000c
-YIE                    DATA           DGROUP         0ba9:000c       00000000
-STRINGS                DATA           DGROUP         0ba9:000c       00000000
-DATA                   DATA           DGROUP         0ba9:000c       00000000
-_emu_init_start        EMU            DGROUP         0ba9:000c       00000000
-_emu_init_end          EMU            DGROUP         0ba9:000c       00000000
-_BSS                   BSS            DGROUP         0baa:0000       00000ce0
-STACK                  STACK          DGROUP         0c78:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:87e0       00002406
+bitmap_TEXT            CODE           AUTO           0000:abf0       00000605
+planar_TEXT            CODE           AUTO           0000:b200       00000275
+16text_TEXT            CODE           AUTO           0000:b480       0000010d
+FAR_DATA               FAR_DATA       AUTO           0b58:000d       00000000
+_NULL                  BEGDATA        DGROUP         0b59:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0b5b:0000       00000002
+CONST                  DATA           DGROUP         0b5b:0002       00000076
+CONST2                 DATA           DGROUP         0b62:0008       00000132
+_DATA                  DATA           DGROUP         0b76:0000       00000326
+XIB                    DATA           DGROUP         0ba8:0006       00000000
+XI                     DATA           DGROUP         0ba8:0006       0000002a
+XIE                    DATA           DGROUP         0bab:0000       00000000
+YIB                    DATA           DGROUP         0bab:0000       00000000
+YI                     DATA           DGROUP         0bab:0000       0000000c
+YIE                    DATA           DGROUP         0bab:000c       00000000
+STRINGS                DATA           DGROUP         0bab:000c       00000000
+DATA                   DATA           DGROUP         0bab:000c       00000000
+_emu_init_start        EMU            DGROUP         0bab:000c       00000000
+_emu_init_end          EMU            DGROUP         0bab:000c       00000000
+_BSS                   BSS            DGROUP         0bac:0000       00000ce0
+STACK                  STACK          DGROUP         0c7a:0000       0000dac0
 
 
                         +----------------+
@@ -62,106 +62,106 @@ Address        Symbol
 
 Module: pcxtest2.o(/dos/z/16/src/pcxtest2.c)
 0000:0098      main_
-0b57:0530+     _gvar
+0b59:0530+     _gvar
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:0275      __STK
 0000:0295*     __STKOVERFLOW_
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0000:89d4      VGAmodeX_
-0000:8a7e+     modex__320x240_256__Enter_
-0000:8ade*     modex__256x192_256__Enter_
-0000:8b3e*     modexLeave_
-0000:8b56+     modexsetBaseXMode_
-0000:8ba8      modexDefaultPage_
-0000:8c0e*     modexNextPage_
-0000:8cde*     modexNextPageFlexibleSize_
-0000:8db2      modexShowPage_
-0000:8eae*     modexPanPage_
-0000:8efe*     modexSelectPlane_
-0000:8f22      modexClearRegion_
-0000:903a      oldDrawBmp_
-0000:91a0*     CDrawBmp_
-0000:9304      modexDrawBmp_
-0000:936a+     modexDrawBmpRegion_
-0000:94d4*     modex_sparky4_DrawBmpRegion_
-0000:963e*     modexDrawPlanarBuf_
-0000:965c      modexDrawSprite_
-0000:96c2+     modexDrawSpriteRegion_
-0000:983a      modexCopyPageRegion_
-0000:99a4*     modexFadeOn_
-0000:99d4*     modexFadeOff_
-0000:9a02*     modexFlashOn_
-0000:9a30*     modexFlashOff_
-0000:9b00+     modexPalSave_
-0000:9b56      modexNewPal_
-0000:9ba6*     modexLoadPalFile_
-0000:9c88*     modexSavePalFile_
-0000:9d00*     modexPalBlack_
-0000:9d2a*     modexPalWhite_
-0000:9d54+     modexPalUpdate_
-0000:a2c4      modexPalUpdate1_
-0000:a33e*     modexPalUpdate0_
-0000:a38a+     chkcolor_
-0000:a6a2+     modexputPixel_
-0000:a730*     modexgetPixel_
-0000:a7b6*     modexhlin_
-0000:a822*     modexprint_
-0000:a9bc*     modexprintbig_
-0000:ab38*     cls_
-0000:aba6+     modexWaitBorder_
-0b57:01e4      _VGA
+0000:8aaa+     modex__320x240_256__Enter_
+0000:8b0a+     modex__256x192_256__Enter_
+0000:8b6a*     modexLeave_
+0000:8b82+     modexsetBaseXMode_
+0000:8bc0      modexDefaultPage_
+0000:8c26*     modexNextPage_
+0000:8cf6*     modexNextPageFlexibleSize_
+0000:8dca      modexShowPage_
+0000:8ec6*     modexPanPage_
+0000:8f16*     modexSelectPlane_
+0000:8f3a      modexClearRegion_
+0000:9052      oldDrawBmp_
+0000:91b8*     CDrawBmp_
+0000:931c      modexDrawBmp_
+0000:9382+     modexDrawBmpRegion_
+0000:94ec*     modex_sparky4_DrawBmpRegion_
+0000:9656*     modexDrawPlanarBuf_
+0000:9674      modexDrawSprite_
+0000:96da+     modexDrawSpriteRegion_
+0000:9852      modexCopyPageRegion_
+0000:99bc*     modexFadeOn_
+0000:99ec*     modexFadeOff_
+0000:9a1a*     modexFlashOn_
+0000:9a48*     modexFlashOff_
+0000:9b18+     modexPalSave_
+0000:9b6e      modexNewPal_
+0000:9bbe*     modexLoadPalFile_
+0000:9ca0*     modexSavePalFile_
+0000:9d18*     modexPalBlack_
+0000:9d42*     modexPalWhite_
+0000:9d6c+     modexPalUpdate_
+0000:a2dc      modexPalUpdate1_
+0000:a356*     modexPalUpdate0_
+0000:a3a2+     chkcolor_
+0000:a6ba+     modexputPixel_
+0000:a748*     modexgetPixel_
+0000:a7ce*     modexhlin_
+0000:a83a*     modexprint_
+0000:a9d4*     modexprintbig_
+0000:ab50*     cls_
+0000:abbe+     modexWaitBorder_
+0b59:01e4      _VGA
 Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
-0000:af0e      bitmapLoadPcx_
-0000:b06a*     bitmapLoadPcxTiles_
+0000:af2e      bitmapLoadPcx_
+0000:b08a*     bitmapLoadPcxTiles_
 Module: gfx.lib(/dos/z/16/src/lib/planar.c)
-0000:b1e0      planar_buf_from_bitmap_
-0000:b300+     planar_buf_alloc_
-0000:b3fa*     planar_buf_free_
+0000:b200      planar_buf_from_bitmap_
+0000:b320+     planar_buf_alloc_
+0000:b41a*     planar_buf_free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
 0000:02b2      kbhit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0000:02c9      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-0b57:0000*     __nullarea
-0b57:0214*     __ovlflag
-0b57:0215*     __intno
-0b57:0216*     __ovlvec
+0b59:0000*     __nullarea
+0b59:0214*     __ovlflag
+0b59:0215*     __intno
+0b59:0216*     __ovlvec
 0000:02f8      _cstart_
 0000:03cb*     _Not_Enough_Memory_
 0000:04fd      __exit_
 0000:051c      __do_exit_with_msg__
 0000:0579      __GETDS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c)
-0b57:021a      _fltused_
+0b59:021a      _fltused_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 0000:0584      _big_code_
 0000:0584*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-0b57:021c      __8087
-0b57:021d      __real87
-0b57:021e      __dos87emucall
-0b57:0220      __dos87real
+0b59:021c      __8087
+0b59:021d      __real87
+0b59:021e      __dos87emucall
+0b59:0220      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:0584*     __exit_with_msg_
 0000:0589      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-0b57:0222      __curbrk
-0b57:022a      __STACKLOW
-0b57:022c      __STACKTOP
-0b57:022e      __cbyte
-0b57:0230      __child
-0b57:0232      __no87
-0b57:023f      ___FPE_handler
-0b57:0224      __psp
-0b57:0233      __get_ovl_stack
-0b57:0237      __restore_ovl_stack
-0b57:023b      __close_ovl_file
-0b57:0243      __LpCmdLine
-0b57:0247      __LpPgmName
-0b57:0226      __osmajor
-0b57:0227      __osminor
-0b57:0228      __osmode
-0b57:0229      __HShift
+0b59:0222      __curbrk
+0b59:022a      __STACKLOW
+0b59:022c      __STACKTOP
+0b59:022e      __cbyte
+0b59:0230      __child
+0b59:0232      __no87
+0b59:023f      ___FPE_handler
+0b59:0224      __psp
+0b59:0233      __get_ovl_stack
+0b59:0237      __restore_ovl_stack
+0b59:023b      __close_ovl_file
+0b59:0243      __LpCmdLine
+0b59:0247      __LpPgmName
+0b59:0226      __osmajor
+0b59:0227      __osminor
+0b59:0228      __osmode
+0b59:0229      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 0000:05a8+     int86x_
 0000:072b      int86_
@@ -171,16 +171,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:0776      _fmalloc_
 0000:0776      malloc_
-0b57:024c+     ___fheap
-0b57:024e      ___fheapRover
-0b57:0250      ___LargestSizeB4Rover
+0b59:024c+     ___fheap
+0b59:024e      ___fheapRover
+0b59:0250      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:08eb+     _null_exit_rtn_
 0000:08eb+     __null_int23_exit_
 0000:08ec      exit_
 0000:090d+     _exit_
-0b57:0252+     ___int23_exit
-0b57:0256      ___FPE_handler_exit
+0b59:0252+     ___int23_exit
+0b59:0256      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:0929+     __open_flags_
 0000:0bea+     _fsopen_
@@ -193,7 +193,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:1194      __doclose_
 0000:12de      __shutdown_stream_
 0000:12f8      fclose_
-0b57:0ed8+     ___RmTmpFileFn
+0b59:0ed8+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:1363      _ffree_
 0000:1363      free_
@@ -206,16 +206,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
 0000:17ae      __I4M
 0000:17ae      __U4M
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0000:b4d6*     textInit_
-0b57:0edc      _romFonts
+0000:b4f6*     textInit_
+0b59:0edc      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
 0000:17c6      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
 0000:1c5b      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-0b57:025e      ___iob
-0b57:0ef4      ___ClosedStreams
-0b57:0ef8      ___OpenStreams
+0b59:025e      ___iob
+0b59:0ef4      ___ClosedStreams
+0b59:0ef8      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
 0000:1e53      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
@@ -228,7 +228,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:20b0      __FiniRtns
 0000:20b0*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-0b57:03c6      ___uselfn
+0b59:03c6      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:2114      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c)
@@ -240,7 +240,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
 0000:2200      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:2270      __EnterWVIDEO_
-0b57:03e6+     ___WD_Present
+0b59:03e6+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
 0000:2294      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
@@ -256,21 +256,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 0000:279c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:279f      _nmalloc_
-0b57:03e8      ___nheapbeg
-0b57:03ea      ___MiniHeapRover
-0b57:03ec      ___LargestSizeB4MiniHeapRover
+0b59:03e8      ___nheapbeg
+0b59:03ea      ___MiniHeapRover
+0b59:03ec      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0000:2879*     _heapgrow_
 0000:2879*     _fheapgrow_
 0000:287a      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:28f2*     __set_commode_
-0b57:03ee      __commode
+0b59:03ee      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:28fe*     __get_errno_ptr_
-0b57:0efc      _errno
+0b59:0efc      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-0b57:03f0      __fmode
+0b59:03f0      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:2905      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
@@ -302,7 +302,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
 0000:318f      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:33d8      _nfree_
-0b57:0efe+     ___MiniHeapFreeRover
+0b59:0efe+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0000:34d3      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
@@ -321,27 +321,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
 0000:39c0      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-0b57:0f00      ____Argv
-0b57:0f04      ____Argc
+0b59:0f00      ____Argv
+0b59:0f04      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0b57:03f2      __amblksiz
+0b59:03f2      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0b57:04f6      __Start_XI
-0b57:0520      __End_XI
-0b57:0520      __Start_YI
-0b57:052c      __End_YI
+0b59:04f6      __Start_XI
+0b59:0520      __End_XI
+0b59:0520      __Start_YI
+0b59:052c      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-0b57:03f4      ___EFG_printf
-0b57:03f8      ___EFG_scanf
+0b59:03f4      ___EFG_printf
+0b59:03f8      ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c)
 0000:4b35      _EFG_Format_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c)
 0000:4d07      __cnvs2d_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-0b57:03fc      __8087cw
+0b59:03fc      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-0b57:03fe      ___Save8087
-0b57:0402      ___Rest8087
+0b59:03fe      ___Save8087
+0b59:0402      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
 0000:4d27      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
@@ -351,7 +351,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
 0000:4dbe      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:5137*     _heapenable_
-0b57:0406      ___heap_enabled
+0b59:0406      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:5148      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
@@ -362,16 +362,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:5381      __GetIOMode_
 0000:53b6      __SetIOMode_nogrow_
-0b57:0408      ___NFiles
-0b57:040a      ___init_mode
-0b57:0432      ___io_mode
+0b59:0408      ___NFiles
+0b59:040a      ___init_mode
+0b59:0432      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:53eb      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:5407*     __get_doserrno_ptr_
-0b57:0f06      __doserrno
+0b59:0f06      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-0b57:0436      ___umaskval
+0b59:0436      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:540e      _dos_creat_
 0000:5432*     _dos_creatnew_
@@ -394,10 +394,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:57dc      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-0b57:044c      ___IsDBCS
+0b59:044c      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:5811*     _ismbblead_
-0b57:0f0a      ___MBCSIsTable
+0b59:0f0a      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:582d      ulltoa_
 0000:596a*     lltoa_
@@ -445,10 +445,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
 0000:7dfe*     _dos_close_
 0000:7e0c      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-0b57:0072      ___Alphabet
+0b59:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:7e59      __mbinit_
-0b57:04f2+     ___MBCodePage
+0b59:04f2+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
 0000:7f34      __LDClass_
 0000:7fba*     _FLClass_
@@ -456,7 +456,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
 0000:7fce      __I4D
 0000:801d*     __U4D
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-0b57:0098      __IsTable
+0b59:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
 0000:80a2      __ZBuf2LD
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
@@ -464,16 +464,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
 0000:8176      __set_ERANGE_
 0000:8182*     __set_EINVAL_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c)
-0b57:019a*     ___f_infinity
-0b57:019e*     ___f_posqnan
-0b57:01a2      ___d_infinity
-0b57:01aa      ___d_posqnan
-0b57:01b2*     ___ld_infinity
-0b57:01ba*     ___ld_posqnan
+0b59:019a*     ___f_infinity
+0b59:019e*     ___f_posqnan
+0b59:01a2      ___d_infinity
+0b59:01aa      ___d_posqnan
+0b59:01b2*     ___ld_infinity
+0b59:01ba*     ___ld_posqnan
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
-0b57:01c2      __HugeValue
+0b59:01c2      __HugeValue
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-0b57:04f4      ___FPE_int
+0b59:04f4      ___FPE_int
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:819c*     _msize_
 0000:81b7      _fmsize_
@@ -504,6 +504,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  0001a240 (107072.)
+Memory size:  0001a260 (107104.)
 Entry point address: 0000:02f8
-Link time: 00:00.91
+Link time: 00:00.81
index 095b2d361156af081ad4764efa84add5a7552738..05ef2138153c2b94b1710ad0c8da990259538dc3 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index 63d74d2d67aee82220c4549be26db12974785a1a..509cbb679f9817df4cfb5f6066594580acb3a8e0 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: scroll.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          1a81:0000            0000f860
+DGROUP                          1a83:0000            0000f860
 
 
 
@@ -40,27 +40,27 @@ scroll16_TEXT          CODE           AUTO           0990:9f30       000034c3
 bitmap_TEXT            CODE           AUTO           0990:d400       00000605
 planar_TEXT            CODE           AUTO           0990:da10       00000275
 16text_TEXT            CODE           AUTO           0990:dc90       0000010d
-modex16_TEXT           CODE           AUTO           176a:0000       000023ee
-bakapee_TEXT           CODE           AUTO           176a:23f0       00000bc2
-16_in13_DATA           FAR_DATA       AUTO           1a66:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           1a80:0004       00000000
-_NULL                  BEGDATA        DGROUP         1a81:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         1a83:0000       00000002
-CONST                  DATA           DGROUP         1a83:0002       00000076
-CONST2                 DATA           DGROUP         1a8a:0008       00000132
-_DATA                  DATA           DGROUP         1a9e:0000       00000b20
-XIB                    DATA           DGROUP         1b50:0000       00000000
-XI                     DATA           DGROUP         1b50:0000       0000003c
-XIE                    DATA           DGROUP         1b53:000c       00000000
-YIB                    DATA           DGROUP         1b53:000c       00000000
-YI                     DATA           DGROUP         1b53:000c       00000018
-YIE                    DATA           DGROUP         1b55:0004       00000000
-STRINGS                DATA           DGROUP         1b55:0004       00000000
-DATA                   DATA           DGROUP         1b55:0004       00000000
-_emu_init_start        EMU            DGROUP         1b55:0004       00000000
-_emu_init_end          EMU            DGROUP         1b55:0004       00000000
-_BSS                   BSS            DGROUP         1b56:0000       00001046
-STACK                  STACK          DGROUP         1c5b:0000       0000dac0
+modex16_TEXT           CODE           AUTO           176a:0000       00002406
+bakapee_TEXT           CODE           AUTO           176a:2410       00000bc2
+16_in13_DATA           FAR_DATA       AUTO           1a68:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           1a82:0004       00000000
+_NULL                  BEGDATA        DGROUP         1a83:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         1a85:0000       00000002
+CONST                  DATA           DGROUP         1a85:0002       00000076
+CONST2                 DATA           DGROUP         1a8c:0008       00000132
+_DATA                  DATA           DGROUP         1aa0:0000       00000b20
+XIB                    DATA           DGROUP         1b52:0000       00000000
+XI                     DATA           DGROUP         1b52:0000       0000003c
+XIE                    DATA           DGROUP         1b55:000c       00000000
+YIB                    DATA           DGROUP         1b55:000c       00000000
+YI                     DATA           DGROUP         1b55:000c       00000018
+YIE                    DATA           DGROUP         1b57:0004       00000000
+STRINGS                DATA           DGROUP         1b57:0004       00000000
+DATA                   DATA           DGROUP         1b57:0004       00000000
+_emu_init_start        EMU            DGROUP         1b57:0004       00000000
+_emu_init_end          EMU            DGROUP         1b57:0004       00000000
+_BSS                   BSS            DGROUP         1b58:0000       00001046
+STACK                  STACK          DGROUP         1c5d:0000       0000dac0
 
 
                         +----------------+
@@ -74,17 +74,17 @@ Address        Symbol
 =======        ======
 
 Module: scroll.o(/dos/z/16/src/scroll.c)
-1a81:0d50+     _mv
-1a81:0d80+     _player
-1a81:0e80+     _gvar
-1a81:0ea8+     _spri
-1a81:0eac+     _mask
-1a81:0eb0+     _p
-1a81:0eb4*     _t
-1a81:0eb8+     _screen3
-1a81:0ecc+     _screen2
-1a81:0ee0+     _bg
-1a81:0ee4+     _screen
+1a83:0d50+     _mv
+1a83:0d80+     _player
+1a83:0e80+     _gvar
+1a83:0ea8+     _spri
+1a83:0eac+     _mask
+1a83:0eb0+     _p
+1a83:0eb4*     _t
+1a83:0eb8+     _screen3
+1a83:0ecc+     _screen2
+1a83:0ee0+     _bg
+1a83:0ee4+     _screen
 0000:023a      main_
 Module: mapread.o(/dos/z/16/src/lib/mapread.c)
 0000:0e28+     jsoneq_
@@ -94,7 +94,7 @@ Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
 0000:19d2      jsmn_parse_
 0000:1ece      jsmn_init_
 Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
-1a81:0f2e+     _inpu
+1a83:0f2e+     _inpu
 0000:2060+     INL_KeyService_
 0000:22fa+     Mouse_
 0000:2352+     IN_GetJoyAbs_
@@ -142,9 +142,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c)
 0000:662c+     MM_TotalFree_
 0000:66c2*     MM_Report_
 0000:707a*     MM_BombOnError_
-1a81:1090+     _beforesort
-1a81:1094+     _aftersort
-1a81:1098+     _XMSaddr
+1a83:1090+     _beforesort
+1a83:1094+     _aftersort
+1a83:1098+     _XMSaddr
 Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c)
 0000:70b0      detectcpu_
 Module: 16_head.o(/dos/z/16/src/lib/16_head.c)
@@ -162,9 +162,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:77f0*     CAL_OptimizeNodes_
 0000:78a0*     CA_Startup_
 0000:78f0*     CA_Shutdown_
-1a81:10a0*     _finishcachebox
-1a81:10a4*     _drawcachebox
-1a81:10a8*     _updatecachebox
+1a83:10a0*     _finishcachebox
+1a83:10a4*     _drawcachebox
+1a83:10a8*     _updatecachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:795c      KITTENGETS
 0000:79bc*     kittenopen_
@@ -175,7 +175,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:7f14+     get_line_
 0000:7f86+     db_fetch_
 0000:801c+     db_insert_
-1a81:04d4+     __kitten_catalog
+1a83:04d4+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:82dc+     LargestFreeBlock_
 0000:836a+     _coreleft_
@@ -202,18 +202,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0990:0042      _fmalloc_
 0990:0042      malloc_
-1a81:04f6      ___fheap
-1a81:04f8      ___fheapRover
-1a81:04fa      ___LargestSizeB4Rover
+1a83:04f6      ___fheap
+1a83:04f8      ___fheapRover
+1a83:04fa      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 0990:01bf      __PIA
 0990:01b8*     __PIS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0990:01d6      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-1a81:04fc      ___iob
-1a81:10b4      ___ClosedStreams
-1a81:10b8      ___OpenStreams
+1a83:04fc      ___iob
+1a83:10b4      ___ClosedStreams
+1a83:10b8      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
 0990:0205      fprintf_
 Module: gfx.lib(/dos/z/16/src/lib/scroll16.c)
@@ -240,70 +240,70 @@ Module: gfx.lib(/dos/z/16/src/lib/planar.c)
 0990:dc2a*     planar_buf_free_
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
 0990:dd06      textInit_
-1a81:1140      _romFonts
+1a83:1140      _romFonts
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 176a:01f4      VGAmodeX_
-176a:029e+     modex__320x240_256__Enter_
-176a:02fe*     modex__256x192_256__Enter_
-176a:035e*     modexLeave_
-176a:0376+     modexsetBaseXMode_
-176a:03c8      modexDefaultPage_
-176a:042e      modexNextPage_
-176a:04fe      modexNextPageFlexibleSize_
-176a:05d2      modexShowPage_
-176a:06ce*     modexPanPage_
-176a:071e*     modexSelectPlane_
-176a:0742      modexClearRegion_
-176a:085a*     oldDrawBmp_
-176a:09c0*     CDrawBmp_
-176a:0b24*     modexDrawBmp_
-176a:0b8a+     modexDrawBmpRegion_
-176a:0cf4*     modex_sparky4_DrawBmpRegion_
-176a:0e5e*     modexDrawPlanarBuf_
-176a:0e7c*     modexDrawSprite_
-176a:0ee2+     modexDrawSpriteRegion_
-176a:105a      modexCopyPageRegion_
-176a:11c4*     modexFadeOn_
-176a:11f4*     modexFadeOff_
-176a:1222*     modexFlashOn_
-176a:1250*     modexFlashOff_
-176a:1320+     modexPalSave_
-176a:1376      modexNewPal_
-176a:13c6*     modexLoadPalFile_
-176a:14a8*     modexSavePalFile_
-176a:1520*     modexPalBlack_
-176a:154a*     modexPalWhite_
-176a:1574+     modexPalUpdate_
-176a:1ae4+     modexPalUpdate1_
-176a:1b5e*     modexPalUpdate0_
-176a:1baa+     chkcolor_
-176a:1ec2      modexputPixel_
-176a:1f50*     modexgetPixel_
-176a:1fd6*     modexhlin_
-176a:2042      modexprint_
-176a:21dc*     modexprintbig_
-176a:2358      cls_
-176a:23c6      modexWaitBorder_
-1a81:0b54      _VGA
+176a:02ca+     modex__320x240_256__Enter_
+176a:032a+     modex__256x192_256__Enter_
+176a:038a*     modexLeave_
+176a:03a2+     modexsetBaseXMode_
+176a:03e0      modexDefaultPage_
+176a:0446      modexNextPage_
+176a:0516      modexNextPageFlexibleSize_
+176a:05ea      modexShowPage_
+176a:06e6*     modexPanPage_
+176a:0736*     modexSelectPlane_
+176a:075a      modexClearRegion_
+176a:0872*     oldDrawBmp_
+176a:09d8*     CDrawBmp_
+176a:0b3c*     modexDrawBmp_
+176a:0ba2+     modexDrawBmpRegion_
+176a:0d0c*     modex_sparky4_DrawBmpRegion_
+176a:0e76*     modexDrawPlanarBuf_
+176a:0e94*     modexDrawSprite_
+176a:0efa+     modexDrawSpriteRegion_
+176a:1072      modexCopyPageRegion_
+176a:11dc*     modexFadeOn_
+176a:120c*     modexFadeOff_
+176a:123a*     modexFlashOn_
+176a:1268*     modexFlashOff_
+176a:1338+     modexPalSave_
+176a:138e      modexNewPal_
+176a:13de*     modexLoadPalFile_
+176a:14c0*     modexSavePalFile_
+176a:1538*     modexPalBlack_
+176a:1562*     modexPalWhite_
+176a:158c+     modexPalUpdate_
+176a:1afc+     modexPalUpdate1_
+176a:1b76*     modexPalUpdate0_
+176a:1bc2+     chkcolor_
+176a:1eda      modexputPixel_
+176a:1f68*     modexgetPixel_
+176a:1fee*     modexhlin_
+176a:205a      modexprint_
+176a:21f4*     modexprintbig_
+176a:2370      cls_
+176a:23de      modexWaitBorder_
+1a83:0b54      _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sound.c)
 0990:0234      sound_
 0990:026f      nosound_
 Module: gfx.lib(/dos/z/16/src/lib/bakapee.c)
-176a:2434      pdump_
-176a:2496+     colortest_
-176a:24ea+     colorz_
-176a:2550+     ssd_
-176a:266e+     dingpp_
-176a:26e0+     dingo_
-176a:2776+     dingas_
-176a:2824+     dingu_
-176a:2886+     dingq_
-176a:2926*     ding_
+176a:2454      pdump_
+176a:24b6+     colortest_
+176a:250a+     colorz_
+176a:2570+     ssd_
+176a:268e+     dingpp_
+176a:2700+     dingo_
+176a:2796+     dingas_
+176a:2844+     dingu_
+176a:28a6+     dingq_
+176a:2946*     ding_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-1a81:0000*     __nullarea
-1a81:0b74*     __ovlflag
-1a81:0b75*     __intno
-1a81:0b76*     __ovlvec
+1a83:0000*     __nullarea
+1a83:0b74*     __ovlflag
+1a83:0b75*     __intno
+1a83:0b76*     __ovlvec
 0990:027c      _cstart_
 0990:034f*     _Not_Enough_Memory_
 0990:0481      __exit_
@@ -327,7 +327,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
 0990:0bb7      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0990:0f2e      __get_errno_ptr_
-1a81:1a58      _errno
+1a83:1a58      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
 0990:0f35*     _frealloc_
 0990:0f35      realloc_
@@ -349,10 +349,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
 0990:1262      __I4D
 0990:12b1      __U4D
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-1a81:1a5a      __argv
-1a81:1a5e      ___argv
-1a81:1a62      __argc
-1a81:1a64      ___argc
+1a83:1a5a      __argv
+1a83:1a5e      ___argv
+1a83:1a62      __argc
+1a83:1a64      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0990:1335*     _heapgrow_
 0990:1335      _fheapgrow_
@@ -361,22 +361,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
 0990:13ae      _memavl_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0990:13f3      _nmalloc_
-1a81:0b7a      ___nheapbeg
-1a81:0b7c      ___MiniHeapRover
-1a81:0b7e      ___LargestSizeB4MiniHeapRover
+1a83:0b7a      ___nheapbeg
+1a83:0b7c      ___MiniHeapRover
+1a83:0b7e      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0990:14cd      _ffree_
 0990:14cd      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0990:153a      _nfree_
-1a81:1a66+     ___MiniHeapFreeRover
+1a83:1a66+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0990:1635+     _null_exit_rtn_
 0990:1635+     __null_int23_exit_
 0990:1636      exit_
 0990:1657+     _exit_
-1a81:0b80+     ___int23_exit
-1a81:0b84      ___FPE_handler_exit
+1a83:0b80+     ___int23_exit
+1a83:0b84      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
 0990:1673      ultoa_
 0990:1731*     ltoa_
@@ -386,7 +386,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0990:1ae3      __doclose_
 0990:1c2d      __shutdown_stream_
 0990:1c47      fclose_
-1a81:1a68+     ___RmTmpFileFn
+1a83:1a68+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
 0990:1cb2+     __ibm_bios_get_ticks_
 0990:1d29      clock_
@@ -397,7 +397,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
 0990:1f4d      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-1a81:0098      __IsTable
+1a83:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0990:2145      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c)
@@ -432,31 +432,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
 0990:293f      stackavail_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-1a81:0b90      __8087
-1a81:0b91      __real87
-1a81:0b92      __dos87emucall
-1a81:0b94      __dos87real
+1a83:0b90      __8087
+1a83:0b91      __real87
+1a83:0b92      __dos87emucall
+1a83:0b94      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0990:294e*     __exit_with_msg_
 0990:2953      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-1a81:0b96      __curbrk
-1a81:0b9e      __STACKLOW
-1a81:0ba0      __STACKTOP
-1a81:0ba2      __cbyte
-1a81:0ba4      __child
-1a81:0ba6      __no87
-1a81:0bb3      ___FPE_handler
-1a81:0b98      __psp
-1a81:0ba7      __get_ovl_stack
-1a81:0bab      __restore_ovl_stack
-1a81:0baf      __close_ovl_file
-1a81:0bb7      __LpCmdLine
-1a81:0bbb      __LpPgmName
-1a81:0b9a      __osmajor
-1a81:0b9b      __osminor
-1a81:0b9c      __osmode
-1a81:0b9d      __HShift
+1a83:0b96      __curbrk
+1a83:0b9e      __STACKLOW
+1a83:0ba0      __STACKTOP
+1a83:0ba2      __cbyte
+1a83:0ba4      __child
+1a83:0ba6      __no87
+1a83:0bb3      ___FPE_handler
+1a83:0b98      __psp
+1a83:0ba7      __get_ovl_stack
+1a83:0bab      __restore_ovl_stack
+1a83:0baf      __close_ovl_file
+1a83:0bb7      __LpCmdLine
+1a83:0bbb      __LpPgmName
+1a83:0b9a      __osmajor
+1a83:0b9b      __osminor
+1a83:0b9c      __osmode
+1a83:0b9d      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
 0990:2980      __MemAllocator
 0990:2a4a      __MemFree
@@ -474,7 +474,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
 0990:31b0*     fcloseall_
 0990:31b7      __full_io_exit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c)
-1a81:0bc0      _fltused_
+1a83:0bc0      _fltused_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
 0990:31c1      __fill_buffer_
 0990:3410      fgetc_
@@ -493,14 +493,14 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0990:3b55      __FiniRtns
 0990:3b55*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-1a81:0bc6      ___uselfn
+1a83:0bc6      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0990:3bba      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0990:3bbb*     __set_commode_
-1a81:0bc8      __commode
+1a83:0bc8      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-1a81:0bca      __fmode
+1a83:0bca      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
 0990:3bc7      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
@@ -535,7 +535,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0990:4c6a      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-1a81:0050      ___Alphabet
+1a83:0050      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
 0990:4c6d      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
@@ -546,9 +546,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0990:4d26      __GetIOMode_
 0990:4d5b      __SetIOMode_nogrow_
-1a81:0be0      ___NFiles
-1a81:0be2      ___init_mode
-1a81:0c0a      ___io_mode
+1a83:0be0      ___NFiles
+1a83:0be2      ___init_mode
+1a83:0c0a      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
 0990:4d90      __close_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
@@ -568,9 +568,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0990:50a6      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0990:50c2*     __get_doserrno_ptr_
-1a81:1a74      __doserrno
+1a83:1a74      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-1a81:0c0e      ___umaskval
+1a83:0c0e      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0990:50c9      _dos_creat_
 0990:50ed*     _dos_creatnew_
@@ -581,9 +581,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
 0990:52f6      vsprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
-1a81:1a78      ___env_mask
-1a81:1a7c      _environ
-1a81:1a80*     __wenviron
+1a83:1a78      ___env_mask
+1a83:1a7c      _environ
+1a83:1a80*     __wenviron
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
 0990:5338      _mbterm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
@@ -604,12 +604,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
 0990:588e      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0990:58fe      __EnterWVIDEO_
-1a81:0c2e+     ___WD_Present
+1a83:0c2e+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0990:5922*     _heapenable_
-1a81:0c30      ___heap_enabled
+1a83:0c30      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-1a81:0c32      __amblksiz
+1a83:0c32      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 0990:5933      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
@@ -624,13 +624,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0990:6d3c      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-1a81:1a84      ____Argv
-1a81:1a88      ____Argc
+1a83:1a84      ____Argv
+1a83:1a88      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-1a81:0cf0      __Start_XI
-1a81:0d2c      __End_XI
-1a81:0d2c      __Start_YI
-1a81:0d44      __End_YI
+1a83:0cf0      __Start_XI
+1a83:0d2c      __End_XI
+1a83:0d2c      __Start_YI
+1a83:0d44      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
 0990:6d9c      _bfree_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
@@ -638,7 +638,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
 0990:6e1a      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-1a81:1a8a      ___historical_splitparms
+1a83:1a8a      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
 0990:7193*     sbrk_
 0990:71a3      __brk_
@@ -648,22 +648,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
 0990:722e      __setenvp_
 0990:73ba      __freeenvp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-1a81:0c34      ___IsDBCS
+1a83:0c34      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0990:7418*     _ismbblead_
-1a81:1a90      ___MBCSIsTable
+1a83:1a90      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0990:7472      __mbinit_
-1a81:0c36      ___MBCodePage
+1a83:0c36      ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
 0990:754d      _mbdtoupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
 0990:755b      toupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-1a81:0c38      __8087cw
+1a83:0c38      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-1a81:0c3a      ___Save8087
-1a81:0c3e      ___Rest8087
+1a83:0c3a      ___Save8087
+1a83:0c3e      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
 0990:756a      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
@@ -677,8 +677,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0990:7735      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-1a81:0c42      ___EFG_printf
-1a81:0c46      ___EFG_scanf
+1a83:0c42      ___EFG_printf
+1a83:0c46      ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0990:777d      ulltoa_
 0990:78ba*     lltoa_
@@ -717,7 +717,7 @@ Module: /dos/fdos/watcom2/lib286/math87h.lib(strtod.c)
 0990:99b4+     __Strtold_
 0990:9bf3      strtod_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-1a81:0cee      ___FPE_int
+1a83:0cee      ___FPE_int
 Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
 0990:9da0      __LDClass_
 0990:9e26*     _FLClass_
@@ -728,14 +728,14 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
 0990:9f0e      __set_ERANGE_
 0990:9f1a*     __set_EINVAL_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c)
-1a81:019a*     ___f_infinity
-1a81:019e*     ___f_posqnan
-1a81:01a2      ___d_infinity
-1a81:01aa      ___d_posqnan
-1a81:01b2*     ___ld_infinity
-1a81:01ba*     ___ld_posqnan
+1a83:019a*     ___f_infinity
+1a83:019e*     ___f_posqnan
+1a83:01a2      ___d_infinity
+1a83:01aa      ___d_posqnan
+1a83:01b2*     ___ld_infinity
+1a83:01ba*     ___ld_posqnan
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
-1a81:01c2      __HugeValue
+1a83:01c2      __HugeValue
 
 
                         +--------------------+
@@ -753,6 +753,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  0002a070 (172144.)
+Memory size:  0002a090 (172176.)
 Entry point address: 0990:027c
-Link time: 00:00.86
+Link time: 00:00.52
index dc51ff3993c36ea2ca7d108fc6405d280f9d0306..e184dc1e2e0e4d251b7c17bb866cd3b039dddde7 100755 (executable)
@@ -40,24 +40,31 @@ void VGAmodeX(sword vq, global_game_variables_t *gv)
 {\r
        union REGS in, out;\r
 \r
-       if(!vq)\r
-       { // deinit the video\r
-               // change to the video mode we were in before we switched to mode 13h\r
-               modexLeave();\r
-               in.h.ah = 0x00;\r
-               in.h.al = gv->old_mode;\r
-               int86(0x10, &in, &out);\r
-\r
-       }\r
-       else if(vq==1)\r
-       { // init the video\r
-               // get old video mode\r
-               in.h.ah = 0xf;\r
-               int86(0x10, &in, &out);\r
-               gv->old_mode = out.h.al;\r
-               // enter mode\r
-               modex__320x240_256__Enter(gv);\r
-               //modex__256x192_256__Enter(gv);\r
+       switch (vq)\r
+       {\r
+               case 0: // deinit the video\r
+                       // change to the video mode we were in before we switched to mode 13h\r
+                       modexLeave();\r
+                       in.h.ah = 0x00;\r
+                       in.h.al = gv->old_mode;\r
+                       int86(0x10, &in, &out);\r
+               break;\r
+               case 1: // init the video\r
+                       // get old video mode\r
+                       in.h.ah = 0xf;\r
+                       int86(0x10, &in, &out);\r
+                       gv->old_mode = out.h.al;\r
+                       // enter mode\r
+                       modex__320x240_256__Enter(gv);\r
+               break;\r
+               case 2: // init the video\r
+                       // get old video mode\r
+                       in.h.ah = 0xf;\r
+                       int86(0x10, &in, &out);\r
+                       gv->old_mode = out.h.al;\r
+                       // enter mode\r
+                       modex__256x192_256__Enter(gv);\r
+               break;\r
        }\r
 }\r
 \r
@@ -153,10 +160,10 @@ modexsetBaseXMode(void)
 \r
        /* reprogram the CRT controller */\r
        outp(CRTC_INDEX, 0x11); /* VSync End reg contains register write prot */\r
-       temp = inp(CRTC_DATA) & 0x7F;\r
-       outp(CRTC_INDEX, 0x11);\r
-       //outp(CRTC_DATA, 0x7f);  /* get current write protect on varios regs */\r
-       outp(CRTC_DATA, temp);  /* get current write protect on varios regs */\r
+//     temp = inp(CRTC_DATA) & 0x7F;\r
+//     outp(CRTC_INDEX, 0x11);\r
+       outp(CRTC_DATA, 0x7f);  /* get current write protect on varios regs */\r
+//     outp(CRTC_DATA, temp);  /* get current write protect on varios regs */\r
 }\r
 \r
 page_t\r
index eb58c2301078406b06f17761bdd17da9a659a4e6..1cda5730cf31e1da3c0f9ae8aeb30af9fd33e162 100755 (executable)
@@ -62,9 +62,9 @@ static const word ModeX_256x192regs[] = {
        0x0b06,          /* vertical total */\r
        0x8f07,          /* overflow (bit 8 of vertical counts) */\r
        0x4109,          /* cell height (2 to double-scan */\r
-       0xd010,          /* v sync start */\r
-       0x8c11,          /* v sync end and protect cr0-cr7 */\r
-       0x7f12,          /* vertical displayed */\r
+       0x9c10,          /* v sync start */\r
+       0xb811,          /* v sync end and protect cr0-cr7 */\r
+       0x8f12,          /* vertical displayed */\r
        0x2013,         /* offset/logical width */\r
        0x0014,          /* turn off dword mode */\r
        0xa715,          /* v blank start */\r
index e31ac0f1e80ba7efde4c2fbbaeec6faed8972755..046bac88f55a89faa5553b2ac4de5f26d0781773 100755 (executable)
@@ -59,12 +59,12 @@ static const word ModeX_320x240regs[] = {
        0x5002,         /* Start horizontal blanking */\r
        0x5404,         /* End horizontal blanking */\r
        0x8005,         /* End horizontal retrace */\r
-       0xbf06,          /* vertical total */\r
-       0x1f07,          /* overflow (bit 8 of vertical counts) */\r
+       0x0d06,          /* vertical total */\r
+       0x3e07,          /* overflow (bit 8 of vertical counts) */\r
        0x4109,          /* cell height (2 to double-scan */\r
-       0x9c10,          /* v sync start */\r
-       0xb811,          /* v sync end and protect cr0-cr7 */\r
-       0x8f12,          /* vertical displayed */\r
+       0xea10,          /* v sync start */\r
+       0xac11,          /* v sync end and protect cr0-cr7 */\r
+       0xdf12,          /* vertical displayed */\r
        0x2813,         /* offset/logical width */\r
        0x0014,          /* turn off dword mode */\r
        0xe715,          /* v blank start */\r
index 4221a9d20ea52a75ed284597e11ce39efabe8322..18ff54c7af1e9f847341b82e63ee9841ec33c2be 100755 (executable)
Binary files a/test.exe and b/test.exe differ
index 5790395eef884ffa00106c556ff1e02df0dee5d4..6f3ccf3629bac444d4f0536ac1b307dacaf0aee2 100755 (executable)
--- a/test.map
+++ b/test.map
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: test.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0812:0000            0000e820
+DGROUP                          0814:0000            0000e820
 
 
 
@@ -26,24 +26,24 @@ Segment                Class          Group          Address         Size
 
 test_TEXT              CODE           AUTO           0000:0000       000001d8
 _TEXT                  CODE           AUTO           0000:01e0       00005a3d
-modex16_TEXT           CODE           AUTO           0000:5c20       000023ee
-16text_TEXT            CODE           AUTO           0000:8010       0000010d
-FAR_DATA               FAR_DATA       AUTO           0811:000d       00000000
-_NULL                  BEGDATA        DGROUP         0812:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         0814:0000       00000002
-CONST                  DATA           DGROUP         0814:0002       00000076
-CONST2                 DATA           DGROUP         081b:0008       00000000
-_DATA                  DATA           DGROUP         081c:0000       00000234
-XIB                    DATA           DGROUP         083f:0004       00000000
-XI                     DATA           DGROUP         083f:0004       00000018
-XIE                    DATA           DGROUP         0840:000c       00000000
-YIB                    DATA           DGROUP         0840:000c       00000000
-YI                     DATA           DGROUP         0840:000c       0000000c
-YIE                    DATA           DGROUP         0841:0008       00000000
-STRINGS                DATA           DGROUP         0841:0008       00000000
-DATA                   DATA           DGROUP         0841:0008       00000000
-_BSS                   BSS            DGROUP         0842:0000       00000a5b
-STACK                  STACK          DGROUP         08e8:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:5c20       00002406
+16text_TEXT            CODE           AUTO           0000:8030       0000010d
+FAR_DATA               FAR_DATA       AUTO           0813:000d       00000000
+_NULL                  BEGDATA        DGROUP         0814:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0816:0000       00000002
+CONST                  DATA           DGROUP         0816:0002       00000076
+CONST2                 DATA           DGROUP         081d:0008       00000000
+_DATA                  DATA           DGROUP         081e:0000       00000234
+XIB                    DATA           DGROUP         0841:0004       00000000
+XI                     DATA           DGROUP         0841:0004       00000018
+XIE                    DATA           DGROUP         0842:000c       00000000
+YIB                    DATA           DGROUP         0842:000c       00000000
+YI                     DATA           DGROUP         0842:000c       0000000c
+YIE                    DATA           DGROUP         0843:0008       00000000
+STRINGS                DATA           DGROUP         0843:0008       00000000
+DATA                   DATA           DGROUP         0843:0008       00000000
+_BSS                   BSS            DGROUP         0844:0000       00000a5b
+STACK                  STACK          DGROUP         08ea:0000       0000dac0
 
 
                         +----------------+
@@ -58,59 +58,59 @@ Address        Symbol
 
 Module: test.o(/dos/z/16/src/test.c)
 0000:004e      main_
-0812:0300+     _gvar
+0814:0300+     _gvar
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:01e5      __STK
 0000:0205*     __STKOVERFLOW_
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0000:5e14      VGAmodeX_
-0000:5ebe+     modex__320x240_256__Enter_
-0000:5f1e*     modex__256x192_256__Enter_
-0000:5f7e*     modexLeave_
-0000:5f96+     modexsetBaseXMode_
-0000:5fe8      modexDefaultPage_
-0000:604e      modexNextPage_
-0000:611e*     modexNextPageFlexibleSize_
-0000:61f2      modexShowPage_
-0000:62ee*     modexPanPage_
-0000:633e*     modexSelectPlane_
-0000:6362      modexClearRegion_
-0000:647a*     oldDrawBmp_
-0000:65e0*     CDrawBmp_
-0000:6744*     modexDrawBmp_
-0000:67aa+     modexDrawBmpRegion_
-0000:6914*     modex_sparky4_DrawBmpRegion_
-0000:6a7e*     modexDrawPlanarBuf_
-0000:6a9c*     modexDrawSprite_
-0000:6b02+     modexDrawSpriteRegion_
-0000:6c7a*     modexCopyPageRegion_
-0000:6de4      modexFadeOn_
-0000:6e14      modexFadeOff_
-0000:6e42*     modexFlashOn_
-0000:6e70*     modexFlashOff_
-0000:6f40      modexPalSave_
-0000:6f96      modexNewPal_
-0000:6fe6      modexLoadPalFile_
-0000:70c8*     modexSavePalFile_
-0000:7140      modexPalBlack_
-0000:716a*     modexPalWhite_
-0000:7194+     modexPalUpdate_
-0000:7704+     modexPalUpdate1_
-0000:777e*     modexPalUpdate0_
-0000:77ca+     chkcolor_
-0000:7ae2+     modexputPixel_
-0000:7b70*     modexgetPixel_
-0000:7bf6*     modexhlin_
-0000:7c62*     modexprint_
-0000:7dfc*     modexprintbig_
-0000:7f78*     cls_
-0000:7fe6+     modexWaitBorder_
-0812:00b4+     _VGA
+0000:5eea+     modex__320x240_256__Enter_
+0000:5f4a+     modex__256x192_256__Enter_
+0000:5faa*     modexLeave_
+0000:5fc2+     modexsetBaseXMode_
+0000:6000      modexDefaultPage_
+0000:6066      modexNextPage_
+0000:6136*     modexNextPageFlexibleSize_
+0000:620a      modexShowPage_
+0000:6306*     modexPanPage_
+0000:6356*     modexSelectPlane_
+0000:637a      modexClearRegion_
+0000:6492*     oldDrawBmp_
+0000:65f8*     CDrawBmp_
+0000:675c*     modexDrawBmp_
+0000:67c2+     modexDrawBmpRegion_
+0000:692c*     modex_sparky4_DrawBmpRegion_
+0000:6a96*     modexDrawPlanarBuf_
+0000:6ab4*     modexDrawSprite_
+0000:6b1a+     modexDrawSpriteRegion_
+0000:6c92*     modexCopyPageRegion_
+0000:6dfc      modexFadeOn_
+0000:6e2c      modexFadeOff_
+0000:6e5a*     modexFlashOn_
+0000:6e88*     modexFlashOff_
+0000:6f58      modexPalSave_
+0000:6fae      modexNewPal_
+0000:6ffe      modexLoadPalFile_
+0000:70e0*     modexSavePalFile_
+0000:7158      modexPalBlack_
+0000:7182*     modexPalWhite_
+0000:71ac+     modexPalUpdate_
+0000:771c+     modexPalUpdate1_
+0000:7796*     modexPalUpdate0_
+0000:77e2+     chkcolor_
+0000:7afa+     modexputPixel_
+0000:7b88*     modexgetPixel_
+0000:7c0e*     modexhlin_
+0000:7c7a*     modexprint_
+0000:7e14*     modexprintbig_
+0000:7f90*     cls_
+0000:7ffe+     modexWaitBorder_
+0814:00b4+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-0812:0000*     __nullarea
-0812:00c8*     __ovlflag
-0812:00c9*     __intno
-0812:00ca*     __ovlvec
+0814:0000*     __nullarea
+0814:00c8*     __ovlflag
+0814:00c9*     __intno
+0814:00ca*     __ovlvec
 0000:0222      _cstart_
 0000:02f5*     _Not_Enough_Memory_
 0000:0427      __exit_
@@ -123,23 +123,23 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:04ae*     __exit_with_msg_
 0000:04b3      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-0812:00ce      __curbrk
-0812:00d6      __STACKLOW
-0812:00d8      __STACKTOP
-0812:00da      __cbyte
-0812:00dc      __child
-0812:00de      __no87
-0812:00eb      ___FPE_handler
-0812:00d0      __psp
-0812:00df      __get_ovl_stack
-0812:00e3      __restore_ovl_stack
-0812:00e7      __close_ovl_file
-0812:00ef      __LpCmdLine
-0812:00f3      __LpPgmName
-0812:00d2      __osmajor
-0812:00d3      __osminor
-0812:00d4      __osmode
-0812:00d5      __HShift
+0814:00ce      __curbrk
+0814:00d6      __STACKLOW
+0814:00d8      __STACKTOP
+0814:00da      __cbyte
+0814:00dc      __child
+0814:00de      __no87
+0814:00eb      ___FPE_handler
+0814:00d0      __psp
+0814:00df      __get_ovl_stack
+0814:00e3      __restore_ovl_stack
+0814:00e7      __close_ovl_file
+0814:00ef      __LpCmdLine
+0814:00f3      __LpPgmName
+0814:00d2      __osmajor
+0814:00d3      __osminor
+0814:00d4      __osmode
+0814:00d5      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 0000:04d2+     int86x_
 0000:0655      int86_
@@ -149,9 +149,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:06a0      _fmalloc_
 0000:06a0      malloc_
-0812:00f8+     ___fheap
-0812:00fa      ___fheapRover
-0812:00fc      ___LargestSizeB4Rover
+0814:00f8+     ___fheap
+0814:00fa      ___fheapRover
+0814:00fc      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0000:0815      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
@@ -159,8 +159,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:0844+     __null_int23_exit_
 0000:0845      exit_
 0000:0866+     _exit_
-0812:00fe+     ___int23_exit
-0812:0102+     ___FPE_handler_exit
+0814:00fe+     ___int23_exit
+0814:0102+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:0882+     __open_flags_
 0000:0b43+     _fsopen_
@@ -173,7 +173,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:10ed      __doclose_
 0000:1237      __shutdown_stream_
 0000:1251      fclose_
-0812:0c28+     ___RmTmpFileFn
+0814:0c28+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:12bc      _ffree_
 0000:12bc      free_
@@ -186,8 +186,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
 0000:1708      __I4M
 0000:1708      __U4M
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0000:8086*     textInit_
-0812:0c2c      _romFonts
+0000:80a6*     textInit_
+0814:0c2c      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
 0000:1720      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
@@ -196,12 +196,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:17e1      __FiniRtns
 0000:17e1*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-0812:010a      ___uselfn
+0814:010a      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:1846      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:1847      __EnterWVIDEO_
-0812:010c+     ___WD_Present
+0814:010c+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
 0000:186b      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
@@ -217,27 +217,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 0000:1d7c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:1d7f      _nmalloc_
-0812:010e      ___nheapbeg
-0812:0110      ___MiniHeapRover
-0812:0112      ___LargestSizeB4MiniHeapRover
+0814:010e      ___nheapbeg
+0814:0110      ___MiniHeapRover
+0814:0112      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0000:1e59*     _heapgrow_
 0000:1e59*     _fheapgrow_
 0000:1e5a      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-0812:0114      ___iob
-0812:0c44      ___ClosedStreams
-0812:0c48      ___OpenStreams
+0814:0114      ___iob
+0814:0c44      ___ClosedStreams
+0814:0c48      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 0000:1eec      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:203f*     __set_commode_
-0812:027c      __commode
+0814:027c      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:204b*     __get_errno_ptr_
-0812:0c4c      _errno
+0814:0c4c      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-0812:027e      __fmode
+0814:027e      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:2052      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
@@ -271,26 +271,26 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
 0000:2bf1      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:2e3a      _nfree_
-0812:0c4e+     ___MiniHeapFreeRover
+0814:0c4e+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0000:2f35      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 0000:2f95      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-0812:0c50      ____Argv
-0812:0c54      ____Argc
+0814:0c50      ____Argv
+0814:0c54      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0812:0280      __amblksiz
+0814:0280      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0812:02d4      __Start_XI
-0812:02ec      __End_XI
-0812:02ec      __Start_YI
-0812:02f8      __End_YI
+0814:02d4      __Start_XI
+0814:02ec      __End_XI
+0814:02ec      __Start_YI
+0814:02f8      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
 0000:316a      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:34e3*     _heapenable_
-0812:0282      ___heap_enabled
+0814:0282      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:34f4      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
@@ -308,16 +308,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:4ad4      __GetIOMode_
 0000:4b09      __SetIOMode_nogrow_
-0812:0284      ___NFiles
-0812:0286      ___init_mode
-0812:02ae      ___io_mode
+0814:0284      ___NFiles
+0814:0286      ___init_mode
+0814:02ae      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:4b3e      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:4b5a*     __get_doserrno_ptr_
-0812:0c56      __doserrno
+0814:0c56      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-0812:02b2      ___umaskval
+0814:02b2      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:4b61      _dos_creat_
 0000:4b85*     _dos_creatnew_
@@ -349,13 +349,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:501a      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-0812:02c8      ___EFG_printf
-0812:02cc*     ___EFG_scanf
+0814:02c8      ___EFG_printf
+0814:02cc*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-0812:02d0      ___IsDBCS
+0814:02d0      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:5062*     _ismbblead_
-0812:0c5a      ___MBCSIsTable
+0814:0c5a      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:507e      ulltoa_
 0000:51bb*     lltoa_
@@ -375,10 +375,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
 0000:54ac*     _dos_close_
 0000:54ba      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-0812:0072      ___Alphabet
+0814:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:5507      __mbinit_
-0812:02d2+     ___MBCodePage
+0814:02d2+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:55e2*     _msize_
 0000:55fd      _fmsize_
@@ -407,6 +407,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00016940 (92480.)
+Memory size:  00016960 (92512.)
 Entry point address: 0000:0222
-Link time: 00:00.84
+Link time: 00:00.57
index 76896112c1e308b3b35cad663758c8ad941cf289..a00376b1efe37d4d7c2d2a20eae2c329eb700197 100755 (executable)
Binary files a/test2.exe and b/test2.exe differ
index a2a54ce7631f7c0d67e10e7e3179de9b7b91395f..a2911f82267b24144259021d83c1f70b5858609a 100755 (executable)
--- a/test2.map
+++ b/test2.map
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:40
 Executable Image: test2.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          08cf:0000            0000e890
+DGROUP                          08d1:0000            0000e890
 
 
 
@@ -28,24 +28,24 @@ test2_TEXT             CODE           AUTO           0000:0000       0000017e
 _TEXT                  CODE           AUTO           0000:0180       00005dde
 bitmap_TEXT            CODE           AUTO           0000:5f60       00000605
 planar_TEXT            CODE           AUTO           0000:6570       00000275
-modex16_TEXT           CODE           AUTO           0000:67f0       000023ee
-16text_TEXT            CODE           AUTO           0000:8be0       0000010d
-FAR_DATA               FAR_DATA       AUTO           08ce:000d       00000000
-_NULL                  BEGDATA        DGROUP         08cf:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         08d1:0000       00000002
-CONST                  DATA           DGROUP         08d1:0002       00000076
-CONST2                 DATA           DGROUP         08d8:0008       00000000
-_DATA                  DATA           DGROUP         08d9:0000       0000024c
-XIB                    DATA           DGROUP         08fd:000c       00000000
-XI                     DATA           DGROUP         08fd:000c       00000018
-XIE                    DATA           DGROUP         08ff:0004       00000000
-YIB                    DATA           DGROUP         08ff:0004       00000000
-YI                     DATA           DGROUP         08ff:0004       0000000c
-YIE                    DATA           DGROUP         0900:0000       00000000
-STRINGS                DATA           DGROUP         0900:0000       00000000
-DATA                   DATA           DGROUP         0900:0000       00000000
-_BSS                   BSS            DGROUP         0900:0000       00000ab3
-STACK                  STACK          DGROUP         09ac:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:67f0       00002406
+16text_TEXT            CODE           AUTO           0000:8c00       0000010d
+FAR_DATA               FAR_DATA       AUTO           08d0:000d       00000000
+_NULL                  BEGDATA        DGROUP         08d1:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         08d3:0000       00000002
+CONST                  DATA           DGROUP         08d3:0002       00000076
+CONST2                 DATA           DGROUP         08da:0008       00000000
+_DATA                  DATA           DGROUP         08db:0000       0000024c
+XIB                    DATA           DGROUP         08ff:000c       00000000
+XI                     DATA           DGROUP         08ff:000c       00000018
+XIE                    DATA           DGROUP         0901:0004       00000000
+YIB                    DATA           DGROUP         0901:0004       00000000
+YI                     DATA           DGROUP         0901:0004       0000000c
+YIE                    DATA           DGROUP         0902:0000       00000000
+STRINGS                DATA           DGROUP         0902:0000       00000000
+DATA                   DATA           DGROUP         0902:0000       00000000
+_BSS                   BSS            DGROUP         0902:0000       00000ab3
+STACK                  STACK          DGROUP         09ae:0000       0000dac0
 
 
                         +----------------+
@@ -76,10 +76,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0000:01e0      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-08cf:0000*     __nullarea
-08cf:00c4*     __ovlflag
-08cf:00c5*     __intno
-08cf:00c6*     __ovlvec
+08d1:0000*     __nullarea
+08d1:00c4*     __ovlflag
+08d1:00c5*     __intno
+08d1:00c6*     __ovlvec
 0000:0210      _cstart_
 0000:02e3*     _Not_Enough_Memory_
 0000:0415      __exit_
@@ -92,37 +92,37 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:049c*     __exit_with_msg_
 0000:04a1      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-08cf:00ca      __curbrk
-08cf:00d2      __STACKLOW
-08cf:00d4      __STACKTOP
-08cf:00d6      __cbyte
-08cf:00d8      __child
-08cf:00da      __no87
-08cf:00e7      ___FPE_handler
-08cf:00cc      __psp
-08cf:00db      __get_ovl_stack
-08cf:00df      __restore_ovl_stack
-08cf:00e3      __close_ovl_file
-08cf:00eb      __LpCmdLine
-08cf:00ef      __LpPgmName
-08cf:00ce      __osmajor
-08cf:00cf      __osminor
-08cf:00d0      __osmode
-08cf:00d1      __HShift
+08d1:00ca      __curbrk
+08d1:00d2      __STACKLOW
+08d1:00d4      __STACKTOP
+08d1:00d6      __cbyte
+08d1:00d8      __child
+08d1:00da      __no87
+08d1:00e7      ___FPE_handler
+08d1:00cc      __psp
+08d1:00db      __get_ovl_stack
+08d1:00df      __restore_ovl_stack
+08d1:00e3      __close_ovl_file
+08d1:00eb      __LpCmdLine
+08d1:00ef      __LpPgmName
+08d1:00ce      __osmajor
+08d1:00cf      __osminor
+08d1:00d0      __osmode
+08d1:00d1      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
 0000:04c0      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:0837      __doclose_
 0000:0981      __shutdown_stream_
 0000:099b      fclose_
-08cf:0390+     ___RmTmpFileFn
+08d1:0390+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:0a06+     _null_exit_rtn_
 0000:0a06+     __null_int23_exit_
 0000:0a07      exit_
 0000:0a28+     _exit_
-08cf:00f4+     ___int23_exit
-08cf:00f8+     ___FPE_handler_exit
+08d1:00f4+     ___int23_exit
+08d1:00f8+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
 0000:0b62      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
@@ -130,48 +130,48 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
 0000:0fa9      fgetc_
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0000:69e4*     VGAmodeX_
-0000:6a8e+     modex__320x240_256__Enter_
-0000:6aee*     modex__256x192_256__Enter_
-0000:6b4e*     modexLeave_
-0000:6b66+     modexsetBaseXMode_
-0000:6bb8*     modexDefaultPage_
-0000:6c1e*     modexNextPage_
-0000:6cee*     modexNextPageFlexibleSize_
-0000:6dc2*     modexShowPage_
-0000:6ebe*     modexPanPage_
-0000:6f0e*     modexSelectPlane_
-0000:6f32+     modexClearRegion_
-0000:704a*     oldDrawBmp_
-0000:71b0*     CDrawBmp_
-0000:7314*     modexDrawBmp_
-0000:737a+     modexDrawBmpRegion_
-0000:74e4*     modex_sparky4_DrawBmpRegion_
-0000:764e*     modexDrawPlanarBuf_
-0000:766c*     modexDrawSprite_
-0000:76d2+     modexDrawSpriteRegion_
-0000:784a*     modexCopyPageRegion_
-0000:79b4*     modexFadeOn_
-0000:79e4*     modexFadeOff_
-0000:7a12*     modexFlashOn_
-0000:7a40*     modexFlashOff_
-0000:7b10+     modexPalSave_
-0000:7b66      modexNewPal_
-0000:7bb6*     modexLoadPalFile_
-0000:7c98*     modexSavePalFile_
-0000:7d10*     modexPalBlack_
-0000:7d3a*     modexPalWhite_
-0000:7d64+     modexPalUpdate_
-0000:82d4+     modexPalUpdate1_
-0000:834e*     modexPalUpdate0_
-0000:839a+     chkcolor_
-0000:86b2+     modexputPixel_
-0000:8740*     modexgetPixel_
-0000:87c6*     modexhlin_
-0000:8832*     modexprint_
-0000:89cc*     modexprintbig_
-0000:8b48*     cls_
-0000:8bb6+     modexWaitBorder_
-08cf:0104+     _VGA
+0000:6aba+     modex__320x240_256__Enter_
+0000:6b1a+     modex__256x192_256__Enter_
+0000:6b7a*     modexLeave_
+0000:6b92+     modexsetBaseXMode_
+0000:6bd0*     modexDefaultPage_
+0000:6c36*     modexNextPage_
+0000:6d06*     modexNextPageFlexibleSize_
+0000:6dda*     modexShowPage_
+0000:6ed6*     modexPanPage_
+0000:6f26*     modexSelectPlane_
+0000:6f4a+     modexClearRegion_
+0000:7062*     oldDrawBmp_
+0000:71c8*     CDrawBmp_
+0000:732c*     modexDrawBmp_
+0000:7392+     modexDrawBmpRegion_
+0000:74fc*     modex_sparky4_DrawBmpRegion_
+0000:7666*     modexDrawPlanarBuf_
+0000:7684*     modexDrawSprite_
+0000:76ea+     modexDrawSpriteRegion_
+0000:7862*     modexCopyPageRegion_
+0000:79cc*     modexFadeOn_
+0000:79fc*     modexFadeOff_
+0000:7a2a*     modexFlashOn_
+0000:7a58*     modexFlashOff_
+0000:7b28+     modexPalSave_
+0000:7b7e      modexNewPal_
+0000:7bce*     modexLoadPalFile_
+0000:7cb0*     modexSavePalFile_
+0000:7d28*     modexPalBlack_
+0000:7d52*     modexPalWhite_
+0000:7d7c+     modexPalUpdate_
+0000:82ec+     modexPalUpdate1_
+0000:8366*     modexPalUpdate0_
+0000:83b2+     chkcolor_
+0000:86ca+     modexputPixel_
+0000:8758*     modexgetPixel_
+0000:87de*     modexhlin_
+0000:884a*     modexprint_
+0000:89e4*     modexprintbig_
+0000:8b60*     cls_
+0000:8bce+     modexWaitBorder_
+08d1:0104+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:10f0+     __open_flags_
 0000:13b1+     _fsopen_
@@ -180,13 +180,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:15c5      _fmalloc_
 0000:15c5      malloc_
-08cf:0118+     ___fheap
-08cf:011a      ___fheapRover
-08cf:011c      ___LargestSizeB4Rover
+08d1:0118+     ___fheap
+08d1:011a      ___fheapRover
+08d1:011c      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-08cf:011e      ___iob
-08cf:0c94      ___ClosedStreams
-08cf:0c98      ___OpenStreams
+08d1:011e      ___iob
+08d1:0c94      ___ClosedStreams
+08d1:0c98      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
 0000:173a      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
@@ -202,15 +202,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:1a04      __FiniRtns
 0000:1a04*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-08cf:0286      ___uselfn
+08d1:0286      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:1a68      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:1a69      __EnterWVIDEO_
-08cf:0288+     ___WD_Present
+08d1:0288+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:1a8d*     __get_errno_ptr_
-08cf:0c9c      _errno
+08d1:0c9c      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
 0000:1a94      __ioalloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
@@ -249,13 +249,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
 0000:26c8      __I4M
 0000:26c8      __U4M
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0000:8c56*     textInit_
-08cf:0c9e      _romFonts
+0000:8c76*     textInit_
+08d1:0c9e      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:26e0*     __set_commode_
-08cf:028e      __commode
+08d1:028e      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-08cf:0290      __fmode
+08d1:0290      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:26ec      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
@@ -276,9 +276,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
 0000:301c      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:301f      _nmalloc_
-08cf:0292      ___nheapbeg
-08cf:0294      ___MiniHeapRover
-08cf:0296      ___LargestSizeB4MiniHeapRover
+08d1:0292      ___nheapbeg
+08d1:0294      ___MiniHeapRover
+08d1:0296      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0000:30f9*     _heapgrow_
 0000:30f9*     _fheapgrow_
@@ -290,21 +290,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
 0000:33ad      __full_io_exit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:33b7      _nfree_
-08cf:0cb6+     ___MiniHeapFreeRover
+08d1:0cb6+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 0000:34b2      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
 0000:3687      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-08cf:0cb8      ____Argv
-08cf:0cbc      ____Argc
+08d1:0cb8      ____Argv
+08d1:0cbc      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-08cf:0298      __amblksiz
+08d1:0298      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-08cf:02ec      __Start_XI
-08cf:0304      __End_XI
-08cf:0304      __Start_YI
-08cf:0310      __End_YI
+08d1:02ec      __Start_XI
+08d1:0304      __End_XI
+08d1:0304      __Start_YI
+08d1:0310      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 0000:47ea*     __dosretax
 0000:47ef*     __dosret0
@@ -313,9 +313,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:4869      __GetIOMode_
 0000:489e      __SetIOMode_nogrow_
-08cf:02ae      ___NFiles
-08cf:02b0      ___init_mode
-08cf:02d8      ___io_mode
+08d1:02ae      ___NFiles
+08d1:02b0      ___init_mode
+08d1:02d8      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0000:48d3      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
@@ -334,15 +334,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:4ba7      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:4bc3*     __get_doserrno_ptr_
-08cf:0cc0      __doserrno
+08d1:0cc0      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-08cf:02dc      ___umaskval
+08d1:02dc      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:4bca      _dos_creat_
 0000:4bee*     _dos_creatnew_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:4c0f*     _heapenable_
-08cf:02de      ___heap_enabled
+08d1:02de      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:4c20      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
@@ -356,13 +356,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:4f69      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-08cf:02e0      ___EFG_printf
-08cf:02e4*     ___EFG_scanf
+08d1:02e0      ___EFG_printf
+08d1:02e4*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-08cf:02e8      ___IsDBCS
+08d1:02e8      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:4fb1*     _ismbblead_
-08cf:0cc2      ___MBCSIsTable
+08d1:0cc2      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:4fcd      ulltoa_
 0000:510a*     lltoa_
@@ -387,10 +387,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
 0000:5792*     sbrk_
 0000:57a2      __brk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-08cf:0072      ___Alphabet
+08d1:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:5848      __mbinit_
-08cf:02ea+     ___MBCodePage
+08d1:02ea+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:5923*     _msize_
 0000:593e      _fmsize_
@@ -419,6 +419,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00017580 (95616.)
+Memory size:  000175a0 (95648.)
 Entry point address: 0000:0210
-Link time: 00:00.92
+Link time: 00:00.25
index ddb4a73d2df95d98edf9b432ea72227a70c272ae..367b3b51dfe6c662db391a5e8c588a7362e444fb 100755 (executable)
@@ -1,7 +1,7 @@
 Open Watcom Linker Version 2.0 beta Sep 16 2015 10:14:10 (64-bit)
 Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
-Created on:       15/10/13 15:26:27
+Created on:       15/10/13 15:51:41
 Executable Image: vgmtest.exe
 creating a DOS executable
 
@@ -606,4 +606,4 @@ vgmsnd.lib
 Stack size:  dac0 (56000.)
 Memory size:  0001f460 (128096.)
 Entry point address: 0000:7d06
-Link time: 00:00.26
+Link time: 00:00.09