]> 4ch.mooo.com Git - 16.git/commitdiff
wwww added mapping of execs
authorsparky4 <sparky4@cock.li>
Wed, 23 Sep 2015 15:11:41 +0000 (10:11 -0500)
committersparky4 <sparky4@cock.li>
Wed, 23 Sep 2015 15:11:41 +0000 (10:11 -0500)
modified:   .gitignore
modified:   16.exe
new file:   16.map
new file:   bakapi.map
new file:   exmmtest.map
new file:   fmemtest.map
new file:   fontgfx.map
new file:   inputest.map
new file:   maptest.map
new file:   palettec.map
new file:   pcxtest.map
modified:   scroll.exe
new file:   scroll.map
new file:   test.map
new file:   test2.map
new file:   vgmtest.map

16 files changed:
.gitignore
16.exe
16.map [new file with mode: 0755]
bakapi.map [new file with mode: 0755]
exmmtest.map [new file with mode: 0755]
fmemtest.map [new file with mode: 0755]
fontgfx.map [new file with mode: 0755]
inputest.map [new file with mode: 0755]
maptest.map [new file with mode: 0755]
palettec.map [new file with mode: 0755]
pcxtest.map [new file with mode: 0755]
scroll.exe
scroll.map [new file with mode: 0755]
test.map [new file with mode: 0755]
test2.map [new file with mode: 0755]
vgmtest.map [new file with mode: 0755]

index d9dbfa80630b5aac4cc7adde53a48238f17f655f..d3a8dd4a24313ef74aafcc54999973ba7c30d8d0 100755 (executable)
@@ -18,7 +18,7 @@ makefile~
 README~\r
 TODO~\r
 LICENCE~\r
-*.map\r
+!*.map\r
 #*.MAP\r
 boop.sh\r
 !awoo.sh\r
diff --git a/16.exe b/16.exe
index 9fd4f7d7b94af84fa5faf6667d68876334fd7bd2..b51645a312f900079f92a63c9e5c1e32ab72b738 100755 (executable)
Binary files a/16.exe and b/16.exe differ
diff --git a/16.map b/16.map
new file mode 100755 (executable)
index 0000000..873850a
--- /dev/null
+++ b/16.map
@@ -0,0 +1,502 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: 16.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0c41:0000            0000ef40
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+16_TEXT                CODE           AUTO           0000:0000       0000023d
+mapread_TEXT           CODE           AUTO           0000:0240       00000872
+jsmn_TEXT              CODE           AUTO           0000:0ac0       00000919
+_TEXT                  CODE           AUTO           0000:13e0       0000662c
+modex16_TEXT           CODE           AUTO           0000:7a10       00001fae
+16_in_TEXT             CODE           AUTO           0000:99c0       00001d43
+wcpu_TEXT              CODE           AUTO           0000:b710       00000058
+bitmap_TEXT            CODE           AUTO           0000:b770       000005c9
+16text_TEXT            CODE           AUTO           0000:bd40       0000010d
+16_head_TEXT           CODE           AUTO           0000:be50       00000405
+16_in13_DATA           FAR_DATA       AUTO           0c26:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           0c40:0004       00000000
+_NULL                  BEGDATA        DGROUP         0c41:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0c43:0000       00000002
+CONST                  DATA           DGROUP         0c43:0002       00000076
+CONST2                 DATA           DGROUP         0c4a:0008       00000102
+_DATA                  DATA           DGROUP         0c5b:0000       0000052e
+XIB                    DATA           DGROUP         0cad:000e       00000000
+XI                     DATA           DGROUP         0cad:000e       00000024
+XIE                    DATA           DGROUP         0cb0:0002       00000000
+YIB                    DATA           DGROUP         0cb0:0002       00000000
+YI                     DATA           DGROUP         0cb0:0002       00000012
+YIE                    DATA           DGROUP         0cb1:0004       00000000
+STRINGS                DATA           DGROUP         0cb1:0004       00000000
+DATA                   DATA           DGROUP         0cb1:0004       00000000
+_BSS                   BSS            DGROUP         0cb2:0000       00000d6d
+STACK                  STACK          DGROUP         0d89:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: 16.o(/dos/z/16/src/16.c)
+0000:00cc      main_
+0c41:0710+     _player
+0c41:0810+     _gvar
+0c41:0828+     _cpus
+0c41:082c*     _gpal
+0c41:0830+     _dpal
+0c41:0834+     _engi_stat
+Module: mapread.o(/dos/z/16/src/lib/mapread.c)
+0000:02dc+     jsoneq_
+0000:0380+     dump_
+0000:087c*     loadmap_
+Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
+0000:0e92      jsmn_parse_
+0000:138e      jsmn_init_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:13e5      __STK
+0000:1405*     __STKOVERFLOW_
+Module: 16.lib(/dos/z/16/src/lib/modex16.c)
+0000:7bc8      VGAmodeX_
+0000:7c70+     modexEnter_
+0000:7d0c*     modexLeave_
+0000:7d24*     modexDefaultPage_
+0000:7d7e*     modexNextPage_
+0000:7e3a*     modexNextPage0_
+0000:7ede*     modexShowPage_
+0000:7fda*     modexPanPage_
+0000:802a*     modexSelectPlane_
+0000:804e+     modexClearRegion_
+0000:8166*     oldDrawBmp_
+0000:82cc*     modexDrawBmp_
+0000:8332+     modexDrawBmpRegion_
+0000:849c*     modexDrawPlanarBuf_
+0000:84ba*     modexDrawSprite_
+0000:8520+     modexDrawSpriteRegion_
+0000:8698*     modexCopyPageRegion_
+0000:8802      modexFadeOn_
+0000:8832      modexFadeOff_
+0000:8860*     modexFlashOn_
+0000:888e*     modexFlashOff_
+0000:895e      modexPalSave_
+0000:89b4      modexNewPal_
+0000:8a04*     modexLoadPalFile_
+0000:8ae6*     modexSavePalFile_
+0000:8b5e      modexPalBlack_
+0000:8b88*     modexPalWhite_
+0000:8bb2+     modexPalUpdate_
+0000:9122+     modexPalUpdate1_
+0000:919c*     modexPalUpdate0_
+0000:91e8+     chkcolor_
+0000:9500+     modexputPixel_
+0000:958e*     modexgetPixel_
+0000:9614*     modexhlin_
+0000:9680*     modexprint_
+0000:981a*     modexprintbig_
+0000:9996+     modexWaitBorder_
+0c41:01c4+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:1422      printf_
+Module: 16.lib(/dos/z/16/src/lib/16_in.c)
+0000:9ad8+     INL_KeyService_
+0000:9d22+     Mouse_
+0000:9d7a+     IN_GetJoyAbs_
+0000:a140+     IN_GetJoyButtonsDB_
+0000:a3d6+     IN_SetupJoy_
+0000:a598      IN_Startup_
+0000:a69e      IN_Default_
+0000:a802      IN_Shutdown_
+0000:a882*     IN_SetKeyHook_
+0000:a8a4+     IN_ClearKeysDown_
+0000:a984*     IN_ReadCursor_
+0000:aaa0      IN_ReadControl_
+0000:b220*     IN_SetControlType_
+0000:b26e*     IN_GetScanName_
+0000:b2f6*     IN_WaitForKey_
+0000:b32c*     IN_WaitForASCII_
+0000:b362+     IN_AckBack_
+0000:b44a*     IN_Ack_
+0000:b4ec+     IN_IsUserInput_
+0000:b592*     IN_UserInput_
+0000:b5ea      IN_KeyDown_
+0000:b632+     IN_ClearKey_
+0000:b6aa*     IN_qb_
+0c41:115e+     _inpu
+Module: 16.lib(/dos/z/16/src/lib/wcpu/wcpu.c)
+0000:b710      detectcpu_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0c41:0000*     __nullarea
+0c41:049a*     __ovlflag
+0c41:049b*     __intno
+0c41:049c*     __ovlvec
+0000:1452      _cstart_
+0000:1525*     _Not_Enough_Memory_
+0000:1657      __exit_
+0000:1676      __do_exit_with_msg__
+0000:16d3      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:16de      _big_code_
+0000:16de*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+0c41:12b4      __argv
+0c41:12b8      ___argv
+0c41:12bc      __argc
+0c41:12be      ___argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:16e5      __PIA
+0000:16de*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c)
+0000:16fc      strncmp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:1739      _fmalloc_
+0000:1739      malloc_
+0c41:04a0+     ___fheap
+0c41:04a2      ___fheapRover
+0c41:04a4      ___LargestSizeB4Rover
+Module: 16.lib(/dos/z/16/src/lib/bitmap.c)
+0000:ba72      bitmapLoadPcx_
+0000:bbce*     bitmapLoadPcxTiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c)
+0000:18ae      strstr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
+0000:19b0      atoi_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:1a4b+     __open_flags_
+0000:1d0c+     _fsopen_
+0000:1d73      fopen_
+0000:1e96*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:1f20      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:2297      __get_errno_ptr_
+0c41:1340      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+0c41:04b4      ___iob
+0c41:1342      ___ClosedStreams
+0c41:1346      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:229e      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:22cd*     _frealloc_
+0000:22cd      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:23aa      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncpy.c)
+0000:23dd      strncpy_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:2419*     __exit_with_msg_
+0000:241e      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+0c41:061c      __curbrk
+0c41:0624      __STACKLOW
+0c41:0626      __STACKTOP
+0c41:0628      __cbyte
+0c41:062a      __child
+0c41:062c      __no87
+0c41:0639      ___FPE_handler
+0c41:061e      __psp
+0c41:062d      __get_ovl_stack
+0c41:0631      __restore_ovl_stack
+0c41:0635      __close_ovl_file
+0c41:063d      __LpCmdLine
+0c41:0641      __LpPgmName
+0c41:0620      __osmajor
+0c41:0621      __osminor
+0c41:0622      __osmode
+0c41:0623      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:243c+     int86x_
+0000:25bf      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:25ec+     _null_exit_rtn_
+0000:25ec+     __null_int23_exit_
+0000:25ed      exit_
+0000:260e+     _exit_
+0c41:0646+     ___int23_exit
+0c41:064a+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:262a      __fill_buffer_
+0000:2879      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:29c0      __doclose_
+0000:2b0a      __shutdown_stream_
+0000:2b24      fclose_
+0c41:134a+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:2b8f      _ffree_
+0000:2b8f      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:2bfc      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:2f75      rand_
+0000:2fb7*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:2fda      __I4M
+0000:2fda      __U4M
+Module: 16.lib(/dos/z/16/src/lib/16text.c)
+0000:bdb6*     textInit_
+0c41:134e      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:300c      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_getvec.c)
+0000:315f      _dos_getvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_setvec.c)
+0000:316a      _dos_setvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:3178      __I4D
+0000:31c7      __U4D
+Module: 16.lib(/dos/z/16/src/lib/16_head.c)
+0000:be5e*     wait_
+0000:beaa*     filesize_
+0000:bf10*     printmeminfoline_
+0000:c0fc      US_CheckParm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:324b      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:32b1      __InitRtns
+0000:32b1*     __FInitRtns
+0000:330c      __FiniRtns
+0000:330c*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+0c41:0664      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:3370      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:3371      __Init_Argv_
+0000:33d4+     _getargv_
+0000:3704      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:3730      __MemAllocator
+0000:37fa      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:3957      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:3acd      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:3bbc      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:3bbf      _nmalloc_
+0c41:0666      ___nheapbeg
+0c41:0668      ___MiniHeapRover
+0c41:066a      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:3c99*     _heapgrow_
+0000:3c99*     _fheapgrow_
+0000:3c9a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:3e30      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:4028      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+0c41:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:4059*     __set_commode_
+0c41:066c      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0c41:066e      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:4065      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:4294*     open_
+0000:42cb      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:42f8      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:4357      __freefp_
+0000:43f8      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:4439      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:45e9      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:4777      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:4797      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:49cb*     fcloseall_
+0000:49d2      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:49dc*     _msize_
+0000:49f7      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:4a08      __HeapManager_expand_
+0000:4f11      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:4f64      _fexpand_
+0000:4f64*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:4f99      __EnterWVIDEO_
+0c41:0670+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:4fbd      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:4fd1      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:5037      __flushall_
+0000:50cb      flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:50d1      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:50eb      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:5125      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:515b      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:53a4      _nfree_
+0c41:136a+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:549f      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:54ff      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:56d4      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
+0000:6836+     __ibm_bios_get_ticks_
+0000:68ad      clock_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:68d4      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
+0000:68eb      ftell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:69b3      ultoa_
+0000:6a71*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0c41:1370      ____Argv
+0c41:1374      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0c41:067a      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0c41:06ce      __Start_XI
+0c41:06f2      __End_XI
+0c41:06f2      __Start_YI
+0c41:0704      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+0c41:1376      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:6ac0*     _heapenable_
+0c41:067c      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:6ad1      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:6b59      __LastFree_
+0000:6bd3      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:6ce4      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:6d15      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:6d26      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:6d4c      __GetIOMode_
+0000:6d81      __SetIOMode_nogrow_
+0c41:067e      ___NFiles
+0c41:0680      ___init_mode
+0c41:06a8      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:6db6      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:6dd2*     __get_doserrno_ptr_
+0c41:1378      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0c41:06ac      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:6dd9      _dos_creat_
+0000:6dfd*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:6e1e+     __grow_iomode_
+0000:6f05+     __shrink_iomode_
+0000:6f46      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:6fed*     __dosretax
+0000:6ff2*     __dosret0
+0000:6ff9      __set_errno_dos_
+0000:7061*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:706c      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:7091      _bexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:70ea      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:7463      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:7468      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:74b3+     utoa_
+0000:7554      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:759e      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0c41:06c2      ___EFG_printf
+0c41:06c6*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0c41:06ca      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:75e6*     _ismbblead_
+0c41:137c      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:7602      ulltoa_
+0000:773f*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
+0000:77b0      fflush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0c41:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:77c5*     sbrk_
+0000:77d5      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:783e      __doserror_
+0000:784c*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:7858      __ChkTTYIOMode_
+0000:78c6*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:78d6*     _dos_close_
+0000:78e4      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:7931      __mbinit_
+0c41:06cc+     ___MBCodePage
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  0001b350 (111440.)
+Entry point address: 0000:1452
+Link time: 00:00.00
diff --git a/bakapi.map b/bakapi.map
new file mode 100755 (executable)
index 0000000..7286293
--- /dev/null
@@ -0,0 +1,459 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: bakapi.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0a81:0000            0000e950
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+bakapi_TEXT            CODE           AUTO           0000:0000       00000236
+_TEXT                  CODE           AUTO           0000:0240       00007920
+modex16_TEXT           CODE           AUTO           0000:7b60       00001fae
+16text_TEXT            CODE           AUTO           0000:9b10       0000010d
+bakapee_TEXT           CODE           AUTO           0000:9c20       00000be7
+FAR_DATA               FAR_DATA       AUTO           0a80:0007       00000000
+_NULL                  BEGDATA        DGROUP         0a81:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0a83:0000       00000002
+CONST                  DATA           DGROUP         0a83:0002       00000076
+CONST2                 DATA           DGROUP         0a8a:0008       0000010a
+_DATA                  DATA           DGROUP         0a9c:0000       0000024c
+XIB                    DATA           DGROUP         0ac0:000c       00000000
+XI                     DATA           DGROUP         0ac0:000c       0000001e
+XIE                    DATA           DGROUP         0ac2:000a       00000000
+YIB                    DATA           DGROUP         0ac2:000a       00000000
+YI                     DATA           DGROUP         0ac2:000a       00000012
+YIE                    DATA           DGROUP         0ac3:000c       00000000
+STRINGS                DATA           DGROUP         0ac3:000c       00000000
+DATA                   DATA           DGROUP         0ac3:000c       00000000
+_BSS                   BSS            DGROUP         0ac3:000c       00000a56
+STACK                  STACK          DGROUP         0b6a:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: bakapi.o(/dos/z/16/src/bakapi.c)
+0000:00a2      main_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0245      __STK
+0000:0265*     __STKOVERFLOW_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:0282      rand_
+0000:02c4*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:02ef      __PIA
+0000:02e8*     __PIS
+Module: 16.lib(/dos/z/16/src/lib/modex16.c)
+0000:7d18      VGAmodeX_
+0000:7dc0+     modexEnter_
+0000:7e5c*     modexLeave_
+0000:7e74      modexDefaultPage_
+0000:7ece*     modexNextPage_
+0000:7f8a*     modexNextPage0_
+0000:802e      modexShowPage_
+0000:812a*     modexPanPage_
+0000:817a*     modexSelectPlane_
+0000:819e      modexClearRegion_
+0000:82b6*     oldDrawBmp_
+0000:841c*     modexDrawBmp_
+0000:8482+     modexDrawBmpRegion_
+0000:85ec*     modexDrawPlanarBuf_
+0000:860a*     modexDrawSprite_
+0000:8670+     modexDrawSpriteRegion_
+0000:87e8*     modexCopyPageRegion_
+0000:8952*     modexFadeOn_
+0000:8982*     modexFadeOff_
+0000:89b0*     modexFlashOn_
+0000:89de*     modexFlashOff_
+0000:8aae+     modexPalSave_
+0000:8b04+     modexNewPal_
+0000:8b54*     modexLoadPalFile_
+0000:8c36*     modexSavePalFile_
+0000:8cae*     modexPalBlack_
+0000:8cd8*     modexPalWhite_
+0000:8d02+     modexPalUpdate_
+0000:9272+     modexPalUpdate1_
+0000:92ec*     modexPalUpdate0_
+0000:9338+     chkcolor_
+0000:9650      modexputPixel_
+0000:96de*     modexgetPixel_
+0000:9764*     modexhlin_
+0000:97d0      modexprint_
+0000:996a*     modexprintbig_
+0000:9ae6+     modexWaitBorder_
+0a81:01c4      _VGA
+Module: 16.lib(/dos/z/16/src/lib/16text.c)
+0000:9b86      textInit_
+0a81:0d3c      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:0306      kbhit_
+Module: 16.lib(/dos/z/16/src/lib/bakapee.c)
+0000:9c28*     pdump_
+0000:9c8a+     cls_
+0000:9cf0+     colortest_
+0000:9d42+     colorz_
+0000:9da6+     ssd_
+0000:9ec4+     dingpp_
+0000:9f36+     dingo_
+0000:9fcc+     dingas_
+0000:a07a+     dingu_
+0000:a0dc+     dingq_
+0000:a17c      ding_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
+0000:031d      getch_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:0337      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(scanf.c)
+0000:0416+     vscanf_
+0000:0444      scanf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0a81:0000*     __nullarea
+0a81:01f4*     __ovlflag
+0a81:01f5*     __intno
+0a81:01f6*     __ovlvec
+0000:046c      _cstart_
+0000:053f*     _Not_Enough_Memory_
+0000:0671      __exit_
+0000:0690      __do_exit_with_msg__
+0000:06ed      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:06f8      _big_code_
+0000:06f8*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+0a81:0d54      __argv
+0a81:0d58      ___argv
+0a81:0d5c      __argc
+0a81:0d5e      ___argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:06f8*     __exit_with_msg_
+0000:06fd      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+0a81:01fa      __curbrk
+0a81:0202      __STACKLOW
+0a81:0204      __STACKTOP
+0a81:0206      __cbyte
+0a81:0208      __child
+0a81:020a      __no87
+0a81:0217      ___FPE_handler
+0a81:01fc      __psp
+0a81:020b      __get_ovl_stack
+0a81:020f      __restore_ovl_stack
+0a81:0213      __close_ovl_file
+0a81:021b      __LpCmdLine
+0a81:021f      __LpPgmName
+0a81:01fe      __osmajor
+0a81:01ff      __osminor
+0a81:0200      __osmode
+0a81:0201      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:071c      __I4M
+0000:071c      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:0734+     int86x_
+0000:08b7      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:08e4      _fmalloc_
+0000:08e4      malloc_
+0a81:0224+     ___fheap
+0a81:0226      ___fheapRover
+0a81:0228      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:0a59+     _null_exit_rtn_
+0000:0a59+     __null_int23_exit_
+0000:0a5a      exit_
+0000:0a7b+     _exit_
+0a81:022a+     ___int23_exit
+0a81:022e+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:0a97+     __open_flags_
+0000:0d58+     _fsopen_
+0000:0dbf      fopen_
+0000:0ee2*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:0f6c+     __fill_buffer_
+0000:11bb      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:1302      __doclose_
+0000:144c      __shutdown_stream_
+0000:1466      fclose_
+0a81:0d60+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:14d1      _ffree_
+0000:14d1      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:153e      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(delay.c)
+0000:18b7      delay_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+0a81:0232      ___iob
+0a81:0d64      ___ClosedStreams
+0a81:0d68      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1a30      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ungetc.c)
+0000:1b83      ungetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(scnf.c)
+0000:2db8      __scnf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:307e      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:30e4      __InitRtns
+0000:30e4*     __FInitRtns
+0000:313f      __FiniRtns
+0000:313f*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+0a81:039a      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:31a4      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:31a5      __Init_Argv_
+0000:3208+     _getargv_
+0000:3538      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:3562      __EnterWVIDEO_
+0a81:039c+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:3586      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:359a      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:3600      __MemAllocator
+0000:36ca      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:3827      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:399d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:3a8c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:3a8f      _nmalloc_
+0a81:039e      ___nheapbeg
+0a81:03a0      ___MiniHeapRover
+0a81:03a2      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:3b69*     _heapgrow_
+0000:3b69*     _fheapgrow_
+0000:3b6a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:3be2*     __set_commode_
+0a81:03a4      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:3bee*     __get_errno_ptr_
+0a81:0d70      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0a81:03a6      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:3bf5      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:3e24*     open_
+0000:3e5b      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:3fa6      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:419e      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:41fd      __freefp_
+0000:429e      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:42df      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:4490      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:44c3      __flushall_
+0000:4557*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:455d      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:4577      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:4705      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:4725      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:475f      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:4795      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:49de      _nfree_
+0a81:0d72+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:4ad9      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:4b39      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:4d0e      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:4f42*     fcloseall_
+0000:4f49      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:4f53      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+0a81:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0a81:03a8      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:60b5*     _ismbblead_
+0a81:0d74      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbtowc.c)
+0000:60d1      mbtowc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bits.c)
+0a81:019a      __Bits
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fdfs086.asm)
+0000:61ee      __FDFS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:6236*     __I4D
+0000:6285      __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0a81:03aa      ___EFG_printf
+0a81:03ae      ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i8m086.asm)
+0000:6337*     __I8M
+0000:6337      __U8M
+0000:631c*     __I8ME
+0000:631c*     __U8ME
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0a81:0e76      ____Argv
+0a81:0e7a      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0a81:03b2      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0a81:03fc      __Start_XI
+0a81:041a      __End_XI
+0a81:041a      __Start_YI
+0a81:042c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+0a81:0e7c      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:6482      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:64b4      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:682d*     _heapenable_
+0a81:03b4      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:683e      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:68c6      __LastFree_
+0000:6940      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:6a51      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:6a77      __GetIOMode_
+0000:6aac      __SetIOMode_nogrow_
+0a81:03b6      ___NFiles
+0a81:03b8      ___init_mode
+0a81:03e0      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:6ae1      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:6afd*     __get_doserrno_ptr_
+0a81:0e7e      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0a81:03e4      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:6b04      _dos_creat_
+0000:6b28*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:6b49+     __grow_iomode_
+0000:6c30+     __shrink_iomode_
+0000:6c71      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:6d18*     __dosretax
+0000:6d1d*     __dosret0
+0000:6d24      __set_errno_dos_
+0000:6d8c*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:6d97      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:6dc8      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:6dd9      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:6dde      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:6e29+     utoa_
+0000:6eca      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:6f14      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:6f49      ulltoa_
+0000:7086*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:70f7      ultoa_
+0000:71b5*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:7241      __mbinit_
+0a81:03fa+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:731c*     sbrk_
+0000:732c      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:7394      __doserror_
+0000:73a2*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:73ae*     _frealloc_
+0000:73ae      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:748a      __ChkTTYIOMode_
+0000:74f8*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7508*     _dos_close_
+0000:7516      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0a81:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:7525*     _msize_
+0000:7540      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:7551      __HeapManager_expand_
+0000:7a5a      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:7aad      _fexpand_
+0000:7aad*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:7ae2      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:7b07      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00019160 (102752.)
+Entry point address: 0000:046c
+Link time: 00:00.00
diff --git a/exmmtest.map b/exmmtest.map
new file mode 100755 (executable)
index 0000000..d92defc
--- /dev/null
@@ -0,0 +1,504 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: exmmtest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0c05:0000            0000e090
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+exmmtest_TEXT          CODE           AUTO           0000:0000       00000345
+_TEXT                  CODE           AUTO           0000:0350       0000643a
+16_mm_TEXT             CODE           AUTO           0000:6790       00003308
+16_ca_TEXT             CODE           AUTO           0000:9aa0       000003fd
+16_hc_TEXT             CODE           AUTO           0000:9ea0       0000158b
+16_head_TEXT           CODE           AUTO           0000:b430       00000405
+kitten_TEXT            CODE           AUTO           0000:b840       0000080a
+FAR_DATA               FAR_DATA       AUTO           0c04:000a       00000000
+_NULL                  BEGDATA        DGROUP         0c05:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0c07:0000       00000002
+CONST                  DATA           DGROUP         0c07:0002       00000076
+CONST2                 DATA           DGROUP         0c0e:0008       00000102
+_DATA                  DATA           DGROUP         0c1f:0000       0000025a
+XIB                    DATA           DGROUP         0c44:000a       00000000
+XI                     DATA           DGROUP         0c44:000a       0000002a
+XIE                    DATA           DGROUP         0c47:0004       00000000
+YIB                    DATA           DGROUP         0c47:0004       00000000
+YI                     DATA           DGROUP         0c47:0004       00000018
+YIE                    DATA           DGROUP         0c48:000c       00000000
+STRINGS                DATA           DGROUP         0c48:000c       00000000
+DATA                   DATA           DGROUP         0c48:000c       00000000
+_BSS                   BSS            DGROUP         0c49:0000       0000018c
+STACK                  STACK          DGROUP         0c62:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: exmmtest.o(/dos/z/16/src/exmmtest.c)
+0000:0108      main_
+0c05:0440+     _gvar
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0355      __STK
+0000:0375      __STKOVERFLOW_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:0392      _fmalloc_
+0000:0392      malloc_
+0c05:01a6      ___fheap
+0c05:01a8      ___fheapRover
+0c05:01aa      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:050f      __PIA
+0000:0508*     __PIS
+Module: 16.lib(/dos/z/16/src/lib/16_mm.c)
+0000:7174+     MML_CheckForEMS_
+0000:71d0+     MML_SetupEMS_
+0000:7388+     MML_ShutdownEMS_
+0000:73f4+     MM_MapEMS_
+0000:74f0*     MM_MapXEMS_
+0000:7610+     MML_CheckForXMS_
+0000:766c*     MML_SetupXMS_
+0000:7754+     MML_ShutdownXMS_
+0000:77e2+     MML_UseSpace_
+0000:79c0+     MML_ClearBlock_
+0000:7a44      MM_Startup_
+0000:7e76      MM_Shutdown_
+0000:7f0c      MM_GetPtr_
+0000:8306      MM_FreePtr_
+0000:83fe*     MM_SetPurge_
+0000:84d8*     MM_SetLock_
+0000:85b0+     MM_SortMem_
+0000:879e      MM_ShowMemory_
+0000:8e3e      MM_DumpData_
+0000:8f98+     MM_UnusedMemory_
+0000:901c+     MM_TotalFree_
+0000:90b2*     MM_Report_
+0000:9a6a*     MM_BombOnError_
+0c05:0460+     _beforesort
+0c05:0464+     _aftersort
+0c05:0468+     _XMSaddr
+Module: 16.lib(/dos/z/16/src/lib/16_ca.c)
+0000:9ace      CA_OpenDebug_
+0000:9b1e      CA_CloseDebug_
+0000:9b4c+     CA_FarRead_
+0000:9bcc*     CA_FarWrite_
+0000:9c4c*     CA_ReadFile_
+0000:9cc8      CA_LoadFile_
+0000:9d70*     CAL_OptimizeNodes_
+0000:9e20      CA_Startup_
+0000:9e70      CA_Shutdown_
+0c05:0470*     _finishcachebox
+0c05:0474*     _drawcachebox
+0c05:0478*     _updatecachebox
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:0526      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bmsize.c)
+0000:0555      _bmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
+0000:058c      getch_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:05a6      _ffree_
+0000:05a6      free_
+Module: 16.lib(/dos/z/16/src/lib/16_hc.c)
+0000:a04c+     LargestFreeBlock_
+0000:a0da+     _coreleft_
+0000:a156+     LargestFarFreeBlock_
+0000:a20c+     _farcoreleft_
+0000:a2ba+     LargestHugeFreeBlock_
+0000:a3aa*     _hugecoreleft_
+0000:a47a      GetFreeSize_
+0000:a4d4      GetFarFreeSize_
+0000:a51e      GetNearFreeSize_
+0000:a56c      heapdump_
+0000:b20e+     heapstat_
+0000:b34c+     heapstat0_
+0000:b3ae+     HC_OpenDebug_
+0000:b3fe*     HC_CloseDebug_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0c05:0000*     __nullarea
+0c05:01e4*     __ovlflag
+0c05:01e5*     __intno
+0c05:01e6*     __ovlvec
+0000:0614      _cstart_
+0000:06e7*     _Not_Enough_Memory_
+0000:0819      __exit_
+0000:0838      __do_exit_with_msg__
+0000:0895      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:08a0      _big_code_
+0000:08a0*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+0c05:047c      __argv
+0c05:0480      ___argv
+0c05:0484      __argc
+0c05:0486      ___argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:08a0*     __exit_with_msg_
+0000:08a5      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+0c05:01ea      __curbrk
+0c05:01f2      __STACKLOW
+0c05:01f4      __STACKTOP
+0c05:01f6      __cbyte
+0c05:01f8      __child
+0c05:01fa      __no87
+0c05:0207      ___FPE_handler
+0c05:01ec      __psp
+0c05:01fb      __get_ovl_stack
+0c05:01ff      __restore_ovl_stack
+0c05:0203      __close_ovl_file
+0c05:020b      __LpCmdLine
+0c05:020f      __LpPgmName
+0c05:01ee      __osmajor
+0c05:01ef      __osminor
+0c05:01f0      __osmode
+0c05:01f1      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:08d0      __MemAllocator
+0000:099a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:0af7      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:0c6d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:0d5c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:0d5f      _nmalloc_
+0c05:0214      ___nheapbeg
+0c05:0216      ___MiniHeapRover
+0c05:0218      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:0e39*     _heapgrow_
+0000:0e39      _fheapgrow_
+0000:0e3a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
+0000:0eb2      _memavl_
+Module: 16.lib(/dos/z/16/src/lib/16_head.c)
+0000:b43e*     wait_
+0000:b48a*     filesize_
+0000:b4f0      printmeminfoline_
+0000:b6dc      US_CheckParm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:0ef7      _nfree_
+0c05:0488+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:0ff2+     _null_exit_rtn_
+0000:0ff2+     __null_int23_exit_
+0000:0ff3      exit_
+0000:1014+     _exit_
+0c05:0224+     ___int23_exit
+0c05:0228+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:1030      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:1064      __I4D
+0000:10b3      __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:1137      ultoa_
+0000:11f5*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(write.c)
+0000:137b      write_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:15a7+     __open_flags_
+0000:1868+     _fsopen_
+0000:18cf      fopen_
+0000:19f2*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:1a7c      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:1aab      __doclose_
+0000:1bf5      __shutdown_stream_
+0000:1c0f      fclose_
+0c05:048a+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c)
+0000:1c7a      unlink_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:1eaa      open_
+0000:1ee1      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(close.c)
+0000:1f0e      close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filelen.c)
+0000:1f13      filelength_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+0c05:022c      ___iob
+0c05:048e      ___ClosedStreams
+0c05:0492      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1f8b      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(haloc.c)
+0000:20f3      halloc_
+0000:21d8      hfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fheapwal.c)
+0000:21df      _heapwalk_
+0000:21df      _fheapwalk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c)
+0000:21f4+     __NHeapWalk_
+0000:22ed      _nheapwalk_
+Module: 16.lib(/dos/z/16/src/lib/nyan/kitten.c)
+0000:b87c      KITTENGETS
+0000:b8dc*     kittenopen_
+0000:bb2a+     catread_
+0000:bbde*     kittenclose_
+0000:bbfa+     mystrtoul_
+0000:bcae+     processEscChars_
+0000:be34+     get_line_
+0000:bea6+     db_fetch_
+0000:bf3c+     db_insert_
+0c05:0394+     __kitten_catalog
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
+0000:22fd      stackavail_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:230b      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:2371      __InitRtns
+0000:2371*     __FInitRtns
+0000:23cc      __FiniRtns
+0000:23cc*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+0c05:0396      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:2430      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:2431      __Init_Argv_
+0000:2494+     _getargv_
+0000:27c4      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:27ee      __EnterWVIDEO_
+0c05:0398+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:2812*     _heapenable_
+0c05:039a      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0c05:039c      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:2823      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:28ab      __LastFree_
+0000:2925      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
+0000:2a36+     __ibm_bios_get_ticks_
+0000:2aad      clock_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:2ad4      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
+0000:2aeb      ftell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:2cd1      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+0c05:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:2ec9      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0c05:0022      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:2ed7      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:2f11*     __dosretax
+0000:2f16*     __dosret0
+0000:2f1d      __set_errno_dos_
+0000:2f85*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:2f90*     __get_errno_ptr_
+0c05:04ac      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:2f97      __GetIOMode_
+0000:2fcc      __SetIOMode_nogrow_
+0c05:03ba      ___NFiles
+0c05:03bc      ___init_mode
+0c05:03e4      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:3001*     __set_commode_
+0c05:03e8      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0c05:03ea      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:300d      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:306c      __freefp_
+0000:310d      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:314e      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:32fe      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:3334      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:357e      __doserror_
+0000:358c      __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:3598      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:35be      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:35da*     __get_doserrno_ptr_
+0c05:04ae      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0c05:03ec      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:35e1      _dos_creat_
+0000:3605*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:3626+     __grow_iomode_
+0000:370d+     __shrink_iomode_
+0000:374e      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:37f5      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:3a29*     fcloseall_
+0000:3a30      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:3a3a      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:3c0f      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:3d9d      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:4f00*     __I4M
+0000:4f00      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapwalk.c)
+0000:4fda      __HeapWalk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c)
+0000:5200      sprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getenv.c)
+0000:522f      getenv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:531a      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(read.c)
+0000:534b      read_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strdup.c)
+0000:5484*     __clib_strdup_
+0000:5484      strdup_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0c05:04b2      ____Argv
+0c05:04b6      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0c05:03fa      __Start_XI
+0c05:0424      __End_XI
+0c05:0424      __Start_YI
+0c05:043c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+0c05:04b8      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:54d6*     sbrk_
+0000:54e6      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
+0000:554e      fflush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:5563      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:5574      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:55a5      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:5605      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:560a*     _frealloc_
+0000:560a      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:56e6      __ChkTTYIOMode_
+0000:5754*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:5764      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:57af+     utoa_
+0000:5850      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:589a      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0c05:03ee      ___EFG_printf
+0c05:03f2*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0c05:03f6      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:58e2*     _ismbblead_
+0c05:04ba      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:58fe      ulltoa_
+0000:5a3b*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
+0000:5ac5      vsprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
+0c05:05bc      ___env_mask
+0c05:05c0      _environ
+0c05:05c4*     __wenviron
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
+0000:5b07      _mbterm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
+0000:5b5a      _mbsnextc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbcupper.c)
+0000:5bb5      _mbctoupper_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsinc.c)
+0000:5bd8      _mbsinc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:5c2a+     __flushall_
+0000:5cbe      flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:5cc4*     _dos_close_
+0000:5cd2      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:5ce1*     _msize_
+0000:5cfc      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:5d0d      __HeapManager_expand_
+0000:6216      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:6269      _fexpand_
+0000:6269*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:62dc      __mbinit_
+0c05:03f8      ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
+0000:63d5      __setenvp_
+0000:6561      __freeenvp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
+0000:65bf      _mbdtoupper_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
+0000:65cd      toupper_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:65db      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:6600      _bexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clearenv.c)
+0000:6659      clearenv_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  0001a0e0 (106720.)
+Entry point address: 0000:0614
+Link time: 00:00.00
diff --git a/fmemtest.map b/fmemtest.map
new file mode 100755 (executable)
index 0000000..8caa8fe
--- /dev/null
@@ -0,0 +1,304 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: fmemtest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          03d0:0000            0000dec0
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+fmemtest_TEXT          CODE           AUTO           0000:0000       00000272
+_TEXT                  CODE           AUTO           0000:0280       00003a7c
+FAR_DATA               FAR_DATA       AUTO           03cf:000c       00000000
+_NULL                  BEGDATA        DGROUP         03d0:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         03d2:0000       00000002
+CONST                  DATA           DGROUP         03d2:0002       00000076
+CONST2                 DATA           DGROUP         03d9:0008       00000000
+_DATA                  DATA           DGROUP         03da:0000       00000208
+XIB                    DATA           DGROUP         03fa:0008       00000000
+XI                     DATA           DGROUP         03fa:0008       0000001e
+XIE                    DATA           DGROUP         03fc:0006       00000000
+YIB                    DATA           DGROUP         03fc:0006       00000000
+YI                     DATA           DGROUP         03fc:0006       0000000c
+YIE                    DATA           DGROUP         03fd:0002       00000000
+STRINGS                DATA           DGROUP         03fd:0002       00000000
+DATA                   DATA           DGROUP         03fd:0002       00000000
+_BSS                   BSS            DGROUP         03fd:0002       0000012c
+STACK                  STACK          DGROUP         0410:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: fmemtest.o(/dos/z/16/src/fmemtest.c)
+0000:00e2      main_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0285      __STK
+0000:02a5*     __STKOVERFLOW_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:02c2      _heapgrow_
+0000:02c2      _fheapgrow_
+0000:02c3      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:033b      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
+0000:036a      _memavl_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bmsize.c)
+0000:03af      _bmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:03e6      _msize_
+0000:0401      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmsize.c)
+0000:0412      _nmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+03d0:0000*     __nullarea
+03d0:00a6*     __ovlflag
+03d0:00a7*     __intno
+03d0:00a8*     __ovlvec
+0000:0426      _cstart_
+0000:04f9*     _Not_Enough_Memory_
+0000:062b      __exit_
+0000:064a      __do_exit_with_msg__
+0000:06a7      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:06b2      _big_code_
+0000:06b2*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+03d0:02d2      __argv
+03d0:02d6      ___argv
+03d0:02da      __argc
+03d0:02dc      ___argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:06b2*     __exit_with_msg_
+0000:06b7      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+03d0:00ac      __curbrk
+03d0:00b4      __STACKLOW
+03d0:00b6      __STACKTOP
+03d0:00b8      __cbyte
+03d0:00ba      __child
+03d0:00bc      __no87
+03d0:00c9      ___FPE_handler
+03d0:00ae      __psp
+03d0:00bd      __get_ovl_stack
+03d0:00c1      __restore_ovl_stack
+03d0:00c5      __close_ovl_file
+03d0:00cd      __LpCmdLine
+03d0:00d1      __LpPgmName
+03d0:00b0      __osmajor
+03d0:00b1      __osminor
+03d0:00b2      __osmode
+03d0:00b3      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:075b      __LastFree_
+0000:07d5      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:08e6      _nmalloc_
+03d0:00d6      ___nheapbeg
+03d0:00d8      ___MiniHeapRover
+03d0:00da      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:09c0      _nfree_
+03d0:02de+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+03d0:00dc      ___iob
+03d0:02e0      ___ClosedStreams
+03d0:02e4      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:0ad5      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:0c2f      __PIA
+0000:0c28*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:0c46      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:0cac      __InitRtns
+0000:0cac*     __FInitRtns
+0000:0d07      __FiniRtns
+0000:0d07*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+03d0:0244      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:0d6c      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:0d6d      __Init_Argv_
+0000:0dd0+     _getargv_
+0000:1100      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:112a      __EnterWVIDEO_
+03d0:0246+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+03d0:0248      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:114e*     _heapenable_
+03d0:024a      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:115f*     sbrk_
+0000:116f      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:11d7      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:11e0      __MemAllocator
+0000:12aa      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:1407      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:163b*     fcloseall_
+0000:1642      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:164c      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:1821      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:19af      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:2b11      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+03d0:02ec      ____Argv
+03d0:02f0      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:2d5a+     _null_exit_rtn_
+0000:2d5a+     __null_int23_exit_
+0000:2d5b      exit_
+0000:2d7c+     _exit_
+03d0:024c+     ___int23_exit
+03d0:0250+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+03d0:02a8      __Start_XI
+03d0:02c6      __End_XI
+03d0:02c6      __Start_YI
+03d0:02d2      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+03d0:02f2      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:2d98      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:2dc9*     _fmalloc_
+0000:2dc9      malloc_
+03d0:0254+     ___fheap
+03d0:0256      ___fheapRover
+03d0:0258      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:2f3e      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:2f71*     _ffree_
+0000:2f71      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:2fde*     __get_errno_ptr_
+03d0:02f4      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:2fe5+     __doclose_
+0000:312f      __shutdown_stream_
+0000:3149*     fclose_
+03d0:02f6+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:31b4      __freefp_
+0000:3255      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:3296      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:32f5      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:3340+     utoa_
+0000:33e1      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:342c*     __I4M
+0000:342c      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:3444      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+03d0:025a      ___EFG_printf
+03d0:025e*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+03d0:0262      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:348c*     _ismbblead_
+03d0:02fa      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:34a8      ulltoa_
+0000:35e5*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:3656      ultoa_
+0000:3714*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:3762      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:37c2      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:37fc      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:3801      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:3977      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:3a66      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:3a69      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:3a9f      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+03d0:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:3af9      __mbinit_
+03d0:0264+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:3bd4      __GetIOMode_
+0000:3c09      __SetIOMode_nogrow_
+03d0:0266+     ___NFiles
+03d0:0268+     ___init_mode
+03d0:0290+     ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:3c3e*     __dosretax
+0000:3c43*     __dosret0
+0000:3c4a      __set_errno_dos_
+0000:3cb2*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:3cbd*     _dos_close_
+0000:3ccb      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:3cda*     __get_doserrno_ptr_
+03d0:03fc      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:3ce2      __doserror_
+0000:3cf0*     __doserror1_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00011bc0 (72640.)
+Entry point address: 0000:0426
+Link time: 00:00.00
diff --git a/fontgfx.map b/fontgfx.map
new file mode 100755 (executable)
index 0000000..678cb4b
--- /dev/null
@@ -0,0 +1,423 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: fontgfx.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          080c:0000            0000ec80
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+fontgfx_TEXT           CODE           AUTO           0000:0000       00000147
+_TEXT                  CODE           AUTO           0000:0150       00005ea3
+16text_TEXT            CODE           AUTO           0000:6000       0000010d
+modex16_TEXT           CODE           AUTO           0000:6110       00001fae
+FAR_DATA               FAR_DATA       AUTO           080b:000e       00000000
+_NULL                  BEGDATA        DGROUP         080c:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         080e:0000       00000002
+CONST                  DATA           DGROUP         080e:0002       00000076
+CONST2                 DATA           DGROUP         0815:0008       00000000
+_DATA                  DATA           DGROUP         0816:0000       00000698
+XIB                    DATA           DGROUP         087f:0008       00000000
+XI                     DATA           DGROUP         087f:0008       0000001e
+XIE                    DATA           DGROUP         0881:0006       00000000
+YIB                    DATA           DGROUP         0881:0006       00000000
+YI                     DATA           DGROUP         0881:0006       00000012
+YIE                    DATA           DGROUP         0882:0008       00000000
+STRINGS                DATA           DGROUP         0882:0008       00000000
+DATA                   DATA           DGROUP         0882:0008       00000000
+_BSS                   BSS            DGROUP         0882:0008       00000a4d
+STACK                  STACK          DGROUP         0928:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: fontgfx.o(/dos/z/16/src/fontgfx.c)
+0000:000c      main_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0155      __STK
+0000:0175*     __STKOVERFLOW_
+Module: 16.lib(/dos/z/16/src/lib/16text.c)
+0000:6076      textInit_
+080c:0770      _romFonts
+Module: 16.lib(/dos/z/16/src/lib/modex16.c)
+0000:62c8*     VGAmodeX_
+0000:6370      modexEnter_
+0000:640c      modexLeave_
+0000:6424      modexDefaultPage_
+0000:647e*     modexNextPage_
+0000:653a*     modexNextPage0_
+0000:65de*     modexShowPage_
+0000:66da*     modexPanPage_
+0000:672a*     modexSelectPlane_
+0000:674e+     modexClearRegion_
+0000:6866*     oldDrawBmp_
+0000:69cc*     modexDrawBmp_
+0000:6a32+     modexDrawBmpRegion_
+0000:6b9c*     modexDrawPlanarBuf_
+0000:6bba*     modexDrawSprite_
+0000:6c20+     modexDrawSpriteRegion_
+0000:6d98*     modexCopyPageRegion_
+0000:6f02*     modexFadeOn_
+0000:6f32*     modexFadeOff_
+0000:6f60*     modexFlashOn_
+0000:6f8e*     modexFlashOff_
+0000:705e+     modexPalSave_
+0000:70b4+     modexNewPal_
+0000:7104*     modexLoadPalFile_
+0000:71e6*     modexSavePalFile_
+0000:725e*     modexPalBlack_
+0000:7288*     modexPalWhite_
+0000:72b2+     modexPalUpdate_
+0000:7822+     modexPalUpdate1_
+0000:789c*     modexPalUpdate0_
+0000:78e8+     chkcolor_
+0000:7c00+     modexputPixel_
+0000:7c8e*     modexgetPixel_
+0000:7d14*     modexhlin_
+0000:7d80      modexprint_
+0000:7f1a      modexprintbig_
+0000:8096+     modexWaitBorder_
+080c:0504+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
+0000:0192      getch_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:01ac      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c)
+0000:01db      sprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+080c:0000*     __nullarea
+080c:052c*     __ovlflag
+080c:052d*     __intno
+080c:052e*     __ovlvec
+0000:020a      _cstart_
+0000:02dd*     _Not_Enough_Memory_
+0000:040f      __exit_
+0000:042e      __do_exit_with_msg__
+0000:048b      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:0496      _big_code_
+0000:0496*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+080c:1088      __argv
+080c:108c      ___argv
+080c:1090      __argc
+080c:1092      ___argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:0496*     __exit_with_msg_
+0000:049b      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+080c:0532      __curbrk
+080c:053a      __STACKLOW
+080c:053c      __STACKTOP
+080c:053e      __cbyte
+080c:0540      __child
+080c:0542      __no87
+080c:054f      ___FPE_handler
+080c:0534      __psp
+080c:0543      __get_ovl_stack
+080c:0547      __restore_ovl_stack
+080c:054b      __close_ovl_file
+080c:0553      __LpCmdLine
+080c:0557      __LpPgmName
+080c:0536      __osmajor
+080c:0537      __osminor
+080c:0538      __osmode
+080c:0539      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:04ba      __I4M
+0000:04ba      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:04d9      __PIA
+0000:04d2*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:04f0+     int86x_
+0000:0673      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:06a0      _fmalloc_
+0000:06a0      malloc_
+080c:055c+     ___fheap
+080c:055e      ___fheapRover
+080c:0560      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:0815+     _null_exit_rtn_
+0000:0815+     __null_int23_exit_
+0000:0816      exit_
+0000:0837+     _exit_
+080c:0562+     ___int23_exit
+080c:0566+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:0853+     __open_flags_
+0000:0b14+     _fsopen_
+0000:0b7b      fopen_
+0000:0c9e*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:0d28+     __fill_buffer_
+0000:0f77      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:10be      __doclose_
+0000:1208      __shutdown_stream_
+0000:1222      fclose_
+080c:1094+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:128d      _ffree_
+0000:128d      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:12fa      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:1673      rand_
+0000:16b5*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+080c:056e      ___iob
+080c:1098      ___ClosedStreams
+080c:109c      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:16f2      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
+0000:185e      vsprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:18a0      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:1906      __InitRtns
+0000:1906*     __FInitRtns
+0000:1961      __FiniRtns
+0000:1961*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+080c:06d6      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:19c6      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:19c7      __Init_Argv_
+0000:1a2a+     _getargv_
+0000:1d5a      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:1d84      __EnterWVIDEO_
+080c:06d8+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:1da8      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:1dbc      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:1e30      __MemAllocator
+0000:1efa      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:2057      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:21cd      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:22bc      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:22bf      _nmalloc_
+080c:06da      ___nheapbeg
+080c:06dc      ___MiniHeapRover
+080c:06de      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:2399*     _heapgrow_
+0000:2399*     _fheapgrow_
+0000:239a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:2412*     __set_commode_
+080c:06e0      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:241e*     __get_errno_ptr_
+080c:10a4      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+080c:06e2      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:2425      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:2654*     open_
+0000:268b      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:27d6      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:29ce      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:2a2d      __freefp_
+0000:2ace      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:2b0f      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:2cc0      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:2cf3      __flushall_
+0000:2d87*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:2d8d      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:2da7      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:2f35      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:2f55      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:2f8f      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:2fc5      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:320e      _nfree_
+080c:10a6+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:3309      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:3369      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:353e      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:3772*     fcloseall_
+0000:3779      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:3783      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+080c:10a8      ____Argv
+080c:10ac      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+080c:06e4      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+080c:0738      __Start_XI
+080c:0756      __End_XI
+080c:0756      __Start_YI
+080c:0768      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+080c:10ae      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:48e6      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:4918      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:4c91*     _heapenable_
+080c:06e6      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:4ca2      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:4d2a      __LastFree_
+0000:4da4      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:4eb5      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:4edb      __GetIOMode_
+0000:4f10      __SetIOMode_nogrow_
+080c:06e8      ___NFiles
+080c:06ea      ___init_mode
+080c:0712      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:4f45      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:4f61*     __get_doserrno_ptr_
+080c:10b0      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+080c:0716      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:4f68      _dos_creat_
+0000:4f8c*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:4fad+     __grow_iomode_
+0000:5094+     __shrink_iomode_
+0000:50d5      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:517c*     __dosretax
+0000:5181*     __dosret0
+0000:5188      __set_errno_dos_
+0000:51f0*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:51fb      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:522c      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:523d      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:5242      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:528d+     utoa_
+0000:532e      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:5378      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+080c:072c      ___EFG_printf
+080c:0730*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+080c:0734      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:53c0*     _ismbblead_
+080c:10b4      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:53dc      ulltoa_
+0000:5519*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:558a      ultoa_
+0000:5648*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:5696*     sbrk_
+0000:56a6      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:570e      __doserror_
+0000:571c*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:5728*     _frealloc_
+0000:5728      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:5804      __ChkTTYIOMode_
+0000:5872*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:5882*     _dos_close_
+0000:5890      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+080c:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:58dd      __mbinit_
+080c:0736+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:59b8*     _msize_
+0000:59d3      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:59e4      __HeapManager_expand_
+0000:5eed      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:5f40      _fexpand_
+0000:5f40*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:5f75      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:5f9a      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00016d40 (93504.)
+Entry point address: 0000:020a
+Link time: 00:00.00
diff --git a/inputest.map b/inputest.map
new file mode 100755 (executable)
index 0000000..4c8497c
--- /dev/null
@@ -0,0 +1,390 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: inputest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          072b:0000            0000e410
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+inputest_TEXT          CODE           AUTO           0000:0000       0000004b
+_TEXT                  CODE           AUTO           0000:0050       00004f44
+16_in_TEXT             CODE           AUTO           0000:4fa0       00001d43
+16_head_TEXT           CODE           AUTO           0000:6cf0       00000405
+16_in13_DATA           FAR_DATA       AUTO           0710:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           072a:0004       00000000
+_NULL                  BEGDATA        DGROUP         072b:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         072d:0000       00000002
+CONST                  DATA           DGROUP         072d:0002       00000076
+CONST2                 DATA           DGROUP         0734:0008       00000102
+_DATA                  DATA           DGROUP         0745:0000       000004ce
+XIB                    DATA           DGROUP         0791:000e       00000000
+XI                     DATA           DGROUP         0791:000e       00000024
+XIE                    DATA           DGROUP         0794:0002       00000000
+YIB                    DATA           DGROUP         0794:0002       00000000
+YI                     DATA           DGROUP         0794:0002       00000012
+YIE                    DATA           DGROUP         0795:0004       00000000
+STRINGS                DATA           DGROUP         0795:0004       00000000
+DATA                   DATA           DGROUP         0795:0004       00000000
+_BSS                   BSS            DGROUP         0796:0000       00000296
+STACK                  STACK          DGROUP         07c0:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: inputest.o(/dos/z/16/src/inputest.c)
+0000:0000      main_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0055      __STK
+0000:0075*     __STKOVERFLOW_
+Module: 16.lib(/dos/z/16/src/lib/16_in.c)
+0000:50b8+     INL_KeyService_
+0000:5302+     Mouse_
+0000:535a+     IN_GetJoyAbs_
+0000:5720+     IN_GetJoyButtonsDB_
+0000:59b6+     IN_SetupJoy_
+0000:5b78      IN_Startup_
+0000:5c7e      IN_Default_
+0000:5de2      IN_Shutdown_
+0000:5e62*     IN_SetKeyHook_
+0000:5e84+     IN_ClearKeysDown_
+0000:5f64*     IN_ReadCursor_
+0000:6080      IN_ReadControl_
+0000:6800*     IN_SetControlType_
+0000:684e*     IN_GetScanName_
+0000:68d6*     IN_WaitForKey_
+0000:690c*     IN_WaitForASCII_
+0000:6942+     IN_AckBack_
+0000:6a2a*     IN_Ack_
+0000:6acc+     IN_IsUserInput_
+0000:6b72*     IN_UserInput_
+0000:6bca      IN_KeyDown_
+0000:6c12+     IN_ClearKey_
+0000:6c8a*     IN_qb_
+072b:06be+     _inpu
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+072b:0000*     __nullarea
+072b:045a*     __ovlflag
+072b:045b*     __intno
+072b:045c*     __ovlvec
+0000:0092      _cstart_
+0000:0165*     _Not_Enough_Memory_
+0000:0297      __exit_
+0000:02b6      __do_exit_with_msg__
+0000:0313      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:031e      _big_code_
+0000:031e*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+072b:0814      __argv
+072b:0818      ___argv
+072b:081c      __argc
+072b:081e      ___argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:031e*     __exit_with_msg_
+0000:0323      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+072b:0460      __curbrk
+072b:0468      __STACKLOW
+072b:046a      __STACKTOP
+072b:046c      __cbyte
+072b:046e      __child
+072b:0470      __no87
+072b:047d      ___FPE_handler
+072b:0462      __psp
+072b:0471      __get_ovl_stack
+072b:0475      __restore_ovl_stack
+072b:0479      __close_ovl_file
+072b:0481      __LpCmdLine
+072b:0485      __LpPgmName
+072b:0464      __osmajor
+072b:0465      __osminor
+072b:0466      __osmode
+072b:0467      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:0349      __PIA
+0000:0342*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:0360+     int86x_
+0000:04e3      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:0510      __I4M
+0000:0510      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_getvec.c)
+0000:0528      _dos_getvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_setvec.c)
+0000:0533      _dos_setvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:0540      __I4D
+0000:058f      __U4D
+Module: 16.lib(/dos/z/16/src/lib/16_head.c)
+0000:6cfe*     wait_
+0000:6d4a*     filesize_
+0000:6db0*     printmeminfoline_
+0000:6f9c      US_CheckParm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:0613      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:0642      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:06a8      __InitRtns
+0000:06a8*     __FInitRtns
+0000:0703      __FiniRtns
+0000:0703*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+072b:0494      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:0768      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:0769      __Init_Argv_
+0000:07cc+     _getargv_
+0000:0afc      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:0b26      __EnterWVIDEO_
+072b:0496+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:0b4a      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:0b5e      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
+0000:0bc4+     __ibm_bios_get_ticks_
+0000:0c3b      clock_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:0c62      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
+0000:0c79      ftell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:0e5f      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:1057      ultoa_
+0000:1115*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+072b:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:1163      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:1172      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+072b:04a0      ___iob
+072b:0828      ___ClosedStreams
+072b:082c      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:11bf      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+072b:0830      ____Argv
+072b:0834      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+072b:0608      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:1312+     _null_exit_rtn_
+0000:1312+     __null_int23_exit_
+0000:1313      exit_
+0000:1334+     _exit_
+072b:060a+     ___int23_exit
+072b:060e+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+072b:066e      __Start_XI
+072b:0692      __End_XI
+072b:0692      __Start_YI
+072b:06a4      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+072b:0836      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:1350      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:1381      _nmalloc_
+072b:0612      ___nheapbeg
+072b:0614      ___MiniHeapRover
+072b:0616      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:145b      _fmalloc_
+0000:145b      malloc_
+072b:0618+     ___fheap
+072b:061a      ___fheapRover
+072b:061c      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:15d0      _ffree_
+0000:15d0      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:163e      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
+0000:19b7      fflush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:19cc      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:19dd      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:1a0e      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:1c57*     __get_errno_ptr_
+072b:0838      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+072b:0022      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:1c5e      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:1e92*     fcloseall_
+0000:1e99      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:1ea3      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:2078      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:2206      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:3368      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:3370      __MemAllocator
+0000:343a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:361c      __LastFree_
+0000:3696      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:37a7      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:391d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:3a0c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:3a0f*     _heapgrow_
+0000:3a0f*     _fheapgrow_
+0000:3a10      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:3a88      _nfree_
+072b:083a+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:3b83+     __flushall_
+0000:3c17      flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:3c1d      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:3c57      __GetIOMode_
+0000:3c8c      __SetIOMode_nogrow_
+072b:061e      ___NFiles
+072b:0620      ___init_mode
+072b:0648      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:3cc1+     __grow_iomode_
+0000:3da8+     __shrink_iomode_
+0000:3de9      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:3e90      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:3ef0      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:3ef5+     __doclose_
+0000:403f      __shutdown_stream_
+0000:4059*     fclose_
+072b:083e+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:40c4      __freefp_
+0000:4165      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:41a6      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:4205      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:4250+     utoa_
+0000:42f1      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:433b      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+072b:064c      ___EFG_printf
+072b:0650*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+072b:0654      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:4383*     _ismbblead_
+072b:0842      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:439f      ulltoa_
+0000:44dc*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:454d*     _heapenable_
+072b:0656      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:455e*     sbrk_
+0000:456e      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:45d6*     __dosretax
+0000:45db*     __dosret0
+0000:45e2      __set_errno_dos_
+0000:464a*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:4655*     _frealloc_
+0000:4655      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:4731      __ChkTTYIOMode_
+0000:479f*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:47af*     _dos_close_
+0000:47bd      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:47cc      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:4802      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:485c      __mbinit_
+072b:066c+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:4937*     __get_doserrno_ptr_
+072b:0944      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:493e*     _msize_
+0000:4959      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:496a      __HeapManager_expand_
+0000:4e73      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:4ec6      _fexpand_
+0000:4ec6*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:4efc      __doserror_
+0000:4f0a*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:4f16      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:4f3b      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  000156c0 (87744.)
+Entry point address: 0000:0092
+Link time: 00:00.00
diff --git a/maptest.map b/maptest.map
new file mode 100755 (executable)
index 0000000..20d6af5
--- /dev/null
@@ -0,0 +1,444 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: maptest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          09da:0000            0000e9c0
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+maptest_TEXT           CODE           AUTO           0000:0000       000001a5
+mapread_TEXT           CODE           AUTO           0000:01b0       00000872
+jsmn_TEXT              CODE           AUTO           0000:0a30       00000919
+_TEXT                  CODE           AUTO           0000:1350       000063bb
+bitmap_TEXT            CODE           AUTO           0000:7710       000005c9
+modex16_TEXT           CODE           AUTO           0000:7ce0       00001fae
+16text_TEXT            CODE           AUTO           0000:9c90       0000010d
+FAR_DATA               FAR_DATA       AUTO           09d9:000d       00000000
+_NULL                  BEGDATA        DGROUP         09da:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         09dc:0000       00000002
+CONST                  DATA           DGROUP         09dc:0002       00000076
+CONST2                 DATA           DGROUP         09e3:0008       00000102
+_DATA                  DATA           DGROUP         09f4:0000       0000025a
+XIB                    DATA           DGROUP         0a19:000a       00000000
+XI                     DATA           DGROUP         0a19:000a       0000001e
+XIE                    DATA           DGROUP         0a1b:0008       00000000
+YIB                    DATA           DGROUP         0a1b:0008       00000000
+YI                     DATA           DGROUP         0a1b:0008       00000012
+YIE                    DATA           DGROUP         0a1c:000a       00000000
+STRINGS                DATA           DGROUP         0a1c:000a       00000000
+DATA                   DATA           DGROUP         0a1c:000a       00000000
+_BSS                   BSS            DGROUP         0a1c:000a       00000ad5
+STACK                  STACK          DGROUP         0aca:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: maptest.o(/dos/z/16/src/maptest.c)
+0000:0092      main_
+Module: mapread.o(/dos/z/16/src/lib/mapread.c)
+0000:024c+     jsoneq_
+0000:02f0+     dump_
+0000:07ec      loadmap_
+Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
+0000:0e02      jsmn_parse_
+0000:12fe      jsmn_init_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:1355      __STK
+0000:1375*     __STKOVERFLOW_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+09da:01b8      ___iob
+09da:043a      ___ClosedStreams
+09da:043e      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:1392      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+09da:0000*     __nullarea
+09da:0320*     __ovlflag
+09da:0321*     __intno
+09da:0322*     __ovlvec
+0000:13c2      _cstart_
+0000:1495*     _Not_Enough_Memory_
+0000:15c7      __exit_
+0000:15e6      __do_exit_with_msg__
+0000:1643      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:164e      _big_code_
+0000:164e*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+09da:0442      __argv
+09da:0446      ___argv
+09da:044a      __argc
+09da:044c      ___argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:1655      __PIA
+0000:164e*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c)
+0000:166c      strncmp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:16a9      _fmalloc_
+0000:16a9      malloc_
+09da:0326+     ___fheap
+09da:0328      ___fheapRover
+09da:032a      ___LargestSizeB4Rover
+Module: 16.lib(/dos/z/16/src/lib/bitmap.c)
+0000:7a12      bitmapLoadPcx_
+0000:7b6e*     bitmapLoadPcxTiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c)
+0000:181e      strstr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
+0000:1920      atoi_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:19bb+     __open_flags_
+0000:1c7c+     _fsopen_
+0000:1ce3      fopen_
+0000:1e06*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:1e90      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:2207      __get_errno_ptr_
+09da:04ce      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:220e*     _frealloc_
+0000:220e      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:22ea      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncpy.c)
+0000:231d      strncpy_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:2359*     __exit_with_msg_
+0000:235e      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+09da:0334      __curbrk
+09da:033c      __STACKLOW
+09da:033e      __STACKTOP
+09da:0340      __cbyte
+09da:0342      __child
+09da:0344      __no87
+09da:0351      ___FPE_handler
+09da:0336      __psp
+09da:0345      __get_ovl_stack
+09da:0349      __restore_ovl_stack
+09da:034d      __close_ovl_file
+09da:0355      __LpCmdLine
+09da:0359      __LpPgmName
+09da:0338      __osmajor
+09da:0339      __osminor
+09da:033a      __osmode
+09da:033b      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:237c      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:25b0*     fcloseall_
+0000:25b7      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:25db      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:272e      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:2794      __InitRtns
+0000:2794*     __FInitRtns
+0000:27ef      __FiniRtns
+0000:27ef*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+09da:035e      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:2854      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:2855      __Init_Argv_
+0000:28b8+     _getargv_
+0000:2be8      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:2c20      __MemAllocator
+0000:2cea      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:2e47      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:2fbd      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:30ac      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:30af      _nmalloc_
+09da:0360      ___nheapbeg
+09da:0362      ___MiniHeapRover
+09da:0364      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:3189*     _heapgrow_
+0000:3189*     _fheapgrow_
+0000:318a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:3202      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:3231      __doclose_
+0000:337b      __shutdown_stream_
+0000:3395      fclose_
+09da:04d4+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:3400+     _null_exit_rtn_
+0000:3400+     __null_int23_exit_
+0000:3401      exit_
+0000:3422+     _exit_
+09da:0366+     ___int23_exit
+09da:036a+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:355c      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:3754      __fill_buffer_
+0000:39a3      fgetc_
+Module: 16.lib(/dos/z/16/src/lib/modex16.c)
+0000:7e98*     VGAmodeX_
+0000:7f40+     modexEnter_
+0000:7fdc*     modexLeave_
+0000:7ff4*     modexDefaultPage_
+0000:804e*     modexNextPage_
+0000:810a*     modexNextPage0_
+0000:81ae*     modexShowPage_
+0000:82aa*     modexPanPage_
+0000:82fa*     modexSelectPlane_
+0000:831e+     modexClearRegion_
+0000:8436*     oldDrawBmp_
+0000:859c*     modexDrawBmp_
+0000:8602+     modexDrawBmpRegion_
+0000:876c*     modexDrawPlanarBuf_
+0000:878a*     modexDrawSprite_
+0000:87f0+     modexDrawSpriteRegion_
+0000:8968*     modexCopyPageRegion_
+0000:8ad2*     modexFadeOn_
+0000:8b02*     modexFadeOff_
+0000:8b30*     modexFlashOn_
+0000:8b5e*     modexFlashOff_
+0000:8c2e+     modexPalSave_
+0000:8c84      modexNewPal_
+0000:8cd4*     modexLoadPalFile_
+0000:8db6*     modexSavePalFile_
+0000:8e2e*     modexPalBlack_
+0000:8e58*     modexPalWhite_
+0000:8e82+     modexPalUpdate_
+0000:93f2+     modexPalUpdate1_
+0000:946c*     modexPalUpdate0_
+0000:94b8+     chkcolor_
+0000:97d0+     modexputPixel_
+0000:985e*     modexgetPixel_
+0000:98e4*     modexhlin_
+0000:9950*     modexprint_
+0000:9aea*     modexprintbig_
+0000:9c66+     modexWaitBorder_
+09da:0374+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:3aea      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+09da:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:3b1b*     __set_commode_
+09da:039c      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+09da:039e      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:3b27      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:3d56*     open_
+0000:3d8d      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:3dba      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:3e19      __freefp_
+0000:3eba      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:3efb      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:40ab      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:4239      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:4259*     _msize_
+0000:4274      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:4285      __HeapManager_expand_
+0000:478e      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:47e1      _ffree_
+0000:47e1      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:484e      _fexpand_
+0000:484e*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:4883      __EnterWVIDEO_
+09da:03a0+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:48a7      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:4a7c      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:5bde      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+09da:0dd8      ____Argv
+09da:0ddc      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+09da:03a2      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+09da:03fa      __Start_XI
+09da:0418      __End_XI
+09da:0418      __Start_YI
+09da:042a      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+09da:0dde      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:5e28*     _heapenable_
+09da:03a4      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:5e39      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:5ec1      __LastFree_
+0000:5f3b      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:604c      _nfree_
+09da:0de0+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:6147      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:6181      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:61b7      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:61e8      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:61f9      __flushall_
+0000:628d*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:6293      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:62ad+     int86x_
+0000:6430      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:645d      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:67d6      rand_
+0000:6818*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:683c      __I4M
+0000:683c      __U4M
+Module: 16.lib(/dos/z/16/src/lib/16text.c)
+0000:9d06*     textInit_
+09da:0de2      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:6854      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:687a      __GetIOMode_
+0000:68af      __SetIOMode_nogrow_
+09da:03aa      ___NFiles
+09da:03ac      ___init_mode
+09da:03d4      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:68e4      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:6900*     __get_doserrno_ptr_
+09da:0dfa      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+09da:03d8      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:6907      _dos_creat_
+0000:692b*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:694c+     __grow_iomode_
+0000:6a33+     __shrink_iomode_
+0000:6a74      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:6b1b*     __dosretax
+0000:6b20*     __dosret0
+0000:6b27      __set_errno_dos_
+0000:6b8f*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:6b9a      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:6bbf      _bexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:6c18      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:6c63+     utoa_
+0000:6d04      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:6d4e      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+09da:03ee      ___EFG_printf
+09da:03f2*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+09da:03f6      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:6d96*     _ismbblead_
+09da:0dfe      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:6db2      ulltoa_
+0000:6eef*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:6f60      ultoa_
+0000:701e*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:706c      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:70cc      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:70d1*     sbrk_
+0000:70e1      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:7149      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:715d      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:71c4      __doserror_
+0000:71d2*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:71de      __ChkTTYIOMode_
+0000:724c*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+09da:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:729a      __mbinit_
+09da:03f8+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7375*     _dos_close_
+0000:7383      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:7392      _DoINTR_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00018760 (100192.)
+Entry point address: 0000:13c2
+Link time: 00:00.00
diff --git a/palettec.map b/palettec.map
new file mode 100755 (executable)
index 0000000..4e78134
--- /dev/null
@@ -0,0 +1,406 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: palettec.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          07b5:0000            0000e800
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+palettec_TEXT          CODE           AUTO           0000:0000       0000004c
+_TEXT                  CODE           AUTO           0000:0050       00005a3d
+modex16_TEXT           CODE           AUTO           0000:5a90       00001fae
+16text_TEXT            CODE           AUTO           0000:7a40       0000010d
+FAR_DATA               FAR_DATA       AUTO           07b4:000d       00000000
+_NULL                  BEGDATA        DGROUP         07b5:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         07b7:0000       00000002
+CONST                  DATA           DGROUP         07b7:0002       00000076
+CONST2                 DATA           DGROUP         07be:0008       00000000
+_DATA                  DATA           DGROUP         07bf:0000       00000248
+XIB                    DATA           DGROUP         07e3:0008       00000000
+XI                     DATA           DGROUP         07e3:0008       00000018
+XIE                    DATA           DGROUP         07e5:0000       00000000
+YIB                    DATA           DGROUP         07e5:0000       00000000
+YI                     DATA           DGROUP         07e5:0000       0000000c
+YIE                    DATA           DGROUP         07e5:000c       00000000
+STRINGS                DATA           DGROUP         07e5:000c       00000000
+DATA                   DATA           DGROUP         07e5:000c       00000000
+_BSS                   BSS            DGROUP         07e5:000c       00000a33
+STACK                  STACK          DGROUP         0889:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: palettec.o(/dos/z/16/src/palettec.c)
+0000:0012      main_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0055      __STK
+0000:0075*     __STKOVERFLOW_
+Module: 16.lib(/dos/z/16/src/lib/modex16.c)
+0000:5c48*     VGAmodeX_
+0000:5cf0      modexEnter_
+0000:5d8c      modexLeave_
+0000:5da4*     modexDefaultPage_
+0000:5dfe*     modexNextPage_
+0000:5eba*     modexNextPage0_
+0000:5f5e*     modexShowPage_
+0000:605a*     modexPanPage_
+0000:60aa*     modexSelectPlane_
+0000:60ce+     modexClearRegion_
+0000:61e6*     oldDrawBmp_
+0000:634c*     modexDrawBmp_
+0000:63b2+     modexDrawBmpRegion_
+0000:651c*     modexDrawPlanarBuf_
+0000:653a*     modexDrawSprite_
+0000:65a0+     modexDrawSpriteRegion_
+0000:6718*     modexCopyPageRegion_
+0000:6882*     modexFadeOn_
+0000:68b2*     modexFadeOff_
+0000:68e0*     modexFlashOn_
+0000:690e*     modexFlashOff_
+0000:69de      modexPalSave_
+0000:6a34      modexNewPal_
+0000:6a84*     modexLoadPalFile_
+0000:6b66      modexSavePalFile_
+0000:6bde*     modexPalBlack_
+0000:6c08*     modexPalWhite_
+0000:6c32+     modexPalUpdate_
+0000:71a2+     modexPalUpdate1_
+0000:721c*     modexPalUpdate0_
+0000:7268+     chkcolor_
+0000:7580+     modexputPixel_
+0000:760e*     modexgetPixel_
+0000:7694*     modexhlin_
+0000:7700*     modexprint_
+0000:789a*     modexprintbig_
+0000:7a16+     modexWaitBorder_
+07b5:00b4+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+07b5:0000*     __nullarea
+07b5:00dc*     __ovlflag
+07b5:00dd*     __intno
+07b5:00de*     __ovlvec
+0000:0092      _cstart_
+0000:0165*     _Not_Enough_Memory_
+0000:0297      __exit_
+0000:02b6      __do_exit_with_msg__
+0000:0313      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:031e      _big_code_
+0000:031e*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:031e*     __exit_with_msg_
+0000:0323      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+07b5:00e2      __curbrk
+07b5:00ea      __STACKLOW
+07b5:00ec      __STACKTOP
+07b5:00ee      __cbyte
+07b5:00f0      __child
+07b5:00f2      __no87
+07b5:00ff      ___FPE_handler
+07b5:00e4      __psp
+07b5:00f3      __get_ovl_stack
+07b5:00f7      __restore_ovl_stack
+07b5:00fb      __close_ovl_file
+07b5:0103      __LpCmdLine
+07b5:0107      __LpPgmName
+07b5:00e6      __osmajor
+07b5:00e7      __osminor
+07b5:00e8      __osmode
+07b5:00e9      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:0342+     int86x_
+0000:04c5      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:04f9      __PIA
+0000:04f2*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:0510      _fmalloc_
+0000:0510      malloc_
+07b5:010c+     ___fheap
+07b5:010e      ___fheapRover
+07b5:0110      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:0685      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:06b4+     _null_exit_rtn_
+0000:06b4+     __null_int23_exit_
+0000:06b5      exit_
+0000:06d6+     _exit_
+07b5:0112+     ___int23_exit
+07b5:0116+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:06f2+     __open_flags_
+0000:09b3+     _fsopen_
+0000:0a1a      fopen_
+0000:0b3d*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:0bc7+     __fill_buffer_
+0000:0e16      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:0f5d      __doclose_
+0000:10a7      __shutdown_stream_
+0000:10c1      fclose_
+07b5:0c0c+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:112c      _ffree_
+0000:112c      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:1199      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:1512      rand_
+0000:1554*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:1578      __I4M
+0000:1578      __U4M
+Module: 16.lib(/dos/z/16/src/lib/16text.c)
+0000:7ab6*     textInit_
+07b5:0c10      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:1590      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:15f6      __InitRtns
+0000:15f6*     __FInitRtns
+0000:1651      __FiniRtns
+0000:1651*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+07b5:011e      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:16b6      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:16b7      __EnterWVIDEO_
+07b5:0120+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:16db      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:16ef      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:1760      __MemAllocator
+0000:182a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:1987      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:1afd      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:1bec      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:1bef      _nmalloc_
+07b5:0122      ___nheapbeg
+07b5:0124      ___MiniHeapRover
+07b5:0126      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:1cc9*     _heapgrow_
+0000:1cc9*     _fheapgrow_
+0000:1cca      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+07b5:0128      ___iob
+07b5:0c28      ___ClosedStreams
+07b5:0c2c      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1d5c      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:1eaf*     __set_commode_
+07b5:0290      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:1ebb*     __get_errno_ptr_
+07b5:0c30      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+07b5:0292      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:1ec2      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:20f1*     open_
+0000:2128      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:2273      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:246b      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:24ca      __freefp_
+0000:256b      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:25ac      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:275c      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:278f      __flushall_
+0000:2823*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:2829      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:2843      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:29d1      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:29f1      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:2a2b      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:2a61      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:2caa      _nfree_
+07b5:0c32+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:2da5      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:2e05      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+07b5:0c34      ____Argv
+07b5:0c38      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+07b5:0294      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+07b5:02e8      __Start_XI
+07b5:0300      __End_XI
+07b5:0300      __Start_YI
+07b5:030c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:2fda      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:3353*     _heapenable_
+07b5:0296      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:3364      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:33ec      __LastFree_
+0000:3466      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:3577      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:37ab*     fcloseall_
+0000:37b2      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:37bc      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:491e      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:4944      __GetIOMode_
+0000:4979      __SetIOMode_nogrow_
+07b5:0298      ___NFiles
+07b5:029a      ___init_mode
+07b5:02c2      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:49ae      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:49ca*     __get_doserrno_ptr_
+07b5:0c3a      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+07b5:02c6      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:49d1      _dos_creat_
+0000:49f5*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:4a16+     __grow_iomode_
+0000:4afd+     __shrink_iomode_
+0000:4b3e      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:4be5*     __dosretax
+0000:4bea*     __dosret0
+0000:4bf1      __set_errno_dos_
+0000:4c59*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:4c64      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:4c95      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:4cc6      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:4cd7      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:4cdc*     sbrk_
+0000:4cec      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:4d54      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:4d9f+     utoa_
+0000:4e40      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:4e8a      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+07b5:02dc      ___EFG_printf
+07b5:02e0*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+07b5:02e4      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:4ed2*     _ismbblead_
+07b5:0c3e      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:4eee      ulltoa_
+0000:502b*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:509c      ultoa_
+0000:515a*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:51a8      __doserror_
+0000:51b6*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:51c2*     _frealloc_
+0000:51c2      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:529e      __ChkTTYIOMode_
+0000:530c*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:531c*     _dos_close_
+0000:532a      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+07b5:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:5377      __mbinit_
+07b5:02e6+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:5452*     _msize_
+0000:546d      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:547e      __HeapManager_expand_
+0000:5987      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:59da      _fexpand_
+0000:59da*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:5a0f      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:5a34      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00016350 (90960.)
+Entry point address: 0000:0092
+Link time: 00:00.00
diff --git a/pcxtest.map b/pcxtest.map
new file mode 100755 (executable)
index 0000000..363838a
--- /dev/null
@@ -0,0 +1,504 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: pcxtest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0b05:0000            0000ecc0
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+pcxtest_TEXT           CODE           AUTO           0000:0000       000001c3
+_TEXT                  CODE           AUTO           0000:01d0       00008567
+modex16_TEXT           CODE           AUTO           0000:8740       00001fae
+bitmap_TEXT            CODE           AUTO           0000:a6f0       000005c9
+planar_TEXT            CODE           AUTO           0000:acc0       00000275
+16text_TEXT            CODE           AUTO           0000:af40       0000010d
+FAR_DATA               FAR_DATA       AUTO           0b04:000d       00000000
+_NULL                  BEGDATA        DGROUP         0b05:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0b07:0000       00000002
+CONST                  DATA           DGROUP         0b07:0002       00000076
+CONST2                 DATA           DGROUP         0b0e:0008       00000132
+_DATA                  DATA           DGROUP         0b22:0000       00000336
+XIB                    DATA           DGROUP         0b55:0006       00000000
+XI                     DATA           DGROUP         0b55:0006       0000002a
+XIE                    DATA           DGROUP         0b58:0000       00000000
+YIB                    DATA           DGROUP         0b58:0000       00000000
+YI                     DATA           DGROUP         0b58:0000       0000000c
+YIE                    DATA           DGROUP         0b58:000c       00000000
+STRINGS                DATA           DGROUP         0b58:000c       00000000
+DATA                   DATA           DGROUP         0b58:000c       00000000
+_emu_init_start        EMU            DGROUP         0b58:000c       00000000
+_emu_init_end          EMU            DGROUP         0b58:000c       00000000
+_BSS                   BSS            DGROUP         0b58:000c       00000cb8
+STACK                  STACK          DGROUP         0c25:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: pcxtest.o(/dos/z/16/src/pcxtest.c)
+0000:0040      main_
+0b05:01d4+     _clockw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:01d5      __STK
+0000:01f5*     __STKOVERFLOW_
+Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
+0000:88f8*     VGAmodeX_
+0000:89a0      modexEnter_
+0000:8a3c      modexLeave_
+0000:8a54      modexDefaultPage_
+0000:8aae*     modexNextPage_
+0000:8b6a*     modexNextPage0_
+0000:8c0e*     modexShowPage_
+0000:8d0a*     modexPanPage_
+0000:8d5a*     modexSelectPlane_
+0000:8d7e      modexClearRegion_
+0000:8e96      oldDrawBmp_
+0000:8ffc      modexDrawBmp_
+0000:9062+     modexDrawBmpRegion_
+0000:91cc*     modexDrawPlanarBuf_
+0000:91ea      modexDrawSprite_
+0000:9250+     modexDrawSpriteRegion_
+0000:93c8      modexCopyPageRegion_
+0000:9532*     modexFadeOn_
+0000:9562*     modexFadeOff_
+0000:9590*     modexFlashOn_
+0000:95be*     modexFlashOff_
+0000:968e+     modexPalSave_
+0000:96e4      modexNewPal_
+0000:9734*     modexLoadPalFile_
+0000:9816*     modexSavePalFile_
+0000:988e*     modexPalBlack_
+0000:98b8*     modexPalWhite_
+0000:98e2+     modexPalUpdate_
+0000:9e52      modexPalUpdate1_
+0000:9ecc*     modexPalUpdate0_
+0000:9f18+     chkcolor_
+0000:a230+     modexputPixel_
+0000:a2be*     modexgetPixel_
+0000:a344*     modexhlin_
+0000:a3b0*     modexprint_
+0000:a54a*     modexprintbig_
+0000:a6c6+     modexWaitBorder_
+0b05:01e4      _VGA
+Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
+0000:a9f2      bitmapLoadPcx_
+0000:ab4e*     bitmapLoadPcxTiles_
+Module: gfx.lib(/dos/z/16/src/lib/planar.c)
+0000:acc0      planar_buf_from_bitmap_
+0000:ade0+     planar_buf_alloc_
+0000:aeda*     planar_buf_free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:0212      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:0229      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0b05:0000*     __nullarea
+0b05:0224*     __ovlflag
+0b05:0225*     __intno
+0b05:0226*     __ovlvec
+0000:0258      _cstart_
+0000:032b*     _Not_Enough_Memory_
+0000:045d      __exit_
+0000:047c      __do_exit_with_msg__
+0000:04d9      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c)
+0b05:022a      _fltused_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:04e4      _big_code_
+0000:04e4*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
+0b05:022c      __8087
+0b05:022d      __real87
+0b05:022e      __dos87emucall
+0b05:0230      __dos87real
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:04e4*     __exit_with_msg_
+0000:04e9      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+0b05:0232      __curbrk
+0b05:023a      __STACKLOW
+0b05:023c      __STACKTOP
+0b05:023e      __cbyte
+0b05:0240      __child
+0b05:0242      __no87
+0b05:024f      ___FPE_handler
+0b05:0234      __psp
+0b05:0243      __get_ovl_stack
+0b05:0247      __restore_ovl_stack
+0b05:024b      __close_ovl_file
+0b05:0253      __LpCmdLine
+0b05:0257      __LpPgmName
+0b05:0236      __osmajor
+0b05:0237      __osminor
+0b05:0238      __osmode
+0b05:0239      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:0508+     int86x_
+0000:068b      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:06bf      __PIA
+0000:06b8*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:06d6      _fmalloc_
+0000:06d6      malloc_
+0b05:025c+     ___fheap
+0b05:025e      ___fheapRover
+0b05:0260      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:084b+     _null_exit_rtn_
+0000:084b+     __null_int23_exit_
+0000:084c      exit_
+0000:086d+     _exit_
+0b05:0262+     ___int23_exit
+0b05:0266      ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:0889+     __open_flags_
+0000:0b4a+     _fsopen_
+0000:0bb1      fopen_
+0000:0cd4*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:0d5e      __fill_buffer_
+0000:0fad      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:10f4      __doclose_
+0000:123e      __shutdown_stream_
+0000:1258      fclose_
+0b05:0ebc+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:12c3      _ffree_
+0000:12c3      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:1330      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:16a9      rand_
+0000:16eb*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:170e      __I4M
+0000:170e      __U4M
+Module: gfx.lib(/dos/z/16/src/lib/16text.c)
+0000:afb6*     textInit_
+0b05:0ec0      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:1726      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:1bbb      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+0b05:026e      ___iob
+0b05:0ed8      ___ClosedStreams
+0b05:0edc      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:1db3      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1dfc      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:1f4f      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:1fb5      __InitRtns
+0000:1fb5*     __FInitRtns
+0000:2010      __FiniRtns
+0000:2010*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+0b05:03d6      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:2074      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c)
+0000:2075      __setEFGfmt_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
+0000:20ad*     _fpreset_
+0000:20d8      __init_8087_
+0000:210b+     __default_sigfpe_handler_
+0000:2160      __chk8087_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:21d0      __EnterWVIDEO_
+0b05:03f6+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:21f4      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:2208      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:2270      __MemAllocator
+0000:233a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:2497      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:260d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:26fc      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:26ff      _nmalloc_
+0b05:03f8      ___nheapbeg
+0b05:03fa      ___MiniHeapRover
+0b05:03fc      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:27d9*     _heapgrow_
+0000:27d9*     _fheapgrow_
+0000:27da      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:2852*     __set_commode_
+0b05:03fe      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:285e*     __get_errno_ptr_
+0b05:0ee0      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0b05:0400      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:2865      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:2a94*     open_
+0000:2acb      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:2af8      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:2b57      __freefp_
+0000:2bf8      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:2c39      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:2dea      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:2e1d      __flushall_
+0000:2eb1*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:2eb7      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:2ed1      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:305f      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:307f      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:30b9      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:30ef      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:3338      _nfree_
+0b05:0ee2+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:3433      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:3493      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:3668      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:3699      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:36ca      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:36db      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:390f*     fcloseall_
+0000:3916      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:3920      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0b05:0ee4      ____Argv
+0b05:0ee8      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0b05:0402      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0b05:0506      __Start_XI
+0b05:0530      __End_XI
+0b05:0530      __Start_YI
+0b05:053c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0b05:0404      ___EFG_printf
+0b05:0408      ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c)
+0000:4a95      _EFG_Format_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c)
+0000:4c67      __cnvs2d_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
+0b05:040c      __8087cw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
+0b05:040e      ___Save8087
+0b05:0412      ___Rest8087
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
+0000:4c87      __GrabFP87_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
+0000:4cba*     __init_8087_emu
+0000:4cc0      __x87id
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:4d1e      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:5097*     _heapenable_
+0b05:0416      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:50a8      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:5130      __LastFree_
+0000:51aa      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:52bb      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:52e1      __GetIOMode_
+0000:5316      __SetIOMode_nogrow_
+0b05:0418      ___NFiles
+0b05:041a      ___init_mode
+0b05:0442      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:534b      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:5367*     __get_doserrno_ptr_
+0b05:0eea      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0b05:0446      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:536e      _dos_creat_
+0000:5392*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:53b3+     __grow_iomode_
+0000:549a+     __shrink_iomode_
+0000:54db      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:5582*     __dosretax
+0000:5587*     __dosret0
+0000:558e      __set_errno_dos_
+0000:55f6*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:5601      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:5606      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:5651+     utoa_
+0000:56f2      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:573c      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0b05:045c      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:5771*     _ismbblead_
+0b05:0eee      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:578d      ulltoa_
+0000:58ca*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:593b      ultoa_
+0000:59f9*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rtcntrl.c)
+0000:5a47*     _SetLD64bit_
+0000:5a52*     _SetLD80bit_
+0000:5a5d      _LDisDouble_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldcvt.c)
+0000:5bc2      _LDScale10x_
+0000:649a      __LDcvt_
+Module: /dos/fdos/watcom2/lib286/noemu87.lib(emustub.asm)
+0000:0000*     FJSRQQ
+0000:0000*     FISRQQ
+0000:0000*     FIERQQ
+0000:0000      FIDRQQ
+0000:0000      FIWRQQ
+0000:0000*     FJCRQQ
+0000:0000*     FJARQQ
+0000:0000*     FICRQQ
+0000:0000*     FIARQQ
+0000:6c76*     __init_87_emulator
+Module: /dos/fdos/watcom2/lib286/math87h.lib(strtod.c)
+0000:748a+     __Strtold_
+0000:76c9      strtod_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm)
+0000:7870      __Init_FPE_handler_
+0000:78a9      __Fini_FPE_handler_
+0000:78e0*     __FPEHandler
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:7b72*     sbrk_
+0000:7b82      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:7bea      __doserror_
+0000:7bf8*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:7c04*     _frealloc_
+0000:7c04      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:7ce0      __ChkTTYIOMode_
+0000:7d4e*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7d5e*     _dos_close_
+0000:7d6c      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0b05:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:7db9      __mbinit_
+0b05:0502+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
+0000:7e94      __LDClass_
+0000:7f1a*     _FLClass_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:7f2e      __I4D
+0000:7f7d*     __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+0b05:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
+0000:8002      __ZBuf2LD
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
+0000:80ca*     __set_EDOM_
+0000:80d6      __set_ERANGE_
+0000:80e2*     __set_EINVAL_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c)
+0b05:019a*     ___f_infinity
+0b05:019e*     ___f_posqnan
+0b05:01a2      ___d_infinity
+0b05:01aa      ___d_posqnan
+0b05:01b2*     ___ld_infinity
+0b05:01ba*     ___ld_posqnan
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
+0b05:01c2      __HugeValue
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
+0b05:0504      ___FPE_int
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:80fc*     _msize_
+0000:8117      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:8128      __HeapManager_expand_
+0000:8631      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:8684      _fexpand_
+0000:8684*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:86b9      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:86de      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+gfx.lib
+/dos/fdos/watcom2/lib286/noemu87.lib
+/dos/fdos/watcom2/lib286/math87h.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00019d10 (105744.)
+Entry point address: 0000:0258
+Link time: 00:00.00
index b7061865a66432318b22c33c776e44c79f30cec6..5d5b418cdd09b2e0f6624b50574c52d0f86e4998 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
diff --git a/scroll.map b/scroll.map
new file mode 100755 (executable)
index 0000000..580e0a0
--- /dev/null
@@ -0,0 +1,548 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: scroll.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          112e:0000            0000f490
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+scroll_TEXT            CODE           AUTO           0000:0000       00000c60
+scroll16_TEXT          CODE           AUTO           0000:0c60       000033f3
+mapread_TEXT           CODE           AUTO           0000:4060       00000872
+jsmn_TEXT              CODE           AUTO           0000:48e0       00000919
+_TEXT                  CODE           AUTO           0000:5200       00006868
+bitmap_TEXT            CODE           AUTO           0000:ba70       000005c9
+planar_TEXT            CODE           AUTO           0000:c040       00000275
+16_in_TEXT             CODE           AUTO           0000:c2c0       00001d43
+16text_TEXT            CODE           AUTO           0000:e010       0000010d
+modex16_TEXT           CODE           AUTO           0e12:0000       00001fae
+bakapee_TEXT           CODE           AUTO           0e12:1fb0       00000be7
+wcpu_TEXT              CODE           AUTO           0e12:2ba0       00000058
+16_head_TEXT           CODE           AUTO           0e12:2c00       00000405
+16_in13_DATA           FAR_DATA       AUTO           1113:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           112d:0004       00000000
+_NULL                  BEGDATA        DGROUP         112e:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         1130:0000       00000002
+CONST                  DATA           DGROUP         1130:0002       00000076
+CONST2                 DATA           DGROUP         1137:0008       00000102
+_DATA                  DATA           DGROUP         1148:0000       00000a0c
+XIB                    DATA           DGROUP         11e8:000c       00000000
+XI                     DATA           DGROUP         11e8:000c       00000024
+XIE                    DATA           DGROUP         11eb:0000       00000000
+YIB                    DATA           DGROUP         11eb:0000       00000000
+YI                     DATA           DGROUP         11eb:0000       00000012
+YIE                    DATA           DGROUP         11ec:0002       00000000
+STRINGS                DATA           DGROUP         11ec:0002       00000000
+DATA                   DATA           DGROUP         11ec:0002       00000000
+_BSS                   BSS            DGROUP         11ed:0000       00000dd6
+STACK                  STACK          DGROUP         12cb:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: scroll.o(/dos/z/16/src/scroll.c)
+112e:0bf0+     _player
+112e:0cf0+     _screen
+112e:0d00+     _screen3
+112e:0d10+     _screen2
+112e:0d20+     _mv
+112e:0d50+     _gvar
+112e:0d68+     _spri
+112e:0d6c+     _mask
+112e:0d70+     _p
+0000:01e0      main_
+112e:0d80+     _bg
+Module: scroll16.o(/dos/z/16/src/lib/scroll16.c)
+0000:0c6a      walk_
+0000:2732+     mapScrollRight_
+0000:2a14+     mapScrollLeft_
+0000:2cce+     mapScrollUp_
+0000:2fc0+     mapScrollDown_
+0000:32e6      chkmap_
+0000:344a      mapGoTo_
+0000:36b2+     mapDrawTile_
+0000:3834+     mapDrawRow_
+0000:398a+     mapDrawCol_
+0000:3af8+     mapDrawWRow_
+0000:3c26*     mapDrawWCol_
+0000:3d7a+     animatePlayer_
+Module: mapread.o(/dos/z/16/src/lib/mapread.c)
+0000:40fc+     jsoneq_
+0000:41a0+     dump_
+0000:469c*     loadmap_
+Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
+0000:4cb2      jsmn_parse_
+0000:51ae      jsmn_init_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:5205      __STK
+0000:5225*     __STKOVERFLOW_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:5242      _fmalloc_
+0000:5242      malloc_
+112e:0678+     ___fheap
+112e:067a      ___fheapRover
+112e:067c      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:53bf      __PIA
+0000:53b8*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+112e:067e      ___iob
+112e:0d94      ___ClosedStreams
+112e:0d98      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:53d6      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:5405      printf_
+Module: 16.lib(/dos/z/16/src/lib/bitmap.c)
+0000:bd72      bitmapLoadPcx_
+0000:bece*     bitmapLoadPcxTiles_
+Module: 16.lib(/dos/z/16/src/lib/planar.c)
+0000:c040      planar_buf_from_bitmap_
+0000:c160+     planar_buf_alloc_
+0000:c25a*     planar_buf_free_
+Module: 16.lib(/dos/z/16/src/lib/16_in.c)
+0000:c3d8+     INL_KeyService_
+0000:c622+     Mouse_
+0000:c67a+     IN_GetJoyAbs_
+0000:ca40+     IN_GetJoyButtonsDB_
+0000:ccd6+     IN_SetupJoy_
+0000:ce98      IN_Startup_
+0000:cf9e      IN_Default_
+0000:d102      IN_Shutdown_
+0000:d182*     IN_SetKeyHook_
+0000:d1a4+     IN_ClearKeysDown_
+0000:d284*     IN_ReadCursor_
+0000:d3a0      IN_ReadControl_
+0000:db20*     IN_SetControlType_
+0000:db6e*     IN_GetScanName_
+0000:dbf6*     IN_WaitForKey_
+0000:dc2c*     IN_WaitForASCII_
+0000:dc62+     IN_AckBack_
+0000:dd4a*     IN_Ack_
+0000:ddec+     IN_IsUserInput_
+0000:de92*     IN_UserInput_
+0000:deea      IN_KeyDown_
+0000:df32+     IN_ClearKey_
+0000:dfaa*     IN_qb_
+112e:0e2e+     _inpu
+Module: 16.lib(/dos/z/16/src/lib/16text.c)
+0000:e086      textInit_
+112e:0f84      _romFonts
+Module: 16.lib(/dos/z/16/src/lib/modex16.c)
+0e12:01b8      VGAmodeX_
+0e12:0260+     modexEnter_
+0e12:02fc*     modexLeave_
+0e12:0314      modexDefaultPage_
+0e12:036e      modexNextPage_
+0e12:042a      modexNextPage0_
+0e12:04ce      modexShowPage_
+0e12:05ca*     modexPanPage_
+0e12:061a*     modexSelectPlane_
+0e12:063e      modexClearRegion_
+0e12:0756*     oldDrawBmp_
+0e12:08bc*     modexDrawBmp_
+0e12:0922      modexDrawBmpRegion_
+0e12:0a8c*     modexDrawPlanarBuf_
+0e12:0aaa*     modexDrawSprite_
+0e12:0b10      modexDrawSpriteRegion_
+0e12:0c88      modexCopyPageRegion_
+0e12:0df2*     modexFadeOn_
+0e12:0e22*     modexFadeOff_
+0e12:0e50*     modexFlashOn_
+0e12:0e7e*     modexFlashOff_
+0e12:0f4e+     modexPalSave_
+0e12:0fa4      modexNewPal_
+0e12:0ff4*     modexLoadPalFile_
+0e12:10d6*     modexSavePalFile_
+0e12:114e*     modexPalBlack_
+0e12:1178*     modexPalWhite_
+0e12:11a2+     modexPalUpdate_
+0e12:1712+     modexPalUpdate1_
+0e12:178c*     modexPalUpdate0_
+0e12:17d8+     chkcolor_
+0e12:1af0      modexputPixel_
+0e12:1b7e*     modexgetPixel_
+0e12:1c04*     modexhlin_
+0e12:1c70      modexprint_
+0e12:1e0a*     modexprintbig_
+0e12:1f86      modexWaitBorder_
+112e:0ac4      _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c)
+0000:5434      sprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sound.c)
+0000:5463      sound_
+0000:549e      nosound_
+Module: 16.lib(/dos/z/16/src/lib/bakapee.c)
+0e12:1fb8      pdump_
+0e12:201a+     cls_
+0e12:2080+     colortest_
+0e12:20d2+     colorz_
+0e12:2136+     ssd_
+0e12:2254+     dingpp_
+0e12:22c6+     dingo_
+0e12:235c+     dingas_
+0e12:240a+     dingu_
+0e12:246c+     dingq_
+0e12:250c*     ding_
+Module: 16.lib(/dos/z/16/src/lib/wcpu/wcpu.c)
+0e12:2ba0      detectcpu_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+112e:0000*     __nullarea
+112e:0af4*     __ovlflag
+112e:0af5*     __intno
+112e:0af6*     __ovlvec
+0000:54aa      _cstart_
+0000:557d*     _Not_Enough_Memory_
+0000:56af      __exit_
+0000:56ce      __do_exit_with_msg__
+0000:572b      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:5736      _big_code_
+0000:5736*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c)
+0000:5736      strncmp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c)
+0000:5773      strstr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
+0000:5875      atoi_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:5910+     __open_flags_
+0000:5bd1+     _fsopen_
+0000:5c38      fopen_
+0000:5d5b*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:5de5      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:615c      __get_errno_ptr_
+112e:189c      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:6163*     _frealloc_
+0000:6163      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:6240      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncpy.c)
+0000:6273      strncpy_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:62af*     __exit_with_msg_
+0000:62b4      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+112e:0afa      __curbrk
+112e:0b02      __STACKLOW
+112e:0b04      __STACKTOP
+112e:0b06      __cbyte
+112e:0b08      __child
+112e:0b0a      __no87
+112e:0b17      ___FPE_handler
+112e:0afc      __psp
+112e:0b0b      __get_ovl_stack
+112e:0b0f      __restore_ovl_stack
+112e:0b13      __close_ovl_file
+112e:0b1b      __LpCmdLine
+112e:0b1f      __LpPgmName
+112e:0afe      __osmajor
+112e:0aff      __osminor
+112e:0b00      __osmode
+112e:0b01      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:62e0      __MemAllocator
+0000:63aa      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:6507      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:667d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:676c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:676f      _nmalloc_
+112e:0b24      ___nheapbeg
+112e:0b26      ___MiniHeapRover
+112e:0b28      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:6849*     _heapgrow_
+0000:6849*     _fheapgrow_
+0000:684a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:68c2      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:6af6*     fcloseall_
+0000:6afd      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:6b21      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:6c74      __doclose_
+0000:6dbe      __shutdown_stream_
+0000:6dd8      fclose_
+112e:189e+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:6e43+     _null_exit_rtn_
+0000:6e43+     __null_int23_exit_
+0000:6e44      exit_
+0000:6e65+     _exit_
+112e:0b2a+     ___int23_exit
+112e:0b2e+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:6f9f      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:7197      __fill_buffer_
+0000:73e6      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:752d      _ffree_
+0000:752d      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:759a+     int86x_
+0000:771d      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:774a      __I4M
+0000:774a      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_getvec.c)
+0000:7762      _dos_getvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_setvec.c)
+0000:776d      _dos_setvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:777a      __I4D
+0000:77c9      __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+112e:18a2      __argv
+112e:18a6      ___argv
+112e:18aa      __argc
+112e:18ac      ___argc
+Module: 16.lib(/dos/z/16/src/lib/16_head.c)
+0e12:2c0e*     wait_
+0e12:2c5a*     filesize_
+0e12:2cc0*     printmeminfoline_
+0e12:2eac      US_CheckParm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:784d      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:7bc6      rand_
+0000:7c08*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
+0000:7c44      vsprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(delay.c)
+0000:7c86      delay_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:7de5      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:7e4b      __InitRtns
+0000:7e4b*     __FInitRtns
+0000:7ea6      __FiniRtns
+0000:7ea6*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+112e:0b48      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:7f0a      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:7f0c      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+112e:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:7f3d*     __set_commode_
+112e:0b4a      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+112e:0b4c      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:7f49      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:8178*     open_
+0000:81af      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:81dc      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:823b      __freefp_
+0000:82dc      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:831d      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:84cd      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:865b      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:867b*     _msize_
+0000:8696      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:86a7      __HeapManager_expand_
+0000:8bb0      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:8c03      _fexpand_
+0000:8c03*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:8c38      __EnterWVIDEO_
+112e:0b4e+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:8c5c*     _heapenable_
+112e:0b50      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+112e:0b52      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:8c6d      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:8cf5      __LastFree_
+0000:8d6f      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:8e80      _nfree_
+112e:18ae+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:8f7b      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:9150      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:a2b2      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:a4fb      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:a535      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:a56b      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:a59c      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:a5ad      __flushall_
+0000:a641      flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:a647      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:a661      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:a675      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:a6db      __Init_Argv_
+0000:a73e+     _getargv_
+0000:aa6e      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
+0000:aa98+     __ibm_bios_get_ticks_
+0000:ab0f      clock_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:ab36      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
+0000:ab4d      ftell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:ac15      ultoa_
+0000:acd3*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:ad21      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+112e:18b8      ____Argv
+112e:18bc      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+112e:0bac      __Start_XI
+112e:0bd0      __End_XI
+112e:0bd0      __Start_YI
+112e:0be2      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:ad82      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:ada8      __GetIOMode_
+0000:addd      __SetIOMode_nogrow_
+112e:0b5c      ___NFiles
+112e:0b5e      ___init_mode
+112e:0b86      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:ae12      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:ae2e*     __get_doserrno_ptr_
+112e:18be      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+112e:0b8a      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:ae35      _dos_creat_
+0000:ae59*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:ae7a+     __grow_iomode_
+0000:af61+     __shrink_iomode_
+0000:afa2      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:b049*     __dosretax
+0000:b04e*     __dosret0
+0000:b055      __set_errno_dos_
+0000:b0bd*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:b0c8      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:b0ed      _bexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:b146*     sbrk_
+0000:b156      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:b1be      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:b209+     utoa_
+0000:b2aa      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:b2f4      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+112e:0ba0      ___EFG_printf
+112e:0ba4*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+112e:0ba8      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:b33c*     _ismbblead_
+112e:18c2      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:b358      ulltoa_
+0000:b495*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:b506      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:b50c      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+112e:19c4      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
+0000:b885      fflush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+112e:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:b89a      __doserror_
+0000:b8a8*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:b8b4      __ChkTTYIOMode_
+0000:b922*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:b970      __mbinit_
+112e:0baa+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:ba4b*     _dos_close_
+0000:ba59      _dos_commit_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00020770 (132976.)
+Entry point address: 0000:54aa
+Link time: 00:00.00
diff --git a/test.map b/test.map
new file mode 100755 (executable)
index 0000000..2c8cc85
--- /dev/null
+++ b/test.map
@@ -0,0 +1,407 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: test.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          07c9:0000            0000e800
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+test_TEXT              CODE           AUTO           0000:0000       0000018c
+_TEXT                  CODE           AUTO           0000:0190       00005a3d
+modex16_TEXT           CODE           AUTO           0000:5bd0       00001fae
+16text_TEXT            CODE           AUTO           0000:7b80       0000010d
+FAR_DATA               FAR_DATA       AUTO           07c8:000d       00000000
+_NULL                  BEGDATA        DGROUP         07c9:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         07cb:0000       00000002
+CONST                  DATA           DGROUP         07cb:0002       00000076
+CONST2                 DATA           DGROUP         07d2:0008       00000000
+_DATA                  DATA           DGROUP         07d3:0000       00000248
+XIB                    DATA           DGROUP         07f7:0008       00000000
+XI                     DATA           DGROUP         07f7:0008       00000018
+XIE                    DATA           DGROUP         07f9:0000       00000000
+YIB                    DATA           DGROUP         07f9:0000       00000000
+YI                     DATA           DGROUP         07f9:0000       0000000c
+YIE                    DATA           DGROUP         07f9:000c       00000000
+STRINGS                DATA           DGROUP         07f9:000c       00000000
+DATA                   DATA           DGROUP         07f9:000c       00000000
+_BSS                   BSS            DGROUP         07f9:000c       00000a33
+STACK                  STACK          DGROUP         089d:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: test.o(/dos/z/16/src/test.c)
+0000:0012      main_
+07c9:00a4*     _clockw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0195      __STK
+0000:01b5*     __STKOVERFLOW_
+Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
+0000:5d88*     VGAmodeX_
+0000:5e30      modexEnter_
+0000:5ecc      modexLeave_
+0000:5ee4      modexDefaultPage_
+0000:5f3e      modexNextPage_
+0000:5ffa*     modexNextPage0_
+0000:609e      modexShowPage_
+0000:619a*     modexPanPage_
+0000:61ea*     modexSelectPlane_
+0000:620e      modexClearRegion_
+0000:6326*     oldDrawBmp_
+0000:648c*     modexDrawBmp_
+0000:64f2+     modexDrawBmpRegion_
+0000:665c*     modexDrawPlanarBuf_
+0000:667a*     modexDrawSprite_
+0000:66e0+     modexDrawSpriteRegion_
+0000:6858*     modexCopyPageRegion_
+0000:69c2      modexFadeOn_
+0000:69f2      modexFadeOff_
+0000:6a20*     modexFlashOn_
+0000:6a4e*     modexFlashOff_
+0000:6b1e      modexPalSave_
+0000:6b74      modexNewPal_
+0000:6bc4      modexLoadPalFile_
+0000:6ca6*     modexSavePalFile_
+0000:6d1e      modexPalBlack_
+0000:6d48*     modexPalWhite_
+0000:6d72+     modexPalUpdate_
+0000:72e2+     modexPalUpdate1_
+0000:735c*     modexPalUpdate0_
+0000:73a8+     chkcolor_
+0000:76c0+     modexputPixel_
+0000:774e*     modexgetPixel_
+0000:77d4*     modexhlin_
+0000:7840*     modexprint_
+0000:79da*     modexprintbig_
+0000:7b56+     modexWaitBorder_
+07c9:00b4+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+07c9:0000*     __nullarea
+07c9:00dc*     __ovlflag
+07c9:00dd*     __intno
+07c9:00de*     __ovlvec
+0000:01d2      _cstart_
+0000:02a5*     _Not_Enough_Memory_
+0000:03d7      __exit_
+0000:03f6      __do_exit_with_msg__
+0000:0453      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:045e      _big_code_
+0000:045e*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:045e*     __exit_with_msg_
+0000:0463      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+07c9:00e2      __curbrk
+07c9:00ea      __STACKLOW
+07c9:00ec      __STACKTOP
+07c9:00ee      __cbyte
+07c9:00f0      __child
+07c9:00f2      __no87
+07c9:00ff      ___FPE_handler
+07c9:00e4      __psp
+07c9:00f3      __get_ovl_stack
+07c9:00f7      __restore_ovl_stack
+07c9:00fb      __close_ovl_file
+07c9:0103      __LpCmdLine
+07c9:0107      __LpPgmName
+07c9:00e6      __osmajor
+07c9:00e7      __osminor
+07c9:00e8      __osmode
+07c9:00e9      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:0482+     int86x_
+0000:0605      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:0639      __PIA
+0000:0632*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:0650      _fmalloc_
+0000:0650      malloc_
+07c9:010c+     ___fheap
+07c9:010e      ___fheapRover
+07c9:0110      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:07c5      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:07f4+     _null_exit_rtn_
+0000:07f4+     __null_int23_exit_
+0000:07f5      exit_
+0000:0816+     _exit_
+07c9:0112+     ___int23_exit
+07c9:0116+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:0832+     __open_flags_
+0000:0af3+     _fsopen_
+0000:0b5a      fopen_
+0000:0c7d*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:0d07+     __fill_buffer_
+0000:0f56      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:109d      __doclose_
+0000:11e7      __shutdown_stream_
+0000:1201      fclose_
+07c9:0c0c+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:126c      _ffree_
+0000:126c      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:12d9      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:1652      rand_
+0000:1694*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:16b8      __I4M
+0000:16b8      __U4M
+Module: gfx.lib(/dos/z/16/src/lib/16text.c)
+0000:7bf6*     textInit_
+07c9:0c10      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:16d0      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:1736      __InitRtns
+0000:1736*     __FInitRtns
+0000:1791      __FiniRtns
+0000:1791*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+07c9:011e      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:17f6      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:17f7      __EnterWVIDEO_
+07c9:0120+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:181b      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:182f      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:18a0      __MemAllocator
+0000:196a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:1ac7      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:1c3d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:1d2c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:1d2f      _nmalloc_
+07c9:0122      ___nheapbeg
+07c9:0124      ___MiniHeapRover
+07c9:0126      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:1e09*     _heapgrow_
+0000:1e09*     _fheapgrow_
+0000:1e0a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+07c9:0128      ___iob
+07c9:0c28      ___ClosedStreams
+07c9:0c2c      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1e9c      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:1fef*     __set_commode_
+07c9:0290      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:1ffb*     __get_errno_ptr_
+07c9:0c30      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+07c9:0292      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:2002      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:2231*     open_
+0000:2268      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:23b3      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:25ab      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:260a      __freefp_
+0000:26ab      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:26ec      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:289c      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:28cf      __flushall_
+0000:2963*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:2969      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:2983      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:2b11      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:2b31      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:2b6b      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:2ba1      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:2dea      _nfree_
+07c9:0c32+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:2ee5      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:2f45      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+07c9:0c34      ____Argv
+07c9:0c38      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+07c9:0294      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+07c9:02e8      __Start_XI
+07c9:0300      __End_XI
+07c9:0300      __Start_YI
+07c9:030c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:311a      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:3493*     _heapenable_
+07c9:0296      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:34a4      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:352c      __LastFree_
+0000:35a6      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:36b7      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:38eb*     fcloseall_
+0000:38f2      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:38fc      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:4a5e      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:4a84      __GetIOMode_
+0000:4ab9      __SetIOMode_nogrow_
+07c9:0298      ___NFiles
+07c9:029a      ___init_mode
+07c9:02c2      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:4aee      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:4b0a*     __get_doserrno_ptr_
+07c9:0c3a      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+07c9:02c6      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:4b11      _dos_creat_
+0000:4b35*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:4b56+     __grow_iomode_
+0000:4c3d+     __shrink_iomode_
+0000:4c7e      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:4d25*     __dosretax
+0000:4d2a*     __dosret0
+0000:4d31      __set_errno_dos_
+0000:4d99*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:4da4      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:4dd5      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:4e06      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:4e17      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:4e1c*     sbrk_
+0000:4e2c      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:4e94      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:4edf+     utoa_
+0000:4f80      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:4fca      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+07c9:02dc      ___EFG_printf
+07c9:02e0*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+07c9:02e4      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:5012*     _ismbblead_
+07c9:0c3e      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:502e      ulltoa_
+0000:516b*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:51dc      ultoa_
+0000:529a*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:52e8      __doserror_
+0000:52f6*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:5302*     _frealloc_
+0000:5302      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:53de      __ChkTTYIOMode_
+0000:544c*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:545c*     _dos_close_
+0000:546a      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+07c9:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:54b7      __mbinit_
+07c9:02e6+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:5592*     _msize_
+0000:55ad      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:55be      __HeapManager_expand_
+0000:5ac7      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:5b1a      _fexpand_
+0000:5b1a*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:5b4f      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:5b74      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+gfx.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00016490 (91280.)
+Entry point address: 0000:01d2
+Link time: 00:00.00
diff --git a/test2.map b/test2.map
new file mode 100755 (executable)
index 0000000..2140958
--- /dev/null
+++ b/test2.map
@@ -0,0 +1,420 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: test2.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0884:0000            0000e8a0
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+test2_TEXT             CODE           AUTO           0000:0000       00000142
+_TEXT                  CODE           AUTO           0000:0150       00005dde
+bitmap_TEXT            CODE           AUTO           0000:5f30       000005c9
+planar_TEXT            CODE           AUTO           0000:6500       00000275
+modex16_TEXT           CODE           AUTO           0000:6780       00001fae
+16text_TEXT            CODE           AUTO           0000:8730       0000010d
+FAR_DATA               FAR_DATA       AUTO           0883:000d       00000000
+_NULL                  BEGDATA        DGROUP         0884:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0886:0000       00000002
+CONST                  DATA           DGROUP         0886:0002       00000076
+CONST2                 DATA           DGROUP         088d:0008       00000000
+_DATA                  DATA           DGROUP         088e:0000       00000260
+XIB                    DATA           DGROUP         08b4:0000       00000000
+XI                     DATA           DGROUP         08b4:0000       00000018
+XIE                    DATA           DGROUP         08b5:0008       00000000
+YIB                    DATA           DGROUP         08b5:0008       00000000
+YI                     DATA           DGROUP         08b5:0008       0000000c
+YIE                    DATA           DGROUP         08b6:0004       00000000
+STRINGS                DATA           DGROUP         08b6:0004       00000000
+DATA                   DATA           DGROUP         08b6:0004       00000000
+_BSS                   BSS            DGROUP         08b6:0004       00000ab3
+STACK                  STACK          DGROUP         0962:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: test2.o(/dos/z/16/src/test2.c)
+0000:0024      main_
+0884:00a4*     _clockw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0155      __STK
+0000:0175*     __STKOVERFLOW_
+Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
+0000:6232      bitmapLoadPcx_
+0000:638e*     bitmapLoadPcxTiles_
+Module: gfx.lib(/dos/z/16/src/lib/planar.c)
+0000:6500      planar_buf_from_bitmap_
+0000:6620+     planar_buf_alloc_
+0000:671a*     planar_buf_free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:0199      __PIA
+0000:0192*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:01b0      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0884:0000*     __nullarea
+0884:00c4*     __ovlflag
+0884:00c5*     __intno
+0884:00c6*     __ovlvec
+0000:01e0      _cstart_
+0000:02b3*     _Not_Enough_Memory_
+0000:03e5      __exit_
+0000:0404      __do_exit_with_msg__
+0000:0461      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:046c      _big_code_
+0000:046c*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:046c*     __exit_with_msg_
+0000:0471      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+0884:00ca      __curbrk
+0884:00d2      __STACKLOW
+0884:00d4      __STACKTOP
+0884:00d6      __cbyte
+0884:00d8      __child
+0884:00da      __no87
+0884:00e7      ___FPE_handler
+0884:00cc      __psp
+0884:00db      __get_ovl_stack
+0884:00df      __restore_ovl_stack
+0884:00e3      __close_ovl_file
+0884:00eb      __LpCmdLine
+0884:00ef      __LpPgmName
+0884:00ce      __osmajor
+0884:00cf      __osminor
+0884:00d0      __osmode
+0884:00d1      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:0490      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:0807      __doclose_
+0000:0951      __shutdown_stream_
+0000:096b      fclose_
+0884:03a4+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:09d6+     _null_exit_rtn_
+0000:09d6+     __null_int23_exit_
+0000:09d7      exit_
+0000:09f8+     _exit_
+0884:00f4+     ___int23_exit
+0884:00f8+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:0b32      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:0d2a      __fill_buffer_
+0000:0f79      fgetc_
+Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
+0000:6938*     VGAmodeX_
+0000:69e0+     modexEnter_
+0000:6a7c*     modexLeave_
+0000:6a94*     modexDefaultPage_
+0000:6aee*     modexNextPage_
+0000:6baa*     modexNextPage0_
+0000:6c4e*     modexShowPage_
+0000:6d4a*     modexPanPage_
+0000:6d9a*     modexSelectPlane_
+0000:6dbe+     modexClearRegion_
+0000:6ed6*     oldDrawBmp_
+0000:703c*     modexDrawBmp_
+0000:70a2+     modexDrawBmpRegion_
+0000:720c*     modexDrawPlanarBuf_
+0000:722a*     modexDrawSprite_
+0000:7290+     modexDrawSpriteRegion_
+0000:7408*     modexCopyPageRegion_
+0000:7572*     modexFadeOn_
+0000:75a2*     modexFadeOff_
+0000:75d0*     modexFlashOn_
+0000:75fe*     modexFlashOff_
+0000:76ce+     modexPalSave_
+0000:7724      modexNewPal_
+0000:7774*     modexLoadPalFile_
+0000:7856*     modexSavePalFile_
+0000:78ce*     modexPalBlack_
+0000:78f8*     modexPalWhite_
+0000:7922+     modexPalUpdate_
+0000:7e92+     modexPalUpdate1_
+0000:7f0c*     modexPalUpdate0_
+0000:7f58+     chkcolor_
+0000:8270+     modexputPixel_
+0000:82fe*     modexgetPixel_
+0000:8384*     modexhlin_
+0000:83f0*     modexprint_
+0000:858a*     modexprintbig_
+0000:8706+     modexWaitBorder_
+0884:0104+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:10c0+     __open_flags_
+0000:1381+     _fsopen_
+0000:13e8      fopen_
+0000:150b*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:1595      _fmalloc_
+0000:1595      malloc_
+0884:012c+     ___fheap
+0884:012e      ___fheapRover
+0884:0130      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+0884:0132      ___iob
+0884:0ca8      ___ClosedStreams
+0884:0cac      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:170a      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:1739      _ffree_
+0000:1739      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:17c0      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:1913      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:1979      __InitRtns
+0000:1979*     __FInitRtns
+0000:19d4      __FiniRtns
+0000:19d4*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+0884:029a      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:1a38      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:1a39      __EnterWVIDEO_
+0884:029c+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:1a5d*     __get_errno_ptr_
+0884:0cb0      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:1a64      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:1bf2      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:1c12      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:1c4c      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:1c82      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:1ecb      __freefp_
+0000:1f6c      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:1fae      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:1fe2      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:2013      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:2044      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:2055      __flushall_
+0000:20e9*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:20ef      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:2109+     int86x_
+0000:228c      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:22b9      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:2632      rand_
+0000:2674*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:2698      __I4M
+0000:2698      __U4M
+Module: gfx.lib(/dos/z/16/src/lib/16text.c)
+0000:87a6*     textInit_
+0884:0cb2      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:26b0*     __set_commode_
+0884:02a2      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0884:02a4      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:26bc      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:28eb*     open_
+0000:2922      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:294f      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:29ae      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:2b60      __MemAllocator
+0000:2c2a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:2d87      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:2efd      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:2fec      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:2fef      _nmalloc_
+0884:02a6      ___nheapbeg
+0884:02a8      ___MiniHeapRover
+0884:02aa      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:30c9*     _heapgrow_
+0000:30c9*     _fheapgrow_
+0000:30ca      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:3142      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:3376*     fcloseall_
+0000:337d      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:3387      _nfree_
+0884:0cca+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:3482      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:3657      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0884:0ccc      ____Argv
+0884:0cd0      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0884:02ac      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0884:0300      __Start_XI
+0884:0318      __End_XI
+0884:0318      __Start_YI
+0884:0324      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:47ba*     __dosretax
+0000:47bf*     __dosret0
+0000:47c6      __set_errno_dos_
+0000:482e*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:4839      __GetIOMode_
+0000:486e      __SetIOMode_nogrow_
+0884:02c2      ___NFiles
+0884:02c4      ___init_mode
+0884:02ec      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:48a3      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:4903      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:4908+     __grow_iomode_
+0000:49ef+     __shrink_iomode_
+0000:4a30      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:4ad7      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:4aeb      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:4b51      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:4b77      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:4b93*     __get_doserrno_ptr_
+0884:0cd4      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0884:02f0      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:4b9a      _dos_creat_
+0000:4bbe*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:4bdf*     _heapenable_
+0884:02f2      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:4bf0      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:4c78      __LastFree_
+0000:4cf2      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:4e03      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:4e4e+     utoa_
+0000:4eef      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:4f39      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0884:02f4      ___EFG_printf
+0884:02f8*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0884:02fc      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:4f81*     _ismbblead_
+0884:0cd6      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:4f9d      ulltoa_
+0000:50da*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:514b      ultoa_
+0000:5209*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:5257*     _dos_close_
+0000:5265      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:5274*     _frealloc_
+0000:5274      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:5350      __ChkTTYIOMode_
+0000:53be*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:53ce      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:5748      __doserror_
+0000:5756*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:5762*     sbrk_
+0000:5772      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0884:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:5818      __mbinit_
+0884:02fe+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:58f3*     _msize_
+0000:590e      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:591f      __HeapManager_expand_
+0000:5e28      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:5e7b      _fexpand_
+0000:5e7b*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:5eb0      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:5ed5      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+gfx.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  000170e0 (94432.)
+Entry point address: 0000:01e0
+Link time: 00:00.00
diff --git a/vgmtest.map b/vgmtest.map
new file mode 100755 (executable)
index 0000000..28bac9b
--- /dev/null
@@ -0,0 +1,445 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/09/23 10:11:32
+Executable Image: vgmtest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          09cb:0000            0000e660
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+vgmtest_TEXT           CODE           AUTO           0000:0000       00000114
+16_in_TEXT             CODE           AUTO           0000:0120       00001d43
+16_head_TEXT           CODE           AUTO           0000:1e70       00000405
+_TEXT                  CODE           AUTO           0000:2280       0000600e
+16_snd_TEXT            CODE           AUTO           0000:8290       00000338
+vgmSnd_TEXT            CODE           AUTO           0000:85d0       00001525
+16_in13_DATA           FAR_DATA       AUTO           09b0:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           09ca:0004       00000000
+_NULL                  BEGDATA        DGROUP         09cb:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         09cd:0000       00000002
+CONST                  DATA           DGROUP         09cd:0002       00000076
+CONST2                 DATA           DGROUP         09d4:0008       00000102
+_DATA                  DATA           DGROUP         09e5:0000       000004ee
+XIB                    DATA           DGROUP         0a33:000e       00000000
+XI                     DATA           DGROUP         0a33:000e       00000024
+XIE                    DATA           DGROUP         0a36:0002       00000000
+YIB                    DATA           DGROUP         0a36:0002       00000000
+YI                     DATA           DGROUP         0a36:0002       00000012
+YIE                    DATA           DGROUP         0a37:0004       00000000
+STRINGS                DATA           DGROUP         0a37:0004       00000000
+DATA                   DATA           DGROUP         0a37:0004       00000000
+_BSS                   BSS            DGROUP         0a38:0000       000004cf
+STACK                  STACK          DGROUP         0a85:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: vgmtest.o(/dos/z/16/src/vgmtest.c)
+0000:0010      OPL2_Write_
+0000:0036      OPL2_ReadStatus_
+0000:0050      main_
+Module: 16_in.o(/dos/z/16/src/lib/16_in.c)
+0000:0238+     INL_KeyService_
+0000:0482+     Mouse_
+0000:04da+     IN_GetJoyAbs_
+0000:08a0+     IN_GetJoyButtonsDB_
+0000:0b36+     IN_SetupJoy_
+0000:0cf8      IN_Startup_
+0000:0dfe      IN_Default_
+0000:0f62      IN_Shutdown_
+0000:0fe2*     IN_SetKeyHook_
+0000:1004+     IN_ClearKeysDown_
+0000:10e4*     IN_ReadCursor_
+0000:1200      IN_ReadControl_
+0000:1980*     IN_SetControlType_
+0000:19ce*     IN_GetScanName_
+0000:1a56*     IN_WaitForKey_
+0000:1a8c*     IN_WaitForASCII_
+0000:1ac2+     IN_AckBack_
+0000:1baa*     IN_Ack_
+0000:1c4c+     IN_IsUserInput_
+0000:1cf2*     IN_UserInput_
+0000:1d4a      IN_KeyDown_
+0000:1d92+     IN_ClearKey_
+0000:1e0a*     IN_qb_
+09cb:06de+     _inpu
+Module: 16_head.o(/dos/z/16/src/lib/16_head.c)
+0000:1e7e*     wait_
+0000:1eca*     filesize_
+0000:1f30*     printmeminfoline_
+0000:211c      US_CheckParm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:2285      __STK
+0000:22a5*     __STKOVERFLOW_
+Module: vgmsnd.lib(/dos/z/16/src/lib/16_snd.c)
+0000:8290      opl2out_
+0000:82d2*     opl3out_
+0000:830e*     opl3exp_
+0000:834a*     FMReset_
+0000:8388*     FMKeyOff_
+0000:83b2*     FMKeyOn_
+0000:8400*     FMSetVoice_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:22c2      _fmalloc_
+0000:22c2      malloc_
+09cb:0474+     ___fheap
+09cb:0476      ___fheapRover
+09cb:0478      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:243f      __PIA
+0000:2438*     __PIS
+Module: vgmsnd.lib(/dos/z/16/src/lib/vgmsnd/vgmSnd.c)
+0000:861a      OpenVGMFile_
+0000:890a      FreeVGMFile_
+0000:8ec2      InitEngine_
+0000:9080      DeinitEngine_
+0000:90e8      PlayMusic_
+0000:9152*     PlaySFX_
+0000:91e6      StopMusic_
+0000:9206*     StopSFX_
+0000:929c*     PauseMusic_
+0000:92f8*     ResumeMusic_
+0000:9a44      UpdateSoundEngine_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:2456      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+09cb:0000*     __nullarea
+09cb:0484*     __ovlflag
+09cb:0485*     __intno
+09cb:0486*     __ovlvec
+0000:2486      _cstart_
+0000:2559*     _Not_Enough_Memory_
+0000:268b      __exit_
+0000:26aa      __do_exit_with_msg__
+0000:2707      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:2712      _big_code_
+0000:2712*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+09cb:0a6e      __argv
+09cb:0a72      ___argv
+09cb:0a76      __argc
+09cb:0a78      ___argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:2712+     int86x_
+0000:2895      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:28c2      __I4M
+0000:28c2      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_getvec.c)
+0000:28da      _dos_getvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_setvec.c)
+0000:28e5      _dos_setvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:28f2      __I4D
+0000:2941      __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
+0000:29c5+     __ibm_bios_get_ticks_
+0000:2a3c      clock_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:2a63      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
+0000:2a7a      ftell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:2c60      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:2e58      ultoa_
+0000:2f16*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+09cb:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:2f64      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:2f72      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:2fa5*     __exit_with_msg_
+0000:2faa      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+09cb:0492      __curbrk
+09cb:049a      __STACKLOW
+09cb:049c      __STACKTOP
+09cb:049e      __cbyte
+09cb:04a0      __child
+09cb:04a2      __no87
+09cb:04af      ___FPE_handler
+09cb:0494      __psp
+09cb:04a3      __get_ovl_stack
+09cb:04a7      __restore_ovl_stack
+09cb:04ab      __close_ovl_file
+09cb:04b3      __LpCmdLine
+09cb:04b7      __LpPgmName
+09cb:0496      __osmajor
+09cb:0497      __osminor
+09cb:0498      __osmode
+09cb:0499      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:2fd0      __MemAllocator
+0000:309a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:31f7      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:336d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:345c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:345f      _nmalloc_
+09cb:04bc      ___nheapbeg
+09cb:04be      ___MiniHeapRover
+09cb:04c0      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:3539*     _heapgrow_
+0000:3539*     _fheapgrow_
+0000:353a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:35b2+     __open_flags_
+0000:3873+     _fsopen_
+0000:38da      fopen_
+0000:39fd*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:3a87      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:3dfe      __doclose_
+0000:3f48      __shutdown_stream_
+0000:3f62      fclose_
+09cb:0a7e+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:3fcd      _ffree_
+0000:3fcd      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+09cb:04c2      ___iob
+09cb:0a82      ___ClosedStreams
+09cb:0a86      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:4054      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:41a7      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:420d      __InitRtns
+0000:420d*     __FInitRtns
+0000:4268      __FiniRtns
+0000:4268*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+09cb:062a      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:42cc      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:42cd      __Init_Argv_
+0000:4330+     _getargv_
+0000:4660      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:468a      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:469e      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
+0000:4704      fflush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:4719      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:472a      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:475b      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:478c      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:49d5*     __get_errno_ptr_
+09cb:0a8e      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+09cb:0022      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:49dc      __EnterWVIDEO_
+09cb:062c+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:4a00*     _heapenable_
+09cb:062e      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+09cb:0630      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:4a11      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:4a99      __LastFree_
+0000:4b13      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:4c24      _nfree_
+09cb:0a90+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:4d1f*     __set_commode_
+09cb:0632      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+09cb:0634      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:4f4c*     open_
+0000:4f83      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:4fb0      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:500f      __freefp_
+0000:50b0      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:50f1      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:52a1      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:542f      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:544f      __fill_buffer_
+0000:569e*     fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:57e5      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:581f      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:5855      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:5a89*     fcloseall_
+0000:5a90      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:5a9a      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:5c6f      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+09cb:0a92      ____Argv
+09cb:0a96      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:6dd1+     _null_exit_rtn_
+0000:6dd1+     __null_int23_exit_
+0000:6dd2      exit_
+0000:6df3+     _exit_
+09cb:0636+     ___int23_exit
+09cb:063a+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+09cb:068e      __Start_XI
+09cb:06b2      __End_XI
+09cb:06b2      __Start_YI
+09cb:06c4      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+09cb:0a98      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:6e10      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:7189      __flushall_
+0000:721d      flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:7223      __GetIOMode_
+0000:7258      __SetIOMode_nogrow_
+09cb:063e      ___NFiles
+09cb:0640      ___init_mode
+09cb:0668      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:728d+     __grow_iomode_
+0000:7374+     __shrink_iomode_
+0000:73b5      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:745c      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:74bc      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:74c1*     sbrk_
+0000:74d1      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:7539      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:755f      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:757b*     __get_doserrno_ptr_
+09cb:0a9c      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+09cb:066c      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:7582      _dos_creat_
+0000:75a6*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:75c7*     __dosretax
+0000:75cc*     __dosret0
+0000:75d3      __set_errno_dos_
+0000:763b*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:7646      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:7660      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:76ab+     utoa_
+0000:774c      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:7796      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+09cb:0682      ___EFG_printf
+09cb:0686*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+09cb:068a      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:77de*     _ismbblead_
+09cb:0a9e      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:77fa      ulltoa_
+0000:7937*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:79a8*     _frealloc_
+0000:79a8      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:7a84      __ChkTTYIOMode_
+0000:7af2*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7b02*     _dos_close_
+0000:7b10      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:7b20      __doserror_
+0000:7b2e*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:7b78      __mbinit_
+09cb:068c+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:7c53*     _msize_
+0000:7c6e      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:7c7f      __HeapManager_expand_
+0000:8188      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:81db      _fexpand_
+0000:81db*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:8210      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:8235      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+vgmsnd.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00018310 (99088.)
+Entry point address: 0000:2486
+Link time: 00:00.00