]> 4ch.mooo.com Git - 16.git/commitdiff
ok getting there!
authorsparky4 <sparky4@cock.li>
Thu, 15 Oct 2015 18:14:54 +0000 (13:14 -0500)
committersparky4 <sparky4@cock.li>
Thu, 15 Oct 2015 18:14:54 +0000 (13:14 -0500)
38 files changed:
16.exe
16.map
bakapi.exe
bakapi.map
exmmtest.exe
exmmtest.map
fmemtest.exe
fmemtest.map
fontgfx.exe
fontgfx.map
fonttest.exe
fonttest.map
inputest.exe
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/16_head.h
src/lib/modex16.c
src/lib/modex16.h
src/lib/modex16/192x144.h
src/lib/scroll16.c
src/scroll.c
test.exe
test.map
test2.exe
test2.map
vgmtest.exe
vgmtest.map

diff --git a/16.exe b/16.exe
index b4364f91c6dd2884dbf0eac1552dd60c742df0f6..89e526cf3003927350e6a7fb0f19d954ef73e5b9 100755 (executable)
Binary files a/16.exe and b/16.exe differ
diff --git a/16.map b/16.map
index 44a1c2c41ef5787414818ba9efe2629c98b6da02..53f038f10b29eb55c9d7868d4789467c98063291 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: 16.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          136f:0000            0000f230
+DGROUP                          1381: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       0000242c
-bitmap_TEXT            CODE           AUTO           08e3:9ff0       00000605
-16text_TEXT            CODE           AUTO           08e3:a600       0000010d
-16_in13_DATA           FAR_DATA       AUTO           1354:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           136e:0004       00000000
-_NULL                  BEGDATA        DGROUP         136f:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         1371:0000       00000002
-CONST                  DATA           DGROUP         1371:0002       00000076
-CONST2                 DATA           DGROUP         1378:0008       00000102
-_DATA                  DATA           DGROUP         1389:0000       000005b1
-XIB                    DATA           DGROUP         13e4:0002       00000000
-XI                     DATA           DGROUP         13e4:0002       00000036
-XIE                    DATA           DGROUP         13e7:0008       00000000
-YIB                    DATA           DGROUP         13e7:0008       00000000
-YI                     DATA           DGROUP         13e7:0008       00000018
-YIE                    DATA           DGROUP         13e9:0000       00000000
-STRINGS                DATA           DGROUP         13e9:0000       00000000
-DATA                   DATA           DGROUP         13e9:0000       00000000
-_emu_init_start        EMU            DGROUP         13e9:0000       00000000
-_emu_init_end          EMU            DGROUP         13e9:0000       00000000
-_BSS                   BSS            DGROUP         13e9:0000       00000fc2
-STACK                  STACK          DGROUP         14e6:0000       0000dac0
+modex16_TEXT           CODE           AUTO           08e3:7bc0       00002550
+bitmap_TEXT            CODE           AUTO           08e3:a110       00000605
+16text_TEXT            CODE           AUTO           08e3:a720       0000010d
+16_in13_DATA           FAR_DATA       AUTO           1366:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           1380:0004       00000000
+_NULL                  BEGDATA        DGROUP         1381:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         1383:0000       00000002
+CONST                  DATA           DGROUP         1383:0002       00000076
+CONST2                 DATA           DGROUP         138a:0008       00000102
+_DATA                  DATA           DGROUP         139b:0000       000005b1
+XIB                    DATA           DGROUP         13f6:0002       00000000
+XI                     DATA           DGROUP         13f6:0002       00000036
+XIE                    DATA           DGROUP         13f9:0008       00000000
+YIB                    DATA           DGROUP         13f9:0008       00000000
+YI                     DATA           DGROUP         13f9:0008       00000018
+YIE                    DATA           DGROUP         13fb:0000       00000000
+STRINGS                DATA           DGROUP         13fb:0000       00000000
+DATA                   DATA           DGROUP         13fb:0000       00000000
+_emu_init_start        EMU            DGROUP         13fb:0000       00000000
+_emu_init_end          EMU            DGROUP         13fb:0000       00000000
+_BSS                   BSS            DGROUP         13fb:0000       00000fc2
+STACK                  STACK          DGROUP         14f8:0000       0000dac0
 
 
                         +----------------+
@@ -71,12 +71,12 @@ Address        Symbol
 =======        ======
 
 Module: 16.o(/dos/z/16/src/16.c)
-136f:07a0+     _player
-136f:08a0+     _gvar
-136f:08c8+     _cpus
-136f:08cc*     _gpal
-136f:08d0+     _dpal
-136f:08d4+     _engi_stat
+1381:07a0+     _player
+1381:08a0+     _cpus
+1381:08a4*     _gpal
+1381:08a8+     _dpal
+1381:08ac+     _gvar
+1381:08d8+     _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)
-136f:08fe+     _inpu
+1381: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_
-136f:0a60+     _beforesort
-136f:0a64+     _aftersort
-136f:0a68+     _XMSaddr
+1381:0a60+     _beforesort
+1381:0a64+     _aftersort
+1381: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_
-136f:0a70*     _finishcachebox
-136f:0a74*     _drawcachebox
-136f:0a78*     _updatecachebox
+1381:0a70*     _finishcachebox
+1381:0a74*     _updatecachebox
+1381:0a78*     _drawcachebox
 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_
-136f:04a4+     __kitten_catalog
+1381:04a4+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:780c+     LargestFreeBlock_
 0000:789a+     _coreleft_
@@ -195,54 +195,54 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 08e3:7db4      VGAmodeX_
 08e3:7e46+     vgaGetMode_
 08e3:7e7c+     modexEnter_
-08e3:7f1e*     modexLeave_
-08e3:7f36+     modexsetBaseXMode_
-08e3:7f74*     modexDefaultPage_
-08e3:7fd6*     modexNextPage_
-08e3:80a2*     modexNextPageFlexibleSize_
-08e3:8170*     modexShowPage_
-08e3:826c*     modexPanPage_
-08e3:82bc*     modexSelectPlane_
-08e3:82e0+     modexClearRegion_
-08e3:83f8*     oldDrawBmp_
-08e3:855e*     CDrawBmp_
-08e3:86c2*     modexDrawBmp_
-08e3:8728+     modexDrawBmpRegion_
-08e3:8892*     modex_sparky4_DrawBmpRegion_
-08e3:89fc*     modexDrawPlanarBuf_
-08e3:8a1a*     modexDrawSprite_
-08e3:8a80+     modexDrawSpriteRegion_
-08e3:8bf8*     modexCopyPageRegion_
-08e3:8d62      modexFadeOn_
-08e3:8d92      modexFadeOff_
-08e3:8dc0*     modexFlashOn_
-08e3:8dee*     modexFlashOff_
-08e3:8ebe      modexPalSave_
-08e3:8f14      modexNewPal_
-08e3:8f64*     modexLoadPalFile_
-08e3:9046*     modexSavePalFile_
-08e3:90be      modexPalBlack_
-08e3:90e8*     modexPalWhite_
-08e3:9112+     modexPalUpdate_
-08e3:9682+     modexPalUpdate1_
-08e3:96fc*     modexPalUpdate0_
-08e3:9748+     chkcolor_
-08e3:9a60+     modexputPixel_
-08e3:9aee*     modexgetPixel_
-08e3:9b74*     modexhlin_
-08e3:9be0*     modexprint_
-08e3:9d7a*     modexprintbig_
-08e3:9ef6*     pdump_
-08e3:9f56*     cls_
-08e3:9fc4+     modexWaitBorder_
-136f:04d4+     _VGA
+08e3:802e*     modexLeave_
+08e3:8046+     modexsetBaseXMode_
+08e3:8098*     modexDefaultPage_
+08e3:80fa*     modexNextPage_
+08e3:81c6*     modexNextPageFlexibleSize_
+08e3:8294*     modexShowPage_
+08e3:8390*     modexPanPage_
+08e3:83e0*     modexSelectPlane_
+08e3:8404+     modexClearRegion_
+08e3:851c*     oldDrawBmp_
+08e3:8682*     CDrawBmp_
+08e3:87e6*     modexDrawBmp_
+08e3:884c+     modexDrawBmpRegion_
+08e3:89b6*     modex_sparky4_DrawBmpRegion_
+08e3:8b20*     modexDrawPlanarBuf_
+08e3:8b3e*     modexDrawSprite_
+08e3:8ba4+     modexDrawSpriteRegion_
+08e3:8d1c*     modexCopyPageRegion_
+08e3:8e86      modexFadeOn_
+08e3:8eb6      modexFadeOff_
+08e3:8ee4*     modexFlashOn_
+08e3:8f12*     modexFlashOff_
+08e3:8fe2      modexPalSave_
+08e3:9038      modexNewPal_
+08e3:9088*     modexLoadPalFile_
+08e3:916a*     modexSavePalFile_
+08e3:91e2      modexPalBlack_
+08e3:920c*     modexPalWhite_
+08e3:9236+     modexPalUpdate_
+08e3:97a6+     modexPalUpdate1_
+08e3:9820*     modexPalUpdate0_
+08e3:986c+     chkcolor_
+08e3:9b84+     modexputPixel_
+08e3:9c12*     modexgetPixel_
+08e3:9c98*     modexhlin_
+08e3:9d04*     modexprint_
+08e3:9e9e*     modexprintbig_
+08e3:a01a*     pdump_
+08e3:a07a*     cls_
+08e3:a0e8+     modexWaitBorder_
+1381:04d4+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 08e3:0042      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-136f:0000*     __nullarea
-136f:04e8*     __ovlflag
-136f:04e9*     __intno
-136f:04ea*     __ovlvec
+1381:0000*     __nullarea
+1381:04e8*     __ovlflag
+1381:04e9*     __intno
+1381:04ea*     __ovlvec
 08e3:0072      _cstart_
 08e3:0145*     _Not_Enough_Memory_
 08e3:0277      __exit_
@@ -252,10 +252,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)
-136f:1384      __argv
-136f:1388      ___argv
-136f:138c      __argc
-136f:138e      ___argc
+1381:1384      __argv
+1381:1388      ___argv
+1381:138c      __argc
+1381:138e      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 08e3:0305      __PIA
 08e3:02fe*     __PIS
@@ -264,12 +264,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_
-136f:04ee      ___fheap
-136f:04f0      ___fheapRover
-136f:04f2      ___LargestSizeB4Rover
+1381:04ee      ___fheap
+1381:04f0      ___fheapRover
+1381:04f2      ___LargestSizeB4Rover
 Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
-08e3:a32e      bitmapLoadPcx_
-08e3:a48a*     bitmapLoadPcxTiles_
+08e3:a44e      bitmapLoadPcx_
+08e3:a5aa*     bitmapLoadPcxTiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c)
 08e3:04ce      strstr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
@@ -283,11 +283,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_
-136f:1410      _errno
+1381:1410      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-136f:0504      ___iob
-136f:1412      ___ClosedStreams
-136f:1416      ___OpenStreams
+1381:0504      ___iob
+1381:1412      ___ClosedStreams
+1381: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)
@@ -318,22 +318,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_
-136f:066c      ___nheapbeg
-136f:066e      ___MiniHeapRover
-136f:0670      ___LargestSizeB4MiniHeapRover
+1381:066c      ___nheapbeg
+1381:066e      ___MiniHeapRover
+1381: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_
-136f:141a+     ___MiniHeapFreeRover
+1381: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_
-136f:0672+     ___int23_exit
-136f:0676      ___FPE_handler_exit
+1381:0672+     ___int23_exit
+1381:0676      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
 08e3:162b      ultoa_
 08e3:16e9*     ltoa_
@@ -343,7 +343,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 08e3:1a9b      __doclose_
 08e3:1be5      __shutdown_stream_
 08e3:1bff      fclose_
-136f:141c+     ___RmTmpFileFn
+1381:141c+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
 08e3:1c6a+     __ibm_bios_get_ticks_
 08e3:1ce1      clock_
@@ -354,7 +354,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)
-136f:0098      __IsTable
+1381: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)
@@ -389,31 +389,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)
-136f:0682      __8087
-136f:0683      __real87
-136f:0684      __dos87emucall
-136f:0686      __dos87real
+1381:0682      __8087
+1381:0683      __real87
+1381:0684      __dos87emucall
+1381: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)
-136f:0688      __curbrk
-136f:0690      __STACKLOW
-136f:0692      __STACKTOP
-136f:0694      __cbyte
-136f:0696      __child
-136f:0698      __no87
-136f:06a5      ___FPE_handler
-136f:068a      __psp
-136f:0699      __get_ovl_stack
-136f:069d      __restore_ovl_stack
-136f:06a1      __close_ovl_file
-136f:06a9      __LpCmdLine
-136f:06ad      __LpPgmName
-136f:068c      __osmajor
-136f:068d      __osminor
-136f:068e      __osmode
-136f:068f      __HShift
+1381:0688      __curbrk
+1381:0690      __STACKLOW
+1381:0692      __STACKTOP
+1381:0694      __cbyte
+1381:0696      __child
+1381:0698      __no87
+1381:06a5      ___FPE_handler
+1381:068a      __psp
+1381:0699      __get_ovl_stack
+1381:069d      __restore_ovl_stack
+1381:06a1      __close_ovl_file
+1381:06a9      __LpCmdLine
+1381:06ad      __LpPgmName
+1381:068c      __osmajor
+1381:068d      __osminor
+1381:068e      __osmode
+1381:068f      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
 08e3:292a      __fill_buffer_
 08e3:2b79      fgetc_
@@ -423,8 +423,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:a676*     textInit_
-136f:1424      _romFonts
+08e3:a796*     textInit_
+1381: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)
@@ -435,7 +435,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)
-136f:06b6      ___uselfn
+1381:06b6      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 08e3:3330      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -453,9 +453,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_
-136f:06b8      __commode
+1381:06b8      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-136f:06ba      __fmode
+1381: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)
@@ -491,7 +491,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)
-136f:0050      ___Alphabet
+1381: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)
@@ -502,9 +502,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_
-136f:06d0      ___NFiles
-136f:06d2      ___init_mode
-136f:06fa      ___io_mode
+1381:06d0      ___NFiles
+1381:06d2      ___init_mode
+1381: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)
@@ -524,9 +524,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_
-136f:1440      __doserrno
+1381:1440      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-136f:06fe      ___umaskval
+1381:06fe      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 08e3:4f15      _dos_creat_
 08e3:4f39*     _dos_creatnew_
@@ -537,9 +537,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)
-136f:1444      ___env_mask
-136f:1448      _environ
-136f:144c*     __wenviron
+1381:1444      ___env_mask
+1381:1448      _environ
+1381: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)
@@ -560,7 +560,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_
-136f:071e+     ___WD_Present
+1381:071e+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
 08e3:576e      __flushall_
 08e3:5802      flushall_
@@ -573,20 +573,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)
-136f:1450      ____Argv
-136f:1454      ____Argc
+1381:1450      ____Argv
+1381:1454      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-136f:0720      __amblksiz
+1381:0720      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-136f:0752      __Start_XI
-136f:0788      __End_XI
-136f:0788      __Start_YI
-136f:07a0      __End_YI
+1381:0752      __Start_XI
+1381:0788      __End_XI
+1381:0788      __Start_YI
+1381:07a0      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-136f:1456      ___historical_splitparms
+1381:1456      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 08e3:6bba*     _heapenable_
-136f:0722      ___heap_enabled
+1381: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)
@@ -602,22 +602,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)
-136f:0724      ___IsDBCS
+1381:0724      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 08e3:7248*     _ismbblead_
-136f:145c      ___MBCSIsTable
+1381:145c      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 08e3:72a2      __mbinit_
-136f:0726      ___MBCodePage
+1381: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)
-136f:0728      __8087cw
+1381:0728      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-136f:072a      ___Save8087
-136f:072e      ___Rest8087
+1381:072a      ___Save8087
+1381: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)
@@ -631,8 +631,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)
-136f:0732      ___EFG_printf
-136f:0736*     ___EFG_scanf
+1381:0732      ___EFG_printf
+1381:0736*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 08e3:75ad      ulltoa_
 08e3:76ea*     lltoa_
@@ -646,7 +646,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)
-136f:0750      ___FPE_int
+1381:0750      ___FPE_int
 
 
                         +--------------------+
@@ -662,6 +662,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00022920 (141600.)
+Memory size:  00022a40 (141888.)
 Entry point address: 08e3:0072
-Link time: 00:00.03
+Link time: 00:00.02
index 938d23c67242f4626c095d09ab30f530121b5ad7..a6e722e20535352c8510f6563626bd718ff5be38 100755 (executable)
Binary files a/bakapi.exe and b/bakapi.exe differ
index 8915c5d7e611fd254e6fba04e7fd5be2154fda76..33c61a4650a6f078bed171cc1121b15cb834210f 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: bakapi.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          13f3:0000            0000f070
+DGROUP                          1405: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       0000242c
-16text_TEXT            CODE           AUTO           07c6:b4b0       0000010d
-bakapee_TEXT           CODE           AUTO           07c6:b5c0       00000b60
-16_in13_DATA           FAR_DATA       AUTO           13d8:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           13f2:0004       00000000
-_NULL                  BEGDATA        DGROUP         13f3:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         13f5:0000       00000002
-CONST                  DATA           DGROUP         13f5:0002       00000076
-CONST2                 DATA           DGROUP         13fc:0008       0000010a
-_DATA                  DATA           DGROUP         140e:0000       00000599
-XIB                    DATA           DGROUP         1467:000a       00000000
-XI                     DATA           DGROUP         1467:000a       00000036
-XIE                    DATA           DGROUP         146b:0000       00000000
-YIB                    DATA           DGROUP         146b:0000       00000000
-YI                     DATA           DGROUP         146b:0000       00000018
-YIE                    DATA           DGROUP         146c:0008       00000000
-STRINGS                DATA           DGROUP         146c:0008       00000000
-DATA                   DATA           DGROUP         146c:0008       00000000
-_emu_init_start        EMU            DGROUP         146c:0008       00000000
-_emu_init_end          EMU            DGROUP         146c:0008       00000000
-_BSS                   BSS            DGROUP         146d:0000       00000e02
-STACK                  STACK          DGROUP         154e:0000       0000dac0
+modex16_TEXT           CODE           AUTO           07c6:9080       00002550
+16text_TEXT            CODE           AUTO           07c6:b5d0       0000010d
+bakapee_TEXT           CODE           AUTO           07c6:b6e0       00000b60
+16_in13_DATA           FAR_DATA       AUTO           13ea:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           1404:0004       00000000
+_NULL                  BEGDATA        DGROUP         1405:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         1407:0000       00000002
+CONST                  DATA           DGROUP         1407:0002       00000076
+CONST2                 DATA           DGROUP         140e:0008       0000010a
+_DATA                  DATA           DGROUP         1420:0000       00000599
+XIB                    DATA           DGROUP         1479:000a       00000000
+XI                     DATA           DGROUP         1479:000a       00000036
+XIE                    DATA           DGROUP         147d:0000       00000000
+YIB                    DATA           DGROUP         147d:0000       00000000
+YI                     DATA           DGROUP         147d:0000       00000018
+YIE                    DATA           DGROUP         147e:0008       00000000
+STRINGS                DATA           DGROUP         147e:0008       00000000
+DATA                   DATA           DGROUP         147e:0008       00000000
+_emu_init_start        EMU            DGROUP         147e:0008       00000000
+_emu_init_end          EMU            DGROUP         147e:0008       00000000
+_BSS                   BSS            DGROUP         147f:0000       00000e02
+STACK                  STACK          DGROUP         1560: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)
-13f3:07be+     _inpu
+1405: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_
-13f3:0920+     _beforesort
-13f3:0924+     _aftersort
-13f3:0928+     _XMSaddr
+1405:0920+     _beforesort
+1405:0924+     _aftersort
+1405: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_
-13f3:0930*     _finishcachebox
-13f3:0934*     _drawcachebox
-13f3:0938*     _updatecachebox
+1405:0930*     _finishcachebox
+1405:0934*     _updatecachebox
+1405:0938*     _drawcachebox
 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_
-13f3:04a4+     __kitten_catalog
+1405:04a4+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:663c+     LargestFreeBlock_
 0000:66ca+     _coreleft_
@@ -186,62 +186,62 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 07c6:9274      VGAmodeX_
 07c6:9306+     vgaGetMode_
 07c6:933c+     modexEnter_
-07c6:93de*     modexLeave_
-07c6:93f6+     modexsetBaseXMode_
-07c6:9434      modexDefaultPage_
-07c6:9496*     modexNextPage_
-07c6:9562*     modexNextPageFlexibleSize_
-07c6:9630      modexShowPage_
-07c6:972c*     modexPanPage_
-07c6:977c*     modexSelectPlane_
-07c6:97a0      modexClearRegion_
-07c6:98b8*     oldDrawBmp_
-07c6:9a1e*     CDrawBmp_
-07c6:9b82*     modexDrawBmp_
-07c6:9be8+     modexDrawBmpRegion_
-07c6:9d52*     modex_sparky4_DrawBmpRegion_
-07c6:9ebc*     modexDrawPlanarBuf_
-07c6:9eda*     modexDrawSprite_
-07c6:9f40+     modexDrawSpriteRegion_
-07c6:a0b8*     modexCopyPageRegion_
-07c6:a222*     modexFadeOn_
-07c6:a252*     modexFadeOff_
-07c6:a280*     modexFlashOn_
-07c6:a2ae*     modexFlashOff_
-07c6:a37e+     modexPalSave_
-07c6:a3d4+     modexNewPal_
-07c6:a424*     modexLoadPalFile_
-07c6:a506*     modexSavePalFile_
-07c6:a57e*     modexPalBlack_
-07c6:a5a8*     modexPalWhite_
-07c6:a5d2+     modexPalUpdate_
-07c6:ab42+     modexPalUpdate1_
-07c6:abbc*     modexPalUpdate0_
-07c6:ac08+     chkcolor_
-07c6:af20      modexputPixel_
-07c6:afae*     modexgetPixel_
-07c6:b034*     modexhlin_
-07c6:b0a0      modexprint_
-07c6:b23a*     modexprintbig_
-07c6:b3b6*     pdump_
-07c6:b416      cls_
-07c6:b484+     modexWaitBorder_
-13f3:04d4      _VGA
+07c6:94ee*     modexLeave_
+07c6:9506+     modexsetBaseXMode_
+07c6:9558      modexDefaultPage_
+07c6:95ba*     modexNextPage_
+07c6:9686*     modexNextPageFlexibleSize_
+07c6:9754      modexShowPage_
+07c6:9850*     modexPanPage_
+07c6:98a0*     modexSelectPlane_
+07c6:98c4      modexClearRegion_
+07c6:99dc*     oldDrawBmp_
+07c6:9b42*     CDrawBmp_
+07c6:9ca6*     modexDrawBmp_
+07c6:9d0c+     modexDrawBmpRegion_
+07c6:9e76*     modex_sparky4_DrawBmpRegion_
+07c6:9fe0*     modexDrawPlanarBuf_
+07c6:9ffe*     modexDrawSprite_
+07c6:a064+     modexDrawSpriteRegion_
+07c6:a1dc*     modexCopyPageRegion_
+07c6:a346*     modexFadeOn_
+07c6:a376*     modexFadeOff_
+07c6:a3a4*     modexFlashOn_
+07c6:a3d2*     modexFlashOff_
+07c6:a4a2+     modexPalSave_
+07c6:a4f8+     modexNewPal_
+07c6:a548*     modexLoadPalFile_
+07c6:a62a*     modexSavePalFile_
+07c6:a6a2*     modexPalBlack_
+07c6:a6cc*     modexPalWhite_
+07c6:a6f6+     modexPalUpdate_
+07c6:ac66+     modexPalUpdate1_
+07c6:ace0*     modexPalUpdate0_
+07c6:ad2c+     chkcolor_
+07c6:b044      modexputPixel_
+07c6:b0d2*     modexgetPixel_
+07c6:b158*     modexhlin_
+07c6:b1c4      modexprint_
+07c6:b35e*     modexprintbig_
+07c6:b4da*     pdump_
+07c6:b53a      cls_
+07c6:b5a8+     modexWaitBorder_
+1405:04d4      _VGA
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-07c6:b526      textInit_
-13f3:1244      _romFonts
+07c6:b646      textInit_
+1405: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:b604+     colortest_
-07c6:b658+     colorz_
-07c6:b6be+     ssd_
-07c6:b7dc+     dingpp_
-07c6:b84e+     dingo_
-07c6:b8e4+     dingas_
-07c6:b992+     dingu_
-07c6:b9f4+     dingq_
-07c6:ba94      ding_
+07c6:b724+     colortest_
+07c6:b778+     colorz_
+07c6:b7de+     ssd_
+07c6:b8fc+     dingpp_
+07c6:b96e+     dingo_
+07c6:ba04+     dingas_
+07c6:bab2+     dingu_
+07c6:bb14+     dingq_
+07c6:bbb4      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)
-13f3:0000*     __nullarea
-13f3:04f4*     __ovlflag
-13f3:04f5*     __intno
-13f3:04f6*     __ovlvec
+1405:0000*     __nullarea
+1405:04f4*     __ovlflag
+1405:04f5*     __intno
+1405: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)
-13f3:125c      __argv
-13f3:1260      ___argv
-13f3:1264      __argc
-13f3:1266      ___argc
+1405:125c      __argv
+1405:1260      ___argv
+1405:1264      __argc
+1405: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_
-13f3:04fa      ___nheapbeg
-13f3:04fc      ___MiniHeapRover
-13f3:04fe      ___LargestSizeB4MiniHeapRover
+1405:04fa      ___nheapbeg
+1405:04fc      ___MiniHeapRover
+1405:04fe      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 07c6:0903      _fmalloc_
 07c6:0903      malloc_
-13f3:0500      ___fheap
-13f3:0502      ___fheapRover
-13f3:0504      ___LargestSizeB4Rover
+1405:0500      ___fheap
+1405:0502      ___fheapRover
+1405: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_
-13f3:1268+     ___MiniHeapFreeRover
+1405: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_
-13f3:0506+     ___int23_exit
-13f3:050a      ___FPE_handler_exit
+1405:0506+     ___int23_exit
+1405: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_
-13f3:126a+     ___RmTmpFileFn
+1405: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)
-13f3:0098      __IsTable
+1405: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)
-13f3:0516      __8087
-13f3:0517      __real87
-13f3:0518      __dos87emucall
-13f3:051a      __dos87real
+1405:0516      __8087
+1405:0517      __real87
+1405:0518      __dos87emucall
+1405: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)
-13f3:051c      __curbrk
-13f3:0524      __STACKLOW
-13f3:0526      __STACKTOP
-13f3:0528      __cbyte
-13f3:052a      __child
-13f3:052c      __no87
-13f3:0539      ___FPE_handler
-13f3:051e      __psp
-13f3:052d      __get_ovl_stack
-13f3:0531      __restore_ovl_stack
-13f3:0535      __close_ovl_file
-13f3:053d      __LpCmdLine
-13f3:0541      __LpPgmName
-13f3:0520      __osmajor
-13f3:0521      __osminor
-13f3:0522      __osmode
-13f3:0523      __HShift
+1405:051c      __curbrk
+1405:0524      __STACKLOW
+1405:0526      __STACKTOP
+1405:0528      __cbyte
+1405:052a      __child
+1405:052c      __no87
+1405:0539      ___FPE_handler
+1405:051e      __psp
+1405:052d      __get_ovl_stack
+1405:0531      __restore_ovl_stack
+1405:0535      __close_ovl_file
+1405:053d      __LpCmdLine
+1405:0541      __LpPgmName
+1405:0520      __osmajor
+1405:0521      __osminor
+1405:0522      __osmode
+1405: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)
-13f3:0546      ___iob
-13f3:1272      ___ClosedStreams
-13f3:1276      ___OpenStreams
+1405:0546      ___iob
+1405:1272      ___ClosedStreams
+1405: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)
-13f3:06ae      ___uselfn
+1405: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)
-13f3:0022      ___Alphabet
+1405: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_
-13f3:127e      _errno
+1405:127e      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 07c6:4fdf      __GetIOMode_
 07c6:5014      __SetIOMode_nogrow_
-13f3:06c4      ___NFiles
-13f3:06c6      ___init_mode
-13f3:06ee      ___io_mode
+1405:06c4      ___NFiles
+1405:06c6      ___init_mode
+1405:06ee      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 07c6:5049*     __set_commode_
-13f3:06f2      __commode
+1405:06f2      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-13f3:06f4      __fmode
+1405: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_
-13f3:1280      __doserrno
+1405:1280      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-13f3:06f6      ___umaskval
+1405: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)
-13f3:1284      ___env_mask
-13f3:1288      _environ
-13f3:128c*     __wenviron
+1405:1284      ___env_mask
+1405:1288      _environ
+1405: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_
-13f3:0716+     ___WD_Present
+1405: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)
-13f3:0718      ___IsDBCS
+1405:0718      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 07c6:7716*     _ismbblead_
-13f3:1290      ___MBCSIsTable
+1405: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)
-13f3:019a      __Bits
+1405: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)
-13f3:071a      ___EFG_printf
-13f3:071e      ___EFG_scanf
+1405:071a      ___EFG_printf
+1405: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)
-13f3:1392      ____Argv
-13f3:1396      ____Argc
+1405:1392      ____Argv
+1405:1396      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-13f3:0722      __amblksiz
+1405:0722      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-13f3:074a      __Start_XI
-13f3:0780      __End_XI
-13f3:0780      __Start_YI
-13f3:0798      __End_YI
+1405:074a      __Start_XI
+1405:0780      __End_XI
+1405:0780      __Start_YI
+1405:0798      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-13f3:1398      ___historical_splitparms
+1405: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_
-13f3:0724      ___heap_enabled
+1405: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_
-13f3:0726      ___MBCodePage
+1405: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)
-13f3:0728      __8087cw
+1405:0728      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-13f3:072a      ___Save8087
-13f3:072e      ___Rest8087
+1405:072a      ___Save8087
+1405: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)
-13f3:0748      ___FPE_int
+1405:0748      ___FPE_int
 
 
                         +--------------------+
@@ -666,6 +666,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00022fa0 (143264.)
+Memory size:  000230c0 (143552.)
 Entry point address: 07c6:022c
-Link time: 00:00.01
+Link time: 00:00.39
index 1bee195c01605d32f852dc0264b645b285381f7e..4753ce948276114836cae4af58507b63b517055d 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 7576609eadb0ed74fb697dd061bb0afd8dec40bd..787d90cf25b7a0a32e65cc428847c1f27dadf764 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: exmmtest.exe
 creating a DOS executable
 
@@ -138,8 +138,8 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:5d00      CA_Startup_
 0000:5d50      CA_Shutdown_
 0edf:0910*     _finishcachebox
-0edf:0914*     _drawcachebox
-0edf:0918*     _updatecachebox
+0edf:0914*     _updatecachebox
+0edf:0918*     _drawcachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:5dbc      KITTENGETS
 0000:5e1c*     kittenopen_
@@ -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.05
+Link time: 00:00.21
index b6f1a96e030857372a973860c5a19fb2b4e6e7c4..17e49685c941abd40d576158ac49f3a34c0a0829 100755 (executable)
Binary files a/fmemtest.exe and b/fmemtest.exe differ
index dedda0062fb1970b9f9c0faee3335a241c586cde..76ebf4ba7d74a0fb8c739353a36d5ccd078827b5 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: fmemtest.exe
 creating a DOS executable
 
@@ -137,8 +137,8 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:5c00*     CA_Startup_
 0000:5c50*     CA_Shutdown_
 0ece:08e0*     _finishcachebox
-0ece:08e4*     _drawcachebox
-0ece:08e8*     _updatecachebox
+0ece:08e4*     _updatecachebox
+0ece:08e8*     _drawcachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:5cbc      KITTENGETS
 0000:5d1c*     kittenopen_
@@ -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.14
+Link time: 00:00.12
index fd54eb0dd5870f2281d58d4785b5e12e0f24d446..3c6680a4948e0773c3b17adb9a32623b9dc954bd 100755 (executable)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index bd42cd0cdca9d9b3001cb255e6eb7d2e9bab0239..00967d83745dd8b115324602886beed31a2d9511 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: fontgfx.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          118c:0000            0000f4c0
+DGROUP                          119e:0000            0000f4d0
 
 
 
@@ -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       0000242c
-16_in13_DATA           FAR_DATA       AUTO           1171:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           118b:0004       00000000
-_NULL                  BEGDATA        DGROUP         118c:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         118e:0000       00000002
-CONST                  DATA           DGROUP         118e:0002       00000076
-CONST2                 DATA           DGROUP         1195:0008       00000102
-_DATA                  DATA           DGROUP         11a6:0000       000009e1
-XIB                    DATA           DGROUP         1244:0002       00000000
-XI                     DATA           DGROUP         1244:0002       00000036
-XIE                    DATA           DGROUP         1247:0008       00000000
-YIB                    DATA           DGROUP         1247:0008       00000000
-YI                     DATA           DGROUP         1247:0008       00000018
-YIE                    DATA           DGROUP         1249:0000       00000000
-STRINGS                DATA           DGROUP         1249:0000       00000000
-DATA                   DATA           DGROUP         1249:0000       00000000
-_emu_init_start        EMU            DGROUP         1249:0000       00000000
-_emu_init_end          EMU            DGROUP         1249:0000       00000000
-_BSS                   BSS            DGROUP         1249:0000       00000e22
-STACK                  STACK          DGROUP         132c:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0f2e:0000       00002550
+16_in13_DATA           FAR_DATA       AUTO           1183:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           119d:0004       00000000
+_NULL                  BEGDATA        DGROUP         119e:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         11a0:0000       00000002
+CONST                  DATA           DGROUP         11a0:0002       00000076
+CONST2                 DATA           DGROUP         11a7:0008       00000102
+_DATA                  DATA           DGROUP         11b8:0000       000009e1
+XIB                    DATA           DGROUP         1256:0002       00000000
+XI                     DATA           DGROUP         1256:0002       00000036
+XIE                    DATA           DGROUP         1259:0008       00000000
+YIB                    DATA           DGROUP         1259:0008       00000000
+YI                     DATA           DGROUP         1259:0008       00000018
+YIE                    DATA           DGROUP         125b:0000       00000000
+STRINGS                DATA           DGROUP         125b:0000       00000000
+DATA                   DATA           DGROUP         125b:0000       00000000
+_emu_init_start        EMU            DGROUP         125b:0000       00000000
+_emu_init_end          EMU            DGROUP         125b:0000       00000000
+_BSS                   BSS            DGROUP         125b:0000       00000e32
+STACK                  STACK          DGROUP         133f:0000       0000dac0
 
 
                         +----------------+
@@ -69,9 +69,9 @@ Address        Symbol
 
 Module: fontgfx.o(/dos/z/16/src/fontgfx.c)
 0000:0048      main_
-118c:0bd0+     _gvar
+119e:0bd0+     _gvar
 Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
-118c:0c0e+     _inpu
+119e:0c1e+     _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_
-118c:0d70+     _beforesort
-118c:0d74+     _aftersort
-118c:0d78+     _XMSaddr
+119e:0d80+     _beforesort
+119e:0d84+     _aftersort
+119e:0d88+     _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_
-118c:0d80*     _finishcachebox
-118c:0d84*     _drawcachebox
-118c:0d88*     _updatecachebox
+119e:0d90*     _finishcachebox
+119e:0d94*     _updatecachebox
+119e:0d98*     _drawcachebox
 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_
-118c:08e4+     __kitten_catalog
+119e:08e4+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:655c+     LargestFreeBlock_
 0000:65ea+     _coreleft_
@@ -178,52 +178,52 @@ 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_
-118c:0d94      _romFonts
+119e:0da4      _romFonts
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0f2e:01f4      VGAmodeX_
 0f2e:0286+     vgaGetMode_
 0f2e:02bc+     modexEnter_
-0f2e:035e*     modexLeave_
-0f2e:0376+     modexsetBaseXMode_
-0f2e:03b4      modexDefaultPage_
-0f2e:0416*     modexNextPage_
-0f2e:04e2*     modexNextPageFlexibleSize_
-0f2e:05b0*     modexShowPage_
-0f2e:06ac*     modexPanPage_
-0f2e:06fc*     modexSelectPlane_
-0f2e:0720+     modexClearRegion_
-0f2e:0838*     oldDrawBmp_
-0f2e:099e*     CDrawBmp_
-0f2e:0b02*     modexDrawBmp_
-0f2e:0b68+     modexDrawBmpRegion_
-0f2e:0cd2*     modex_sparky4_DrawBmpRegion_
-0f2e:0e3c*     modexDrawPlanarBuf_
-0f2e:0e5a*     modexDrawSprite_
-0f2e:0ec0+     modexDrawSpriteRegion_
-0f2e:1038*     modexCopyPageRegion_
-0f2e:11a2*     modexFadeOn_
-0f2e:11d2*     modexFadeOff_
-0f2e:1200*     modexFlashOn_
-0f2e:122e*     modexFlashOff_
-0f2e:12fe+     modexPalSave_
-0f2e:1354+     modexNewPal_
-0f2e:13a4*     modexLoadPalFile_
-0f2e:1486*     modexSavePalFile_
-0f2e:14fe*     modexPalBlack_
-0f2e:1528*     modexPalWhite_
-0f2e:1552+     modexPalUpdate_
-0f2e:1ac2+     modexPalUpdate1_
-0f2e:1b3c*     modexPalUpdate0_
-0f2e:1b88+     chkcolor_
-0f2e:1ea0+     modexputPixel_
-0f2e:1f2e*     modexgetPixel_
-0f2e:1fb4*     modexhlin_
-0f2e:2020      modexprint_
-0f2e:21ba      modexprintbig_
-0f2e:2336*     pdump_
-0f2e:2396*     cls_
-0f2e:2404+     modexWaitBorder_
-118c:0914+     _VGA
+0f2e:046e*     modexLeave_
+0f2e:0486+     modexsetBaseXMode_
+0f2e:04d8      modexDefaultPage_
+0f2e:053a*     modexNextPage_
+0f2e:0606*     modexNextPageFlexibleSize_
+0f2e:06d4*     modexShowPage_
+0f2e:07d0*     modexPanPage_
+0f2e:0820*     modexSelectPlane_
+0f2e:0844+     modexClearRegion_
+0f2e:095c*     oldDrawBmp_
+0f2e:0ac2*     CDrawBmp_
+0f2e:0c26*     modexDrawBmp_
+0f2e:0c8c+     modexDrawBmpRegion_
+0f2e:0df6*     modex_sparky4_DrawBmpRegion_
+0f2e:0f60*     modexDrawPlanarBuf_
+0f2e:0f7e*     modexDrawSprite_
+0f2e:0fe4+     modexDrawSpriteRegion_
+0f2e:115c*     modexCopyPageRegion_
+0f2e:12c6*     modexFadeOn_
+0f2e:12f6*     modexFadeOff_
+0f2e:1324*     modexFlashOn_
+0f2e:1352*     modexFlashOff_
+0f2e:1422+     modexPalSave_
+0f2e:1478+     modexNewPal_
+0f2e:14c8*     modexLoadPalFile_
+0f2e:15aa*     modexSavePalFile_
+0f2e:1622*     modexPalBlack_
+0f2e:164c*     modexPalWhite_
+0f2e:1676+     modexPalUpdate_
+0f2e:1be6+     modexPalUpdate1_
+0f2e:1c60*     modexPalUpdate0_
+0f2e:1cac+     chkcolor_
+0f2e:1fc4+     modexputPixel_
+0f2e:2052*     modexgetPixel_
+0f2e:20d8*     modexhlin_
+0f2e:2144      modexprint_
+0f2e:22de      modexprintbig_
+0f2e:245a*     pdump_
+0f2e:24ba*     cls_
+0f2e:2528+     modexWaitBorder_
+119e: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)
@@ -231,10 +231,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)
-118c:0000*     __nullarea
-118c:0928*     __ovlflag
-118c:0929*     __intno
-118c:092a*     __ovlvec
+119e:0000*     __nullarea
+119e:0928*     __ovlflag
+119e:0929*     __intno
+119e:092a*     __ovlvec
 0000:7c3a      _cstart_
 0000:7d0d*     _Not_Enough_Memory_
 0000:7e3f      __exit_
@@ -244,10 +244,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)
-118c:16ac      __argv
-118c:16b0      ___argv
-118c:16b4      __argc
-118c:16b6      ___argc
+119e:16bc      __argv
+119e:16c0      ___argv
+119e:16c4      __argc
+119e:16c6      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 0000:7ecd      __PIA
 0000:7ec6*     __PIS
@@ -272,28 +272,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_
-118c:092e      ___nheapbeg
-118c:0930      ___MiniHeapRover
-118c:0932      ___LargestSizeB4MiniHeapRover
+119e:092e      ___nheapbeg
+119e:0930      ___MiniHeapRover
+119e:0932      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:832f      _fmalloc_
 0000:832f      malloc_
-118c:0934      ___fheap
-118c:0936      ___fheapRover
-118c:0938      ___LargestSizeB4Rover
+119e:0934      ___fheap
+119e:0936      ___fheapRover
+119e: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_
-118c:16b8+     ___MiniHeapFreeRover
+119e:16c8+     ___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_
-118c:093a+     ___int23_exit
-118c:093e      ___FPE_handler_exit
+119e:093a+     ___int23_exit
+119e: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)
@@ -312,7 +312,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:8ff1      __doclose_
 0000:913b      __shutdown_stream_
 0000:9155      fclose_
-118c:16ba+     ___RmTmpFileFn
+119e:16ca+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
 0000:91c0+     __ibm_bios_get_ticks_
 0000:9237      clock_
@@ -323,7 +323,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)
-118c:0098      __IsTable
+119e: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)
@@ -356,31 +356,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)
-118c:094a      __8087
-118c:094b      __real87
-118c:094c      __dos87emucall
-118c:094e      __dos87real
+119e:094a      __8087
+119e:094b      __real87
+119e:094c      __dos87emucall
+119e: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)
-118c:0950      __curbrk
-118c:0958      __STACKLOW
-118c:095a      __STACKTOP
-118c:095c      __cbyte
-118c:095e      __child
-118c:0960      __no87
-118c:096d      ___FPE_handler
-118c:0952      __psp
-118c:0961      __get_ovl_stack
-118c:0965      __restore_ovl_stack
-118c:0969      __close_ovl_file
-118c:0971      __LpCmdLine
-118c:0975      __LpPgmName
-118c:0954      __osmajor
-118c:0955      __osminor
-118c:0956      __osmode
-118c:0957      __HShift
+119e:0950      __curbrk
+119e:0958      __STACKLOW
+119e:095a      __STACKTOP
+119e:095c      __cbyte
+119e:095e      __child
+119e:0960      __no87
+119e:096d      ___FPE_handler
+119e:0952      __psp
+119e:0961      __get_ovl_stack
+119e:0965      __restore_ovl_stack
+119e:0969      __close_ovl_file
+119e:0971      __LpCmdLine
+119e:0975      __LpPgmName
+119e:0954      __osmajor
+119e:0955      __osminor
+119e:0956      __osmode
+119e:0957      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
 0000:9e52+     __fill_buffer_
 0000:a0a1      fgetc_
@@ -390,9 +390,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)
-118c:097e      ___iob
-118c:16c2      ___ClosedStreams
-118c:16c6      ___OpenStreams
+119e:097e      ___iob
+119e:16d2      ___ClosedStreams
+119e:16d6      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 0000:a5e0      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
@@ -405,7 +405,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)
-118c:0ae6      ___uselfn
+119e:0ae6      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:a8b4      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -431,7 +431,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)
-118c:0022      ___Alphabet
+119e: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)
@@ -441,18 +441,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_
-118c:16ce      _errno
+119e:16de      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:b44f      __GetIOMode_
 0000:b484      __SetIOMode_nogrow_
-118c:0afc      ___NFiles
-118c:0afe      ___init_mode
-118c:0b26      ___io_mode
+119e:0afc      ___NFiles
+119e:0afe      ___init_mode
+119e:0b26      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:b4b9*     __set_commode_
-118c:0b2a      __commode
+119e:0b2a      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-118c:0b2c      __fmode
+119e: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)
@@ -479,9 +479,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_
-118c:16d0      __doserrno
+119e:16e0      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-118c:0b2e      ___umaskval
+119e:0b2e      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:baef      _dos_creat_
 0000:bb13*     _dos_creatnew_
@@ -490,9 +490,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)
-118c:16d4      ___env_mask
-118c:16d8      _environ
-118c:16dc*     __wenviron
+119e:16e4      ___env_mask
+119e:16e8      _environ
+119e:16ec*     __wenviron
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
 0000:bd03      _mbterm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
@@ -513,7 +513,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_
-118c:0b4e+     ___WD_Present
+119e:0b4e+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
 0000:c2ed      __flushall_
 0000:c381      flushall_
@@ -535,22 +535,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)
-118c:16e0      ____Argv
-118c:16e4      ____Argc
+119e:16f0      ____Argv
+119e:16f4      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-118c:0b50      __amblksiz
+119e:0b50      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-118c:0b82      __Start_XI
-118c:0bb8      __End_XI
-118c:0bb8      __Start_YI
-118c:0bd0      __End_YI
+119e:0b82      __Start_XI
+119e:0bb8      __End_XI
+119e:0bb8      __Start_YI
+119e:0bd0      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-118c:16e6      ___historical_splitparms
+119e:16f6      ___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_
-118c:0b52      ___heap_enabled
+119e:0b52      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
 0000:deb6*     sbrk_
 0000:dec6      __brk_
@@ -563,22 +563,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)
-118c:0b54      ___IsDBCS
+119e:0b54      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:e217*     _ismbblead_
-118c:16ec      ___MBCSIsTable
+119e:16fc      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:e271      __mbinit_
-118c:0b56      ___MBCodePage
+119e: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)
-118c:0b58      __8087cw
+119e:0b58      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-118c:0b5a      ___Save8087
-118c:0b5e      ___Rest8087
+119e:0b5a      ___Save8087
+119e: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)
@@ -592,8 +592,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)
-118c:0b62      ___EFG_printf
-118c:0b66*     ___EFG_scanf
+119e:0b62      ___EFG_printf
+119e:0b66*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:e57d      ulltoa_
 0000:e6ba*     lltoa_
@@ -620,7 +620,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)
-118c:0b80      ___FPE_int
+119e:0b80      ___FPE_int
 
 
                         +--------------------+
@@ -636,6 +636,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00020d80 (134528.)
+Memory size:  00020eb0 (134832.)
 Entry point address: 0000:7c3a
-Link time: 00:00.51
+Link time: 00:00.32
index e37209fb22b3143df8212ab0cd0ac39554951fee..4746c8a43dd2d7820a19ca52abac2426913e3804 100755 (executable)
Binary files a/fonttest.exe and b/fonttest.exe differ
index e5209d52fd2819e894be1112485362106e5dfc11..eb1f9faf6d4193ef75aae723900abb8ba4224f62 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: fonttest.exe
 creating a DOS executable
 
@@ -138,8 +138,8 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:5bb0*     CA_Startup_
 0000:5c00*     CA_Shutdown_
 0f25:08d0*     _finishcachebox
-0f25:08d4*     _drawcachebox
-0f25:08d8*     _updatecachebox
+0f25:08d4*     _updatecachebox
+0f25:08d8*     _drawcachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:5c6c      KITTENGETS
 0000:5ccc*     kittenopen_
@@ -588,4 +588,4 @@ gfx.lib
 Stack size:  dac0 (56000.)
 Memory size:  0001d960 (121184.)
 Entry point address: 0000:7d82
-Link time: 00:00.80
+Link time: 00:00.16
index f2865a44f4b01dd7b93295ee5803f27af84f2b8b..9a32f8b618047ad2c61a0c941bb281bec6a9cbac 100755 (executable)
Binary files a/inputest.exe and b/inputest.exe differ
index 5517be24c286d993152853bfcf9f553de3ab4164..b82ddb381ee4253850e826b27c175f936abf2d97 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: inputest.exe
 creating a DOS executable
 
@@ -137,8 +137,8 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:5a00*     CA_Startup_
 0000:5a50*     CA_Shutdown_
 0eaa:08f0*     _finishcachebox
-0eaa:08f4*     _drawcachebox
-0eaa:08f8*     _updatecachebox
+0eaa:08f4*     _updatecachebox
+0eaa:08f8*     _drawcachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:5abc      KITTENGETS
 0000:5b1c*     kittenopen_
@@ -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.12
+Link time: 00:00.61
index f9c51f729cec30ca159e3fa36715a9207287a25c..a3f371941874b5b6c2e5507e2f87f6a6d2a23cfa 100755 (executable)
Binary files a/maptest.exe and b/maptest.exe differ
index 70bdb69a5f33d768d564bd1c5a54ecfc87cbae06..6b5a3d551c3552d76e6a44445f9f7e9e5cf84c9f 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: maptest.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          1366:0000            0000f0f0
+DGROUP                          1378: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       0000242c
-16text_TEXT            CODE           AUTO           08da:a600       0000010d
-16_in13_DATA           FAR_DATA       AUTO           134b:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           1365:0004       00000000
-_NULL                  BEGDATA        DGROUP         1366:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         1368:0000       00000002
-CONST                  DATA           DGROUP         1368:0002       00000076
-CONST2                 DATA           DGROUP         136f:0008       00000102
-_DATA                  DATA           DGROUP         1380:0000       000005a5
-XIB                    DATA           DGROUP         13da:0006       00000000
-XI                     DATA           DGROUP         13da:0006       00000036
-XIE                    DATA           DGROUP         13dd:000c       00000000
-YIB                    DATA           DGROUP         13dd:000c       00000000
-YI                     DATA           DGROUP         13dd:000c       00000018
-YIE                    DATA           DGROUP         13df:0004       00000000
-STRINGS                DATA           DGROUP         13df:0004       00000000
-DATA                   DATA           DGROUP         13df:0004       00000000
-_emu_init_start        EMU            DGROUP         13df:0004       00000000
-_emu_init_end          EMU            DGROUP         13df:0004       00000000
-_BSS                   BSS            DGROUP         13e0:0000       00000e82
-STACK                  STACK          DGROUP         14c9:0000       0000dac0
+modex16_TEXT           CODE           AUTO           08da:81d0       00002550
+16text_TEXT            CODE           AUTO           08da:a720       0000010d
+16_in13_DATA           FAR_DATA       AUTO           135d:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           1377:0004       00000000
+_NULL                  BEGDATA        DGROUP         1378:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         137a:0000       00000002
+CONST                  DATA           DGROUP         137a:0002       00000076
+CONST2                 DATA           DGROUP         1381:0008       00000102
+_DATA                  DATA           DGROUP         1392:0000       000005a5
+XIB                    DATA           DGROUP         13ec:0006       00000000
+XI                     DATA           DGROUP         13ec:0006       00000036
+XIE                    DATA           DGROUP         13ef:000c       00000000
+YIB                    DATA           DGROUP         13ef:000c       00000000
+YI                     DATA           DGROUP         13ef:000c       00000018
+YIE                    DATA           DGROUP         13f1:0004       00000000
+STRINGS                DATA           DGROUP         13f1:0004       00000000
+DATA                   DATA           DGROUP         13f1:0004       00000000
+_emu_init_start        EMU            DGROUP         13f1:0004       00000000
+_emu_init_end          EMU            DGROUP         13f1:0004       00000000
+_BSS                   BSS            DGROUP         13f2:0000       00000e82
+STACK                  STACK          DGROUP         14db: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)
-1366:07be+     _inpu
+1378: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_
-1366:0920+     _beforesort
-1366:0924+     _aftersort
-1366:0928+     _XMSaddr
+1378:0920+     _beforesort
+1378:0924+     _aftersort
+1378: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_
-1366:0930*     _finishcachebox
-1366:0934*     _drawcachebox
-1366:0938*     _updatecachebox
+1378:0930*     _finishcachebox
+1378:0934*     _updatecachebox
+1378:0938*     _drawcachebox
 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_
-1366:04a4+     __kitten_catalog
+1378: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)
-1366:04c6      ___iob
-1366:0944      ___ClosedStreams
-1366:0948      ___OpenStreams
+1378:04c6      ___iob
+1378:0944      ___ClosedStreams
+1378:0948      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
 08da:0042      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-1366:0000*     __nullarea
-1366:062e*     __ovlflag
-1366:062f*     __intno
-1366:0630*     __ovlvec
+1378:0000*     __nullarea
+1378:062e*     __ovlflag
+1378:062f*     __intno
+1378: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)
-1366:094c      __argv
-1366:0950      ___argv
-1366:0954      __argc
-1366:0956      ___argc
+1378:094c      __argv
+1378:0950      ___argv
+1378:0954      __argc
+1378: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_
-1366:0634      ___fheap
-1366:0636      ___fheapRover
-1366:0638      ___LargestSizeB4Rover
+1378:0634      ___fheap
+1378:0636      ___fheapRover
+1378: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_
-1366:09d8      _errno
+1378: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_
-1366:0644      ___nheapbeg
-1366:0646      ___MiniHeapRover
-1366:0648      ___LargestSizeB4MiniHeapRover
+1378:0644      ___nheapbeg
+1378:0646      ___MiniHeapRover
+1378: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_
-1366:09da+     ___MiniHeapFreeRover
+1378: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_
-1366:064a+     ___int23_exit
-1366:064e      ___FPE_handler_exit
+1378:064a+     ___int23_exit
+1378: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_
-1366:09dc+     ___RmTmpFileFn
+1378: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)
-1366:0098      __IsTable
+1378: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)
-1366:065a      __8087
-1366:065b      __real87
-1366:065c      __dos87emucall
-1366:065e      __dos87real
+1378:065a      __8087
+1378:065b      __real87
+1378:065c      __dos87emucall
+1378: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)
-1366:0660      __curbrk
-1366:0668      __STACKLOW
-1366:066a      __STACKTOP
-1366:066c      __cbyte
-1366:066e      __child
-1366:0670      __no87
-1366:067d      ___FPE_handler
-1366:0662      __psp
-1366:0671      __get_ovl_stack
-1366:0675      __restore_ovl_stack
-1366:0679      __close_ovl_file
-1366:0681      __LpCmdLine
-1366:0685      __LpPgmName
-1366:0664      __osmajor
-1366:0665      __osminor
-1366:0666      __osmode
-1366:0667      __HShift
+1378:0660      __curbrk
+1378:0668      __STACKLOW
+1378:066a      __STACKTOP
+1378:066c      __cbyte
+1378:066e      __child
+1378:0670      __no87
+1378:067d      ___FPE_handler
+1378:0662      __psp
+1378:0671      __get_ovl_stack
+1378:0675      __restore_ovl_stack
+1378:0679      __close_ovl_file
+1378:0681      __LpCmdLine
+1378:0685      __LpPgmName
+1378:0664      __osmajor
+1378:0665      __osminor
+1378:0666      __osmode
+1378: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)
-1366:068a      ___uselfn
+1378:068a      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 08da:2e00      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -401,52 +401,52 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 08da:83c4*     VGAmodeX_
 08da:8456+     vgaGetMode_
 08da:848c+     modexEnter_
-08da:852e*     modexLeave_
-08da:8546+     modexsetBaseXMode_
-08da:8584*     modexDefaultPage_
-08da:85e6*     modexNextPage_
-08da:86b2*     modexNextPageFlexibleSize_
-08da:8780*     modexShowPage_
-08da:887c*     modexPanPage_
-08da:88cc*     modexSelectPlane_
-08da:88f0+     modexClearRegion_
-08da:8a08*     oldDrawBmp_
-08da:8b6e*     CDrawBmp_
-08da:8cd2*     modexDrawBmp_
-08da:8d38+     modexDrawBmpRegion_
-08da:8ea2*     modex_sparky4_DrawBmpRegion_
-08da:900c*     modexDrawPlanarBuf_
-08da:902a*     modexDrawSprite_
-08da:9090+     modexDrawSpriteRegion_
-08da:9208*     modexCopyPageRegion_
-08da:9372*     modexFadeOn_
-08da:93a2*     modexFadeOff_
-08da:93d0*     modexFlashOn_
-08da:93fe*     modexFlashOff_
-08da:94ce+     modexPalSave_
-08da:9524      modexNewPal_
-08da:9574*     modexLoadPalFile_
-08da:9656*     modexSavePalFile_
-08da:96ce*     modexPalBlack_
-08da:96f8*     modexPalWhite_
-08da:9722+     modexPalUpdate_
-08da:9c92+     modexPalUpdate1_
-08da:9d0c*     modexPalUpdate0_
-08da:9d58+     chkcolor_
-08da:a070+     modexputPixel_
-08da:a0fe*     modexgetPixel_
-08da:a184*     modexhlin_
-08da:a1f0*     modexprint_
-08da:a38a*     modexprintbig_
-08da:a506*     pdump_
-08da:a566*     cls_
-08da:a5d4+     modexWaitBorder_
-1366:0694+     _VGA
+08da:863e*     modexLeave_
+08da:8656+     modexsetBaseXMode_
+08da:86a8*     modexDefaultPage_
+08da:870a*     modexNextPage_
+08da:87d6*     modexNextPageFlexibleSize_
+08da:88a4*     modexShowPage_
+08da:89a0*     modexPanPage_
+08da:89f0*     modexSelectPlane_
+08da:8a14+     modexClearRegion_
+08da:8b2c*     oldDrawBmp_
+08da:8c92*     CDrawBmp_
+08da:8df6*     modexDrawBmp_
+08da:8e5c+     modexDrawBmpRegion_
+08da:8fc6*     modex_sparky4_DrawBmpRegion_
+08da:9130*     modexDrawPlanarBuf_
+08da:914e*     modexDrawSprite_
+08da:91b4+     modexDrawSpriteRegion_
+08da:932c*     modexCopyPageRegion_
+08da:9496*     modexFadeOn_
+08da:94c6*     modexFadeOff_
+08da:94f4*     modexFlashOn_
+08da:9522*     modexFlashOff_
+08da:95f2+     modexPalSave_
+08da:9648      modexNewPal_
+08da:9698*     modexLoadPalFile_
+08da:977a*     modexSavePalFile_
+08da:97f2*     modexPalBlack_
+08da:981c*     modexPalWhite_
+08da:9846+     modexPalUpdate_
+08da:9db6+     modexPalUpdate1_
+08da:9e30*     modexPalUpdate0_
+08da:9e7c+     chkcolor_
+08da:a194+     modexputPixel_
+08da:a222*     modexgetPixel_
+08da:a2a8*     modexhlin_
+08da:a314*     modexprint_
+08da:a4ae*     modexprintbig_
+08da:a62a*     pdump_
+08da:a68a*     cls_
+08da:a6f8+     modexWaitBorder_
+1378:0694+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 08da:39e5*     __set_commode_
-1366:06a8      __commode
+1378:06a8      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-1366:06aa      __fmode
+1378: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)
@@ -477,7 +477,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)
-1366:0050      ___Alphabet
+1378: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)
@@ -488,9 +488,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_
-1366:06c0      ___NFiles
-1366:06c2      ___init_mode
-1366:06ea      ___io_mode
+1378:06c0      ___NFiles
+1378:06c2      ___init_mode
+1378: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)
@@ -510,9 +510,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_
-1366:12e8      __doserrno
+1378:12e8      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-1366:06ee      ___umaskval
+1378:06ee      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 08da:4b37      _dos_creat_
 08da:4b5b*     _dos_creatnew_
@@ -523,9 +523,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)
-1366:12ec      ___env_mask
-1366:12f0      _environ
-1366:12f4*     __wenviron
+1378:12ec      ___env_mask
+1378:12f0      _environ
+1378: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)
@@ -546,26 +546,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_
-1366:070e+     ___WD_Present
+1378: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)
-1366:12f8      ____Argv
-1366:12fc      ____Argc
+1378:12f8      ____Argv
+1378:12fc      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-1366:0710      __amblksiz
+1378:0710      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-1366:0746      __Start_XI
-1366:077c      __End_XI
-1366:077c      __Start_YI
-1366:0794      __End_YI
+1378:0746      __Start_XI
+1378:077c      __End_XI
+1378:077c      __Start_YI
+1378:0794      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-1366:12fe      ___historical_splitparms
+1378:12fe      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 08da:66c8*     _heapenable_
-1366:0712      ___heap_enabled
+1378:0712      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
 08da:66d9      __flushall_
 08da:676d      flushall_
@@ -577,8 +577,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:a676*     textInit_
-1366:1300      _romFonts
+08da:a796*     textInit_
+1378: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)
@@ -596,22 +596,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)
-1366:0718      ___IsDBCS
+1378:0718      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 08da:7248*     _ismbblead_
-1366:131c      ___MBCSIsTable
+1378:131c      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 08da:72a2      __mbinit_
-1366:071a      ___MBCodePage
+1378: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)
-1366:071c      __8087cw
+1378:071c      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-1366:071e      ___Save8087
-1366:0722      ___Rest8087
+1378:071e      ___Save8087
+1378: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)
@@ -625,8 +625,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)
-1366:0726      ___EFG_printf
-1366:072a*     ___EFG_scanf
+1378:0726      ___EFG_printf
+1378:072a*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 08da:75ad      ulltoa_
 08da:76ea*     lltoa_
@@ -640,7 +640,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)
-1366:0744      ___FPE_int
+1378:0744      ___FPE_int
 
 
                         +--------------------+
@@ -656,6 +656,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00022750 (141136.)
+Memory size:  00022870 (141424.)
 Entry point address: 08da:0072
-Link time: 00:00.62
+Link time: 00:00.82
index f5c6870fbeb39a84eb1d785103c038dd0158fa71..3d0732b90e741f318833a0635f6be5d31e132930 100755 (executable)
Binary files a/palettec.exe and b/palettec.exe differ
index 460be8aecc8932ccbaef7437a8cb27a828eedfa7..0dcffdc4b28e60bfc8dd280579c4ca5b04569593 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: palettec.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          117e:0000            0000f070
+DGROUP                          1190: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       0000242c
-16text_TEXT            CODE           AUTO           0f0f:2430       0000010d
-16_in13_DATA           FAR_DATA       AUTO           1163:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           117d:0004       00000000
-_NULL                  BEGDATA        DGROUP         117e:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         1180:0000       00000002
-CONST                  DATA           DGROUP         1180:0002       00000076
-CONST2                 DATA           DGROUP         1187:0008       00000102
-_DATA                  DATA           DGROUP         1198:0000       0000058b
-XIB                    DATA           DGROUP         11f0:000c       00000000
-XI                     DATA           DGROUP         11f0:000c       00000036
-XIE                    DATA           DGROUP         11f4:0002       00000000
-YIB                    DATA           DGROUP         11f4:0002       00000000
-YI                     DATA           DGROUP         11f4:0002       00000018
-YIE                    DATA           DGROUP         11f5:000a       00000000
-STRINGS                DATA           DGROUP         11f5:000a       00000000
-DATA                   DATA           DGROUP         11f5:000a       00000000
-_emu_init_start        EMU            DGROUP         11f5:000a       00000000
-_emu_init_end          EMU            DGROUP         11f5:000a       00000000
-_BSS                   BSS            DGROUP         11f6:0000       00000e22
-STACK                  STACK          DGROUP         12d9:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0f0f:0000       00002550
+16text_TEXT            CODE           AUTO           0f0f:2550       0000010d
+16_in13_DATA           FAR_DATA       AUTO           1175:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           118f:0004       00000000
+_NULL                  BEGDATA        DGROUP         1190:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         1192:0000       00000002
+CONST                  DATA           DGROUP         1192:0002       00000076
+CONST2                 DATA           DGROUP         1199:0008       00000102
+_DATA                  DATA           DGROUP         11aa:0000       0000058b
+XIB                    DATA           DGROUP         1202:000c       00000000
+XI                     DATA           DGROUP         1202:000c       00000036
+XIE                    DATA           DGROUP         1206:0002       00000000
+YIB                    DATA           DGROUP         1206:0002       00000000
+YI                     DATA           DGROUP         1206:0002       00000018
+YIE                    DATA           DGROUP         1207:000a       00000000
+STRINGS                DATA           DGROUP         1207:000a       00000000
+DATA                   DATA           DGROUP         1207:000a       00000000
+_emu_init_start        EMU            DGROUP         1207:000a       00000000
+_emu_init_end          EMU            DGROUP         1207:000a       00000000
+_BSS                   BSS            DGROUP         1208:0000       00000e22
+STACK                  STACK          DGROUP         12eb:0000       0000dac0
 
 
                         +----------------+
@@ -69,9 +69,9 @@ Address        Symbol
 
 Module: palettec.o(/dos/z/16/src/palettec.c)
 0000:004e      main_
-117e:0780+     _gvar
+1190:0780+     _gvar
 Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
-117e:07be+     _inpu
+1190: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_
-117e:0920+     _beforesort
-117e:0924+     _aftersort
-117e:0928+     _XMSaddr
+1190:0920+     _beforesort
+1190:0924+     _aftersort
+1190: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_
-117e:0930*     _finishcachebox
-117e:0934*     _drawcachebox
-117e:0938*     _updatecachebox
+1190:0930*     _finishcachebox
+1190:0934*     _updatecachebox
+1190:0938*     _drawcachebox
 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_
-117e:0494+     __kitten_catalog
+1190:0494+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:648c+     LargestFreeBlock_
 0000:651a+     _coreleft_
@@ -179,9 +179,9 @@ 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_
-117e:04b6      ___fheap
-117e:04b8      ___fheapRover
-117e:04ba      ___LargestSizeB4Rover
+1190:04b6      ___fheap
+1190:04b8      ___fheapRover
+1190:04ba      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 0000:7c6f      __PIA
 0000:7c68*     __PIS
@@ -189,52 +189,52 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0f0f:01f4      VGAmodeX_
 0f0f:0286+     vgaGetMode_
 0f0f:02bc+     modexEnter_
-0f0f:035e*     modexLeave_
-0f0f:0376+     modexsetBaseXMode_
-0f0f:03b4*     modexDefaultPage_
-0f0f:0416*     modexNextPage_
-0f0f:04e2*     modexNextPageFlexibleSize_
-0f0f:05b0*     modexShowPage_
-0f0f:06ac*     modexPanPage_
-0f0f:06fc*     modexSelectPlane_
-0f0f:0720+     modexClearRegion_
-0f0f:0838*     oldDrawBmp_
-0f0f:099e*     CDrawBmp_
-0f0f:0b02*     modexDrawBmp_
-0f0f:0b68+     modexDrawBmpRegion_
-0f0f:0cd2*     modex_sparky4_DrawBmpRegion_
-0f0f:0e3c*     modexDrawPlanarBuf_
-0f0f:0e5a*     modexDrawSprite_
-0f0f:0ec0+     modexDrawSpriteRegion_
-0f0f:1038*     modexCopyPageRegion_
-0f0f:11a2*     modexFadeOn_
-0f0f:11d2*     modexFadeOff_
-0f0f:1200*     modexFlashOn_
-0f0f:122e*     modexFlashOff_
-0f0f:12fe      modexPalSave_
-0f0f:1354      modexNewPal_
-0f0f:13a4*     modexLoadPalFile_
-0f0f:1486      modexSavePalFile_
-0f0f:14fe*     modexPalBlack_
-0f0f:1528*     modexPalWhite_
-0f0f:1552+     modexPalUpdate_
-0f0f:1ac2+     modexPalUpdate1_
-0f0f:1b3c*     modexPalUpdate0_
-0f0f:1b88+     chkcolor_
-0f0f:1ea0+     modexputPixel_
-0f0f:1f2e*     modexgetPixel_
-0f0f:1fb4*     modexhlin_
-0f0f:2020*     modexprint_
-0f0f:21ba*     modexprintbig_
-0f0f:2336*     pdump_
-0f0f:2396*     cls_
-0f0f:2404+     modexWaitBorder_
-117e:04c4+     _VGA
+0f0f:046e*     modexLeave_
+0f0f:0486+     modexsetBaseXMode_
+0f0f:04d8*     modexDefaultPage_
+0f0f:053a*     modexNextPage_
+0f0f:0606*     modexNextPageFlexibleSize_
+0f0f:06d4*     modexShowPage_
+0f0f:07d0*     modexPanPage_
+0f0f:0820*     modexSelectPlane_
+0f0f:0844+     modexClearRegion_
+0f0f:095c*     oldDrawBmp_
+0f0f:0ac2*     CDrawBmp_
+0f0f:0c26*     modexDrawBmp_
+0f0f:0c8c+     modexDrawBmpRegion_
+0f0f:0df6*     modex_sparky4_DrawBmpRegion_
+0f0f:0f60*     modexDrawPlanarBuf_
+0f0f:0f7e*     modexDrawSprite_
+0f0f:0fe4+     modexDrawSpriteRegion_
+0f0f:115c*     modexCopyPageRegion_
+0f0f:12c6*     modexFadeOn_
+0f0f:12f6*     modexFadeOff_
+0f0f:1324*     modexFlashOn_
+0f0f:1352*     modexFlashOff_
+0f0f:1422      modexPalSave_
+0f0f:1478      modexNewPal_
+0f0f:14c8*     modexLoadPalFile_
+0f0f:15aa      modexSavePalFile_
+0f0f:1622*     modexPalBlack_
+0f0f:164c*     modexPalWhite_
+0f0f:1676+     modexPalUpdate_
+0f0f:1be6+     modexPalUpdate1_
+0f0f:1c60*     modexPalUpdate0_
+0f0f:1cac+     chkcolor_
+0f0f:1fc4+     modexputPixel_
+0f0f:2052*     modexgetPixel_
+0f0f:20d8*     modexhlin_
+0f0f:2144*     modexprint_
+0f0f:22de*     modexprintbig_
+0f0f:245a*     pdump_
+0f0f:24ba*     cls_
+0f0f:2528+     modexWaitBorder_
+1190:04c4+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-117e:0000*     __nullarea
-117e:04d8*     __ovlflag
-117e:04d9*     __intno
-117e:04da*     __ovlvec
+1190:0000*     __nullarea
+1190:04d8*     __ovlflag
+1190:04d9*     __intno
+1190:04da*     __ovlvec
 0000:7c86      _cstart_
 0000:7d59*     _Not_Enough_Memory_
 0000:7e8b      __exit_
@@ -244,10 +244,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)
-117e:1244      __argv
-117e:1248      ___argv
-117e:124c      __argc
-117e:124e      ___argc
+1190:1244      __argv
+1190:1248      ___argv
+1190:124c      __argc
+1190: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)
@@ -271,22 +271,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_
-117e:04de      ___nheapbeg
-117e:04e0      ___MiniHeapRover
-117e:04e2      ___LargestSizeB4MiniHeapRover
+1190:04de      ___nheapbeg
+1190:04e0      ___MiniHeapRover
+1190: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_
-117e:1250+     ___MiniHeapFreeRover
+1190: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_
-117e:04e4+     ___int23_exit
-117e:04e8      ___FPE_handler_exit
+1190:04e4+     ___int23_exit
+1190: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)
@@ -305,7 +305,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:8edb      __doclose_
 0000:9025      __shutdown_stream_
 0000:903f      fclose_
-117e:1252+     ___RmTmpFileFn
+1190:1252+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
 0000:90aa+     __ibm_bios_get_ticks_
 0000:9121      clock_
@@ -316,7 +316,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)
-117e:0098      __IsTable
+1190: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)
@@ -351,31 +351,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)
-117e:04f4      __8087
-117e:04f5      __real87
-117e:04f6      __dos87emucall
-117e:04f8      __dos87real
+1190:04f4      __8087
+1190:04f5      __real87
+1190:04f6      __dos87emucall
+1190: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)
-117e:04fa      __curbrk
-117e:0502      __STACKLOW
-117e:0504      __STACKTOP
-117e:0506      __cbyte
-117e:0508      __child
-117e:050a      __no87
-117e:0517      ___FPE_handler
-117e:04fc      __psp
-117e:050b      __get_ovl_stack
-117e:050f      __restore_ovl_stack
-117e:0513      __close_ovl_file
-117e:051b      __LpCmdLine
-117e:051f      __LpPgmName
-117e:04fe      __osmajor
-117e:04ff      __osminor
-117e:0500      __osmode
-117e:0501      __HShift
+1190:04fa      __curbrk
+1190:0502      __STACKLOW
+1190:0504      __STACKTOP
+1190:0506      __cbyte
+1190:0508      __child
+1190:050a      __no87
+1190:0517      ___FPE_handler
+1190:04fc      __psp
+1190:050b      __get_ovl_stack
+1190:050f      __restore_ovl_stack
+1190:0513      __close_ovl_file
+1190:051b      __LpCmdLine
+1190:051f      __LpPgmName
+1190:04fe      __osmajor
+1190:04ff      __osminor
+1190:0500      __osmode
+1190:0501      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
 0000:9d70      __MemAllocator
 0000:9e3a      __MemFree
@@ -394,8 +394,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:24a6*     textInit_
-117e:125a      _romFonts
+0f0f:25c6*     textInit_
+1190: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)
@@ -404,7 +404,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)
-117e:0528      ___uselfn
+1190:0528      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:aa98      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -412,9 +412,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)
-117e:052a      ___iob
-117e:1276      ___ClosedStreams
-117e:127a      ___OpenStreams
+1190:052a      ___iob
+1190:1276      ___ClosedStreams
+1190: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)
@@ -427,7 +427,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)
-117e:0022      ___Alphabet
+1190: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)
@@ -437,18 +437,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_
-117e:127e      _errno
+1190:127e      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:b310      __GetIOMode_
 0000:b345      __SetIOMode_nogrow_
-117e:06a6      ___NFiles
-117e:06a8      ___init_mode
-117e:06d0      ___io_mode
+1190:06a6      ___NFiles
+1190:06a8      ___init_mode
+1190:06d0      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:b37a*     __set_commode_
-117e:06d4      __commode
+1190:06d4      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-117e:06d6      __fmode
+1190: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)
@@ -475,9 +475,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_
-117e:1280      __doserrno
+1190:1280      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-117e:06d8      ___umaskval
+1190:06d8      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:b9b1      _dos_creat_
 0000:b9d5*     _dos_creatnew_
@@ -488,9 +488,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)
-117e:1284      ___env_mask
-117e:1288      _environ
-117e:128c*     __wenviron
+1190:1284      ___env_mask
+1190:1288      _environ
+1190: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)
@@ -511,12 +511,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_
-117e:06f8+     ___WD_Present
+1190:06f8+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:c20a*     _heapenable_
-117e:06fa      ___heap_enabled
+1190:06fa      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-117e:06fc      __amblksiz
+1190:06fc      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
 0000:c21b      __flushall_
 0000:c2af      flushall_
@@ -531,15 +531,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)
-117e:1290      ____Argv
-117e:1294      ____Argc
+1190:1290      ____Argv
+1190:1294      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-117e:072c      __Start_XI
-117e:0762      __End_XI
-117e:0762      __Start_YI
-117e:077a      __End_YI
+1190:072c      __Start_XI
+1190:0762      __End_XI
+1190:0762      __Start_YI
+1190:077a      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-117e:1296      ___historical_splitparms
+1190: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)
@@ -561,22 +561,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)
-117e:06fe      ___IsDBCS
+1190:06fe      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:e134*     _ismbblead_
-117e:129c      ___MBCSIsTable
+1190:129c      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:e18e      __mbinit_
-117e:0700      ___MBCodePage
+1190: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)
-117e:0702      __8087cw
+1190:0702      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-117e:0704      ___Save8087
-117e:0708      ___Rest8087
+1190:0704      ___Save8087
+1190: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)
@@ -590,8 +590,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)
-117e:070c      ___EFG_printf
-117e:0710*     ___EFG_scanf
+1190:070c      ___EFG_printf
+1190:0710*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:e499      ulltoa_
 0000:e5d6*     lltoa_
@@ -618,7 +618,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)
-117e:072a      ___FPE_int
+1190:072a      ___FPE_int
 
 
                         +--------------------+
@@ -634,6 +634,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00020850 (133200.)
+Memory size:  00020970 (133488.)
 Entry point address: 0000:7c86
-Link time: 00:00.34
+Link time: 00:00.32
index ea51962f0e5c939648fcee863f1d1fe510960f00..a720953aee820f001d1145cde47660ab6e138256 100755 (executable)
Binary files a/palettel.exe and b/palettel.exe differ
index 93c2f467ee9a1ac594bfb9fc6135ccdd435de358..520d30ab30b27884739b6b553e4f266898f8b4b8 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: palettel.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          1188:0000            0000f090
+DGROUP                          119a:0000            0000f0a0
 
 
 
@@ -34,27 +34,27 @@ kitten_TEXT            CODE           AUTO           0000:5b60       0000080a
 16_hc_TEXT             CODE           AUTO           0000:6370       0000158b
 timer_TEXT             CODE           AUTO           0000:7900       00000235
 _TEXT                  CODE           AUTO           0000:7b40       0000764d
-modex16_TEXT           CODE           AUTO           0f19:0000       0000242c
-16text_TEXT            CODE           AUTO           0f19:2430       0000010d
-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       00000591
-XIB                    DATA           DGROUP         11fb:0002       00000000
-XI                     DATA           DGROUP         11fb:0002       00000036
-XIE                    DATA           DGROUP         11fe:0008       00000000
-YIB                    DATA           DGROUP         11fe:0008       00000000
-YI                     DATA           DGROUP         11fe:0008       00000018
-YIE                    DATA           DGROUP         1200:0000       00000000
-STRINGS                DATA           DGROUP         1200:0000       00000000
-DATA                   DATA           DGROUP         1200:0000       00000000
-_emu_init_start        EMU            DGROUP         1200:0000       00000000
-_emu_init_end          EMU            DGROUP         1200:0000       00000000
-_BSS                   BSS            DGROUP         1200:0000       00000e42
-STACK                  STACK          DGROUP         12e5:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0f19:0000       00002550
+16text_TEXT            CODE           AUTO           0f19:2550       0000010d
+16_in13_DATA           FAR_DATA       AUTO           117f:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           1199:0004       00000000
+_NULL                  BEGDATA        DGROUP         119a:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         119c:0000       00000002
+CONST                  DATA           DGROUP         119c:0002       00000076
+CONST2                 DATA           DGROUP         11a3:0008       00000102
+_DATA                  DATA           DGROUP         11b4:0000       00000591
+XIB                    DATA           DGROUP         120d:0002       00000000
+XI                     DATA           DGROUP         120d:0002       00000036
+XIE                    DATA           DGROUP         1210:0008       00000000
+YIB                    DATA           DGROUP         1210:0008       00000000
+YI                     DATA           DGROUP         1210:0008       00000018
+YIE                    DATA           DGROUP         1212:0000       00000000
+STRINGS                DATA           DGROUP         1212:0000       00000000
+DATA                   DATA           DGROUP         1212:0000       00000000
+_emu_init_start        EMU            DGROUP         1212:0000       00000000
+_emu_init_end          EMU            DGROUP         1212:0000       00000000
+_BSS                   BSS            DGROUP         1212:0000       00000e52
+STACK                  STACK          DGROUP         12f8:0000       0000dac0
 
 
                         +----------------+
@@ -69,13 +69,13 @@ Address        Symbol
 
 Module: palettel.o(/dos/z/16/src/palettel.c)
 0000:004e      main_
-1188:0780+     _gvar
-1188:07a8+     _page
-1188:07c0+     _bakapee
-1188:07c4+     _pal
-1188:07c8*     _i
+119a:0780+     _bakapee
+119a:0784+     _gvar
+119a:07b0+     _page
+119a:07d4+     _pal
+119a:07d8*     _i
 Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
-1188:07de+     _inpu
+119a:07ee+     _inpu
 0000:02a0+     INL_KeyService_
 0000:053a+     Mouse_
 0000:0592+     IN_GetJoyAbs_
@@ -123,9 +123,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c)
 0000:486c+     MM_TotalFree_
 0000:4902*     MM_Report_
 0000:52ba*     MM_BombOnError_
-1188:0940+     _beforesort
-1188:0944+     _aftersort
-1188:0948+     _XMSaddr
+119a:0950+     _beforesort
+119a:0954+     _aftersort
+119a:0958+     _XMSaddr
 Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c)
 0000:52f0      detectcpu_
 Module: 16_head.o(/dos/z/16/src/lib/16_head.c)
@@ -143,9 +143,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:5a30*     CAL_OptimizeNodes_
 0000:5ae0*     CA_Startup_
 0000:5b30*     CA_Shutdown_
-1188:0950*     _finishcachebox
-1188:0954*     _drawcachebox
-1188:0958*     _updatecachebox
+119a:0960*     _finishcachebox
+119a:0964*     _updatecachebox
+119a:0968*     _drawcachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:5b9c      KITTENGETS
 0000:5bfc*     kittenopen_
@@ -156,7 +156,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:6154+     get_line_
 0000:61c6+     db_fetch_
 0000:625c+     db_insert_
-1188:0494+     __kitten_catalog
+119a:0494+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
 0000:651c+     LargestFreeBlock_
 0000:65aa+     _coreleft_
@@ -184,63 +184,63 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0f19:01f4      VGAmodeX_
 0f19:0286+     vgaGetMode_
 0f19:02bc+     modexEnter_
-0f19:035e      modexLeave_
-0f19:0376+     modexsetBaseXMode_
-0f19:03b4      modexDefaultPage_
-0f19:0416*     modexNextPage_
-0f19:04e2*     modexNextPageFlexibleSize_
-0f19:05b0*     modexShowPage_
-0f19:06ac*     modexPanPage_
-0f19:06fc*     modexSelectPlane_
-0f19:0720+     modexClearRegion_
-0f19:0838*     oldDrawBmp_
-0f19:099e*     CDrawBmp_
-0f19:0b02*     modexDrawBmp_
-0f19:0b68+     modexDrawBmpRegion_
-0f19:0cd2*     modex_sparky4_DrawBmpRegion_
-0f19:0e3c*     modexDrawPlanarBuf_
-0f19:0e5a*     modexDrawSprite_
-0f19:0ec0+     modexDrawSpriteRegion_
-0f19:1038*     modexCopyPageRegion_
-0f19:11a2      modexFadeOn_
-0f19:11d2*     modexFadeOff_
-0f19:1200*     modexFlashOn_
-0f19:122e*     modexFlashOff_
-0f19:12fe+     modexPalSave_
-0f19:1354      modexNewPal_
-0f19:13a4      modexLoadPalFile_
-0f19:1486*     modexSavePalFile_
-0f19:14fe      modexPalBlack_
-0f19:1528*     modexPalWhite_
-0f19:1552+     modexPalUpdate_
-0f19:1ac2      modexPalUpdate1_
-0f19:1b3c*     modexPalUpdate0_
-0f19:1b88+     chkcolor_
-0f19:1ea0+     modexputPixel_
-0f19:1f2e*     modexgetPixel_
-0f19:1fb4*     modexhlin_
-0f19:2020*     modexprint_
-0f19:21ba*     modexprintbig_
-0f19:2336      pdump_
-0f19:2396*     cls_
-0f19:2404+     modexWaitBorder_
-1188:04c4+     _VGA
+0f19:046e      modexLeave_
+0f19:0486+     modexsetBaseXMode_
+0f19:04d8      modexDefaultPage_
+0f19:053a*     modexNextPage_
+0f19:0606*     modexNextPageFlexibleSize_
+0f19:06d4*     modexShowPage_
+0f19:07d0*     modexPanPage_
+0f19:0820*     modexSelectPlane_
+0f19:0844+     modexClearRegion_
+0f19:095c*     oldDrawBmp_
+0f19:0ac2*     CDrawBmp_
+0f19:0c26*     modexDrawBmp_
+0f19:0c8c+     modexDrawBmpRegion_
+0f19:0df6*     modex_sparky4_DrawBmpRegion_
+0f19:0f60*     modexDrawPlanarBuf_
+0f19:0f7e*     modexDrawSprite_
+0f19:0fe4+     modexDrawSpriteRegion_
+0f19:115c*     modexCopyPageRegion_
+0f19:12c6      modexFadeOn_
+0f19:12f6*     modexFadeOff_
+0f19:1324*     modexFlashOn_
+0f19:1352*     modexFlashOff_
+0f19:1422+     modexPalSave_
+0f19:1478      modexNewPal_
+0f19:14c8      modexLoadPalFile_
+0f19:15aa*     modexSavePalFile_
+0f19:1622      modexPalBlack_
+0f19:164c*     modexPalWhite_
+0f19:1676+     modexPalUpdate_
+0f19:1be6      modexPalUpdate1_
+0f19:1c60*     modexPalUpdate0_
+0f19:1cac+     chkcolor_
+0f19:1fc4+     modexputPixel_
+0f19:2052*     modexgetPixel_
+0f19:20d8*     modexhlin_
+0f19:2144*     modexprint_
+0f19:22de*     modexprintbig_
+0f19:245a      pdump_
+0f19:24ba*     cls_
+0f19:2528+     modexWaitBorder_
+119a:04c4+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
 0000:7b82      _fmalloc_
 0000:7b82      malloc_
-1188:04d8      ___fheap
-1188:04da      ___fheapRover
-1188:04dc      ___LargestSizeB4Rover
+119a:04d8      ___fheap
+119a:04da      ___fheapRover
+119a:04dc      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
 0000:7cff      __PIA
 0000:7cf8*     __PIS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
 0000:7d16      getch_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-1188:0000*     __nullarea
-1188:04de*     __ovlflag
-1188:04df*     __intno
-1188:04e0*     __ovlvec
+119a:0000*     __nullarea
+119a:04de*     __ovlflag
+119a:04df*     __intno
+119a:04e0*     __ovlvec
 0000:7d30      _cstart_
 0000:7e03*     _Not_Enough_Memory_
 0000:7f35      __exit_
@@ -250,10 +250,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
 0000:7fbc      _big_code_
 0000:7fbc*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-1188:1264      __argv
-1188:1268      ___argv
-1188:126c      __argc
-1188:126e      ___argc
+119a:1274      __argv
+119a:1278      ___argv
+119a:127c      __argc
+119a:127e      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
 0000:7fbc      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
@@ -277,22 +277,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
 0000:8318      _memavl_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
 0000:835d      _nmalloc_
-1188:04e4      ___nheapbeg
-1188:04e6      ___MiniHeapRover
-1188:04e8      ___LargestSizeB4MiniHeapRover
+119a:04e4      ___nheapbeg
+119a:04e6      ___MiniHeapRover
+119a:04e8      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:8437      _ffree_
 0000:8437      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
 0000:84a4      _nfree_
-1188:1270+     ___MiniHeapFreeRover
+119a:1280+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:859f+     _null_exit_rtn_
 0000:859f+     __null_int23_exit_
 0000:85a0      exit_
 0000:85c1+     _exit_
-1188:04ea+     ___int23_exit
-1188:04ee      ___FPE_handler_exit
+119a:04ea+     ___int23_exit
+119a:04ee      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
 0000:85de      __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:8f85      __doclose_
 0000:90cf      __shutdown_stream_
 0000:90e9      fclose_
-1188:1272+     ___RmTmpFileFn
+119a:1282+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
 0000:9154+     __ibm_bios_get_ticks_
 0000:91cb      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:93ef      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-1188:0098      __IsTable
+119a:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
 0000:95e7      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c)
@@ -357,31 +357,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
 0000:9de1      stackavail_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-1188:04fa      __8087
-1188:04fb      __real87
-1188:04fc      __dos87emucall
-1188:04fe      __dos87real
+119a:04fa      __8087
+119a:04fb      __real87
+119a:04fc      __dos87emucall
+119a:04fe      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
 0000:9df0*     __exit_with_msg_
 0000:9df5      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-1188:0500      __curbrk
-1188:0508      __STACKLOW
-1188:050a      __STACKTOP
-1188:050c      __cbyte
-1188:050e      __child
-1188:0510      __no87
-1188:051d      ___FPE_handler
-1188:0502      __psp
-1188:0511      __get_ovl_stack
-1188:0515      __restore_ovl_stack
-1188:0519      __close_ovl_file
-1188:0521      __LpCmdLine
-1188:0525      __LpPgmName
-1188:0504      __osmajor
-1188:0505      __osminor
-1188:0506      __osmode
-1188:0507      __HShift
+119a:0500      __curbrk
+119a:0508      __STACKLOW
+119a:050a      __STACKTOP
+119a:050c      __cbyte
+119a:050e      __child
+119a:0510      __no87
+119a:051d      ___FPE_handler
+119a:0502      __psp
+119a:0511      __get_ovl_stack
+119a:0515      __restore_ovl_stack
+119a:0519      __close_ovl_file
+119a:0521      __LpCmdLine
+119a:0525      __LpPgmName
+119a:0504      __osmajor
+119a:0505      __osminor
+119a:0506      __osmode
+119a:0507      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
 0000:9e14+     __fill_buffer_
 0000:a063      fgetc_
@@ -391,8 +391,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
 0000:a523      rand_
 0000:a565*     srand_
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0f19:24a6*     textInit_
-1188:127a      _romFonts
+0f19:25c6*     textInit_
+119a:128a      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
 0000:a590      __MemAllocator
 0000:a65a      __MemFree
@@ -410,7 +410,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
 0000:aae0      __FiniRtns
 0000:aae0*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-1188:052e      ___uselfn
+119a:052e      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:ab44      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
@@ -418,9 +418,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
 0000:aba8+     _getargv_
 0000:aed8      __Fini_Argv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-1188:0530      ___iob
-1188:1296      ___ClosedStreams
-1188:129a      ___OpenStreams
+119a:0530      ___iob
+119a:12a6      ___ClosedStreams
+119a:12aa      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
 0000:af1c      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
@@ -433,7 +433,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
 0000:b2f9      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-1188:0022      ___Alphabet
+119a:0022      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
 0000:b2fc      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
@@ -443,18 +443,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 0000:b3aa*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:b3b5*     __get_errno_ptr_
-1188:129e      _errno
+119a:12ae      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
 0000:b3bc      __GetIOMode_
 0000:b3f1      __SetIOMode_nogrow_
-1188:06ac      ___NFiles
-1188:06ae      ___init_mode
-1188:06d6      ___io_mode
+119a:06ac      ___NFiles
+119a:06ae      ___init_mode
+119a:06d6      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:b426*     __set_commode_
-1188:06da      __commode
+119a:06da      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-1188:06dc      __fmode
+119a:06dc      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
 0000:b432      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
@@ -481,9 +481,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
 0000:ba3a      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
 0000:ba56*     __get_doserrno_ptr_
-1188:12a0      __doserrno
+119a:12b0      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-1188:06de      ___umaskval
+119a:06de      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:ba5d      _dos_creat_
 0000:ba81*     _dos_creatnew_
@@ -494,9 +494,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
 0000:bc8a      vsprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
-1188:12a4      ___env_mask
-1188:12a8      _environ
-1188:12ac*     __wenviron
+119a:12b4      ___env_mask
+119a:12b8      _environ
+119a:12bc*     __wenviron
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
 0000:bccc      _mbterm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
@@ -517,7 +517,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
 0000:c222      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
 0000:c292      __EnterWVIDEO_
-1188:06fe+     ___WD_Present
+119a:06fe+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
 0000:c2b6      __flushall_
 0000:c34a      flushall_
@@ -533,19 +533,19 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
 0000:c578      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
 0000:c74d*     _heapenable_
-1188:0700      ___heap_enabled
+119a:0700      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-1188:0702      __amblksiz
+119a:0702      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-1188:12b0      ____Argv
-1188:12b4      ____Argc
+119a:12c0      ____Argv
+119a:12c4      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-1188:0732      __Start_XI
-1188:0768      __End_XI
-1188:0768      __Start_YI
-1188:0780      __End_YI
+119a:0732      __Start_XI
+119a:0768      __End_XI
+119a:0768      __Start_YI
+119a:0780      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-1188:12b6      ___historical_splitparms
+119a:12c6      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
 0000:c75e      __InitFiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
@@ -567,22 +567,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
 0000:dff6      __setenvp_
 0000:e182      __freeenvp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-1188:0704      ___IsDBCS
+119a:0704      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:e1e0*     _ismbblead_
-1188:12bc      ___MBCSIsTable
+119a:12cc      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:e23a      __mbinit_
-1188:0706      ___MBCodePage
+119a:0706      ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
 0000:e315      _mbdtoupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
 0000:e323      toupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-1188:0708      __8087cw
+119a:0708      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-1188:070a      ___Save8087
-1188:070e      ___Rest8087
+119a:070a      ___Save8087
+119a:070e      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
 0000:e332      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
@@ -596,8 +596,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
 0000:e4fd      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-1188:0712      ___EFG_printf
-1188:0716*     ___EFG_scanf
+119a:0712      ___EFG_printf
+119a:0716*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:e545      ulltoa_
 0000:e682*     lltoa_
@@ -624,7 +624,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
 0000:f129      _bexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-1188:0730      ___FPE_int
+119a:0730      ___FPE_int
 
 
                         +--------------------+
@@ -640,6 +640,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00020910 (133392.)
+Memory size:  00020a40 (133696.)
 Entry point address: 0000:7d30
-Link time: 00:00.84
+Link time: 00:00.65
index 9086bdd2946a6e6264e72902372564078e7cb156..3321769b89de989764e7fe1d4b629c4ff8874027 100755 (executable)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 9bced34b80114b531de59048a2a78912abe159c2..1f985aa8aa255cf128ea6309bf8b610633f2607b 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: pcxtest.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0b59:0000            0000ecd0
+DGROUP                          0b6b:0000            0000ece0
 
 
 
@@ -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       0000242c
-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
+modex16_TEXT           CODE           AUTO           0000:87c0       00002550
+bitmap_TEXT            CODE           AUTO           0000:ad10       00000605
+planar_TEXT            CODE           AUTO           0000:b320       00000275
+16text_TEXT            CODE           AUTO           0000:b5a0       0000010d
+FAR_DATA               FAR_DATA       AUTO           0b6a:000d       00000000
+_NULL                  BEGDATA        DGROUP         0b6b:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0b6d:0000       00000002
+CONST                  DATA           DGROUP         0b6d:0002       00000076
+CONST2                 DATA           DGROUP         0b74:0008       00000132
+_DATA                  DATA           DGROUP         0b88:0000       00000326
+XIB                    DATA           DGROUP         0bba:0006       00000000
+XI                     DATA           DGROUP         0bba:0006       0000002a
+XIE                    DATA           DGROUP         0bbd:0000       00000000
+YIB                    DATA           DGROUP         0bbd:0000       00000000
+YI                     DATA           DGROUP         0bbd:0000       0000000c
+YIE                    DATA           DGROUP         0bbd:000c       00000000
+STRINGS                DATA           DGROUP         0bbd:000c       00000000
+DATA                   DATA           DGROUP         0bbd:000c       00000000
+_emu_init_start        EMU            DGROUP         0bbd:000c       00000000
+_emu_init_end          EMU            DGROUP         0bbd:000c       00000000
+_BSS                   BSS            DGROUP         0bbe:0000       00000ce4
+STACK                  STACK          DGROUP         0c8d:0000       0000dac0
 
 
                         +----------------+
@@ -62,7 +62,7 @@ Address        Symbol
 
 Module: pcxtest.o(/dos/z/16/src/pcxtest.c)
 0000:0098      main_
-0b59:0530+     _gvar
+0b6b:0530+     _gvar
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:0255      __STK
 0000:0275*     __STKOVERFLOW_
@@ -70,99 +70,99 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0000:89b4      VGAmodeX_
 0000:8a46+     vgaGetMode_
 0000:8a7c+     modexEnter_
-0000:8b1e*     modexLeave_
-0000:8b36+     modexsetBaseXMode_
-0000:8b74      modexDefaultPage_
-0000:8bd6*     modexNextPage_
-0000:8ca2*     modexNextPageFlexibleSize_
-0000:8d70*     modexShowPage_
-0000:8e6c*     modexPanPage_
-0000:8ebc*     modexSelectPlane_
-0000:8ee0      modexClearRegion_
-0000:8ff8      oldDrawBmp_
-0000:915e*     CDrawBmp_
-0000:92c2      modexDrawBmp_
-0000:9328+     modexDrawBmpRegion_
-0000:9492*     modex_sparky4_DrawBmpRegion_
-0000:95fc*     modexDrawPlanarBuf_
-0000:961a      modexDrawSprite_
-0000:9680+     modexDrawSpriteRegion_
-0000:97f8      modexCopyPageRegion_
-0000:9962*     modexFadeOn_
-0000:9992*     modexFadeOff_
-0000:99c0*     modexFlashOn_
-0000:99ee*     modexFlashOff_
-0000:9abe+     modexPalSave_
-0000:9b14      modexNewPal_
-0000:9b64*     modexLoadPalFile_
-0000:9c46*     modexSavePalFile_
-0000:9cbe*     modexPalBlack_
-0000:9ce8*     modexPalWhite_
-0000:9d12+     modexPalUpdate_
-0000:a282      modexPalUpdate1_
-0000:a2fc*     modexPalUpdate0_
-0000:a348+     chkcolor_
-0000:a660+     modexputPixel_
-0000:a6ee*     modexgetPixel_
-0000:a774*     modexhlin_
-0000:a7e0*     modexprint_
-0000:a97a*     modexprintbig_
-0000:aaf6*     pdump_
-0000:ab56*     cls_
-0000:abc4+     modexWaitBorder_
-0b59:01e4      _VGA
+0000:8c2e*     modexLeave_
+0000:8c46+     modexsetBaseXMode_
+0000:8c98      modexDefaultPage_
+0000:8cfa*     modexNextPage_
+0000:8dc6*     modexNextPageFlexibleSize_
+0000:8e94*     modexShowPage_
+0000:8f90*     modexPanPage_
+0000:8fe0*     modexSelectPlane_
+0000:9004      modexClearRegion_
+0000:911c      oldDrawBmp_
+0000:9282*     CDrawBmp_
+0000:93e6      modexDrawBmp_
+0000:944c+     modexDrawBmpRegion_
+0000:95b6*     modex_sparky4_DrawBmpRegion_
+0000:9720*     modexDrawPlanarBuf_
+0000:973e      modexDrawSprite_
+0000:97a4+     modexDrawSpriteRegion_
+0000:991c      modexCopyPageRegion_
+0000:9a86*     modexFadeOn_
+0000:9ab6*     modexFadeOff_
+0000:9ae4*     modexFlashOn_
+0000:9b12*     modexFlashOff_
+0000:9be2+     modexPalSave_
+0000:9c38      modexNewPal_
+0000:9c88*     modexLoadPalFile_
+0000:9d6a*     modexSavePalFile_
+0000:9de2*     modexPalBlack_
+0000:9e0c*     modexPalWhite_
+0000:9e36+     modexPalUpdate_
+0000:a3a6      modexPalUpdate1_
+0000:a420*     modexPalUpdate0_
+0000:a46c+     chkcolor_
+0000:a784+     modexputPixel_
+0000:a812*     modexgetPixel_
+0000:a898*     modexhlin_
+0000:a904*     modexprint_
+0000:aa9e*     modexprintbig_
+0000:ac1a*     pdump_
+0000:ac7a*     cls_
+0000:ace8+     modexWaitBorder_
+0b6b:01e4      _VGA
 Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
-0000:af2e      bitmapLoadPcx_
-0000:b08a*     bitmapLoadPcxTiles_
+0000:b04e      bitmapLoadPcx_
+0000:b1aa*     bitmapLoadPcxTiles_
 Module: gfx.lib(/dos/z/16/src/lib/planar.c)
-0000:b200      planar_buf_from_bitmap_
-0000:b320+     planar_buf_alloc_
-0000:b41a*     planar_buf_free_
+0000:b320      planar_buf_from_bitmap_
+0000:b440+     planar_buf_alloc_
+0000:b53a*     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)
-0b59:0000*     __nullarea
-0b59:0214*     __ovlflag
-0b59:0215*     __intno
-0b59:0216*     __ovlvec
+0b6b:0000*     __nullarea
+0b6b:0214*     __ovlflag
+0b6b:0215*     __intno
+0b6b: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)
-0b59:021a      _fltused_
+0b6b: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)
-0b59:021c      __8087
-0b59:021d      __real87
-0b59:021e      __dos87emucall
-0b59:0220      __dos87real
+0b6b:021c      __8087
+0b6b:021d      __real87
+0b6b:021e      __dos87emucall
+0b6b: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)
-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
+0b6b:0222      __curbrk
+0b6b:022a      __STACKLOW
+0b6b:022c      __STACKTOP
+0b6b:022e      __cbyte
+0b6b:0230      __child
+0b6b:0232      __no87
+0b6b:023f      ___FPE_handler
+0b6b:0224      __psp
+0b6b:0233      __get_ovl_stack
+0b6b:0237      __restore_ovl_stack
+0b6b:023b      __close_ovl_file
+0b6b:0243      __LpCmdLine
+0b6b:0247      __LpPgmName
+0b6b:0226      __osmajor
+0b6b:0227      __osminor
+0b6b:0228      __osmode
+0b6b:0229      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 0000:0588+     int86x_
 0000:070b      int86_
@@ -172,16 +172,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_
-0b59:024c+     ___fheap
-0b59:024e      ___fheapRover
-0b59:0250      ___LargestSizeB4Rover
+0b6b:024c+     ___fheap
+0b6b:024e      ___fheapRover
+0b6b: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_
-0b59:0252+     ___int23_exit
-0b59:0256      ___FPE_handler_exit
+0b6b:0252+     ___int23_exit
+0b6b:0256      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:0909+     __open_flags_
 0000:0bca+     _fsopen_
@@ -194,7 +194,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:1174      __doclose_
 0000:12be      __shutdown_stream_
 0000:12d8      fclose_
-0b59:0ed8+     ___RmTmpFileFn
+0b6b:0edc+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:1343      _ffree_
 0000:1343      free_
@@ -207,16 +207,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:b4f6*     textInit_
-0b59:0edc      _romFonts
+0000:b616*     textInit_
+0b6b:0ee0      _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)
-0b59:025e      ___iob
-0b59:0ef4      ___ClosedStreams
-0b59:0ef8      ___OpenStreams
+0b6b:025e      ___iob
+0b6b:0ef8      ___ClosedStreams
+0b6b:0efc      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
 0000:1e33      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
@@ -229,7 +229,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)
-0b59:03c6      ___uselfn
+0b6b:03c6      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:20f4      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c)
@@ -241,7 +241,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_
-0b59:03e6+     ___WD_Present
+0b6b: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)
@@ -257,21 +257,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_
-0b59:03e8      ___nheapbeg
-0b59:03ea      ___MiniHeapRover
-0b59:03ec      ___LargestSizeB4MiniHeapRover
+0b6b:03e8      ___nheapbeg
+0b6b:03ea      ___MiniHeapRover
+0b6b: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_
-0b59:03ee      __commode
+0b6b:03ee      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:28de*     __get_errno_ptr_
-0b59:0efc      _errno
+0b6b:0f00      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-0b59:03f0      __fmode
+0b6b: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)
@@ -303,7 +303,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_
-0b59:0efe+     ___MiniHeapFreeRover
+0b6b:0f02+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0000:34b3      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
@@ -322,27 +322,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)
-0b59:0f00      ____Argv
-0b59:0f04      ____Argc
+0b6b:0f04      ____Argv
+0b6b:0f08      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0b59:03f2      __amblksiz
+0b6b:03f2      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0b59:04f6      __Start_XI
-0b59:0520      __End_XI
-0b59:0520      __Start_YI
-0b59:052c      __End_YI
+0b6b:04f6      __Start_XI
+0b6b:0520      __End_XI
+0b6b:0520      __Start_YI
+0b6b:052c      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-0b59:03f4      ___EFG_printf
-0b59:03f8      ___EFG_scanf
+0b6b:03f4      ___EFG_printf
+0b6b: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)
-0b59:03fc      __8087cw
+0b6b:03fc      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-0b59:03fe      ___Save8087
-0b59:0402      ___Rest8087
+0b6b:03fe      ___Save8087
+0b6b: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)
@@ -352,7 +352,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_
-0b59:0406      ___heap_enabled
+0b6b: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)
@@ -363,16 +363,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_
-0b59:0408      ___NFiles
-0b59:040a      ___init_mode
-0b59:0432      ___io_mode
+0b6b:0408      ___NFiles
+0b6b:040a      ___init_mode
+0b6b: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_
-0b59:0f06      __doserrno
+0b6b:0f0a      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-0b59:0436      ___umaskval
+0b6b:0436      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:53ee      _dos_creat_
 0000:5412*     _dos_creatnew_
@@ -395,10 +395,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)
-0b59:044c      ___IsDBCS
+0b6b:044c      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:57f1*     _ismbblead_
-0b59:0f0a      ___MBCSIsTable
+0b6b:0f0e      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:580d      ulltoa_
 0000:594a*     lltoa_
@@ -446,10 +446,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)
-0b59:0072      ___Alphabet
+0b6b:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:7e39      __mbinit_
-0b59:04f2+     ___MBCodePage
+0b6b:04f2+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
 0000:7f14      __LDClass_
 0000:7f9a*     _FLClass_
@@ -457,7 +457,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)
-0b59:0098      __IsTable
+0b6b:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
 0000:8082      __ZBuf2LD
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
@@ -465,16 +465,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)
-0b59:019a*     ___f_infinity
-0b59:019e*     ___f_posqnan
-0b59:01a2      ___d_infinity
-0b59:01aa      ___d_posqnan
-0b59:01b2*     ___ld_infinity
-0b59:01ba*     ___ld_posqnan
+0b6b:019a*     ___f_infinity
+0b6b:019e*     ___f_posqnan
+0b6b:01a2      ___d_infinity
+0b6b:01aa      ___d_posqnan
+0b6b:01b2*     ___ld_infinity
+0b6b:01ba*     ___ld_posqnan
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
-0b59:01c2      __HugeValue
+0b6b:01c2      __HugeValue
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-0b59:04f4      ___FPE_int
+0b6b:04f4      ___FPE_int
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:817c*     _msize_
 0000:8197      _fmsize_
@@ -505,6 +505,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  0001a260 (107104.)
+Memory size:  0001a390 (107408.)
 Entry point address: 0000:02d8
-Link time: 00:00.56
+Link time: 00:00.90
index 4f5ddb7be92c9b68a2e9dbb77ab3828e15573ea6..016cad8322c116d00869985c5160e2f29bf0791b 100755 (executable)
Binary files a/pcxtest2.exe and b/pcxtest2.exe differ
index 2cd7871b0adffdf751dd6ba0b3f633fd4c7800ea..8fb365eaba16b7e85eded06e22a7100d6b58b55e 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: pcxtest2.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0b5b:0000            0000ecd0
+DGROUP                          0b6d:0000            0000ece0
 
 
 
@@ -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       0000242c
-bitmap_TEXT            CODE           AUTO           0000:ac10       00000605
-planar_TEXT            CODE           AUTO           0000:b220       00000275
-16text_TEXT            CODE           AUTO           0000:b4a0       0000010d
-FAR_DATA               FAR_DATA       AUTO           0b5a:000d       00000000
-_NULL                  BEGDATA        DGROUP         0b5b:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         0b5d:0000       00000002
-CONST                  DATA           DGROUP         0b5d:0002       00000076
-CONST2                 DATA           DGROUP         0b64:0008       00000132
-_DATA                  DATA           DGROUP         0b78:0000       00000326
-XIB                    DATA           DGROUP         0baa:0006       00000000
-XI                     DATA           DGROUP         0baa:0006       0000002a
-XIE                    DATA           DGROUP         0bad:0000       00000000
-YIB                    DATA           DGROUP         0bad:0000       00000000
-YI                     DATA           DGROUP         0bad:0000       0000000c
-YIE                    DATA           DGROUP         0bad:000c       00000000
-STRINGS                DATA           DGROUP         0bad:000c       00000000
-DATA                   DATA           DGROUP         0bad:000c       00000000
-_emu_init_start        EMU            DGROUP         0bad:000c       00000000
-_emu_init_end          EMU            DGROUP         0bad:000c       00000000
-_BSS                   BSS            DGROUP         0bae:0000       00000ce0
-STACK                  STACK          DGROUP         0c7c:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:87e0       00002550
+bitmap_TEXT            CODE           AUTO           0000:ad30       00000605
+planar_TEXT            CODE           AUTO           0000:b340       00000275
+16text_TEXT            CODE           AUTO           0000:b5c0       0000010d
+FAR_DATA               FAR_DATA       AUTO           0b6c:000d       00000000
+_NULL                  BEGDATA        DGROUP         0b6d:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0b6f:0000       00000002
+CONST                  DATA           DGROUP         0b6f:0002       00000076
+CONST2                 DATA           DGROUP         0b76:0008       00000132
+_DATA                  DATA           DGROUP         0b8a:0000       00000326
+XIB                    DATA           DGROUP         0bbc:0006       00000000
+XI                     DATA           DGROUP         0bbc:0006       0000002a
+XIE                    DATA           DGROUP         0bbf:0000       00000000
+YIB                    DATA           DGROUP         0bbf:0000       00000000
+YI                     DATA           DGROUP         0bbf:0000       0000000c
+YIE                    DATA           DGROUP         0bbf:000c       00000000
+STRINGS                DATA           DGROUP         0bbf:000c       00000000
+DATA                   DATA           DGROUP         0bbf:000c       00000000
+_emu_init_start        EMU            DGROUP         0bbf:000c       00000000
+_emu_init_end          EMU            DGROUP         0bbf:000c       00000000
+_BSS                   BSS            DGROUP         0bc0:0000       00000ce4
+STACK                  STACK          DGROUP         0c8f:0000       0000dac0
 
 
                         +----------------+
@@ -62,7 +62,7 @@ Address        Symbol
 
 Module: pcxtest2.o(/dos/z/16/src/pcxtest2.c)
 0000:0098      main_
-0b5b:0530+     _gvar
+0b6d:0530+     _gvar
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:0275      __STK
 0000:0295*     __STKOVERFLOW_
@@ -70,99 +70,99 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0000:89d4      VGAmodeX_
 0000:8a66+     vgaGetMode_
 0000:8a9c+     modexEnter_
-0000:8b3e*     modexLeave_
-0000:8b56+     modexsetBaseXMode_
-0000:8b94      modexDefaultPage_
-0000:8bf6*     modexNextPage_
-0000:8cc2*     modexNextPageFlexibleSize_
-0000:8d90      modexShowPage_
-0000:8e8c*     modexPanPage_
-0000:8edc*     modexSelectPlane_
-0000:8f00      modexClearRegion_
-0000:9018      oldDrawBmp_
-0000:917e*     CDrawBmp_
-0000:92e2      modexDrawBmp_
-0000:9348+     modexDrawBmpRegion_
-0000:94b2*     modex_sparky4_DrawBmpRegion_
-0000:961c*     modexDrawPlanarBuf_
-0000:963a      modexDrawSprite_
-0000:96a0+     modexDrawSpriteRegion_
-0000:9818      modexCopyPageRegion_
-0000:9982*     modexFadeOn_
-0000:99b2*     modexFadeOff_
-0000:99e0*     modexFlashOn_
-0000:9a0e*     modexFlashOff_
-0000:9ade+     modexPalSave_
-0000:9b34      modexNewPal_
-0000:9b84*     modexLoadPalFile_
-0000:9c66*     modexSavePalFile_
-0000:9cde*     modexPalBlack_
-0000:9d08*     modexPalWhite_
-0000:9d32+     modexPalUpdate_
-0000:a2a2      modexPalUpdate1_
-0000:a31c*     modexPalUpdate0_
-0000:a368+     chkcolor_
-0000:a680+     modexputPixel_
-0000:a70e*     modexgetPixel_
-0000:a794*     modexhlin_
-0000:a800*     modexprint_
-0000:a99a*     modexprintbig_
-0000:ab16*     pdump_
-0000:ab76*     cls_
-0000:abe4+     modexWaitBorder_
-0b5b:01e4      _VGA
+0000:8c4e*     modexLeave_
+0000:8c66+     modexsetBaseXMode_
+0000:8cb8      modexDefaultPage_
+0000:8d1a*     modexNextPage_
+0000:8de6*     modexNextPageFlexibleSize_
+0000:8eb4      modexShowPage_
+0000:8fb0*     modexPanPage_
+0000:9000*     modexSelectPlane_
+0000:9024      modexClearRegion_
+0000:913c      oldDrawBmp_
+0000:92a2*     CDrawBmp_
+0000:9406      modexDrawBmp_
+0000:946c+     modexDrawBmpRegion_
+0000:95d6*     modex_sparky4_DrawBmpRegion_
+0000:9740*     modexDrawPlanarBuf_
+0000:975e      modexDrawSprite_
+0000:97c4+     modexDrawSpriteRegion_
+0000:993c      modexCopyPageRegion_
+0000:9aa6*     modexFadeOn_
+0000:9ad6*     modexFadeOff_
+0000:9b04*     modexFlashOn_
+0000:9b32*     modexFlashOff_
+0000:9c02+     modexPalSave_
+0000:9c58      modexNewPal_
+0000:9ca8*     modexLoadPalFile_
+0000:9d8a*     modexSavePalFile_
+0000:9e02*     modexPalBlack_
+0000:9e2c*     modexPalWhite_
+0000:9e56+     modexPalUpdate_
+0000:a3c6      modexPalUpdate1_
+0000:a440*     modexPalUpdate0_
+0000:a48c+     chkcolor_
+0000:a7a4+     modexputPixel_
+0000:a832*     modexgetPixel_
+0000:a8b8*     modexhlin_
+0000:a924*     modexprint_
+0000:aabe*     modexprintbig_
+0000:ac3a*     pdump_
+0000:ac9a*     cls_
+0000:ad08+     modexWaitBorder_
+0b6d:01e4      _VGA
 Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
-0000:af4e      bitmapLoadPcx_
-0000:b0aa*     bitmapLoadPcxTiles_
+0000:b06e      bitmapLoadPcx_
+0000:b1ca*     bitmapLoadPcxTiles_
 Module: gfx.lib(/dos/z/16/src/lib/planar.c)
-0000:b220      planar_buf_from_bitmap_
-0000:b340+     planar_buf_alloc_
-0000:b43a*     planar_buf_free_
+0000:b340      planar_buf_from_bitmap_
+0000:b460+     planar_buf_alloc_
+0000:b55a*     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)
-0b5b:0000*     __nullarea
-0b5b:0214*     __ovlflag
-0b5b:0215*     __intno
-0b5b:0216*     __ovlvec
+0b6d:0000*     __nullarea
+0b6d:0214*     __ovlflag
+0b6d:0215*     __intno
+0b6d: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)
-0b5b:021a      _fltused_
+0b6d: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)
-0b5b:021c      __8087
-0b5b:021d      __real87
-0b5b:021e      __dos87emucall
-0b5b:0220      __dos87real
+0b6d:021c      __8087
+0b6d:021d      __real87
+0b6d:021e      __dos87emucall
+0b6d: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)
-0b5b:0222      __curbrk
-0b5b:022a      __STACKLOW
-0b5b:022c      __STACKTOP
-0b5b:022e      __cbyte
-0b5b:0230      __child
-0b5b:0232      __no87
-0b5b:023f      ___FPE_handler
-0b5b:0224      __psp
-0b5b:0233      __get_ovl_stack
-0b5b:0237      __restore_ovl_stack
-0b5b:023b      __close_ovl_file
-0b5b:0243      __LpCmdLine
-0b5b:0247      __LpPgmName
-0b5b:0226      __osmajor
-0b5b:0227      __osminor
-0b5b:0228      __osmode
-0b5b:0229      __HShift
+0b6d:0222      __curbrk
+0b6d:022a      __STACKLOW
+0b6d:022c      __STACKTOP
+0b6d:022e      __cbyte
+0b6d:0230      __child
+0b6d:0232      __no87
+0b6d:023f      ___FPE_handler
+0b6d:0224      __psp
+0b6d:0233      __get_ovl_stack
+0b6d:0237      __restore_ovl_stack
+0b6d:023b      __close_ovl_file
+0b6d:0243      __LpCmdLine
+0b6d:0247      __LpPgmName
+0b6d:0226      __osmajor
+0b6d:0227      __osminor
+0b6d:0228      __osmode
+0b6d:0229      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 0000:05a8+     int86x_
 0000:072b      int86_
@@ -172,16 +172,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_
-0b5b:024c+     ___fheap
-0b5b:024e      ___fheapRover
-0b5b:0250      ___LargestSizeB4Rover
+0b6d:024c+     ___fheap
+0b6d:024e      ___fheapRover
+0b6d: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_
-0b5b:0252+     ___int23_exit
-0b5b:0256      ___FPE_handler_exit
+0b6d:0252+     ___int23_exit
+0b6d:0256      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:0929+     __open_flags_
 0000:0bea+     _fsopen_
@@ -194,7 +194,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:1194      __doclose_
 0000:12de      __shutdown_stream_
 0000:12f8      fclose_
-0b5b:0ed8+     ___RmTmpFileFn
+0b6d:0edc+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:1363      _ffree_
 0000:1363      free_
@@ -207,16 +207,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:b516*     textInit_
-0b5b:0edc      _romFonts
+0000:b636*     textInit_
+0b6d:0ee0      _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)
-0b5b:025e      ___iob
-0b5b:0ef4      ___ClosedStreams
-0b5b:0ef8      ___OpenStreams
+0b6d:025e      ___iob
+0b6d:0ef8      ___ClosedStreams
+0b6d:0efc      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
 0000:1e53      fprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
@@ -229,7 +229,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)
-0b5b:03c6      ___uselfn
+0b6d:03c6      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
 0000:2114      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c)
@@ -241,7 +241,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_
-0b5b:03e6+     ___WD_Present
+0b6d: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)
@@ -257,21 +257,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_
-0b5b:03e8      ___nheapbeg
-0b5b:03ea      ___MiniHeapRover
-0b5b:03ec      ___LargestSizeB4MiniHeapRover
+0b6d:03e8      ___nheapbeg
+0b6d:03ea      ___MiniHeapRover
+0b6d: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_
-0b5b:03ee      __commode
+0b6d:03ee      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:28fe*     __get_errno_ptr_
-0b5b:0efc      _errno
+0b6d:0f00      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-0b5b:03f0      __fmode
+0b6d: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)
@@ -303,7 +303,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_
-0b5b:0efe+     ___MiniHeapFreeRover
+0b6d:0f02+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
 0000:34d3      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
@@ -322,27 +322,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)
-0b5b:0f00      ____Argv
-0b5b:0f04      ____Argc
+0b6d:0f04      ____Argv
+0b6d:0f08      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0b5b:03f2      __amblksiz
+0b6d:03f2      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0b5b:04f6      __Start_XI
-0b5b:0520      __End_XI
-0b5b:0520      __Start_YI
-0b5b:052c      __End_YI
+0b6d:04f6      __Start_XI
+0b6d:0520      __End_XI
+0b6d:0520      __Start_YI
+0b6d:052c      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-0b5b:03f4      ___EFG_printf
-0b5b:03f8      ___EFG_scanf
+0b6d:03f4      ___EFG_printf
+0b6d: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)
-0b5b:03fc      __8087cw
+0b6d:03fc      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-0b5b:03fe      ___Save8087
-0b5b:0402      ___Rest8087
+0b6d:03fe      ___Save8087
+0b6d: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)
@@ -352,7 +352,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_
-0b5b:0406      ___heap_enabled
+0b6d: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)
@@ -363,16 +363,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_
-0b5b:0408      ___NFiles
-0b5b:040a      ___init_mode
-0b5b:0432      ___io_mode
+0b6d:0408      ___NFiles
+0b6d:040a      ___init_mode
+0b6d: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_
-0b5b:0f06      __doserrno
+0b6d:0f0a      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-0b5b:0436      ___umaskval
+0b6d:0436      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:540e      _dos_creat_
 0000:5432*     _dos_creatnew_
@@ -395,10 +395,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)
-0b5b:044c      ___IsDBCS
+0b6d:044c      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:5811*     _ismbblead_
-0b5b:0f0a      ___MBCSIsTable
+0b6d:0f0e      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:582d      ulltoa_
 0000:596a*     lltoa_
@@ -446,10 +446,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)
-0b5b:0072      ___Alphabet
+0b6d:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:7e59      __mbinit_
-0b5b:04f2+     ___MBCodePage
+0b6d:04f2+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
 0000:7f34      __LDClass_
 0000:7fba*     _FLClass_
@@ -457,7 +457,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)
-0b5b:0098      __IsTable
+0b6d:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
 0000:80a2      __ZBuf2LD
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
@@ -465,16 +465,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)
-0b5b:019a*     ___f_infinity
-0b5b:019e*     ___f_posqnan
-0b5b:01a2      ___d_infinity
-0b5b:01aa      ___d_posqnan
-0b5b:01b2*     ___ld_infinity
-0b5b:01ba*     ___ld_posqnan
+0b6d:019a*     ___f_infinity
+0b6d:019e*     ___f_posqnan
+0b6d:01a2      ___d_infinity
+0b6d:01aa      ___d_posqnan
+0b6d:01b2*     ___ld_infinity
+0b6d:01ba*     ___ld_posqnan
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
-0b5b:01c2      __HugeValue
+0b6d:01c2      __HugeValue
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-0b5b:04f4      ___FPE_int
+0b6d:04f4      ___FPE_int
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:819c*     _msize_
 0000:81b7      _fmsize_
@@ -505,6 +505,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  0001a280 (107136.)
+Memory size:  0001a3b0 (107440.)
 Entry point address: 0000:02f8
-Link time: 00:00.33
+Link time: 00:00.02
index f0b19423d3d539ddf45b8eac97d8b311233df802..31163064ecb13b6abc044e1791fc475f452c340f 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index 37c2889cb072a432a85188b2dfa58fb4e06586f2..ad30b205d472f45998627184b25ac86abb044b54 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: scroll.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          19b3:0000            0000f860
+DGROUP                          19e4:0000            0000f880
 
 
 
@@ -24,42 +24,42 @@ DGROUP                          19b3:0000            0000f860
 Segment                Class          Group          Address         Size
 =======                =====          =====          =======         ====
 
-scroll_TEXT            CODE           AUTO           0000:0000       00000d62
-mapread_TEXT           CODE           AUTO           0000:0d70       000008ae
-jsmn_TEXT              CODE           AUTO           0000:1620       00000919
-16_in_TEXT             CODE           AUTO           0000:1f40       00001e80
-16_mm_TEXT             CODE           AUTO           0000:3dc0       00003308
-wcpu_TEXT              CODE           AUTO           0000:70d0       00000058
-16_head_TEXT           CODE           AUTO           0000:7130       00000405
-16_ca_TEXT             CODE           AUTO           0000:7540       000003fd
-kitten_TEXT            CODE           AUTO           0000:7940       0000080a
-16_hc_TEXT             CODE           AUTO           0000:8150       0000158b
-timer_TEXT             CODE           AUTO           0000:96e0       00000235
-_TEXT                  CODE           AUTO           0992:0000       00009db9
-scroll16_TEXT          CODE           AUTO           0992:9dc0       000034c3
-bitmap_TEXT            CODE           AUTO           0992:d290       00000605
-planar_TEXT            CODE           AUTO           0992:d8a0       00000275
-16text_TEXT            CODE           AUTO           0992:db20       0000010d
-modex16_TEXT           CODE           AUTO           1755:0000       0000242c
-16_in13_DATA           FAR_DATA       AUTO           1998:0000       000001a4
-FAR_DATA               FAR_DATA       AUTO           19b2:0004       00000000
-_NULL                  BEGDATA        DGROUP         19b3:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         19b5:0000       00000002
-CONST                  DATA           DGROUP         19b5:0002       00000076
-CONST2                 DATA           DGROUP         19bc:0008       00000132
-_DATA                  DATA           DGROUP         19d0:0000       00000b14
-XIB                    DATA           DGROUP         1a81:0004       00000000
-XI                     DATA           DGROUP         1a81:0004       0000003c
-XIE                    DATA           DGROUP         1a85:0000       00000000
-YIB                    DATA           DGROUP         1a85:0000       00000000
-YI                     DATA           DGROUP         1a85:0000       00000018
-YIE                    DATA           DGROUP         1a86:0008       00000000
-STRINGS                DATA           DGROUP         1a86:0008       00000000
-DATA                   DATA           DGROUP         1a86:0008       00000000
-_emu_init_start        EMU            DGROUP         1a86:0008       00000000
-_emu_init_end          EMU            DGROUP         1a86:0008       00000000
-_BSS                   BSS            DGROUP         1a87:0000       00001056
-STACK                  STACK          DGROUP         1b8d:0000       0000dac0
+scroll_TEXT            CODE           AUTO           0000:0000       00000dd6
+mapread_TEXT           CODE           AUTO           0000:0de0       000008ae
+jsmn_TEXT              CODE           AUTO           0000:1690       00000919
+16_in_TEXT             CODE           AUTO           0000:1fb0       00001e80
+16_mm_TEXT             CODE           AUTO           0000:3e30       00003308
+wcpu_TEXT              CODE           AUTO           0000:7140       00000058
+16_head_TEXT           CODE           AUTO           0000:71a0       00000405
+16_ca_TEXT             CODE           AUTO           0000:75b0       000003fd
+kitten_TEXT            CODE           AUTO           0000:79b0       0000080a
+16_hc_TEXT             CODE           AUTO           0000:81c0       0000158b
+timer_TEXT             CODE           AUTO           0000:9750       00000235
+_TEXT                  CODE           AUTO           0999:0000       00009db9
+scroll16_TEXT          CODE           AUTO           0999:9dc0       0000364d
+bitmap_TEXT            CODE           AUTO           0999:d410       00000605
+planar_TEXT            CODE           AUTO           0999:da20       00000275
+16text_TEXT            CODE           AUTO           0999:dca0       0000010d
+modex16_TEXT           CODE           AUTO           1774:0000       00002550
+16_in13_DATA           FAR_DATA       AUTO           19c9:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           19e3:0004       00000000
+_NULL                  BEGDATA        DGROUP         19e4:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         19e6:0000       00000002
+CONST                  DATA           DGROUP         19e6:0002       00000076
+CONST2                 DATA           DGROUP         19ed:0008       00000132
+_DATA                  DATA           DGROUP         1a01:0000       00000b14
+XIB                    DATA           DGROUP         1ab2:0004       00000000
+XI                     DATA           DGROUP         1ab2:0004       0000003c
+XIE                    DATA           DGROUP         1ab6:0000       00000000
+YIB                    DATA           DGROUP         1ab6:0000       00000000
+YI                     DATA           DGROUP         1ab6:0000       00000018
+YIE                    DATA           DGROUP         1ab7:0008       00000000
+STRINGS                DATA           DGROUP         1ab7:0008       00000000
+DATA                   DATA           DGROUP         1ab7:0008       00000000
+_emu_init_start        EMU            DGROUP         1ab7:0008       00000000
+_emu_init_end          EMU            DGROUP         1ab7:0008       00000000
+_BSS                   BSS            DGROUP         1ab8:0000       00001076
+STACK                  STACK          DGROUP         1bc0:0000       0000dac0
 
 
                         +----------------+
@@ -73,623 +73,623 @@ Address        Symbol
 =======        ======
 
 Module: scroll.o(/dos/z/16/src/scroll.c)
-19b3:0d40+     _screen
-19b3:0d58+     _screen3
-19b3:0d70+     _screen2
-19b3:0d88+     _mv
-19b3:0db8+     _player
-19b3:0eb8+     _gvar
-19b3:0ee0+     _spri
-19b3:0ee4+     _mask
-19b3:0ee8+     _p
-19b3:0eec*     _t
-19b3:0ef0+     _bg
-19b3:0f00+     _bakapee
+19e4:0d40+     _mv
+19e4:0d70+     _player
+19e4:0e70+     _spri
+19e4:0e74+     _mask
+19e4:0e78+     _p
+19e4:0e7c*     _t
+19e4:0e80+     _screen
+19e4:0ea4+     _screen3
+19e4:0ec8+     _screen2
+19e4:0eec+     _bg
+19e4:0ef0+     _gvar
+19e4:0f28+     _bakapee
 0000:023a      main_
 Module: mapread.o(/dos/z/16/src/lib/mapread.c)
-0000:0e48+     jsoneq_
-0000:0eec+     dump_
-0000:13e8      loadmap_
+0000:0eb8+     jsoneq_
+0000:0f5c+     dump_
+0000:1458      loadmap_
 Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
-0000:19f2      jsmn_parse_
-0000:1eee      jsmn_init_
+0000:1a62      jsmn_parse_
+0000:1f5e      jsmn_init_
 Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
-19b3:0f2e+     _inpu
-0000:2080+     INL_KeyService_
-0000:231a+     Mouse_
-0000:2372+     IN_GetJoyAbs_
-0000:271c+     IN_GetJoyButtonsDB_
-0000:29a2+     IN_SetupJoy_
-0000:2b64      IN_Startup_
-0000:2c6a      IN_Default_
-0000:2dce      IN_Shutdown_
-0000:2e4e*     IN_SetKeyHook_
-0000:2e70+     IN_ClearKeysDown_
-0000:2f50*     IN_ReadCursor_
-0000:306c      IN_ReadControl_
-0000:38a4*     IN_SetControlType_
-0000:38f2*     IN_GetScanName_
-0000:397a*     IN_WaitForKey_
-0000:39b0*     IN_WaitForASCII_
-0000:39e6+     IN_AckBack_
-0000:3ace      IN_Ack_
-0000:3b70+     IN_IsUserInput_
-0000:3c16*     IN_UserInput_
-0000:3c5a      IN_KeyDown_
-0000:3ca2+     IN_ClearKey_
-0000:3d1a*     IN_qb_
+19e4:0f4e+     _inpu
+0000:20f0+     INL_KeyService_
+0000:238a+     Mouse_
+0000:23e2+     IN_GetJoyAbs_
+0000:278c+     IN_GetJoyButtonsDB_
+0000:2a12+     IN_SetupJoy_
+0000:2bd4      IN_Startup_
+0000:2cda      IN_Default_
+0000:2e3e      IN_Shutdown_
+0000:2ebe*     IN_SetKeyHook_
+0000:2ee0+     IN_ClearKeysDown_
+0000:2fc0*     IN_ReadCursor_
+0000:30dc      IN_ReadControl_
+0000:3914*     IN_SetControlType_
+0000:3962*     IN_GetScanName_
+0000:39ea*     IN_WaitForKey_
+0000:3a20*     IN_WaitForASCII_
+0000:3a56+     IN_AckBack_
+0000:3b3e      IN_Ack_
+0000:3be0+     IN_IsUserInput_
+0000:3c86*     IN_UserInput_
+0000:3cca      IN_KeyDown_
+0000:3d12+     IN_ClearKey_
+0000:3d8a*     IN_qb_
 Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c)
-0000:47a4+     MML_CheckForEMS_
-0000:4800+     MML_SetupEMS_
-0000:49b8+     MML_ShutdownEMS_
-0000:4a24+     MM_MapEMS_
-0000:4b20*     MM_MapXEMS_
-0000:4c40+     MML_CheckForXMS_
-0000:4c9c*     MML_SetupXMS_
-0000:4d84+     MML_ShutdownXMS_
-0000:4e12+     MML_UseSpace_
-0000:4ff0+     MML_ClearBlock_
-0000:5074*     MM_Startup_
-0000:54a6+     MM_Shutdown_
-0000:553c      MM_GetPtr_
-0000:5936+     MM_FreePtr_
-0000:5a2e*     MM_SetPurge_
-0000:5b08*     MM_SetLock_
-0000:5be0+     MM_SortMem_
-0000:5dce*     MM_ShowMemory_
-0000:646e*     MM_DumpData_
-0000:65c8+     MM_UnusedMemory_
-0000:664c+     MM_TotalFree_
-0000:66e2*     MM_Report_
-0000:709a*     MM_BombOnError_
-19b3:1090+     _beforesort
-19b3:1094+     _aftersort
-19b3:1098+     _XMSaddr
+0000:4814+     MML_CheckForEMS_
+0000:4870+     MML_SetupEMS_
+0000:4a28+     MML_ShutdownEMS_
+0000:4a94+     MM_MapEMS_
+0000:4b90*     MM_MapXEMS_
+0000:4cb0+     MML_CheckForXMS_
+0000:4d0c*     MML_SetupXMS_
+0000:4df4+     MML_ShutdownXMS_
+0000:4e82+     MML_UseSpace_
+0000:5060+     MML_ClearBlock_
+0000:50e4*     MM_Startup_
+0000:5516+     MM_Shutdown_
+0000:55ac      MM_GetPtr_
+0000:59a6+     MM_FreePtr_
+0000:5a9e*     MM_SetPurge_
+0000:5b78*     MM_SetLock_
+0000:5c50+     MM_SortMem_
+0000:5e3e*     MM_ShowMemory_
+0000:64de*     MM_DumpData_
+0000:6638+     MM_UnusedMemory_
+0000:66bc+     MM_TotalFree_
+0000:6752*     MM_Report_
+0000:710a*     MM_BombOnError_
+19e4:10b0+     _beforesort
+19e4:10b4+     _aftersort
+19e4:10b8+     _XMSaddr
 Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c)
-0000:70d0      detectcpu_
+0000:7140      detectcpu_
 Module: 16_head.o(/dos/z/16/src/lib/16_head.c)
-0000:713e*     wait_
-0000:718a*     filesize_
-0000:71f0      printmeminfoline_
-0000:73dc      US_CheckParm_
+0000:71ae*     wait_
+0000:71fa*     filesize_
+0000:7260      printmeminfoline_
+0000:744c      US_CheckParm_
 Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
-0000:756e      CA_OpenDebug_
-0000:75be      CA_CloseDebug_
-0000:75ec+     CA_FarRead_
-0000:766c*     CA_FarWrite_
-0000:76ec*     CA_ReadFile_
-0000:7768*     CA_LoadFile_
-0000:7810*     CAL_OptimizeNodes_
-0000:78c0*     CA_Startup_
-0000:7910*     CA_Shutdown_
-19b3:10a0*     _finishcachebox
-19b3:10a4*     _drawcachebox
-19b3:10a8*     _updatecachebox
+0000:75de      CA_OpenDebug_
+0000:762e      CA_CloseDebug_
+0000:765c+     CA_FarRead_
+0000:76dc*     CA_FarWrite_
+0000:775c*     CA_ReadFile_
+0000:77d8*     CA_LoadFile_
+0000:7880*     CAL_OptimizeNodes_
+0000:7930*     CA_Startup_
+0000:7980*     CA_Shutdown_
+19e4:10c0*     _finishcachebox
+19e4:10c4*     _updatecachebox
+19e4:10c8*     _drawcachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
-0000:797c      KITTENGETS
-0000:79dc*     kittenopen_
-0000:7c2a+     catread_
-0000:7cde*     kittenclose_
-0000:7cfa+     mystrtoul_
-0000:7dae+     processEscChars_
-0000:7f34+     get_line_
-0000:7fa6+     db_fetch_
-0000:803c+     db_insert_
-19b3:04d4+     __kitten_catalog
+0000:79ec      KITTENGETS
+0000:7a4c*     kittenopen_
+0000:7c9a+     catread_
+0000:7d4e*     kittenclose_
+0000:7d6a+     mystrtoul_
+0000:7e1e+     processEscChars_
+0000:7fa4+     get_line_
+0000:8016+     db_fetch_
+0000:80ac+     db_insert_
+19e4:04d4+     __kitten_catalog
 Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c)
-0000:82fc+     LargestFreeBlock_
-0000:838a+     _coreleft_
-0000:8406+     LargestFarFreeBlock_
-0000:84bc+     _farcoreleft_
-0000:856a+     LargestHugeFreeBlock_
-0000:865a*     _hugecoreleft_
-0000:872a+     GetFreeSize_
-0000:8784+     GetFarFreeSize_
-0000:87ce+     GetNearFreeSize_
-0000:881c*     heapdump_
-0000:94be+     heapstat_
-0000:95fc+     heapstat0_
-0000:965e+     HC_OpenDebug_
-0000:96ae*     HC_CloseDebug_
+0000:836c+     LargestFreeBlock_
+0000:83fa+     _coreleft_
+0000:8476+     LargestFarFreeBlock_
+0000:852c+     _farcoreleft_
+0000:85da+     LargestHugeFreeBlock_
+0000:86ca*     _hugecoreleft_
+0000:879a+     GetFreeSize_
+0000:87f4+     GetFarFreeSize_
+0000:883e+     GetNearFreeSize_
+0000:888c*     heapdump_
+0000:952e+     heapstat_
+0000:966c+     heapstat0_
+0000:96ce+     HC_OpenDebug_
+0000:971e*     HC_CloseDebug_
 Module: timer.o(/dos/z/16/src/lib/timer.c)
-0000:96e0      start_timer_
-0000:980c      elapsed_timer_
-0000:985e      ticktock_
-0000:98ca*     time_in_seconds_
+0000:9750      start_timer_
+0000:987c      elapsed_timer_
+0000:98ce      ticktock_
+0000:993a*     time_in_seconds_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
-0992:0005      __STK
-0992:0025      __STKOVERFLOW_
+0999:0005      __STK
+0999:0025      __STKOVERFLOW_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
-0992:0042      _fmalloc_
-0992:0042      malloc_
-19b3:04f6      ___fheap
-19b3:04f8      ___fheapRover
-19b3:04fa      ___LargestSizeB4Rover
+0999:0042      _fmalloc_
+0999:0042      malloc_
+19e4:04f6      ___fheap
+19e4:04f8      ___fheapRover
+19e4:04fa      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
-0992:01bf      __PIA
-0992:01b8*     __PIS
+0999:01bf      __PIA
+0999:01b8*     __PIS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
-0992:01d6      printf_
+0999:01d6      printf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-19b3:04fc      ___iob
-19b3:10b4      ___ClosedStreams
-19b3:10b8      ___OpenStreams
+19e4:04fc      ___iob
+19e4:10d4      ___ClosedStreams
+19e4:10d8      ___OpenStreams
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
-0992:0205      fprintf_
+0999:0205      fprintf_
 Module: gfx.lib(/dos/z/16/src/lib/scroll16.c)
-0992:9e0e      walk_
-0992:b884+     mapScrollRight_
-0992:bb62+     mapScrollLeft_
-0992:be16+     mapScrollUp_
-0992:c104+     mapScrollDown_
-0992:c424      chkmap_
-0992:c5b4      mapGoTo_
-0992:c81c+     mapDrawTile_
-0992:c940+     mapDrawRow_
-0992:ca94+     mapDrawCol_
-0992:cbfe+     mapDrawWRow_
-0992:cd2c*     mapDrawWCol_
-0992:ce76      shinku_
-0992:cffe+     animatePlayer_
+0999:9e0e      walk_
+0999:ba0e+     mapScrollRight_
+0999:bcec+     mapScrollLeft_
+0999:bfa0+     mapScrollUp_
+0999:c28e+     mapScrollDown_
+0999:c5ae      chkmap_
+0999:c73e      mapGoTo_
+0999:c9a6+     mapDrawTile_
+0999:caca+     mapDrawRow_
+0999:cc1e+     mapDrawCol_
+0999:cd88+     mapDrawWRow_
+0999:ceb6*     mapDrawWCol_
+0999:d000      shinku_
+0999:d188+     animatePlayer_
 Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
-0992:d5ce      bitmapLoadPcx_
-0992:d72a*     bitmapLoadPcxTiles_
+0999:d74e      bitmapLoadPcx_
+0999:d8aa*     bitmapLoadPcxTiles_
 Module: gfx.lib(/dos/z/16/src/lib/planar.c)
-0992:d8a0      planar_buf_from_bitmap_
-0992:d9c0+     planar_buf_alloc_
-0992:daba*     planar_buf_free_
+0999:da20      planar_buf_from_bitmap_
+0999:db40+     planar_buf_alloc_
+0999:dc3a*     planar_buf_free_
 Module: gfx.lib(/dos/z/16/src/lib/16text.c)
-0992:db96      textInit_
-19b3:1140      _romFonts
+0999:dd16      textInit_
+19e4:1160      _romFonts
 Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
-1755:01f4      VGAmodeX_
-1755:0286+     vgaGetMode_
-1755:02bc+     modexEnter_
-1755:035e*     modexLeave_
-1755:0376+     modexsetBaseXMode_
-1755:03b4      modexDefaultPage_
-1755:0416      modexNextPage_
-1755:04e2      modexNextPageFlexibleSize_
-1755:05b0      modexShowPage_
-1755:06ac*     modexPanPage_
-1755:06fc*     modexSelectPlane_
-1755:0720      modexClearRegion_
-1755:0838*     oldDrawBmp_
-1755:099e*     CDrawBmp_
-1755:0b02*     modexDrawBmp_
-1755:0b68+     modexDrawBmpRegion_
-1755:0cd2*     modex_sparky4_DrawBmpRegion_
-1755:0e3c*     modexDrawPlanarBuf_
-1755:0e5a*     modexDrawSprite_
-1755:0ec0+     modexDrawSpriteRegion_
-1755:1038      modexCopyPageRegion_
-1755:11a2*     modexFadeOn_
-1755:11d2*     modexFadeOff_
-1755:1200*     modexFlashOn_
-1755:122e*     modexFlashOff_
-1755:12fe+     modexPalSave_
-1755:1354      modexNewPal_
-1755:13a4*     modexLoadPalFile_
-1755:1486*     modexSavePalFile_
-1755:14fe*     modexPalBlack_
-1755:1528*     modexPalWhite_
-1755:1552+     modexPalUpdate_
-1755:1ac2+     modexPalUpdate1_
-1755:1b3c*     modexPalUpdate0_
-1755:1b88+     chkcolor_
-1755:1ea0+     modexputPixel_
-1755:1f2e*     modexgetPixel_
-1755:1fb4*     modexhlin_
-1755:2020      modexprint_
-1755:21ba*     modexprintbig_
-1755:2336      pdump_
-1755:2396*     cls_
-1755:2404      modexWaitBorder_
-19b3:0b54+     _VGA
+1774:01f4      VGAmodeX_
+1774:0286+     vgaGetMode_
+1774:02bc+     modexEnter_
+1774:046e*     modexLeave_
+1774:0486+     modexsetBaseXMode_
+1774:04d8      modexDefaultPage_
+1774:053a      modexNextPage_
+1774:0606      modexNextPageFlexibleSize_
+1774:06d4      modexShowPage_
+1774:07d0*     modexPanPage_
+1774:0820*     modexSelectPlane_
+1774:0844      modexClearRegion_
+1774:095c*     oldDrawBmp_
+1774:0ac2*     CDrawBmp_
+1774:0c26*     modexDrawBmp_
+1774:0c8c+     modexDrawBmpRegion_
+1774:0df6*     modex_sparky4_DrawBmpRegion_
+1774:0f60*     modexDrawPlanarBuf_
+1774:0f7e*     modexDrawSprite_
+1774:0fe4+     modexDrawSpriteRegion_
+1774:115c      modexCopyPageRegion_
+1774:12c6*     modexFadeOn_
+1774:12f6*     modexFadeOff_
+1774:1324*     modexFlashOn_
+1774:1352*     modexFlashOff_
+1774:1422+     modexPalSave_
+1774:1478      modexNewPal_
+1774:14c8*     modexLoadPalFile_
+1774:15aa*     modexSavePalFile_
+1774:1622*     modexPalBlack_
+1774:164c*     modexPalWhite_
+1774:1676+     modexPalUpdate_
+1774:1be6+     modexPalUpdate1_
+1774:1c60*     modexPalUpdate0_
+1774:1cac+     chkcolor_
+1774:1fc4+     modexputPixel_
+1774:2052*     modexgetPixel_
+1774:20d8*     modexhlin_
+1774:2144      modexprint_
+1774:22de*     modexprintbig_
+1774:245a      pdump_
+1774:24ba*     cls_
+1774:2528      modexWaitBorder_
+19e4:0b54+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sound.c)
-0992:0234      sound_
-0992:026f      nosound_
+0999:0234      sound_
+0999:026f      nosound_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
-0992:027b      atoi_
+0999:027b      atoi_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-19b3:0000*     __nullarea
-19b3:0b68*     __ovlflag
-19b3:0b69*     __intno
-19b3:0b6a*     __ovlvec
-0992:0316      _cstart_
-0992:03e9*     _Not_Enough_Memory_
-0992:051b      __exit_
-0992:053a      __do_exit_with_msg__
-0992:0597      __GETDS
+19e4:0000*     __nullarea
+19e4:0b68*     __ovlflag
+19e4:0b69*     __intno
+19e4:0b6a*     __ovlvec
+0999:0316      _cstart_
+0999:03e9*     _Not_Enough_Memory_
+0999:051b      __exit_
+0999:053a      __do_exit_with_msg__
+0999:0597      __GETDS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
-0992:05a2      _big_code_
-0992:05a2*     CodeModelMismatch
+0999:05a2      _big_code_
+0999:05a2*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
-19b3:1a58      __argv
-19b3:1a5c      ___argv
-19b3:1a60      __argc
-19b3:1a62      ___argc
+19e4:1a78      __argv
+19e4:1a7c      ___argv
+19e4:1a80      __argc
+19e4:1a82      ___argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c)
-0992:05a2      strncmp_
+0999:05a2      strncmp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c)
-0992:05df      strstr_
+0999:05df      strstr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
-0992:06e1+     __open_flags_
-0992:09a2+     _fsopen_
-0992:0a09      fopen_
-0992:0b2c*     freopen_
+0999:06e1+     __open_flags_
+0999:09a2+     _fsopen_
+0999:0a09      fopen_
+0999:0b2c*     freopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
-0992:0bb6      fread_
+0999:0bb6      fread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
-0992:0f2d      __get_errno_ptr_
-19b3:1a64      _errno
+0999:0f2d      __get_errno_ptr_
+19e4:1a84      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
-0992:0f34*     _frealloc_
-0992:0f34      realloc_
+0999:0f34*     _frealloc_
+0999:0f34      realloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
-0992:1010      __PTC
+0999:1010      __PTC
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncpy.c)
-0992:1043      strncpy_
+0999:1043      strncpy_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
-0992:107f+     int86x_
-0992:1202      int86_
+0999:107f+     int86x_
+0999:1202      int86_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
-0992:1230      __I4M
-0992:1230      __U4M
+0999:1230      __I4M
+0999:1230      __U4M
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_getvec.c)
-0992:1248      _dos_getvect_
+0999:1248      _dos_getvect_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_setvec.c)
-0992:1253      _dos_setvect_
+0999:1253      _dos_setvect_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
-0992:1260      __I4D
-0992:12af      __U4D
+0999:1260      __I4D
+0999:12af      __U4D
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
-0992:1333*     _heapgrow_
-0992:1333      _fheapgrow_
-0992:1334      _nheapgrow_
+0999:1333*     _heapgrow_
+0999:1333      _fheapgrow_
+0999:1334      _nheapgrow_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
-0992:13ac      _memavl_
+0999:13ac      _memavl_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
-0992:13f1      _nmalloc_
-19b3:0b6e      ___nheapbeg
-19b3:0b70      ___MiniHeapRover
-19b3:0b72      ___LargestSizeB4MiniHeapRover
+0999:13f1      _nmalloc_
+19e4:0b6e      ___nheapbeg
+19e4:0b70      ___MiniHeapRover
+19e4:0b72      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
-0992:14cb      _ffree_
-0992:14cb      free_
+0999:14cb      _ffree_
+0999:14cb      free_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
-0992:1538      _nfree_
-19b3:1a66+     ___MiniHeapFreeRover
+0999:1538      _nfree_
+19e4:1a86+     ___MiniHeapFreeRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
-0992:1633+     _null_exit_rtn_
-0992:1633+     __null_int23_exit_
-0992:1634      exit_
-0992:1655+     _exit_
-19b3:0b74+     ___int23_exit
-19b3:0b78      ___FPE_handler_exit
+0999:1633+     _null_exit_rtn_
+0999:1633+     __null_int23_exit_
+0999:1634      exit_
+0999:1655+     _exit_
+19e4:0b74+     ___int23_exit
+19e4:0b78      ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
-0992:1671      ultoa_
-0992:172f*     ltoa_
+0999:1671      ultoa_
+0999:172f*     ltoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(write.c)
-0992:18b5      write_
+0999:18b5      write_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
-0992:1ae1      __doclose_
-0992:1c2b      __shutdown_stream_
-0992:1c45      fclose_
-19b3:1a68+     ___RmTmpFileFn
+0999:1ae1      __doclose_
+0999:1c2b      __shutdown_stream_
+0999:1c45      fclose_
+19e4:1a88+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
-0992:1cb0+     __ibm_bios_get_ticks_
-0992:1d27      clock_
+0999:1cb0+     __ibm_bios_get_ticks_
+0999:1d27      clock_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
-0992:1d4e      kbhit_
+0999:1d4e      kbhit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
-0992:1d65      ftell_
+0999:1d65      ftell_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
-0992:1f4b      fseek_
+0999:1f4b      fseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
-19b3:0098      __IsTable
+19e4:0098      __IsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
-0992:2143      tolower_
+0999:2143      tolower_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c)
-0992:2151      unlink_
+0999:2151      unlink_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
-0992:2381      open_
-0992:23b8      sopen_
+0999:2381      open_
+0999:23b8      sopen_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(close.c)
-0992:23e5      close_
+0999:23e5      close_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filelen.c)
-0992:23ea      filelength_
+0999:23ea      filelength_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c)
-0992:2448      sprintf_
+0999:2448      sprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getenv.c)
-0992:2477      getenv_
+0999:2477      getenv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
-0992:2562      __PTS
+0999:2562      __PTS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(read.c)
-0992:2593      read_
+0999:2593      read_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strdup.c)
-0992:26cc*     __clib_strdup_
-0992:26cc      strdup_
+0999:26cc*     __clib_strdup_
+0999:26cc      strdup_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(haloc.c)
-0992:2733      halloc_
-0992:2818      hfree_
+0999:2733      halloc_
+0999:2818      hfree_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fheapwal.c)
-0992:281f      _heapwalk_
-0992:281f      _fheapwalk_
+0999:281f      _heapwalk_
+0999:281f      _fheapwalk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c)
-0992:2834+     __NHeapWalk_
-0992:292d      _nheapwalk_
+0999:2834+     __NHeapWalk_
+0999:292d      _nheapwalk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
-0992:293d      stackavail_
+0999:293d      stackavail_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
-19b3:0b84      __8087
-19b3:0b85      __real87
-19b3:0b86      __dos87emucall
-19b3:0b88      __dos87real
+19e4:0b84      __8087
+19e4:0b85      __real87
+19e4:0b86      __dos87emucall
+19e4:0b88      __dos87real
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
-0992:294c*     __exit_with_msg_
-0992:2951      __fatal_runtime_error_
+0999:294c*     __exit_with_msg_
+0999:2951      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-19b3:0b8a      __curbrk
-19b3:0b92      __STACKLOW
-19b3:0b94      __STACKTOP
-19b3:0b96      __cbyte
-19b3:0b98      __child
-19b3:0b9a      __no87
-19b3:0ba7      ___FPE_handler
-19b3:0b8c      __psp
-19b3:0b9b      __get_ovl_stack
-19b3:0b9f      __restore_ovl_stack
-19b3:0ba3      __close_ovl_file
-19b3:0bab      __LpCmdLine
-19b3:0baf      __LpPgmName
-19b3:0b8e      __osmajor
-19b3:0b8f      __osminor
-19b3:0b90      __osmode
-19b3:0b91      __HShift
+19e4:0b8a      __curbrk
+19e4:0b92      __STACKLOW
+19e4:0b94      __STACKTOP
+19e4:0b96      __cbyte
+19e4:0b98      __child
+19e4:0b9a      __no87
+19e4:0ba7      ___FPE_handler
+19e4:0b8c      __psp
+19e4:0b9b      __get_ovl_stack
+19e4:0b9f      __restore_ovl_stack
+19e4:0ba3      __close_ovl_file
+19e4:0bab      __LpCmdLine
+19e4:0baf      __LpPgmName
+19e4:0b8e      __osmajor
+19e4:0b8f      __osminor
+19e4:0b90      __osmode
+19e4:0b91      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
-0992:2970      __MemAllocator
-0992:2a3a      __MemFree
+0999:2970      __MemAllocator
+0999:2a3a      __MemFree
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
-0992:2b97      __GrowSeg_
+0999:2b97      __GrowSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
-0992:2d0d      __AllocSeg_
+0999:2d0d      __AllocSeg_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
-0992:2dfc      __fmemneed_
+0999:2dfc      __fmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
-0992:2e19      __fprtf_
+0999:2e19      __fprtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
-0992:2f6c      __InitFiles_
+0999:2f6c      __InitFiles_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
-0992:31a0*     fcloseall_
-0992:31a7      __full_io_exit_
+0999:31a0*     fcloseall_
+0999:31a7      __full_io_exit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c)
-19b3:0bb4      _fltused_
+19e4:0bb4      _fltused_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
-0992:31b1      __fill_buffer_
-0992:3400      fgetc_
+0999:31b1      __fill_buffer_
+0999:3400      fgetc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
-0992:3547      fwrite_
+0999:3547      fwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
-0992:38c0      rand_
-0992:3902*     srand_
+0999:38c0      rand_
+0999:3902*     srand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
-0992:3925      __CMain
+0999:3925      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
-0992:398b      __InitRtns
-0992:398b*     __FInitRtns
-0992:39e6      __FiniRtns
-0992:39e6*     __FFiniRtns
+0999:398b      __InitRtns
+0999:398b*     __FInitRtns
+0999:39e6      __FiniRtns
+0999:39e6*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-19b3:0bba      ___uselfn
+19e4:0bba      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
-0992:3a4a      __DOSseg__
+0999:3a4a      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
-0992:3a4b      __Init_Argv_
-0992:3aae+     _getargv_
-0992:3dde      __Fini_Argv_
+0999:3a4b      __Init_Argv_
+0999:3aae+     _getargv_
+0999:3dde      __Fini_Argv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
-0992:3e08*     __set_commode_
-19b3:0bbc      __commode
+0999:3e08*     __set_commode_
+19e4:0bbc      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-19b3:0bbe      __fmode
+19e4:0bbe      __fmode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
-0992:3e14      __chktty_
+0999:3e14      __chktty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
-0992:3e73      __freefp_
-0992:3f14      __purgefp_
+0999:3e73      __freefp_
+0999:3f14      __purgefp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
-0992:3f55      __allocfp_
+0999:3f55      __allocfp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
-0992:4105      __ioalloc_
+0999:4105      __ioalloc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
-0992:4293      __qread_
+0999:4293      __qread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
-0992:42b3*     _msize_
-0992:42ce      _fmsize_
+0999:42b3*     _msize_
+0999:42ce      _fmsize_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
-0992:42df      __HeapManager_expand_
-0992:47e8      _nexpand_
+0999:42df      __HeapManager_expand_
+0999:47e8      _nexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
-0992:483b      _fexpand_
-0992:483b*     _expand_
+0999:483b      _fexpand_
+0999:483b*     _expand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
-0992:4870      intr_
+0999:4870      intr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
-0992:4884      segread_
+0999:4884      segread_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
-0992:496f      __LastFree_
-0992:49e9      __ExpandDGROUP_
+0999:496f      __LastFree_
+0999:49e9      __ExpandDGROUP_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
-0992:4afa      __nmemneed_
+0999:4afa      __nmemneed_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
-19b3:0050      ___Alphabet
+19e4:0050      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
-0992:4afd      __lseek_
+0999:4afd      __lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
-0992:4b37*     __dosretax
-0992:4b3c*     __dosret0
-0992:4b43      __set_errno_dos_
-0992:4bab*     __set_errno_dos_reterr_
+0999:4b37*     __dosretax
+0999:4b3c*     __dosret0
+0999:4b43      __set_errno_dos_
+0999:4bab*     __set_errno_dos_reterr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
-0992:4bb6      __GetIOMode_
-0992:4beb      __SetIOMode_nogrow_
-19b3:0bd4      ___NFiles
-19b3:0bd6      ___init_mode
-19b3:0bfe      ___io_mode
+0999:4bb6      __GetIOMode_
+0999:4beb      __SetIOMode_nogrow_
+19e4:0bd4      ___NFiles
+19e4:0bd6      ___init_mode
+19e4:0bfe      ___io_mode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
-0992:4c20      __close_
+0999:4c20      __close_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
-0992:4c56      __flush_
+0999:4c56      __flush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
-0992:4e9f      fflush_
+0999:4e9f      fflush_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
-0992:4eb4      tell_
+0999:4eb4      tell_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
-0992:4ec5      lseek_
+0999:4ec5      lseek_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
-0992:4ef6      __doserror_
-0992:4f04      __doserror1_
+0999:4ef6      __doserror_
+0999:4f04      __doserror1_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
-0992:4f10      _dos_open_
+0999:4f10      _dos_open_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
-0992:4f36      isatty_
+0999:4f36      isatty_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
-0992:4f52*     __get_doserrno_ptr_
-19b3:1a74      __doserrno
+0999:4f52*     __get_doserrno_ptr_
+19e4:1a94      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-19b3:0c02      ___umaskval
+19e4:0c02      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
-0992:4f59      _dos_creat_
-0992:4f7d*     _dos_creatnew_
+0999:4f59      _dos_creat_
+0999:4f7d*     _dos_creatnew_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
-0992:4f9e+     __grow_iomode_
-0992:5085+     __shrink_iomode_
-0992:50c6      __SetIOMode_
+0999:4f9e+     __grow_iomode_
+0999:5085+     __shrink_iomode_
+0999:50c6      __SetIOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
-0992:5186      vsprintf_
+0999:5186      vsprintf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
-19b3:1a78      ___env_mask
-19b3:1a7c      _environ
-19b3:1a80*     __wenviron
+19e4:1a98      ___env_mask
+19e4:1a9c      _environ
+19e4:1aa0*     __wenviron
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
-0992:51c8      _mbterm_
+0999:51c8      _mbterm_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
-0992:521b      _mbsnextc_
+0999:521b      _mbsnextc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbcupper.c)
-0992:5276      _mbctoupper_
+0999:5276      _mbctoupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsinc.c)
-0992:5299      _mbsinc_
+0999:5299      _mbsinc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
-0992:52eb      __ChkTTYIOMode_
-0992:5359*     __IOMode_
+0999:52eb      __ChkTTYIOMode_
+0999:5359*     __IOMode_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapwalk.c)
-0992:542b      __HeapWalk_
+0999:542b      __HeapWalk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
-0992:566b*     _fpreset_
-0992:5696      __init_8087_
-0992:56c9+     __default_sigfpe_handler_
-0992:571e      __chk8087_
+0999:566b*     _fpreset_
+0999:5696      __init_8087_
+0999:56c9+     __default_sigfpe_handler_
+0999:571e      __chk8087_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
-0992:578e      __EnterWVIDEO_
-19b3:0c22+     ___WD_Present
+0999:578e      __EnterWVIDEO_
+19e4:0c22+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
-0992:57b2*     _heapenable_
-19b3:0c24      ___heap_enabled
+0999:57b2*     _heapenable_
+19e4:0c24      ___heap_enabled
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-19b3:0c26      __amblksiz
+19e4:0c26      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
-0992:57c3      fputc_
+0999:57c3      fputc_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
-0992:5998      __prtf_
+0999:5998      __prtf_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c)
-0992:6afa      __setEFGfmt_
+0999:6afa      __setEFGfmt_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
-0992:6b18      __flushall_
-0992:6bac      flushall_
+0999:6b18      __flushall_
+0999:6bac      flushall_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
-0992:6bb2      getche_
+0999:6bb2      getche_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
-0992:6bcc      __qwrite_
+0999:6bcc      __qwrite_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-19b3:1a84      ____Argv
-19b3:1a88      ____Argc
+19e4:1aa4      ____Argv
+19e4:1aa8      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-19b3:0ce4      __Start_XI
-19b3:0d20      __End_XI
-19b3:0d20      __Start_YI
-19b3:0d38      __End_YI
+19e4:0ce4      __Start_XI
+19e4:0d20      __End_XI
+19e4:0d20      __Start_YI
+19e4:0d38      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
-19b3:1a8a      ___historical_splitparms
+19e4:1aaa      ___historical_splitparms
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
-0992:6c2c      _bfree_
+0999:6c2c      _bfree_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
-0992:6c51      _bexpand_
+0999:6c51      _bexpand_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
-0992:6caa      _DoINTR_
+0999:6caa      _DoINTR_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
-0992:7023*     sbrk_
-0992:7033      __brk_
+0999:7023*     sbrk_
+0999:7033      __brk_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
-0992:709b      fsync_
+0999:709b      fsync_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
-0992:70be      __setenvp_
-0992:724a      __freeenvp_
+0999:70be      __setenvp_
+0999:724a      __freeenvp_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-19b3:0c28      ___IsDBCS
+19e4:0c28      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
-0992:72a8*     _ismbblead_
-19b3:1a90      ___MBCSIsTable
+0999:72a8*     _ismbblead_
+19e4:1ab0      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
-0992:7302      __mbinit_
-19b3:0c2a      ___MBCodePage
+0999:7302      __mbinit_
+19e4:0c2a      ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
-0992:73dd      _mbdtoupper_
+0999:73dd      _mbdtoupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
-0992:73eb      toupper_
+0999:73eb      toupper_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
-19b3:0c2c      __8087cw
+19e4:0c2c      __8087cw
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
-19b3:0c2e      ___Save8087
-19b3:0c32      ___Rest8087
+19e4:0c2e      ___Save8087
+19e4:0c32      ___Rest8087
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
-0992:73fa      __GrabFP87_
+0999:73fa      __GrabFP87_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
-0992:742c*     __init_8087_emu
-0992:7432      __x87id
+0999:742c*     __init_8087_emu
+0999:7432      __x87id
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
-0992:748f      wctomb_
+0999:748f      wctomb_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
-0992:74da+     utoa_
-0992:757b      itoa_
+0999:74da+     utoa_
+0999:757b      itoa_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
-0992:75c5      strupr_
+0999:75c5      strupr_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
-19b3:0c36      ___EFG_printf
-19b3:0c3a      ___EFG_scanf
+19e4:0c36      ___EFG_printf
+19e4:0c3a      ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
-0992:760d      ulltoa_
-0992:774a*     lltoa_
+0999:760d      ulltoa_
+0999:774a*     lltoa_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c)
-0992:77bb      _EFG_Format_
+0999:77bb      _EFG_Format_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c)
-0992:798d      __cnvs2d_
+0999:798d      __cnvs2d_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
-0992:79ac*     _dos_close_
-0992:79ba      _dos_commit_
+0999:79ac*     _dos_close_
+0999:79ba      _dos_commit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clearenv.c)
-0992:79c9      clearenv_
+0999:79c9      clearenv_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm)
-0992:7afe      __Init_FPE_handler_
-0992:7b37      __Fini_FPE_handler_
-0992:7b6e*     __FPEHandler
+0999:7afe      __Init_FPE_handler_
+0999:7b37      __Fini_FPE_handler_
+0999:7b6e*     __FPEHandler
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rtcntrl.c)
-0992:7e00*     _SetLD64bit_
-0992:7e0b*     _SetLD80bit_
-0992:7e16      _LDisDouble_
+0999:7e00*     _SetLD64bit_
+0999:7e0b*     _SetLD80bit_
+0999:7e16      _LDisDouble_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(ldcvt.c)
-0992:7f7b      _LDScale10x_
-0992:8853      __LDcvt_
+0999:7f7b      _LDScale10x_
+0999:8853      __LDcvt_
 Module: /dos/fdos/watcom2/lib286/noemu87.lib(emustub.asm)
 0000:0000*     FJSRQQ
 0000:0000*     FISRQQ
@@ -700,30 +700,30 @@ Module: /dos/fdos/watcom2/lib286/noemu87.lib(emustub.asm)
 0000:0000*     FJARQQ
 0000:0000*     FICRQQ
 0000:0000*     FIARQQ
-0992:9030*     __init_87_emulator
+0999:9030*     __init_87_emulator
 Module: /dos/fdos/watcom2/lib286/math87h.lib(strtod.c)
-0992:9844+     __Strtold_
-0992:9a83      strtod_
+0999:9844+     __Strtold_
+0999:9a83      strtod_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
-19b3:0ce2      ___FPE_int
+19e4:0ce2      ___FPE_int
 Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
-0992:9c30      __LDClass_
-0992:9cb6*     _FLClass_
+0999:9c30      __LDClass_
+0999:9cb6*     _FLClass_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
-0992:9cca      __ZBuf2LD
+0999:9cca      __ZBuf2LD
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
-0992:9d92*     __set_EDOM_
-0992:9d9e      __set_ERANGE_
-0992:9daa*     __set_EINVAL_
+0999:9d92*     __set_EDOM_
+0999:9d9e      __set_ERANGE_
+0999:9daa*     __set_EINVAL_
 Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c)
-19b3:019a*     ___f_infinity
-19b3:019e*     ___f_posqnan
-19b3:01a2      ___d_infinity
-19b3:01aa      ___d_posqnan
-19b3:01b2*     ___ld_infinity
-19b3:01ba*     ___ld_posqnan
+19e4:019a*     ___f_infinity
+19e4:019e*     ___f_posqnan
+19e4:01a2      ___d_infinity
+19e4:01aa      ___d_posqnan
+19e4:01b2*     ___ld_infinity
+19e4:01ba*     ___ld_posqnan
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
-19b3:01c2      __HugeValue
+19e4:01c2      __HugeValue
 
 
                         +--------------------+
@@ -741,6 +741,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00029390 (168848.)
-Entry point address: 0992:0316
-Link time: 00:00.19
+Memory size:  000296c0 (169664.)
+Entry point address: 0999:0316
+Link time: 00:00.40
index 87c70cf6e4c108b54fac0be22df6537dc998e763..c7d8ee28ee32c04a097fba1c0d24fbc0eef6ec1e 100755 (executable)
@@ -171,6 +171,28 @@ typedef void __based(__self) * memptr;
 typedef void _seg * memptr;\r
 #endif\r
 \r
+/*\r
+ * typedefs of the game variables!\r
+ */\r
+typedef struct {\r
+       word id;        /* the Identification number of the page~ For layering~ */\r
+       byte far* data; /* the data for the page */\r
+       word dx;                /* col we are viewing on the virtual screen */\r
+       word dy;                /* row we are viewing on the virtual screen */\r
+       word sw;                /* screen width */\r
+       word sh;                /* screen heigth */\r
+       word tilesw;            /* screen width in tiles */\r
+       word tilesh;            /* screen height in tiles */\r
+       word width;             /* virtual width of the page */\r
+       word height;    /* virtual height of the page */\r
+       word tw;\r
+       word th;\r
+       sword tilemidposscreenx;        /* middle tile position */\r
+       sword tilemidposscreeny;        /* middle tile position */\r
+       sword tileplayerposscreenx;     /* player position on screen */\r
+       sword tileplayerposscreeny;     /* player position on screen */\r
+} page_t;\r
+\r
 typedef struct\r
 {\r
 //     int showmemhandle;\r
@@ -191,6 +213,7 @@ typedef struct
 typedef struct\r
 {\r
        long old_mode;  //old video mode before game!\r
+       page_t *page;   //pointer to root page[0] //TODO\r
 } video_t;\r
 \r
 typedef struct\r
index 01cd48ff1d7d0d94f83ffb3196b17522ee3a6c66..90005d7ecb0d125fcb96b7627a82c7707bb14483 100755 (executable)
@@ -93,14 +93,20 @@ modexEnter(sword vq, global_game_variables_t *gv)
        dword far*ptr=(dword far*)VGA;      /* used for faster screen clearing */\r
        int CRTParmCount;\r
        /* common mode X initiation stuff~ */\r
-       modexsetBaseXMode();\r
+       modexsetBaseXMode(gv->video.page);\r
 \r
        switch(vq)\r
        {\r
                case 0:\r
                        CRTParmCount = sizeof(ModeX_320x240regs) / sizeof(ModeX_320x240regs[0]);\r
                        /* width and height */\r
-                       //TODO add width and height of screen\r
+                       gv->video.page->sw=320;\r
+                       gv->video.page->sh=240;\r
+                       gv->video.page->tilesw = gv->video.page->sw/TILEWH;\r
+                       gv->video.page->tilesh = gv->video.page->sh/TILEWH;\r
+                       //TODO MAKE FLEXIBLE~\r
+                       gv->video.page->tilemidposscreenx = 10;\r
+                       gv->video.page->tilemidposscreeny = 8;\r
 \r
                        /* send the CRTParms */\r
                        for(i=0; i<CRTParmCount; i++) {\r
@@ -143,7 +149,7 @@ modexLeave() {
 //    involves enabling writes to index 0 to 7 of the CRT controller (port\r
 //    0x3D4), by clearing the most significant bit (bit 7) of index 0x11.\r
 void\r
-modexsetBaseXMode(void)\r
+modexsetBaseXMode(page_t *page)\r
 {\r
        word temp;\r
        /* TODO save current video mode and palette */\r
@@ -163,10 +169,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 e123b4e110ab2af10bff9785a2b76c1f1f2f01a3..787ae49dc10997cb98103d887f1ca8a5f8942776 100755 (executable)
 #define PLANE(x) (1<< (x&3))
 #define SELECT_ALL_PLANES() outpw(0x03c4, 0xff02)
 
-typedef struct {
-       word id;        /* the Identification number of the page~ For layering~ */
-       byte far* data; /* the data for the page */
-       word dx;                /* col we are viewing on the virtual screen */
-       word dy;                /* row we are viewing on the virtual screen */
-       word sw;                /* screen width */
-       word sh;                /* screen heigth */
-       word width;             /* virtual width of the page */
-       word height;    /* virtual height of the page */
-       word tw;
-       word th;
-} page_t;
-
 typedef union
 {
        byte red;
@@ -72,7 +59,7 @@ void VGAmodeX(sword vq, global_game_variables_t *gv);
 void modexEnter(sword vq, global_game_variables_t *gv);
 long vgaGetMode();
 void modexLeave();
-void modexsetBaseXMode(void);
+void modexsetBaseXMode(page_t *page);
 page_t modexDefaultPage();
 page_t modexNextPage(page_t *p);
 page_t modexNextPageFlexibleSize(page_t *p, word x, word y);
index 84d7bbc4611c3ed522813adc9a42c6bb7990a418..efbff3a56876b74d24772cf932bec26b63e292ff 100755 (executable)
@@ -74,12 +74,8 @@ static const word ModeX_192x144regs[] = {
 \r
 #endif /*_SMALLMODEXRES_H_*/\r
 /*\r
-void\r
-tg::mode160x120()\r
-{\r
-    int crtc11;\r
-\r
-    outp(0x3d4, 0x11); // unlock crtc\r
+voidtg::mode160x120(){\r
+    int crtc11;    outp(0x3d4, 0x11); // unlock crtc\r
     crtc11 = inp(0x3d5) & 0x7f;\r
     outp(0x3d4, 0x11);\r
     outp(0x3d5, crtc11);\r
index 1e554cc6435bcd0d88e4e0dc9bb1e64ed4f1e4a7..d5441ce2c124f81b3174ceaaadbdd388ff43a7ee 100755 (executable)
@@ -31,7 +31,7 @@ void walk(map_view_t *pip, player_t *player, word pn)
        {
                //right movement
                case 3:
-                       if(pip[0].tx >= 0 && pip[0].tx+20 < pip[0].map->width && player[pn].tx == pip[0].tx + 10 &&
+                       if(pip[0].tx >= 0 && pip[0].tx+pip[0].page->tilesw < pip[0].map->width && player[pn].tx == pip[0].tx+pip[0].page->tilemidposscreenx &&
                        !(pip[0].map->data[(player[pn].tx)+(pip[0].map->width*(player[pn].ty-1))] == 0))//!(player[pn].tx+1 == TRIGGX && player[pn].ty == TRIGGY))      //collision detection!
                        {
                                if(player[pn].q<=(TILEWH/(player[pn].speed)))
@@ -72,7 +72,7 @@ void walk(map_view_t *pip, player_t *player, word pn)
 
                //left movement
                case 1:
-                       if(pip[0].tx > 0 && pip[0].tx+20 <= pip[0].map->width && player[pn].tx == pip[0].tx + 10 &&
+                       if(pip[0].tx > 0 && pip[0].tx+pip[0].page->tilesw <= pip[0].map->width && player[pn].tx == pip[0].tx+pip[0].page->tilemidposscreenx &&
                        !(pip[0].map->data[(player[pn].tx-2)+(pip[0].map->width*(player[pn].ty-1))] == 0))//!(player[pn].tx-1 == TRIGGX && player[pn].ty == TRIGGY))    //collision detection!
                        {
                                if(player[pn].q<=(TILEWH/(player[pn].speed)))
@@ -113,7 +113,7 @@ void walk(map_view_t *pip, player_t *player, word pn)
 
                //down movement
                case 4:
-                       if(pip[0].ty >= 0 && pip[0].ty+15 < pip[0].map->height && player[pn].ty == pip[0].ty + 8 &&
+                       if(pip[0].ty >= 0 && pip[0].ty+pip[0].page->tilesh < pip[0].map->height && player[pn].ty == pip[0].ty+pip[0].page->tilemidposscreeny &&
                        !(pip[0].map->data[(player[pn].tx-1)+(pip[0].map->width*(player[pn].ty))] == 0))//!(player[pn].tx == TRIGGX && player[pn].ty+1 == TRIGGY))      //collision detection!
                        {
                                if(player[pn].q<=(TILEWH/(player[pn].speed)))
@@ -154,7 +154,7 @@ void walk(map_view_t *pip, player_t *player, word pn)
 
                //up movement
                case 0:
-                       if(pip[0].ty > 0 && pip[0].ty+15 <= pip[0].map->height && player[pn].ty == pip[0].ty + 8 &&
+                       if(pip[0].ty > 0 && pip[0].ty+pip[0].page->tilesh <= pip[0].map->height && player[pn].ty == pip[0].ty+pip[0].page->tilemidposscreeny &&
                        !(pip[0].map->data[(player[pn].tx-1)+(pip[0].map->width*(player[pn].ty-2))] == 0))//!(player[pn].tx == TRIGGX && player[pn].ty-1 == TRIGGY))    //collision detection!
                        {
                                if(player[pn].q<=(TILEWH/(player[pn].speed)))
index c4010895f0536489008ac00cc983691ab2b7ba8e..41476b585927ab16bff9e03597ebfdc6b6751e60 100755 (executable)
@@ -63,6 +63,7 @@ void main(int argc, char *argv[])
 
        player[0].persist_aniframe=0;
        player[0].speed=4;
+       gvar.video.page=&screen;
 
        printf("starting timer\n");
        start_timer(&gvar);
@@ -156,8 +157,8 @@ void main(int argc, char *argv[])
 
        //TODO: put player in starting position of spot
        //default player position on the viewable map
-       player[0].tx = bg->tx + 10;
-       player[0].ty = bg->ty + 8;
+       player[0].tx = bg->tx + bg->page->tilemidposscreenx;
+       player[0].ty = bg->ty + bg->page->tilemidposscreeny;
        player[0].x = player[0].tx*TILEWH;
        player[0].y = player[0].ty*TILEWH;
        player[0].triggerx = player[0].tx;
index 4a1548065b02ebf76122e9f1bfe680e9d51cd64d..4dbd9a9fa0dcfeb1219f860b798f1316d97f5964 100755 (executable)
Binary files a/test.exe and b/test.exe differ
index ab53a52c6027587b17115be24b1f01605b77d99c..bc2df6c99694567fb4e190a79a31b65abc338630 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: test.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0816:0000            0000e820
+DGROUP                          0828: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       0000242c
-16text_TEXT            CODE           AUTO           0000:8050       0000010d
-FAR_DATA               FAR_DATA       AUTO           0815:000d       00000000
-_NULL                  BEGDATA        DGROUP         0816:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         0818:0000       00000002
-CONST                  DATA           DGROUP         0818:0002       00000076
-CONST2                 DATA           DGROUP         081f:0008       00000000
-_DATA                  DATA           DGROUP         0820:0000       00000234
-XIB                    DATA           DGROUP         0843:0004       00000000
-XI                     DATA           DGROUP         0843:0004       00000018
-XIE                    DATA           DGROUP         0844:000c       00000000
-YIB                    DATA           DGROUP         0844:000c       00000000
-YI                     DATA           DGROUP         0844:000c       0000000c
-YIE                    DATA           DGROUP         0845:0008       00000000
-STRINGS                DATA           DGROUP         0845:0008       00000000
-DATA                   DATA           DGROUP         0845:0008       00000000
-_BSS                   BSS            DGROUP         0846:0000       00000a5b
-STACK                  STACK          DGROUP         08ec:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:5c20       00002550
+16text_TEXT            CODE           AUTO           0000:8170       0000010d
+FAR_DATA               FAR_DATA       AUTO           0827:000d       00000000
+_NULL                  BEGDATA        DGROUP         0828:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         082a:0000       00000002
+CONST                  DATA           DGROUP         082a:0002       00000076
+CONST2                 DATA           DGROUP         0831:0008       00000000
+_DATA                  DATA           DGROUP         0832:0000       00000234
+XIB                    DATA           DGROUP         0855:0004       00000000
+XI                     DATA           DGROUP         0855:0004       00000018
+XIE                    DATA           DGROUP         0856:000c       00000000
+YIB                    DATA           DGROUP         0856:000c       00000000
+YI                     DATA           DGROUP         0856:000c       0000000c
+YIE                    DATA           DGROUP         0857:0008       00000000
+STRINGS                DATA           DGROUP         0857:0008       00000000
+DATA                   DATA           DGROUP         0857:0008       00000000
+_BSS                   BSS            DGROUP         0858:0000       00000a5f
+STACK                  STACK          DGROUP         08fe:0000       0000dac0
 
 
                         +----------------+
@@ -58,7 +58,7 @@ Address        Symbol
 
 Module: test.o(/dos/z/16/src/test.c)
 0000:004e      main_
-0816:0300+     _gvar
+0828:0300+     _gvar
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
 0000:01e5      __STK
 0000:0205*     __STKOVERFLOW_
@@ -66,52 +66,52 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0000:5e14      VGAmodeX_
 0000:5ea6+     vgaGetMode_
 0000:5edc+     modexEnter_
-0000:5f7e*     modexLeave_
-0000:5f96+     modexsetBaseXMode_
-0000:5fd4      modexDefaultPage_
-0000:6036      modexNextPage_
-0000:6102*     modexNextPageFlexibleSize_
-0000:61d0      modexShowPage_
-0000:62cc*     modexPanPage_
-0000:631c*     modexSelectPlane_
-0000:6340      modexClearRegion_
-0000:6458*     oldDrawBmp_
-0000:65be*     CDrawBmp_
-0000:6722*     modexDrawBmp_
-0000:6788+     modexDrawBmpRegion_
-0000:68f2*     modex_sparky4_DrawBmpRegion_
-0000:6a5c*     modexDrawPlanarBuf_
-0000:6a7a*     modexDrawSprite_
-0000:6ae0+     modexDrawSpriteRegion_
-0000:6c58*     modexCopyPageRegion_
-0000:6dc2      modexFadeOn_
-0000:6df2      modexFadeOff_
-0000:6e20*     modexFlashOn_
-0000:6e4e*     modexFlashOff_
-0000:6f1e      modexPalSave_
-0000:6f74      modexNewPal_
-0000:6fc4      modexLoadPalFile_
-0000:70a6*     modexSavePalFile_
-0000:711e      modexPalBlack_
-0000:7148*     modexPalWhite_
-0000:7172+     modexPalUpdate_
-0000:76e2+     modexPalUpdate1_
-0000:775c*     modexPalUpdate0_
-0000:77a8+     chkcolor_
-0000:7ac0+     modexputPixel_
-0000:7b4e*     modexgetPixel_
-0000:7bd4*     modexhlin_
-0000:7c40*     modexprint_
-0000:7dda*     modexprintbig_
-0000:7f56*     pdump_
-0000:7fb6*     cls_
-0000:8024+     modexWaitBorder_
-0816:00b4+     _VGA
+0000:608e*     modexLeave_
+0000:60a6+     modexsetBaseXMode_
+0000:60f8      modexDefaultPage_
+0000:615a      modexNextPage_
+0000:6226*     modexNextPageFlexibleSize_
+0000:62f4      modexShowPage_
+0000:63f0*     modexPanPage_
+0000:6440*     modexSelectPlane_
+0000:6464      modexClearRegion_
+0000:657c*     oldDrawBmp_
+0000:66e2*     CDrawBmp_
+0000:6846*     modexDrawBmp_
+0000:68ac+     modexDrawBmpRegion_
+0000:6a16*     modex_sparky4_DrawBmpRegion_
+0000:6b80*     modexDrawPlanarBuf_
+0000:6b9e*     modexDrawSprite_
+0000:6c04+     modexDrawSpriteRegion_
+0000:6d7c*     modexCopyPageRegion_
+0000:6ee6      modexFadeOn_
+0000:6f16      modexFadeOff_
+0000:6f44*     modexFlashOn_
+0000:6f72*     modexFlashOff_
+0000:7042      modexPalSave_
+0000:7098      modexNewPal_
+0000:70e8      modexLoadPalFile_
+0000:71ca*     modexSavePalFile_
+0000:7242      modexPalBlack_
+0000:726c*     modexPalWhite_
+0000:7296+     modexPalUpdate_
+0000:7806+     modexPalUpdate1_
+0000:7880*     modexPalUpdate0_
+0000:78cc+     chkcolor_
+0000:7be4+     modexputPixel_
+0000:7c72*     modexgetPixel_
+0000:7cf8*     modexhlin_
+0000:7d64*     modexprint_
+0000:7efe*     modexprintbig_
+0000:807a*     pdump_
+0000:80da*     cls_
+0000:8148+     modexWaitBorder_
+0828:00b4+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-0816:0000*     __nullarea
-0816:00c8*     __ovlflag
-0816:00c9*     __intno
-0816:00ca*     __ovlvec
+0828:0000*     __nullarea
+0828:00c8*     __ovlflag
+0828:00c9*     __intno
+0828:00ca*     __ovlvec
 0000:0222      _cstart_
 0000:02f5*     _Not_Enough_Memory_
 0000:0427      __exit_
@@ -124,23 +124,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)
-0816:00ce      __curbrk
-0816:00d6      __STACKLOW
-0816:00d8      __STACKTOP
-0816:00da      __cbyte
-0816:00dc      __child
-0816:00de      __no87
-0816:00eb      ___FPE_handler
-0816:00d0      __psp
-0816:00df      __get_ovl_stack
-0816:00e3      __restore_ovl_stack
-0816:00e7      __close_ovl_file
-0816:00ef      __LpCmdLine
-0816:00f3      __LpPgmName
-0816:00d2      __osmajor
-0816:00d3      __osminor
-0816:00d4      __osmode
-0816:00d5      __HShift
+0828:00ce      __curbrk
+0828:00d6      __STACKLOW
+0828:00d8      __STACKTOP
+0828:00da      __cbyte
+0828:00dc      __child
+0828:00de      __no87
+0828:00eb      ___FPE_handler
+0828:00d0      __psp
+0828:00df      __get_ovl_stack
+0828:00e3      __restore_ovl_stack
+0828:00e7      __close_ovl_file
+0828:00ef      __LpCmdLine
+0828:00f3      __LpPgmName
+0828:00d2      __osmajor
+0828:00d3      __osminor
+0828:00d4      __osmode
+0828:00d5      __HShift
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
 0000:04d2+     int86x_
 0000:0655      int86_
@@ -150,9 +150,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_
-0816:00f8+     ___fheap
-0816:00fa      ___fheapRover
-0816:00fc      ___LargestSizeB4Rover
+0828:00f8+     ___fheap
+0828:00fa      ___fheapRover
+0828: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)
@@ -160,8 +160,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
 0000:0844+     __null_int23_exit_
 0000:0845      exit_
 0000:0866+     _exit_
-0816:00fe+     ___int23_exit
-0816:0102+     ___FPE_handler_exit
+0828:00fe+     ___int23_exit
+0828:0102+     ___FPE_handler_exit
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:0882+     __open_flags_
 0000:0b43+     _fsopen_
@@ -174,7 +174,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
 0000:10ed      __doclose_
 0000:1237      __shutdown_stream_
 0000:1251      fclose_
-0816:0c28+     ___RmTmpFileFn
+0828:0c2c+     ___RmTmpFileFn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
 0000:12bc      _ffree_
 0000:12bc      free_
@@ -187,8 +187,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:80c6*     textInit_
-0816:0c2c      _romFonts
+0000:81e6*     textInit_
+0828:0c30      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
 0000:1720      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
@@ -197,12 +197,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)
-0816:010a      ___uselfn
+0828: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_
-0816:010c+     ___WD_Present
+0828: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)
@@ -218,27 +218,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_
-0816:010e      ___nheapbeg
-0816:0110      ___MiniHeapRover
-0816:0112      ___LargestSizeB4MiniHeapRover
+0828:010e      ___nheapbeg
+0828:0110      ___MiniHeapRover
+0828: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)
-0816:0114      ___iob
-0816:0c44      ___ClosedStreams
-0816:0c48      ___OpenStreams
+0828:0114      ___iob
+0828:0c48      ___ClosedStreams
+0828:0c4c      ___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_
-0816:027c      __commode
+0828:027c      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:204b*     __get_errno_ptr_
-0816:0c4c      _errno
+0828:0c50      _errno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-0816:027e      __fmode
+0828: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)
@@ -272,26 +272,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_
-0816:0c4e+     ___MiniHeapFreeRover
+0828:0c52+     ___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)
-0816:0c50      ____Argv
-0816:0c54      ____Argc
+0828:0c54      ____Argv
+0828:0c58      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0816:0280      __amblksiz
+0828:0280      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0816:02d4      __Start_XI
-0816:02ec      __End_XI
-0816:02ec      __Start_YI
-0816:02f8      __End_YI
+0828:02d4      __Start_XI
+0828:02ec      __End_XI
+0828:02ec      __Start_YI
+0828: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_
-0816:0282      ___heap_enabled
+0828: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)
@@ -309,16 +309,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_
-0816:0284      ___NFiles
-0816:0286      ___init_mode
-0816:02ae      ___io_mode
+0828:0284      ___NFiles
+0828:0286      ___init_mode
+0828: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_
-0816:0c56      __doserrno
+0828:0c5a      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-0816:02b2      ___umaskval
+0828:02b2      ___umaskval
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
 0000:4b61      _dos_creat_
 0000:4b85*     _dos_creatnew_
@@ -350,13 +350,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)
-0816:02c8      ___EFG_printf
-0816:02cc*     ___EFG_scanf
+0828:02c8      ___EFG_printf
+0828:02cc*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-0816:02d0      ___IsDBCS
+0828:02d0      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:5062*     _ismbblead_
-0816:0c5a      ___MBCSIsTable
+0828:0c5e      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:507e      ulltoa_
 0000:51bb*     lltoa_
@@ -376,10 +376,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)
-0816:0072      ___Alphabet
+0828:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:5507      __mbinit_
-0816:02d2+     ___MBCodePage
+0828:02d2+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:55e2*     _msize_
 0000:55fd      _fmsize_
@@ -408,6 +408,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  00016980 (92544.)
+Memory size:  00016aa0 (92832.)
 Entry point address: 0000:0222
-Link time: 00:00.90
+Link time: 00:00.92
index 82027e5936090a02874b2917ad3cf53a674a0a9d..094b269e7946c320e395c3cb5d960a8f6600fc35 100755 (executable)
Binary files a/test2.exe and b/test2.exe differ
index 8cc2c8f48b1e3966514b89af0024b4be30d8e089..3023003a92246b5dda1da20a5bc1e390e234b4f8 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: test2.exe
 creating a DOS executable
 
@@ -13,7 +13,7 @@ creating a DOS executable
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          08d3:0000            0000e890
+DGROUP                          08e5: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       0000242c
-16text_TEXT            CODE           AUTO           0000:8c20       0000010d
-FAR_DATA               FAR_DATA       AUTO           08d2:000d       00000000
-_NULL                  BEGDATA        DGROUP         08d3:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         08d5:0000       00000002
-CONST                  DATA           DGROUP         08d5:0002       00000076
-CONST2                 DATA           DGROUP         08dc:0008       00000000
-_DATA                  DATA           DGROUP         08dd:0000       0000024c
-XIB                    DATA           DGROUP         0901:000c       00000000
-XI                     DATA           DGROUP         0901:000c       00000018
-XIE                    DATA           DGROUP         0903:0004       00000000
-YIB                    DATA           DGROUP         0903:0004       00000000
-YI                     DATA           DGROUP         0903:0004       0000000c
-YIE                    DATA           DGROUP         0904:0000       00000000
-STRINGS                DATA           DGROUP         0904:0000       00000000
-DATA                   DATA           DGROUP         0904:0000       00000000
-_BSS                   BSS            DGROUP         0904:0000       00000ab3
-STACK                  STACK          DGROUP         09b0:0000       0000dac0
+modex16_TEXT           CODE           AUTO           0000:67f0       00002550
+16text_TEXT            CODE           AUTO           0000:8d40       0000010d
+FAR_DATA               FAR_DATA       AUTO           08e4:000d       00000000
+_NULL                  BEGDATA        DGROUP         08e5:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         08e7:0000       00000002
+CONST                  DATA           DGROUP         08e7:0002       00000076
+CONST2                 DATA           DGROUP         08ee:0008       00000000
+_DATA                  DATA           DGROUP         08ef:0000       0000024c
+XIB                    DATA           DGROUP         0913:000c       00000000
+XI                     DATA           DGROUP         0913:000c       00000018
+XIE                    DATA           DGROUP         0915:0004       00000000
+YIB                    DATA           DGROUP         0915:0004       00000000
+YI                     DATA           DGROUP         0915:0004       0000000c
+YIE                    DATA           DGROUP         0916:0000       00000000
+STRINGS                DATA           DGROUP         0916:0000       00000000
+DATA                   DATA           DGROUP         0916:0000       00000000
+_BSS                   BSS            DGROUP         0916:0000       00000ab3
+STACK                  STACK          DGROUP         09c2: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)
-08d3:0000*     __nullarea
-08d3:00c4*     __ovlflag
-08d3:00c5*     __intno
-08d3:00c6*     __ovlvec
+08e5:0000*     __nullarea
+08e5:00c4*     __ovlflag
+08e5:00c5*     __intno
+08e5: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)
-08d3:00ca      __curbrk
-08d3:00d2      __STACKLOW
-08d3:00d4      __STACKTOP
-08d3:00d6      __cbyte
-08d3:00d8      __child
-08d3:00da      __no87
-08d3:00e7      ___FPE_handler
-08d3:00cc      __psp
-08d3:00db      __get_ovl_stack
-08d3:00df      __restore_ovl_stack
-08d3:00e3      __close_ovl_file
-08d3:00eb      __LpCmdLine
-08d3:00ef      __LpPgmName
-08d3:00ce      __osmajor
-08d3:00cf      __osminor
-08d3:00d0      __osmode
-08d3:00d1      __HShift
+08e5:00ca      __curbrk
+08e5:00d2      __STACKLOW
+08e5:00d4      __STACKTOP
+08e5:00d6      __cbyte
+08e5:00d8      __child
+08e5:00da      __no87
+08e5:00e7      ___FPE_handler
+08e5:00cc      __psp
+08e5:00db      __get_ovl_stack
+08e5:00df      __restore_ovl_stack
+08e5:00e3      __close_ovl_file
+08e5:00eb      __LpCmdLine
+08e5:00ef      __LpPgmName
+08e5:00ce      __osmajor
+08e5:00cf      __osminor
+08e5:00d0      __osmode
+08e5: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_
-08d3:0390+     ___RmTmpFileFn
+08e5: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_
-08d3:00f4+     ___int23_exit
-08d3:00f8+     ___FPE_handler_exit
+08e5:00f4+     ___int23_exit
+08e5: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)
@@ -132,47 +132,47 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
 0000:69e4*     VGAmodeX_
 0000:6a76+     vgaGetMode_
 0000:6aac+     modexEnter_
-0000:6b4e*     modexLeave_
-0000:6b66+     modexsetBaseXMode_
-0000:6ba4*     modexDefaultPage_
-0000:6c06*     modexNextPage_
-0000:6cd2*     modexNextPageFlexibleSize_
-0000:6da0*     modexShowPage_
-0000:6e9c*     modexPanPage_
-0000:6eec*     modexSelectPlane_
-0000:6f10+     modexClearRegion_
-0000:7028*     oldDrawBmp_
-0000:718e*     CDrawBmp_
-0000:72f2*     modexDrawBmp_
-0000:7358+     modexDrawBmpRegion_
-0000:74c2*     modex_sparky4_DrawBmpRegion_
-0000:762c*     modexDrawPlanarBuf_
-0000:764a*     modexDrawSprite_
-0000:76b0+     modexDrawSpriteRegion_
-0000:7828*     modexCopyPageRegion_
-0000:7992*     modexFadeOn_
-0000:79c2*     modexFadeOff_
-0000:79f0*     modexFlashOn_
-0000:7a1e*     modexFlashOff_
-0000:7aee+     modexPalSave_
-0000:7b44      modexNewPal_
-0000:7b94*     modexLoadPalFile_
-0000:7c76*     modexSavePalFile_
-0000:7cee*     modexPalBlack_
-0000:7d18*     modexPalWhite_
-0000:7d42+     modexPalUpdate_
-0000:82b2+     modexPalUpdate1_
-0000:832c*     modexPalUpdate0_
-0000:8378+     chkcolor_
-0000:8690+     modexputPixel_
-0000:871e*     modexgetPixel_
-0000:87a4*     modexhlin_
-0000:8810*     modexprint_
-0000:89aa*     modexprintbig_
-0000:8b26*     pdump_
-0000:8b86*     cls_
-0000:8bf4+     modexWaitBorder_
-08d3:0104+     _VGA
+0000:6c5e*     modexLeave_
+0000:6c76+     modexsetBaseXMode_
+0000:6cc8*     modexDefaultPage_
+0000:6d2a*     modexNextPage_
+0000:6df6*     modexNextPageFlexibleSize_
+0000:6ec4*     modexShowPage_
+0000:6fc0*     modexPanPage_
+0000:7010*     modexSelectPlane_
+0000:7034+     modexClearRegion_
+0000:714c*     oldDrawBmp_
+0000:72b2*     CDrawBmp_
+0000:7416*     modexDrawBmp_
+0000:747c+     modexDrawBmpRegion_
+0000:75e6*     modex_sparky4_DrawBmpRegion_
+0000:7750*     modexDrawPlanarBuf_
+0000:776e*     modexDrawSprite_
+0000:77d4+     modexDrawSpriteRegion_
+0000:794c*     modexCopyPageRegion_
+0000:7ab6*     modexFadeOn_
+0000:7ae6*     modexFadeOff_
+0000:7b14*     modexFlashOn_
+0000:7b42*     modexFlashOff_
+0000:7c12+     modexPalSave_
+0000:7c68      modexNewPal_
+0000:7cb8*     modexLoadPalFile_
+0000:7d9a*     modexSavePalFile_
+0000:7e12*     modexPalBlack_
+0000:7e3c*     modexPalWhite_
+0000:7e66+     modexPalUpdate_
+0000:83d6+     modexPalUpdate1_
+0000:8450*     modexPalUpdate0_
+0000:849c+     chkcolor_
+0000:87b4+     modexputPixel_
+0000:8842*     modexgetPixel_
+0000:88c8*     modexhlin_
+0000:8934*     modexprint_
+0000:8ace*     modexprintbig_
+0000:8c4a*     pdump_
+0000:8caa*     cls_
+0000:8d18+     modexWaitBorder_
+08e5:0104+     _VGA
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
 0000:10f0+     __open_flags_
 0000:13b1+     _fsopen_
@@ -181,13 +181,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_
-08d3:0118+     ___fheap
-08d3:011a      ___fheapRover
-08d3:011c      ___LargestSizeB4Rover
+08e5:0118+     ___fheap
+08e5:011a      ___fheapRover
+08e5:011c      ___LargestSizeB4Rover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
-08d3:011e      ___iob
-08d3:0c94      ___ClosedStreams
-08d3:0c98      ___OpenStreams
+08e5:011e      ___iob
+08e5:0c94      ___ClosedStreams
+08e5: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)
@@ -203,15 +203,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)
-08d3:0286      ___uselfn
+08e5: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_
-08d3:0288+     ___WD_Present
+08e5:0288+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
 0000:1a8d*     __get_errno_ptr_
-08d3:0c9c      _errno
+08e5: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)
@@ -250,13 +250,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:8c96*     textInit_
-08d3:0c9e      _romFonts
+0000:8db6*     textInit_
+08e5:0c9e      _romFonts
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
 0000:26e0*     __set_commode_
-08d3:028e      __commode
+08e5:028e      __commode
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
-08d3:0290      __fmode
+08e5: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)
@@ -277,9 +277,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_
-08d3:0292      ___nheapbeg
-08d3:0294      ___MiniHeapRover
-08d3:0296      ___LargestSizeB4MiniHeapRover
+08e5:0292      ___nheapbeg
+08e5:0294      ___MiniHeapRover
+08e5:0296      ___LargestSizeB4MiniHeapRover
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
 0000:30f9*     _heapgrow_
 0000:30f9*     _fheapgrow_
@@ -291,21 +291,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_
-08d3:0cb6+     ___MiniHeapFreeRover
+08e5: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)
-08d3:0cb8      ____Argv
-08d3:0cbc      ____Argc
+08e5:0cb8      ____Argv
+08e5:0cbc      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-08d3:0298      __amblksiz
+08e5:0298      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-08d3:02ec      __Start_XI
-08d3:0304      __End_XI
-08d3:0304      __Start_YI
-08d3:0310      __End_YI
+08e5:02ec      __Start_XI
+08e5:0304      __End_XI
+08e5:0304      __Start_YI
+08e5:0310      __End_YI
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
 0000:47ea*     __dosretax
 0000:47ef*     __dosret0
@@ -314,9 +314,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_
-08d3:02ae      ___NFiles
-08d3:02b0      ___init_mode
-08d3:02d8      ___io_mode
+08e5:02ae      ___NFiles
+08e5:02b0      ___init_mode
+08e5: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)
@@ -335,15 +335,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_
-08d3:0cc0      __doserrno
+08e5:0cc0      __doserrno
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
-08d3:02dc      ___umaskval
+08e5: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_
-08d3:02de      ___heap_enabled
+08e5: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)
@@ -357,13 +357,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)
-08d3:02e0      ___EFG_printf
-08d3:02e4*     ___EFG_scanf
+08e5:02e0      ___EFG_printf
+08e5:02e4*     ___EFG_scanf
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
-08d3:02e8      ___IsDBCS
+08e5:02e8      ___IsDBCS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
 0000:4fb1*     _ismbblead_
-08d3:0cc2      ___MBCSIsTable
+08e5:0cc2      ___MBCSIsTable
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
 0000:4fcd      ulltoa_
 0000:510a*     lltoa_
@@ -388,10 +388,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)
-08d3:0072      ___Alphabet
+08e5:0072      ___Alphabet
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
 0000:5848      __mbinit_
-08d3:02ea+     ___MBCodePage
+08e5:02ea+     ___MBCodePage
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
 0000:5923*     _msize_
 0000:593e      _fmsize_
@@ -420,6 +420,6 @@ gfx.lib
                         +-----------------------+
 
 Stack size:  dac0 (56000.)
-Memory size:  000175c0 (95680.)
+Memory size:  000176e0 (95968.)
 Entry point address: 0000:0210
-Link time: 00:00.65
+Link time: 00:00.03
index f0de6d51e951e1691231cfced07f37abb8380eb9..825610da18b199a9382ea381b6ed0a4d14e72833 100755 (executable)
Binary files a/vgmtest.exe and b/vgmtest.exe differ
index 3c0eec327c1c288c4c4c40f961ad57b63d808019..a5ee502e9628feffe8f044f87574d7e47f9318e3 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/15 12:30:06
+Created on:       15/10/15 13:12:45
 Executable Image: vgmtest.exe
 creating a DOS executable
 
@@ -141,8 +141,8 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c)
 0000:5aa0*     CA_Startup_
 0000:5af0*     CA_Shutdown_
 10af:0910*     _finishcachebox
-10af:0914*     _drawcachebox
-10af:0918*     _updatecachebox
+10af:0914*     _updatecachebox
+10af:0918*     _drawcachebox
 Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c)
 0000:5b5c      KITTENGETS
 0000:5bbc*     kittenopen_
@@ -606,4 +606,4 @@ vgmsnd.lib
 Stack size:  dac0 (56000.)
 Memory size:  0001f460 (128096.)
 Entry point address: 0000:7d06
-Link time: 00:00.69
+Link time: 00:00.13