]> 4ch.mooo.com Git - 16.git/commitdiff
ww
authorsparky4 <sparky4@cock.li>
Thu, 1 Oct 2015 20:42:45 +0000 (15:42 -0500)
committersparky4 <sparky4@cock.li>
Thu, 1 Oct 2015 20:42:45 +0000 (15:42 -0500)
29 files changed:
16.exe [new file with mode: 0755]
16.map [new file with mode: 0755]
bakapi.exe [new file with mode: 0755]
bakapi.map [new file with mode: 0755]
exmmtest.exe [new file with mode: 0755]
exmmtest.map [new file with mode: 0755]
fmemtest.exe [new file with mode: 0755]
fmemtest.map [new file with mode: 0755]
fontgfx.exe [new file with mode: 0755]
fontgfx.map [new file with mode: 0755]
fonttest.exe [new file with mode: 0755]
maptest.exe [new file with mode: 0755]
maptest.map [new file with mode: 0755]
palettec.exe [new file with mode: 0755]
palettec.map [new file with mode: 0755]
pcxtest.exe [new file with mode: 0755]
pcxtest.map [new file with mode: 0755]
pcxtest2.exe [new file with mode: 0755]
pcxtest2.map [new file with mode: 0755]
scroll.exe [new file with mode: 0755]
scroll.map [new file with mode: 0755]
src/lib/scroll16.c
test.exe [new file with mode: 0755]
test.map [new file with mode: 0755]
test2.exe [new file with mode: 0755]
test2.map [new file with mode: 0755]
tesuto.exe [new file with mode: 0755]
vgmtest.exe [new file with mode: 0755]
vgmtest.map [new file with mode: 0755]

diff --git a/16.exe b/16.exe
new file mode 100755 (executable)
index 0000000..e9a6baf
Binary files /dev/null and b/16.exe differ
diff --git a/16.map b/16.map
new file mode 100755 (executable)
index 0000000..0e9f078
--- /dev/null
+++ b/16.map
@@ -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/10/01 15:42:34
+Executable Image: 16.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0c5e: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       00002180
+16_in_TEXT             CODE           AUTO           0000:9b90       00001d43
+wcpu_TEXT              CODE           AUTO           0000:b8e0       00000058
+bitmap_TEXT            CODE           AUTO           0000:b940       000005c9
+16text_TEXT            CODE           AUTO           0000:bf10       0000010d
+16_head_TEXT           CODE           AUTO           0000:c020       00000405
+16_in13_DATA           FAR_DATA       AUTO           0c43:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           0c5d:0004       00000000
+_NULL                  BEGDATA        DGROUP         0c5e:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0c60:0000       00000002
+CONST                  DATA           DGROUP         0c60:0002       00000076
+CONST2                 DATA           DGROUP         0c67:0008       00000102
+_DATA                  DATA           DGROUP         0c78:0000       0000052e
+XIB                    DATA           DGROUP         0cca:000e       00000000
+XI                     DATA           DGROUP         0cca:000e       00000024
+XIE                    DATA           DGROUP         0ccd:0002       00000000
+YIB                    DATA           DGROUP         0ccd:0002       00000000
+YI                     DATA           DGROUP         0ccd:0002       00000012
+YIE                    DATA           DGROUP         0cce:0004       00000000
+STRINGS                DATA           DGROUP         0cce:0004       00000000
+DATA                   DATA           DGROUP         0cce:0004       00000000
+_BSS                   BSS            DGROUP         0ccf:0000       00000d6d
+STACK                  STACK          DGROUP         0da6:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: 16.o(/dos/z/16/src/16.c)
+0000:00cc      main_
+0c5e:0710+     _player
+0c5e:0810+     _gvar
+0c5e:0828+     _cpus
+0c5e:082c*     _gpal
+0c5e:0830+     _dpal
+0c5e:0834+     _engi_stat
+Module: mapread.o(/dos/z/16/src/lib/mapread.c)
+0000:02dc+     jsoneq_
+0000:0380+     dump_
+0000:087c*     loadmap_
+Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
+0000: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*     modexNextPageFlexibleSize_
+0000:7ede*     modexShowPage_
+0000:7fda*     modexPanPage_
+0000:802a*     modexSelectPlane_
+0000:804e+     modexClearRegion_
+0000:8166*     oldDrawBmp_
+0000:82cc*     CDrawBmp_
+0000:8430*     modexDrawBmp_
+0000:8496+     modexDrawBmpRegion_
+0000:8600*     modexDrawPlanarBuf_
+0000:861e*     modexDrawSprite_
+0000:8684+     modexDrawSpriteRegion_
+0000:87fc*     modexCopyPageRegion_
+0000:8966      modexFadeOn_
+0000:8996      modexFadeOff_
+0000:89c4*     modexFlashOn_
+0000:89f2*     modexFlashOff_
+0000:8ac2      modexPalSave_
+0000:8b18      modexNewPal_
+0000:8b68*     modexLoadPalFile_
+0000:8c4a*     modexSavePalFile_
+0000:8cc2      modexPalBlack_
+0000:8cec*     modexPalWhite_
+0000:8d16+     modexPalUpdate_
+0000:9286+     modexPalUpdate1_
+0000:9300*     modexPalUpdate0_
+0000:934c+     chkcolor_
+0000:9664+     modexputPixel_
+0000:96f2*     modexgetPixel_
+0000:9778*     modexhlin_
+0000:97e4*     modexprint_
+0000:997e*     modexprintbig_
+0000:9afa*     cls_
+0000:9b68+     modexWaitBorder_
+0c5e:01c4+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:1422      printf_
+Module: 16.lib(/dos/z/16/src/lib/16_in.c)
+0000:9ca8+     INL_KeyService_
+0000:9ef2+     Mouse_
+0000:9f4a+     IN_GetJoyAbs_
+0000:a310+     IN_GetJoyButtonsDB_
+0000:a5a6+     IN_SetupJoy_
+0000:a768      IN_Startup_
+0000:a86e      IN_Default_
+0000:a9d2      IN_Shutdown_
+0000:aa52*     IN_SetKeyHook_
+0000:aa74+     IN_ClearKeysDown_
+0000:ab54*     IN_ReadCursor_
+0000:ac70      IN_ReadControl_
+0000:b3f0*     IN_SetControlType_
+0000:b43e*     IN_GetScanName_
+0000:b4c6*     IN_WaitForKey_
+0000:b4fc*     IN_WaitForASCII_
+0000:b532+     IN_AckBack_
+0000:b61a*     IN_Ack_
+0000:b6bc+     IN_IsUserInput_
+0000:b762*     IN_UserInput_
+0000:b7ba      IN_KeyDown_
+0000:b802+     IN_ClearKey_
+0000:b87a*     IN_qb_
+0c5e:115e+     _inpu
+Module: 16.lib(/dos/z/16/src/lib/wcpu/wcpu.c)
+0000:b8e0      detectcpu_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0c5e:0000*     __nullarea
+0c5e:049a*     __ovlflag
+0c5e:049b*     __intno
+0c5e:049c*     __ovlvec
+0000:1452      _cstart_
+0000:1525*     _Not_Enough_Memory_
+0000:1657      __exit_
+0000:1676      __do_exit_with_msg__
+0000:16d3      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:16de      _big_code_
+0000:16de*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+0c5e:12b4      __argv
+0c5e:12b8      ___argv
+0c5e:12bc      __argc
+0c5e: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_
+0c5e:04a0+     ___fheap
+0c5e:04a2      ___fheapRover
+0c5e:04a4      ___LargestSizeB4Rover
+Module: 16.lib(/dos/z/16/src/lib/bitmap.c)
+0000:bc42      bitmapLoadPcx_
+0000:bd9e*     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_
+0c5e:1340      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+0c5e:04b4      ___iob
+0c5e:1342      ___ClosedStreams
+0c5e: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)
+0c5e:061c      __curbrk
+0c5e:0624      __STACKLOW
+0c5e:0626      __STACKTOP
+0c5e:0628      __cbyte
+0c5e:062a      __child
+0c5e:062c      __no87
+0c5e:0639      ___FPE_handler
+0c5e:061e      __psp
+0c5e:062d      __get_ovl_stack
+0c5e:0631      __restore_ovl_stack
+0c5e:0635      __close_ovl_file
+0c5e:063d      __LpCmdLine
+0c5e:0641      __LpPgmName
+0c5e:0620      __osmajor
+0c5e:0621      __osminor
+0c5e:0622      __osmode
+0c5e:0623      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000: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_
+0c5e:0646+     ___int23_exit
+0c5e: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_
+0c5e: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:bf86*     textInit_
+0c5e: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:c02e*     wait_
+0000:c07a*     filesize_
+0000:c0e0*     printmeminfoline_
+0000:c2cc      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)
+0c5e: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_
+0c5e:0666      ___nheapbeg
+0c5e:0668      ___MiniHeapRover
+0c5e: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)
+0c5e:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:4059*     __set_commode_
+0c5e:066c      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0c5e: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_
+0c5e: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_
+0c5e: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)
+0c5e:1370      ____Argv
+0c5e:1374      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0c5e:067a      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0c5e:06ce      __Start_XI
+0c5e:06f2      __End_XI
+0c5e:06f2      __Start_YI
+0c5e:0704      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+0c5e:1376      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:6ac0*     _heapenable_
+0c5e: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_
+0c5e:067e      ___NFiles
+0c5e:0680      ___init_mode
+0c5e: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_
+0c5e:1378      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0c5e: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)
+0c5e:06c2      ___EFG_printf
+0c5e:06c6*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0c5e:06ca      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:75e6*     _ismbblead_
+0c5e: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)
+0c5e: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_
+0c5e:06cc+     ___MBCodePage
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  0001b520 (111904.)
+Entry point address: 0000:1452
+Link time: 00:00.00
diff --git a/bakapi.exe b/bakapi.exe
new file mode 100755 (executable)
index 0000000..cf5cac0
Binary files /dev/null and b/bakapi.exe differ
diff --git a/bakapi.map b/bakapi.map
new file mode 100755 (executable)
index 0000000..37802e1
--- /dev/null
@@ -0,0 +1,460 @@
+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/10/01 15:42:34
+Executable Image: bakapi.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0a98: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       00002180
+16text_TEXT            CODE           AUTO           0000:9ce0       0000010d
+bakapee_TEXT           CODE           AUTO           0000:9df0       00000b86
+FAR_DATA               FAR_DATA       AUTO           0a97:0006       00000000
+_NULL                  BEGDATA        DGROUP         0a98:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0a9a:0000       00000002
+CONST                  DATA           DGROUP         0a9a:0002       00000076
+CONST2                 DATA           DGROUP         0aa1:0008       0000010a
+_DATA                  DATA           DGROUP         0ab3:0000       0000024c
+XIB                    DATA           DGROUP         0ad7:000c       00000000
+XI                     DATA           DGROUP         0ad7:000c       0000001e
+XIE                    DATA           DGROUP         0ad9:000a       00000000
+YIB                    DATA           DGROUP         0ad9:000a       00000000
+YI                     DATA           DGROUP         0ad9:000a       00000012
+YIE                    DATA           DGROUP         0ada:000c       00000000
+STRINGS                DATA           DGROUP         0ada:000c       00000000
+DATA                   DATA           DGROUP         0ada:000c       00000000
+_BSS                   BSS            DGROUP         0ada:000c       00000a56
+STACK                  STACK          DGROUP         0b81:0000       0000dac0
+
+
+                        +----------------+
+                        |   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*     modexNextPageFlexibleSize_
+0000:802e      modexShowPage_
+0000:812a*     modexPanPage_
+0000:817a*     modexSelectPlane_
+0000:819e      modexClearRegion_
+0000:82b6*     oldDrawBmp_
+0000:841c*     CDrawBmp_
+0000:8580*     modexDrawBmp_
+0000:85e6+     modexDrawBmpRegion_
+0000:8750*     modexDrawPlanarBuf_
+0000:876e*     modexDrawSprite_
+0000:87d4+     modexDrawSpriteRegion_
+0000:894c*     modexCopyPageRegion_
+0000:8ab6*     modexFadeOn_
+0000:8ae6*     modexFadeOff_
+0000:8b14*     modexFlashOn_
+0000:8b42*     modexFlashOff_
+0000:8c12+     modexPalSave_
+0000:8c68+     modexNewPal_
+0000:8cb8*     modexLoadPalFile_
+0000:8d9a*     modexSavePalFile_
+0000:8e12*     modexPalBlack_
+0000:8e3c*     modexPalWhite_
+0000:8e66+     modexPalUpdate_
+0000:93d6+     modexPalUpdate1_
+0000:9450*     modexPalUpdate0_
+0000:949c+     chkcolor_
+0000:97b4      modexputPixel_
+0000:9842*     modexgetPixel_
+0000:98c8*     modexhlin_
+0000:9934      modexprint_
+0000:9ace*     modexprintbig_
+0000:9c4a      cls_
+0000:9cb8+     modexWaitBorder_
+0a98:01c4      _VGA
+Module: 16.lib(/dos/z/16/src/lib/16text.c)
+0000:9d56      textInit_
+0a98:0d3c      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:0306      kbhit_
+Module: 16.lib(/dos/z/16/src/lib/bakapee.c)
+0000:9df8*     pdump_
+0000:9e5a+     colortest_
+0000:9eae+     colorz_
+0000:9f14+     ssd_
+0000:a032+     dingpp_
+0000:a0a4+     dingo_
+0000:a13a+     dingas_
+0000:a1e8+     dingu_
+0000:a24a+     dingq_
+0000:a2ea      ding_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
+0000:031d      getch_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+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)
+0a98:0000*     __nullarea
+0a98:01f4*     __ovlflag
+0a98:01f5*     __intno
+0a98: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)
+0a98:0d54      __argv
+0a98:0d58      ___argv
+0a98:0d5c      __argc
+0a98:0d5e      ___argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:06f8*     __exit_with_msg_
+0000:06fd      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+0a98:01fa      __curbrk
+0a98:0202      __STACKLOW
+0a98:0204      __STACKTOP
+0a98:0206      __cbyte
+0a98:0208      __child
+0a98:020a      __no87
+0a98:0217      ___FPE_handler
+0a98:01fc      __psp
+0a98:020b      __get_ovl_stack
+0a98:020f      __restore_ovl_stack
+0a98:0213      __close_ovl_file
+0a98:021b      __LpCmdLine
+0a98:021f      __LpPgmName
+0a98:01fe      __osmajor
+0a98:01ff      __osminor
+0a98:0200      __osmode
+0a98:0201      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:071c      __I4M
+0000:071c      __U4M
+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_
+0a98:0224+     ___fheap
+0a98:0226      ___fheapRover
+0a98:0228      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:0a59+     _null_exit_rtn_
+0000:0a59+     __null_int23_exit_
+0000:0a5a      exit_
+0000:0a7b+     _exit_
+0a98:022a+     ___int23_exit
+0a98:022e+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:0a97+     __open_flags_
+0000:0d58+     _fsopen_
+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_
+0a98: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)
+0a98:0232      ___iob
+0a98:0d64      ___ClosedStreams
+0a98:0d68      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1a30      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ungetc.c)
+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)
+0a98:039a      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:31a4      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:31a5      __Init_Argv_
+0000:3208+     _getargv_
+0000:3538      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:3562      __EnterWVIDEO_
+0a98:039c+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:3586      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+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_
+0a98:039e      ___nheapbeg
+0a98:03a0      ___MiniHeapRover
+0a98:03a2      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:3b69*     _heapgrow_
+0000:3b69*     _fheapgrow_
+0000:3b6a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:3be2*     __set_commode_
+0a98:03a4      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:3bee*     __get_errno_ptr_
+0a98:0d70      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0a98:03a6      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:3bf5      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+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_
+0a98:0d72+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:4ad9      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+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)
+0a98:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0a98:03a8      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:60b5*     _ismbblead_
+0a98:0d74      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbtowc.c)
+0000:60d1      mbtowc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bits.c)
+0a98:019a      __Bits
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fdfs086.asm)
+0000:61ee      __FDFS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:6236*     __I4D
+0000:6285      __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0a98:03aa      ___EFG_printf
+0a98:03ae      ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i8m086.asm)
+0000:6337*     __I8M
+0000:6337      __U8M
+0000:631c*     __I8ME
+0000:631c*     __U8ME
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0a98:0e76      ____Argv
+0a98:0e7a      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0a98:03b2      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0a98:03fc      __Start_XI
+0a98:041a      __End_XI
+0a98:041a      __Start_YI
+0a98:042c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+0a98:0e7c      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:6482      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:64b4      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:682d*     _heapenable_
+0a98:03b4      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:683e      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+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_
+0a98:03b6      ___NFiles
+0a98:03b8      ___init_mode
+0a98:03e0      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:6ae1      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:6afd*     __get_doserrno_ptr_
+0a98:0e7e      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0a98: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_
+0a98: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)
+0a98: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:  000192d0 (103120.)
+Entry point address: 0000:046c
+Link time: 00:00.00
diff --git a/exmmtest.exe b/exmmtest.exe
new file mode 100755 (executable)
index 0000000..6f40ad1
Binary files /dev/null and b/exmmtest.exe differ
diff --git a/exmmtest.map b/exmmtest.map
new file mode 100755 (executable)
index 0000000..4d019a3
--- /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/10/01 15:42:34
+Executable Image: exmmtest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0c08:0000            0000e090
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+exmmtest_TEXT          CODE           AUTO           0000:0000       00000373
+_TEXT                  CODE           AUTO           0000:0380       0000643a
+16_mm_TEXT             CODE           AUTO           0000:67c0       00003308
+16_ca_TEXT             CODE           AUTO           0000:9ad0       000003fd
+16_hc_TEXT             CODE           AUTO           0000:9ed0       0000158b
+16_head_TEXT           CODE           AUTO           0000:b460       00000405
+kitten_TEXT            CODE           AUTO           0000:b870       0000080a
+FAR_DATA               FAR_DATA       AUTO           0c07:000a       00000000
+_NULL                  BEGDATA        DGROUP         0c08:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0c0a:0000       00000002
+CONST                  DATA           DGROUP         0c0a:0002       00000076
+CONST2                 DATA           DGROUP         0c11:0008       00000102
+_DATA                  DATA           DGROUP         0c22:0000       0000025a
+XIB                    DATA           DGROUP         0c47:000a       00000000
+XI                     DATA           DGROUP         0c47:000a       0000002a
+XIE                    DATA           DGROUP         0c4a:0004       00000000
+YIB                    DATA           DGROUP         0c4a:0004       00000000
+YI                     DATA           DGROUP         0c4a:0004       00000018
+YIE                    DATA           DGROUP         0c4b:000c       00000000
+STRINGS                DATA           DGROUP         0c4b:000c       00000000
+DATA                   DATA           DGROUP         0c4b:000c       00000000
+_BSS                   BSS            DGROUP         0c4c:0000       0000018c
+STACK                  STACK          DGROUP         0c65:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: exmmtest.o(/dos/z/16/src/exmmtest.c)
+0000:0110      main_
+0c08:0440+     _gvar
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0385      __STK
+0000:03a5      __STKOVERFLOW_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:03c2      _fmalloc_
+0000:03c2      malloc_
+0c08:01a6      ___fheap
+0c08:01a8      ___fheapRover
+0c08:01aa      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:053f      __PIA
+0000:0538*     __PIS
+Module: 16.lib(/dos/z/16/src/lib/16_mm.c)
+0000:71a4+     MML_CheckForEMS_
+0000:7200+     MML_SetupEMS_
+0000:73b8+     MML_ShutdownEMS_
+0000:7424+     MM_MapEMS_
+0000:7520*     MM_MapXEMS_
+0000:7640+     MML_CheckForXMS_
+0000:769c*     MML_SetupXMS_
+0000:7784+     MML_ShutdownXMS_
+0000:7812+     MML_UseSpace_
+0000:79f0+     MML_ClearBlock_
+0000:7a74      MM_Startup_
+0000:7ea6      MM_Shutdown_
+0000:7f3c      MM_GetPtr_
+0000:8336      MM_FreePtr_
+0000:842e*     MM_SetPurge_
+0000:8508*     MM_SetLock_
+0000:85e0+     MM_SortMem_
+0000:87ce      MM_ShowMemory_
+0000:8e6e      MM_DumpData_
+0000:8fc8+     MM_UnusedMemory_
+0000:904c+     MM_TotalFree_
+0000:90e2*     MM_Report_
+0000:9a9a*     MM_BombOnError_
+0c08:0460+     _beforesort
+0c08:0464+     _aftersort
+0c08:0468+     _XMSaddr
+Module: 16.lib(/dos/z/16/src/lib/16_ca.c)
+0000:9afe      CA_OpenDebug_
+0000:9b4e      CA_CloseDebug_
+0000:9b7c+     CA_FarRead_
+0000:9bfc*     CA_FarWrite_
+0000:9c7c*     CA_ReadFile_
+0000:9cf8      CA_LoadFile_
+0000:9da0*     CAL_OptimizeNodes_
+0000:9e50      CA_Startup_
+0000:9ea0      CA_Shutdown_
+0c08:0470*     _finishcachebox
+0c08:0474*     _drawcachebox
+0c08:0478*     _updatecachebox
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:0556      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bmsize.c)
+0000:0585      _bmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
+0000:05bc      getch_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:05d6      _ffree_
+0000:05d6      free_
+Module: 16.lib(/dos/z/16/src/lib/16_hc.c)
+0000:a07c+     LargestFreeBlock_
+0000:a10a+     _coreleft_
+0000:a186+     LargestFarFreeBlock_
+0000:a23c+     _farcoreleft_
+0000:a2ea+     LargestHugeFreeBlock_
+0000:a3da*     _hugecoreleft_
+0000:a4aa      GetFreeSize_
+0000:a504      GetFarFreeSize_
+0000:a54e      GetNearFreeSize_
+0000:a59c      heapdump_
+0000:b23e+     heapstat_
+0000:b37c+     heapstat0_
+0000:b3de+     HC_OpenDebug_
+0000:b42e*     HC_CloseDebug_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0c08:0000*     __nullarea
+0c08:01e4*     __ovlflag
+0c08:01e5*     __intno
+0c08:01e6*     __ovlvec
+0000:0644      _cstart_
+0000:0717*     _Not_Enough_Memory_
+0000:0849      __exit_
+0000:0868      __do_exit_with_msg__
+0000:08c5      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:08d0      _big_code_
+0000:08d0*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+0c08:047c      __argv
+0c08:0480      ___argv
+0c08:0484      __argc
+0c08:0486      ___argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:08d0*     __exit_with_msg_
+0000:08d5      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+0c08:01ea      __curbrk
+0c08:01f2      __STACKLOW
+0c08:01f4      __STACKTOP
+0c08:01f6      __cbyte
+0c08:01f8      __child
+0c08:01fa      __no87
+0c08:0207      ___FPE_handler
+0c08:01ec      __psp
+0c08:01fb      __get_ovl_stack
+0c08:01ff      __restore_ovl_stack
+0c08:0203      __close_ovl_file
+0c08:020b      __LpCmdLine
+0c08:020f      __LpPgmName
+0c08:01ee      __osmajor
+0c08:01ef      __osminor
+0c08:01f0      __osmode
+0c08:01f1      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:0900      __MemAllocator
+0000:09ca      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:0b27      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:0c9d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:0d8c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:0d8f      _nmalloc_
+0c08:0214      ___nheapbeg
+0c08:0216      ___MiniHeapRover
+0c08:0218      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:0e69*     _heapgrow_
+0000:0e69      _fheapgrow_
+0000:0e6a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c)
+0000:0ee2      _memavl_
+Module: 16.lib(/dos/z/16/src/lib/16_head.c)
+0000:b46e*     wait_
+0000:b4ba*     filesize_
+0000:b520      printmeminfoline_
+0000:b70c      US_CheckParm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:0f27      _nfree_
+0c08:0488+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:1022+     _null_exit_rtn_
+0000:1022+     __null_int23_exit_
+0000:1023      exit_
+0000:1044+     _exit_
+0c08:0224+     ___int23_exit
+0c08:0228+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:1060      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:1094      __I4D
+0000:10e3      __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:1167      ultoa_
+0000:1225*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(write.c)
+0000:13ab      write_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:15d7+     __open_flags_
+0000:1898+     _fsopen_
+0000:18ff      fopen_
+0000:1a22*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:1aac      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:1adb      __doclose_
+0000:1c25      __shutdown_stream_
+0000:1c3f      fclose_
+0c08:048a+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c)
+0000:1caa      unlink_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:1eda      open_
+0000:1f11      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(close.c)
+0000:1f3e      close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filelen.c)
+0000:1f43      filelength_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+0c08:022c      ___iob
+0c08:048e      ___ClosedStreams
+0c08:0492      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1fbb      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(haloc.c)
+0000:2123      halloc_
+0000:2208      hfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fheapwal.c)
+0000:220f      _heapwalk_
+0000:220f      _fheapwalk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c)
+0000:2224+     __NHeapWalk_
+0000:231d      _nheapwalk_
+Module: 16.lib(/dos/z/16/src/lib/nyan/kitten.c)
+0000:b8ac      KITTENGETS
+0000:b90c*     kittenopen_
+0000:bb5a+     catread_
+0000:bc0e*     kittenclose_
+0000:bc2a+     mystrtoul_
+0000:bcde+     processEscChars_
+0000:be64+     get_line_
+0000:bed6+     db_fetch_
+0000:bf6c+     db_insert_
+0c08:0394+     __kitten_catalog
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c)
+0000:232d      stackavail_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:233b      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:23a1      __InitRtns
+0000:23a1*     __FInitRtns
+0000:23fc      __FiniRtns
+0000:23fc*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+0c08:0396      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:2460      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:2461      __Init_Argv_
+0000:24c4+     _getargv_
+0000:27f4      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:281e      __EnterWVIDEO_
+0c08:0398+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:2842*     _heapenable_
+0c08:039a      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0c08:039c      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:2853      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:28db      __LastFree_
+0000:2955      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
+0000:2a66+     __ibm_bios_get_ticks_
+0000:2add      clock_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:2b04      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
+0000:2b1b      ftell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:2d01      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+0c08:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:2ef9      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0c08:0022      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:2f07      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:2f41*     __dosretax
+0000:2f46*     __dosret0
+0000:2f4d      __set_errno_dos_
+0000:2fb5*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:2fc0*     __get_errno_ptr_
+0c08:04ac      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:2fc7      __GetIOMode_
+0000:2ffc      __SetIOMode_nogrow_
+0c08:03ba      ___NFiles
+0c08:03bc      ___init_mode
+0c08:03e4      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:3031*     __set_commode_
+0c08:03e8      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0c08:03ea      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:303d      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:309c      __freefp_
+0000:313d      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:317e      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:332e      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:3364      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:35ae      __doserror_
+0000:35bc      __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:35c8      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:35ee      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:360a*     __get_doserrno_ptr_
+0c08:04ae      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0c08:03ec      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:3611      _dos_creat_
+0000:3635*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:3656+     __grow_iomode_
+0000:373d+     __shrink_iomode_
+0000:377e      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:3825      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:3a59*     fcloseall_
+0000:3a60      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:3a6a      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:3c3f      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:3dcd      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:4f30*     __I4M
+0000:4f30      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapwalk.c)
+0000:500a      __HeapWalk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c)
+0000:5230      sprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getenv.c)
+0000:525f      getenv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:534a      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(read.c)
+0000:537b      read_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strdup.c)
+0000:54b4*     __clib_strdup_
+0000:54b4      strdup_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0c08:04b2      ____Argv
+0c08:04b6      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0c08:03fa      __Start_XI
+0c08:0424      __End_XI
+0c08:0424      __Start_YI
+0c08:043c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+0c08:04b8      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:5506*     sbrk_
+0000:5516      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
+0000:557e      fflush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:5593      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:55a4      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:55d5      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:5635      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:563a*     _frealloc_
+0000:563a      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:5716      __ChkTTYIOMode_
+0000:5784*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:5794      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:57df+     utoa_
+0000:5880      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:58ca      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0c08:03ee      ___EFG_printf
+0c08:03f2*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0c08:03f6      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:5912*     _ismbblead_
+0c08:04ba      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:592e      ulltoa_
+0000:5a6b*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
+0000:5af5      vsprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
+0c08:05bc      ___env_mask
+0c08:05c0      _environ
+0c08:05c4*     __wenviron
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
+0000:5b37      _mbterm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
+0000:5b8a      _mbsnextc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbcupper.c)
+0000:5be5      _mbctoupper_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsinc.c)
+0000:5c08      _mbsinc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:5c5a+     __flushall_
+0000:5cee      flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:5cf4*     _dos_close_
+0000:5d02      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:5d11*     _msize_
+0000:5d2c      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:5d3d      __HeapManager_expand_
+0000:6246      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:6299      _fexpand_
+0000:6299*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:630c      __mbinit_
+0c08:03f8      ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
+0000:6405      __setenvp_
+0000:6591      __freeenvp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
+0000:65ef      _mbdtoupper_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
+0000:65fd      toupper_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:660b      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:6630      _bexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clearenv.c)
+0000:6689      clearenv_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  0001a110 (106768.)
+Entry point address: 0000:0644
+Link time: 00:00.00
diff --git a/fmemtest.exe b/fmemtest.exe
new file mode 100755 (executable)
index 0000000..81f8615
Binary files /dev/null and b/fmemtest.exe differ
diff --git a/fmemtest.map b/fmemtest.map
new file mode 100755 (executable)
index 0000000..3ec4fe0
--- /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/10/01 15:42:34
+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.exe b/fontgfx.exe
new file mode 100755 (executable)
index 0000000..97c0b06
Binary files /dev/null and b/fontgfx.exe differ
diff --git a/fontgfx.map b/fontgfx.map
new file mode 100755 (executable)
index 0000000..66b7732
--- /dev/null
@@ -0,0 +1,425 @@
+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/10/01 15:42:34
+Executable Image: fontgfx.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0829: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       00002180
+FAR_DATA               FAR_DATA       AUTO           0829:0000       00000000
+_NULL                  BEGDATA        DGROUP         0829:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         082b:0000       00000002
+CONST                  DATA           DGROUP         082b:0002       00000076
+CONST2                 DATA           DGROUP         0832:0008       00000000
+_DATA                  DATA           DGROUP         0833:0000       00000698
+XIB                    DATA           DGROUP         089c:0008       00000000
+XI                     DATA           DGROUP         089c:0008       0000001e
+XIE                    DATA           DGROUP         089e:0006       00000000
+YIB                    DATA           DGROUP         089e:0006       00000000
+YI                     DATA           DGROUP         089e:0006       00000012
+YIE                    DATA           DGROUP         089f:0008       00000000
+STRINGS                DATA           DGROUP         089f:0008       00000000
+DATA                   DATA           DGROUP         089f:0008       00000000
+_BSS                   BSS            DGROUP         089f:0008       00000a4d
+STACK                  STACK          DGROUP         0945:0000       0000dac0
+
+
+                        +----------------+
+                        |   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_
+0829: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*     modexNextPageFlexibleSize_
+0000:65de*     modexShowPage_
+0000:66da*     modexPanPage_
+0000:672a*     modexSelectPlane_
+0000:674e+     modexClearRegion_
+0000:6866*     oldDrawBmp_
+0000:69cc*     CDrawBmp_
+0000:6b30*     modexDrawBmp_
+0000:6b96+     modexDrawBmpRegion_
+0000:6d00*     modexDrawPlanarBuf_
+0000:6d1e*     modexDrawSprite_
+0000:6d84+     modexDrawSpriteRegion_
+0000:6efc*     modexCopyPageRegion_
+0000:7066*     modexFadeOn_
+0000:7096*     modexFadeOff_
+0000:70c4*     modexFlashOn_
+0000:70f2*     modexFlashOff_
+0000:71c2+     modexPalSave_
+0000:7218+     modexNewPal_
+0000:7268*     modexLoadPalFile_
+0000:734a*     modexSavePalFile_
+0000:73c2*     modexPalBlack_
+0000:73ec*     modexPalWhite_
+0000:7416+     modexPalUpdate_
+0000:7986+     modexPalUpdate1_
+0000:7a00*     modexPalUpdate0_
+0000:7a4c+     chkcolor_
+0000:7d64+     modexputPixel_
+0000:7df2*     modexgetPixel_
+0000:7e78*     modexhlin_
+0000:7ee4      modexprint_
+0000:807e      modexprintbig_
+0000:81fa*     cls_
+0000:8268+     modexWaitBorder_
+0829:0504+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c)
+0000:0192      getch_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+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)
+0829:0000*     __nullarea
+0829:052c*     __ovlflag
+0829:052d*     __intno
+0829: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)
+0829:1088      __argv
+0829:108c      ___argv
+0829:1090      __argc
+0829:1092      ___argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:0496*     __exit_with_msg_
+0000:049b      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+0829:0532      __curbrk
+0829:053a      __STACKLOW
+0829:053c      __STACKTOP
+0829:053e      __cbyte
+0829:0540      __child
+0829:0542      __no87
+0829:054f      ___FPE_handler
+0829:0534      __psp
+0829:0543      __get_ovl_stack
+0829:0547      __restore_ovl_stack
+0829:054b      __close_ovl_file
+0829:0553      __LpCmdLine
+0829:0557      __LpPgmName
+0829:0536      __osmajor
+0829:0537      __osminor
+0829:0538      __osmode
+0829:0539      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:04ba      __I4M
+0000:04ba      __U4M
+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_
+0829:055c+     ___fheap
+0829:055e      ___fheapRover
+0829:0560      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:0815+     _null_exit_rtn_
+0000:0815+     __null_int23_exit_
+0000:0816      exit_
+0000:0837+     _exit_
+0829:0562+     ___int23_exit
+0829:0566+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:0853+     __open_flags_
+0000:0b14+     _fsopen_
+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_
+0829: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)
+0829:056e      ___iob
+0829:1098      ___ClosedStreams
+0829:109c      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:16f2      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
+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)
+0829:06d6      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:19c6      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:19c7      __Init_Argv_
+0000:1a2a+     _getargv_
+0000:1d5a      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:1d84      __EnterWVIDEO_
+0829:06d8+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:1da8      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+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_
+0829:06da      ___nheapbeg
+0829:06dc      ___MiniHeapRover
+0829:06de      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:2399*     _heapgrow_
+0000:2399*     _fheapgrow_
+0000:239a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:2412*     __set_commode_
+0829:06e0      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:241e*     __get_errno_ptr_
+0829:10a4      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0829:06e2      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:2425      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+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_
+0829:10a6+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:3309      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+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)
+0829:10a8      ____Argv
+0829:10ac      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0829:06e4      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0829:0738      __Start_XI
+0829:0756      __End_XI
+0829:0756      __Start_YI
+0829:0768      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+0829:10ae      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:48e6      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:4918      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:4c91*     _heapenable_
+0829:06e6      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:4ca2      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+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_
+0829:06e8      ___NFiles
+0829:06ea      ___init_mode
+0829:0712      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:4f45      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:4f61*     __get_doserrno_ptr_
+0829:10b0      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0829: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)
+0829:072c      ___EFG_printf
+0829:0730*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0829:0734      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:53c0*     _ismbblead_
+0829: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)
+0829:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:58dd      __mbinit_
+0829: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:  00016f10 (93968.)
+Entry point address: 0000:020a
+Link time: 00:00.00
diff --git a/fonttest.exe b/fonttest.exe
new file mode 100755 (executable)
index 0000000..e21bb3d
Binary files /dev/null and b/fonttest.exe differ
diff --git a/maptest.exe b/maptest.exe
new file mode 100755 (executable)
index 0000000..8bc5fe9
Binary files /dev/null and b/maptest.exe differ
diff --git a/maptest.map b/maptest.map
new file mode 100755 (executable)
index 0000000..64ec37d
--- /dev/null
@@ -0,0 +1,446 @@
+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/10/01 15:42:34
+Executable Image: maptest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          09f7: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       00002180
+16text_TEXT            CODE           AUTO           0000:9e60       0000010d
+FAR_DATA               FAR_DATA       AUTO           09f6:000d       00000000
+_NULL                  BEGDATA        DGROUP         09f7:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         09f9:0000       00000002
+CONST                  DATA           DGROUP         09f9:0002       00000076
+CONST2                 DATA           DGROUP         0a00:0008       00000102
+_DATA                  DATA           DGROUP         0a11:0000       0000025a
+XIB                    DATA           DGROUP         0a36:000a       00000000
+XI                     DATA           DGROUP         0a36:000a       0000001e
+XIE                    DATA           DGROUP         0a38:0008       00000000
+YIB                    DATA           DGROUP         0a38:0008       00000000
+YI                     DATA           DGROUP         0a38:0008       00000012
+YIE                    DATA           DGROUP         0a39:000a       00000000
+STRINGS                DATA           DGROUP         0a39:000a       00000000
+DATA                   DATA           DGROUP         0a39:000a       00000000
+_BSS                   BSS            DGROUP         0a39:000a       00000ad5
+STACK                  STACK          DGROUP         0ae7:0000       0000dac0
+
+
+                        +----------------+
+                        |   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)
+09f7:01b8      ___iob
+09f7:043a      ___ClosedStreams
+09f7:043e      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:1392      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+09f7:0000*     __nullarea
+09f7:0320*     __ovlflag
+09f7:0321*     __intno
+09f7:0322*     __ovlvec
+0000:13c2      _cstart_
+0000:1495*     _Not_Enough_Memory_
+0000:15c7      __exit_
+0000:15e6      __do_exit_with_msg__
+0000:1643      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:164e      _big_code_
+0000:164e*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+09f7:0442      __argv
+09f7:0446      ___argv
+09f7:044a      __argc
+09f7: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_
+09f7:0326+     ___fheap
+09f7:0328      ___fheapRover
+09f7: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_
+09f7: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)
+09f7:0334      __curbrk
+09f7:033c      __STACKLOW
+09f7:033e      __STACKTOP
+09f7:0340      __cbyte
+09f7:0342      __child
+09f7:0344      __no87
+09f7:0351      ___FPE_handler
+09f7:0336      __psp
+09f7:0345      __get_ovl_stack
+09f7:0349      __restore_ovl_stack
+09f7:034d      __close_ovl_file
+09f7:0355      __LpCmdLine
+09f7:0359      __LpPgmName
+09f7:0338      __osmajor
+09f7:0339      __osminor
+09f7:033a      __osmode
+09f7:033b      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000: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)
+09f7: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_
+09f7:0360      ___nheapbeg
+09f7:0362      ___MiniHeapRover
+09f7: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_
+09f7: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_
+09f7:0366+     ___int23_exit
+09f7: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*     modexNextPageFlexibleSize_
+0000:81ae*     modexShowPage_
+0000:82aa*     modexPanPage_
+0000:82fa*     modexSelectPlane_
+0000:831e+     modexClearRegion_
+0000:8436*     oldDrawBmp_
+0000:859c*     CDrawBmp_
+0000:8700*     modexDrawBmp_
+0000:8766+     modexDrawBmpRegion_
+0000:88d0*     modexDrawPlanarBuf_
+0000:88ee*     modexDrawSprite_
+0000:8954+     modexDrawSpriteRegion_
+0000:8acc*     modexCopyPageRegion_
+0000:8c36*     modexFadeOn_
+0000:8c66*     modexFadeOff_
+0000:8c94*     modexFlashOn_
+0000:8cc2*     modexFlashOff_
+0000:8d92+     modexPalSave_
+0000:8de8      modexNewPal_
+0000:8e38*     modexLoadPalFile_
+0000:8f1a*     modexSavePalFile_
+0000:8f92*     modexPalBlack_
+0000:8fbc*     modexPalWhite_
+0000:8fe6+     modexPalUpdate_
+0000:9556+     modexPalUpdate1_
+0000:95d0*     modexPalUpdate0_
+0000:961c+     chkcolor_
+0000:9934+     modexputPixel_
+0000:99c2*     modexgetPixel_
+0000:9a48*     modexhlin_
+0000:9ab4*     modexprint_
+0000:9c4e*     modexprintbig_
+0000:9dca*     cls_
+0000:9e38+     modexWaitBorder_
+09f7:0374+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:3aea      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+09f7:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:3b1b*     __set_commode_
+09f7:039c      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+09f7: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_
+09f7: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)
+09f7:0dd8      ____Argv
+09f7:0ddc      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+09f7:03a2      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+09f7:03fa      __Start_XI
+09f7:0418      __End_XI
+09f7:0418      __Start_YI
+09f7:042a      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+09f7:0dde      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:5e28*     _heapenable_
+09f7: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_
+09f7: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:9ed6*     textInit_
+09f7: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_
+09f7:03aa      ___NFiles
+09f7:03ac      ___init_mode
+09f7: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_
+09f7:0dfa      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+09f7: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)
+09f7:03ee      ___EFG_printf
+09f7:03f2*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+09f7:03f6      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:6d96*     _ismbblead_
+09f7: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)
+09f7:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:729a      __mbinit_
+09f7: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:  00018930 (100656.)
+Entry point address: 0000:13c2
+Link time: 00:00.00
diff --git a/palettec.exe b/palettec.exe
new file mode 100755 (executable)
index 0000000..661bf7f
Binary files /dev/null and b/palettec.exe differ
diff --git a/palettec.map b/palettec.map
new file mode 100755 (executable)
index 0000000..75b0119
--- /dev/null
@@ -0,0 +1,408 @@
+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/10/01 15:42:34
+Executable Image: palettec.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          07d2: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       00002180
+16text_TEXT            CODE           AUTO           0000:7c10       0000010d
+FAR_DATA               FAR_DATA       AUTO           07d1:000d       00000000
+_NULL                  BEGDATA        DGROUP         07d2:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         07d4:0000       00000002
+CONST                  DATA           DGROUP         07d4:0002       00000076
+CONST2                 DATA           DGROUP         07db:0008       00000000
+_DATA                  DATA           DGROUP         07dc:0000       00000248
+XIB                    DATA           DGROUP         0800:0008       00000000
+XI                     DATA           DGROUP         0800:0008       00000018
+XIE                    DATA           DGROUP         0802:0000       00000000
+YIB                    DATA           DGROUP         0802:0000       00000000
+YI                     DATA           DGROUP         0802:0000       0000000c
+YIE                    DATA           DGROUP         0802:000c       00000000
+STRINGS                DATA           DGROUP         0802:000c       00000000
+DATA                   DATA           DGROUP         0802:000c       00000000
+_BSS                   BSS            DGROUP         0802:000c       00000a33
+STACK                  STACK          DGROUP         08a6:0000       0000dac0
+
+
+                        +----------------+
+                        |   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*     modexNextPageFlexibleSize_
+0000:5f5e*     modexShowPage_
+0000:605a*     modexPanPage_
+0000:60aa*     modexSelectPlane_
+0000:60ce+     modexClearRegion_
+0000:61e6*     oldDrawBmp_
+0000:634c*     CDrawBmp_
+0000:64b0*     modexDrawBmp_
+0000:6516+     modexDrawBmpRegion_
+0000:6680*     modexDrawPlanarBuf_
+0000:669e*     modexDrawSprite_
+0000:6704+     modexDrawSpriteRegion_
+0000:687c*     modexCopyPageRegion_
+0000:69e6*     modexFadeOn_
+0000:6a16*     modexFadeOff_
+0000:6a44*     modexFlashOn_
+0000:6a72*     modexFlashOff_
+0000:6b42      modexPalSave_
+0000:6b98      modexNewPal_
+0000:6be8*     modexLoadPalFile_
+0000:6cca      modexSavePalFile_
+0000:6d42*     modexPalBlack_
+0000:6d6c*     modexPalWhite_
+0000:6d96+     modexPalUpdate_
+0000:7306+     modexPalUpdate1_
+0000:7380*     modexPalUpdate0_
+0000:73cc+     chkcolor_
+0000:76e4+     modexputPixel_
+0000:7772*     modexgetPixel_
+0000:77f8*     modexhlin_
+0000:7864*     modexprint_
+0000:79fe*     modexprintbig_
+0000:7b7a*     cls_
+0000:7be8+     modexWaitBorder_
+07d2:00b4+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+07d2:0000*     __nullarea
+07d2:00dc*     __ovlflag
+07d2:00dd*     __intno
+07d2: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)
+07d2:00e2      __curbrk
+07d2:00ea      __STACKLOW
+07d2:00ec      __STACKTOP
+07d2:00ee      __cbyte
+07d2:00f0      __child
+07d2:00f2      __no87
+07d2:00ff      ___FPE_handler
+07d2:00e4      __psp
+07d2:00f3      __get_ovl_stack
+07d2:00f7      __restore_ovl_stack
+07d2:00fb      __close_ovl_file
+07d2:0103      __LpCmdLine
+07d2:0107      __LpPgmName
+07d2:00e6      __osmajor
+07d2:00e7      __osminor
+07d2:00e8      __osmode
+07d2:00e9      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:0342+     int86x_
+0000:04c5      int86_
+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_
+07d2:010c+     ___fheap
+07d2:010e      ___fheapRover
+07d2:0110      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:0685      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:06b4+     _null_exit_rtn_
+0000:06b4+     __null_int23_exit_
+0000:06b5      exit_
+0000:06d6+     _exit_
+07d2:0112+     ___int23_exit
+07d2:0116+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:06f2+     __open_flags_
+0000:09b3+     _fsopen_
+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_
+07d2: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:7c86*     textInit_
+07d2:0c10      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:1590      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:15f6      __InitRtns
+0000:15f6*     __FInitRtns
+0000:1651      __FiniRtns
+0000:1651*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+07d2:011e      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:16b6      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:16b7      __EnterWVIDEO_
+07d2:0120+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:16db      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+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_
+07d2:0122      ___nheapbeg
+07d2:0124      ___MiniHeapRover
+07d2:0126      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:1cc9*     _heapgrow_
+0000:1cc9*     _fheapgrow_
+0000:1cca      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+07d2:0128      ___iob
+07d2:0c28      ___ClosedStreams
+07d2:0c2c      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1d5c      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:1eaf*     __set_commode_
+07d2:0290      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:1ebb*     __get_errno_ptr_
+07d2:0c30      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+07d2:0292      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:1ec2      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+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_
+07d2:0c32+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:2da5      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:2e05      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+07d2:0c34      ____Argv
+07d2:0c38      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+07d2:0294      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+07d2:02e8      __Start_XI
+07d2:0300      __End_XI
+07d2:0300      __Start_YI
+07d2:030c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:2fda      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:3353*     _heapenable_
+07d2:0296      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:3364      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+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_
+07d2:0298      ___NFiles
+07d2:029a      ___init_mode
+07d2:02c2      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:49ae      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:49ca*     __get_doserrno_ptr_
+07d2:0c3a      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+07d2: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)
+07d2:02dc      ___EFG_printf
+07d2:02e0*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+07d2:02e4      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:4ed2*     _ismbblead_
+07d2: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)
+07d2:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:5377      __mbinit_
+07d2: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:  00016520 (91424.)
+Entry point address: 0000:0092
+Link time: 00:00.00
diff --git a/pcxtest.exe b/pcxtest.exe
new file mode 100755 (executable)
index 0000000..e1a00fd
Binary files /dev/null and b/pcxtest.exe differ
diff --git a/pcxtest.map b/pcxtest.map
new file mode 100755 (executable)
index 0000000..3fdc103
--- /dev/null
@@ -0,0 +1,506 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/10/01 15:42:34
+Executable Image: pcxtest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0b26:0000            0000ecc0
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+pcxtest_TEXT           CODE           AUTO           0000:0000       00000203
+_TEXT                  CODE           AUTO           0000:0210       00008567
+modex16_TEXT           CODE           AUTO           0000:8780       00002180
+bitmap_TEXT            CODE           AUTO           0000:a900       000005c9
+planar_TEXT            CODE           AUTO           0000:aed0       00000275
+16text_TEXT            CODE           AUTO           0000:b150       0000010d
+FAR_DATA               FAR_DATA       AUTO           0b25:000d       00000000
+_NULL                  BEGDATA        DGROUP         0b26:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0b28:0000       00000002
+CONST                  DATA           DGROUP         0b28:0002       00000076
+CONST2                 DATA           DGROUP         0b2f:0008       00000132
+_DATA                  DATA           DGROUP         0b43:0000       00000336
+XIB                    DATA           DGROUP         0b76:0006       00000000
+XI                     DATA           DGROUP         0b76:0006       0000002a
+XIE                    DATA           DGROUP         0b79:0000       00000000
+YIB                    DATA           DGROUP         0b79:0000       00000000
+YI                     DATA           DGROUP         0b79:0000       0000000c
+YIE                    DATA           DGROUP         0b79:000c       00000000
+STRINGS                DATA           DGROUP         0b79:000c       00000000
+DATA                   DATA           DGROUP         0b79:000c       00000000
+_emu_init_start        EMU            DGROUP         0b79:000c       00000000
+_emu_init_end          EMU            DGROUP         0b79:000c       00000000
+_BSS                   BSS            DGROUP         0b79:000c       00000cb8
+STACK                  STACK          DGROUP         0c46:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: pcxtest.o(/dos/z/16/src/pcxtest.c)
+0000:0060      main_
+0b26:01d4+     _clockw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0215      __STK
+0000:0235*     __STKOVERFLOW_
+Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
+0000:8938*     VGAmodeX_
+0000:89e0      modexEnter_
+0000:8a7c      modexLeave_
+0000:8a94      modexDefaultPage_
+0000:8aee*     modexNextPage_
+0000:8baa*     modexNextPageFlexibleSize_
+0000:8c4e*     modexShowPage_
+0000:8d4a*     modexPanPage_
+0000:8d9a*     modexSelectPlane_
+0000:8dbe      modexClearRegion_
+0000:8ed6      oldDrawBmp_
+0000:903c*     CDrawBmp_
+0000:91a0      modexDrawBmp_
+0000:9206+     modexDrawBmpRegion_
+0000:9370*     modexDrawPlanarBuf_
+0000:938e      modexDrawSprite_
+0000:93f4+     modexDrawSpriteRegion_
+0000:956c      modexCopyPageRegion_
+0000:96d6*     modexFadeOn_
+0000:9706*     modexFadeOff_
+0000:9734*     modexFlashOn_
+0000:9762*     modexFlashOff_
+0000:9832+     modexPalSave_
+0000:9888      modexNewPal_
+0000:98d8*     modexLoadPalFile_
+0000:99ba*     modexSavePalFile_
+0000:9a32*     modexPalBlack_
+0000:9a5c*     modexPalWhite_
+0000:9a86+     modexPalUpdate_
+0000:9ff6      modexPalUpdate1_
+0000:a070*     modexPalUpdate0_
+0000:a0bc+     chkcolor_
+0000:a3d4+     modexputPixel_
+0000:a462*     modexgetPixel_
+0000:a4e8*     modexhlin_
+0000:a554*     modexprint_
+0000:a6ee*     modexprintbig_
+0000:a86a*     cls_
+0000:a8d8+     modexWaitBorder_
+0b26:01e4      _VGA
+Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
+0000:ac02      bitmapLoadPcx_
+0000:ad5e*     bitmapLoadPcxTiles_
+Module: gfx.lib(/dos/z/16/src/lib/planar.c)
+0000:aed0      planar_buf_from_bitmap_
+0000:aff0+     planar_buf_alloc_
+0000:b0ea*     planar_buf_free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:0252      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:0269      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0b26:0000*     __nullarea
+0b26:0224*     __ovlflag
+0b26:0225*     __intno
+0b26:0226*     __ovlvec
+0000:0298      _cstart_
+0000:036b*     _Not_Enough_Memory_
+0000:049d      __exit_
+0000:04bc      __do_exit_with_msg__
+0000:0519      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c)
+0b26:022a      _fltused_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:0524      _big_code_
+0000:0524*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
+0b26:022c      __8087
+0b26:022d      __real87
+0b26:022e      __dos87emucall
+0b26:0230      __dos87real
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:0524*     __exit_with_msg_
+0000:0529      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+0b26:0232      __curbrk
+0b26:023a      __STACKLOW
+0b26:023c      __STACKTOP
+0b26:023e      __cbyte
+0b26:0240      __child
+0b26:0242      __no87
+0b26:024f      ___FPE_handler
+0b26:0234      __psp
+0b26:0243      __get_ovl_stack
+0b26:0247      __restore_ovl_stack
+0b26:024b      __close_ovl_file
+0b26:0253      __LpCmdLine
+0b26:0257      __LpPgmName
+0b26:0236      __osmajor
+0b26:0237      __osminor
+0b26:0238      __osmode
+0b26:0239      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:0548+     int86x_
+0000:06cb      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:06ff      __PIA
+0000:06f8*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:0716      _fmalloc_
+0000:0716      malloc_
+0b26:025c+     ___fheap
+0b26:025e      ___fheapRover
+0b26:0260      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:088b+     _null_exit_rtn_
+0000:088b+     __null_int23_exit_
+0000:088c      exit_
+0000:08ad+     _exit_
+0b26:0262+     ___int23_exit
+0b26:0266      ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:08c9+     __open_flags_
+0000:0b8a+     _fsopen_
+0000:0bf1      fopen_
+0000:0d14*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:0d9e      __fill_buffer_
+0000:0fed      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:1134      __doclose_
+0000:127e      __shutdown_stream_
+0000:1298      fclose_
+0b26:0ebc+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:1303      _ffree_
+0000:1303      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:1370      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:16e9      rand_
+0000:172b*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:174e      __I4M
+0000:174e      __U4M
+Module: gfx.lib(/dos/z/16/src/lib/16text.c)
+0000:b1c6*     textInit_
+0b26:0ec0      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:1766      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:1bfb      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+0b26:026e      ___iob
+0b26:0ed8      ___ClosedStreams
+0b26:0edc      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:1df3      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1e3c      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:1f8f      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:1ff5      __InitRtns
+0000:1ff5*     __FInitRtns
+0000:2050      __FiniRtns
+0000:2050*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+0b26:03d6      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:20b4      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c)
+0000:20b5      __setEFGfmt_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
+0000:20ed*     _fpreset_
+0000:2118      __init_8087_
+0000:214b+     __default_sigfpe_handler_
+0000:21a0      __chk8087_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:2210      __EnterWVIDEO_
+0b26:03f6+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:2234      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:2248      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:22b0      __MemAllocator
+0000:237a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:24d7      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:264d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:273c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:273f      _nmalloc_
+0b26:03f8      ___nheapbeg
+0b26:03fa      ___MiniHeapRover
+0b26:03fc      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:2819*     _heapgrow_
+0000:2819*     _fheapgrow_
+0000:281a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:2892*     __set_commode_
+0b26:03fe      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:289e*     __get_errno_ptr_
+0b26:0ee0      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0b26:0400      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:28a5      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:2ad4*     open_
+0000:2b0b      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:2b38      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:2b97      __freefp_
+0000:2c38      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:2c79      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:2e2a      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:2e5d      __flushall_
+0000:2ef1*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:2ef7      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:2f11      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:309f      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:30bf      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:30f9      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:312f      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:3378      _nfree_
+0b26:0ee2+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:3473      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:34d3      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:36a8      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:36d9      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:370a      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:371b      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:394f*     fcloseall_
+0000:3956      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:3960      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0b26:0ee4      ____Argv
+0b26:0ee8      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0b26:0402      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0b26:0506      __Start_XI
+0b26:0530      __End_XI
+0b26:0530      __Start_YI
+0b26:053c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0b26:0404      ___EFG_printf
+0b26:0408      ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c)
+0000:4ad5      _EFG_Format_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c)
+0000:4ca7      __cnvs2d_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
+0b26:040c      __8087cw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
+0b26:040e      ___Save8087
+0b26:0412      ___Rest8087
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
+0000:4cc7      __GrabFP87_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
+0000:4cfa*     __init_8087_emu
+0000:4d00      __x87id
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:4d5e      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:50d7*     _heapenable_
+0b26:0416      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:50e8      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:5170      __LastFree_
+0000:51ea      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:52fb      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:5321      __GetIOMode_
+0000:5356      __SetIOMode_nogrow_
+0b26:0418      ___NFiles
+0b26:041a      ___init_mode
+0b26:0442      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:538b      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:53a7*     __get_doserrno_ptr_
+0b26:0eea      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0b26:0446      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:53ae      _dos_creat_
+0000:53d2*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:53f3+     __grow_iomode_
+0000:54da+     __shrink_iomode_
+0000:551b      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:55c2*     __dosretax
+0000:55c7*     __dosret0
+0000:55ce      __set_errno_dos_
+0000:5636*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:5641      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:5646      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:5691+     utoa_
+0000:5732      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:577c      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0b26:045c      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:57b1*     _ismbblead_
+0b26:0eee      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:57cd      ulltoa_
+0000:590a*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:597b      ultoa_
+0000:5a39*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rtcntrl.c)
+0000:5a87*     _SetLD64bit_
+0000:5a92*     _SetLD80bit_
+0000:5a9d      _LDisDouble_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldcvt.c)
+0000:5c02      _LDScale10x_
+0000:64da      __LDcvt_
+Module: /dos/fdos/watcom2/lib286/noemu87.lib(emustub.asm)
+0000:0000*     FJSRQQ
+0000:0000*     FISRQQ
+0000:0000*     FIERQQ
+0000:0000      FIDRQQ
+0000:0000      FIWRQQ
+0000:0000*     FJCRQQ
+0000:0000*     FJARQQ
+0000:0000*     FICRQQ
+0000:0000*     FIARQQ
+0000:6cb6*     __init_87_emulator
+Module: /dos/fdos/watcom2/lib286/math87h.lib(strtod.c)
+0000:74ca+     __Strtold_
+0000:7709      strtod_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm)
+0000:78b0      __Init_FPE_handler_
+0000:78e9      __Fini_FPE_handler_
+0000:7920*     __FPEHandler
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:7bb2*     sbrk_
+0000:7bc2      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:7c2a      __doserror_
+0000:7c38*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:7c44*     _frealloc_
+0000:7c44      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:7d20      __ChkTTYIOMode_
+0000:7d8e*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7d9e*     _dos_close_
+0000:7dac      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0b26:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:7df9      __mbinit_
+0b26:0502+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
+0000:7ed4      __LDClass_
+0000:7f5a*     _FLClass_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:7f6e      __I4D
+0000:7fbd*     __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+0b26:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
+0000:8042      __ZBuf2LD
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
+0000:810a*     __set_EDOM_
+0000:8116      __set_ERANGE_
+0000:8122*     __set_EINVAL_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c)
+0b26:019a*     ___f_infinity
+0b26:019e*     ___f_posqnan
+0b26:01a2      ___d_infinity
+0b26:01aa      ___d_posqnan
+0b26:01b2*     ___ld_infinity
+0b26:01ba*     ___ld_posqnan
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
+0b26:01c2      __HugeValue
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
+0b26:0504      ___FPE_int
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:813c*     _msize_
+0000:8157      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:8168      __HeapManager_expand_
+0000:8671      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:86c4      _fexpand_
+0000:86c4*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:86f9      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:871e      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+gfx.lib
+/dos/fdos/watcom2/lib286/noemu87.lib
+/dos/fdos/watcom2/lib286/math87h.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00019f20 (106272.)
+Entry point address: 0000:0298
+Link time: 00:00.00
diff --git a/pcxtest2.exe b/pcxtest2.exe
new file mode 100755 (executable)
index 0000000..27b71bc
Binary files /dev/null and b/pcxtest2.exe differ
diff --git a/pcxtest2.map b/pcxtest2.map
new file mode 100755 (executable)
index 0000000..b872b71
--- /dev/null
@@ -0,0 +1,506 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit)
+Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved.
+Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
+Created on:       15/10/01 15:42:34
+Executable Image: pcxtest2.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0b27:0000            0000ecc0
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+pcxtest2_TEXT          CODE           AUTO           0000:0000       0000021d
+_TEXT                  CODE           AUTO           0000:0220       00008567
+modex16_TEXT           CODE           AUTO           0000:8790       00002180
+bitmap_TEXT            CODE           AUTO           0000:a910       000005c9
+planar_TEXT            CODE           AUTO           0000:aee0       00000275
+16text_TEXT            CODE           AUTO           0000:b160       0000010d
+FAR_DATA               FAR_DATA       AUTO           0b26:000d       00000000
+_NULL                  BEGDATA        DGROUP         0b27:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0b29:0000       00000002
+CONST                  DATA           DGROUP         0b29:0002       00000076
+CONST2                 DATA           DGROUP         0b30:0008       00000132
+_DATA                  DATA           DGROUP         0b44:0000       00000336
+XIB                    DATA           DGROUP         0b77:0006       00000000
+XI                     DATA           DGROUP         0b77:0006       0000002a
+XIE                    DATA           DGROUP         0b7a:0000       00000000
+YIB                    DATA           DGROUP         0b7a:0000       00000000
+YI                     DATA           DGROUP         0b7a:0000       0000000c
+YIE                    DATA           DGROUP         0b7a:000c       00000000
+STRINGS                DATA           DGROUP         0b7a:000c       00000000
+DATA                   DATA           DGROUP         0b7a:000c       00000000
+_emu_init_start        EMU            DGROUP         0b7a:000c       00000000
+_emu_init_end          EMU            DGROUP         0b7a:000c       00000000
+_BSS                   BSS            DGROUP         0b7a:000c       00000cb8
+STACK                  STACK          DGROUP         0c47:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: pcxtest2.o(/dos/z/16/src/pcxtest2.c)
+0000:0060      main_
+0b27:01d4+     _clockw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0225      __STK
+0000:0245*     __STKOVERFLOW_
+Module: gfx.lib(/dos/z/16/src/lib/modex16.c)
+0000:8948*     VGAmodeX_
+0000:89f0      modexEnter_
+0000:8a8c      modexLeave_
+0000:8aa4      modexDefaultPage_
+0000:8afe*     modexNextPage_
+0000:8bba*     modexNextPageFlexibleSize_
+0000:8c5e      modexShowPage_
+0000:8d5a*     modexPanPage_
+0000:8daa*     modexSelectPlane_
+0000:8dce      modexClearRegion_
+0000:8ee6      oldDrawBmp_
+0000:904c*     CDrawBmp_
+0000:91b0      modexDrawBmp_
+0000:9216+     modexDrawBmpRegion_
+0000:9380*     modexDrawPlanarBuf_
+0000:939e      modexDrawSprite_
+0000:9404+     modexDrawSpriteRegion_
+0000:957c      modexCopyPageRegion_
+0000:96e6*     modexFadeOn_
+0000:9716*     modexFadeOff_
+0000:9744*     modexFlashOn_
+0000:9772*     modexFlashOff_
+0000:9842+     modexPalSave_
+0000:9898      modexNewPal_
+0000:98e8*     modexLoadPalFile_
+0000:99ca*     modexSavePalFile_
+0000:9a42*     modexPalBlack_
+0000:9a6c*     modexPalWhite_
+0000:9a96+     modexPalUpdate_
+0000:a006      modexPalUpdate1_
+0000:a080*     modexPalUpdate0_
+0000:a0cc+     chkcolor_
+0000:a3e4+     modexputPixel_
+0000:a472*     modexgetPixel_
+0000:a4f8*     modexhlin_
+0000:a564*     modexprint_
+0000:a6fe*     modexprintbig_
+0000:a87a*     cls_
+0000:a8e8+     modexWaitBorder_
+0b27:01e4      _VGA
+Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
+0000:ac12      bitmapLoadPcx_
+0000:ad6e*     bitmapLoadPcxTiles_
+Module: gfx.lib(/dos/z/16/src/lib/planar.c)
+0000:aee0      planar_buf_from_bitmap_
+0000:b000+     planar_buf_alloc_
+0000:b0fa*     planar_buf_free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:0262      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:0279      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0b27:0000*     __nullarea
+0b27:0224*     __ovlflag
+0b27:0225*     __intno
+0b27:0226*     __ovlvec
+0000:02a8      _cstart_
+0000:037b*     _Not_Enough_Memory_
+0000:04ad      __exit_
+0000:04cc      __do_exit_with_msg__
+0000:0529      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c)
+0b27:022a      _fltused_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:0534      _big_code_
+0000:0534*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm)
+0b27:022c      __8087
+0b27:022d      __real87
+0b27:022e      __dos87emucall
+0b27:0230      __dos87real
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:0534*     __exit_with_msg_
+0000:0539      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+0b27:0232      __curbrk
+0b27:023a      __STACKLOW
+0b27:023c      __STACKTOP
+0b27:023e      __cbyte
+0b27:0240      __child
+0b27:0242      __no87
+0b27:024f      ___FPE_handler
+0b27:0234      __psp
+0b27:0243      __get_ovl_stack
+0b27:0247      __restore_ovl_stack
+0b27:024b      __close_ovl_file
+0b27:0253      __LpCmdLine
+0b27:0257      __LpPgmName
+0b27:0236      __osmajor
+0b27:0237      __osminor
+0b27:0238      __osmode
+0b27:0239      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:0558+     int86x_
+0000:06db      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:070f      __PIA
+0000:0708*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:0726      _fmalloc_
+0000:0726      malloc_
+0b27:025c+     ___fheap
+0b27:025e      ___fheapRover
+0b27:0260      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:089b+     _null_exit_rtn_
+0000:089b+     __null_int23_exit_
+0000:089c      exit_
+0000:08bd+     _exit_
+0b27:0262+     ___int23_exit
+0b27:0266      ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:08d9+     __open_flags_
+0000:0b9a+     _fsopen_
+0000:0c01      fopen_
+0000:0d24*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:0dae      __fill_buffer_
+0000:0ffd      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:1144      __doclose_
+0000:128e      __shutdown_stream_
+0000:12a8      fclose_
+0b27:0ebc+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:1313      _ffree_
+0000:1313      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:1380      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:16f9      rand_
+0000:173b*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:175e      __I4M
+0000:175e      __U4M
+Module: gfx.lib(/dos/z/16/src/lib/16text.c)
+0000:b1d6*     textInit_
+0b27:0ec0      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:1776      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:1c0b      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+0b27:026e      ___iob
+0b27:0ed8      ___ClosedStreams
+0b27:0edc      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:1e03      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1e4c      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:1f9f      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:2005      __InitRtns
+0000:2005*     __FInitRtns
+0000:2060      __FiniRtns
+0000:2060*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+0b27:03d6      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:20c4      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c)
+0000:20c5      __setEFGfmt_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c)
+0000:20fd*     _fpreset_
+0000:2128      __init_8087_
+0000:215b+     __default_sigfpe_handler_
+0000:21b0      __chk8087_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:2220      __EnterWVIDEO_
+0b27:03f6+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:2244      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:2258      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:22c0      __MemAllocator
+0000:238a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:24e7      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:265d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:274c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:274f      _nmalloc_
+0b27:03f8      ___nheapbeg
+0b27:03fa      ___MiniHeapRover
+0b27:03fc      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:2829*     _heapgrow_
+0000:2829*     _fheapgrow_
+0000:282a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:28a2*     __set_commode_
+0b27:03fe      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:28ae*     __get_errno_ptr_
+0b27:0ee0      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0b27:0400      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:28b5      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:2ae4*     open_
+0000:2b1b      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:2b48      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:2ba7      __freefp_
+0000:2c48      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:2c89      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:2e3a      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:2e6d      __flushall_
+0000:2f01*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:2f07      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:2f21      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:30af      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:30cf      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:3109      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:313f      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:3388      _nfree_
+0b27:0ee2+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:3483      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:34e3      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:36b8      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:36e9      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:371a      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:372b      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:395f*     fcloseall_
+0000:3966      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:3970      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0b27:0ee4      ____Argv
+0b27:0ee8      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0b27:0402      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0b27:0506      __Start_XI
+0b27:0530      __End_XI
+0b27:0530      __Start_YI
+0b27:053c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0b27:0404      ___EFG_printf
+0b27:0408      ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c)
+0000:4ae5      _EFG_Format_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c)
+0000:4cb7      __cnvs2d_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
+0b27:040c      __8087cw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
+0b27:040e      ___Save8087
+0b27:0412      ___Rest8087
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
+0000:4cd7      __GrabFP87_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
+0000:4d0a*     __init_8087_emu
+0000:4d10      __x87id
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:4d6e      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:50e7*     _heapenable_
+0b27:0416      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:50f8      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:5180      __LastFree_
+0000:51fa      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:530b      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:5331      __GetIOMode_
+0000:5366      __SetIOMode_nogrow_
+0b27:0418      ___NFiles
+0b27:041a      ___init_mode
+0b27:0442      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:539b      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:53b7*     __get_doserrno_ptr_
+0b27:0eea      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0b27:0446      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:53be      _dos_creat_
+0000:53e2*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:5403+     __grow_iomode_
+0000:54ea+     __shrink_iomode_
+0000:552b      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:55d2*     __dosretax
+0000:55d7*     __dosret0
+0000:55de      __set_errno_dos_
+0000:5646*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:5651      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:5656      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:56a1+     utoa_
+0000:5742      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:578c      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0b27:045c      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:57c1*     _ismbblead_
+0b27:0eee      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:57dd      ulltoa_
+0000:591a*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:598b      ultoa_
+0000:5a49*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rtcntrl.c)
+0000:5a97*     _SetLD64bit_
+0000:5aa2*     _SetLD80bit_
+0000:5aad      _LDisDouble_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldcvt.c)
+0000:5c12      _LDScale10x_
+0000:64ea      __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:6cc6*     __init_87_emulator
+Module: /dos/fdos/watcom2/lib286/math87h.lib(strtod.c)
+0000:74da+     __Strtold_
+0000:7719      strtod_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm)
+0000:78c0      __Init_FPE_handler_
+0000:78f9      __Fini_FPE_handler_
+0000:7930*     __FPEHandler
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:7bc2*     sbrk_
+0000:7bd2      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:7c3a      __doserror_
+0000:7c48*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:7c54*     _frealloc_
+0000:7c54      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:7d30      __ChkTTYIOMode_
+0000:7d9e*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7dae*     _dos_close_
+0000:7dbc      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0b27:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:7e09      __mbinit_
+0b27:0502+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
+0000:7ee4      __LDClass_
+0000:7f6a*     _FLClass_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:7f7e      __I4D
+0000:7fcd*     __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+0b27:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
+0000:8052      __ZBuf2LD
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
+0000:811a*     __set_EDOM_
+0000:8126      __set_ERANGE_
+0000:8132*     __set_EINVAL_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c)
+0b27:019a*     ___f_infinity
+0b27:019e*     ___f_posqnan
+0b27:01a2      ___d_infinity
+0b27:01aa      ___d_posqnan
+0b27:01b2*     ___ld_infinity
+0b27:01ba*     ___ld_posqnan
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
+0b27:01c2      __HugeValue
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
+0b27:0504      ___FPE_int
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:814c*     _msize_
+0000:8167      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:8178      __HeapManager_expand_
+0000:8681      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:86d4      _fexpand_
+0000:86d4*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:8709      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:872e      _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:  00019f30 (106288.)
+Entry point address: 0000:02a8
+Link time: 00:00.00
diff --git a/scroll.exe b/scroll.exe
new file mode 100755 (executable)
index 0000000..d62234a
Binary files /dev/null and b/scroll.exe differ
diff --git a/scroll.map b/scroll.map
new file mode 100755 (executable)
index 0000000..2e3d8b7
--- /dev/null
@@ -0,0 +1,549 @@
+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/10/01 15:42:34
+Executable Image: scroll.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          1133:0000            0000f490
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+scroll_TEXT            CODE           AUTO           0000:0000       00000c31
+mapread_TEXT           CODE           AUTO           0000:0c40       00000872
+jsmn_TEXT              CODE           AUTO           0000:14c0       00000919
+_TEXT                  CODE           AUTO           0000:1de0       00006868
+scroll16_TEXT          CODE           AUTO           0000:8650       000032fb
+bitmap_TEXT            CODE           AUTO           0000:b950       000005c9
+planar_TEXT            CODE           AUTO           0000:bf20       00000275
+16_in_TEXT             CODE           AUTO           0000:c1a0       00001d43
+16text_TEXT            CODE           AUTO           0000:def0       0000010d
+modex16_TEXT           CODE           AUTO           0e00:0000       00002180
+bakapee_TEXT           CODE           AUTO           0e00:2180       00000b86
+wcpu_TEXT              CODE           AUTO           0e00:2d10       00000058
+16_head_TEXT           CODE           AUTO           0e00:2d70       00000405
+16_in13_DATA           FAR_DATA       AUTO           1118:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           1132:0004       00000000
+_NULL                  BEGDATA        DGROUP         1133:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         1135:0000       00000002
+CONST                  DATA           DGROUP         1135:0002       00000076
+CONST2                 DATA           DGROUP         113c:0008       00000102
+_DATA                  DATA           DGROUP         114d:0000       00000a0c
+XIB                    DATA           DGROUP         11ed:000c       00000000
+XI                     DATA           DGROUP         11ed:000c       00000024
+XIE                    DATA           DGROUP         11f0:0000       00000000
+YIB                    DATA           DGROUP         11f0:0000       00000000
+YI                     DATA           DGROUP         11f0:0000       00000012
+YIE                    DATA           DGROUP         11f1:0002       00000000
+STRINGS                DATA           DGROUP         11f1:0002       00000000
+DATA                   DATA           DGROUP         11f1:0002       00000000
+_BSS                   BSS            DGROUP         11f2:0000       00000dd6
+STACK                  STACK          DGROUP         12d0:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: scroll.o(/dos/z/16/src/scroll.c)
+1133:0bf0+     _player
+1133:0cf0+     _screen
+1133:0d00+     _screen3
+1133:0d10+     _screen2
+1133:0d20+     _mv
+1133:0d50+     _gvar
+1133:0d68+     _spri
+1133:0d6c+     _mask
+1133:0d70+     _p
+0000:01ee      main_
+1133:0d80+     _bg
+Module: mapread.o(/dos/z/16/src/lib/mapread.c)
+0000:0cdc+     jsoneq_
+0000:0d80+     dump_
+0000:127c      loadmap_
+Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
+0000:1892      jsmn_parse_
+0000:1d8e      jsmn_init_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:1de5      __STK
+0000:1e05*     __STKOVERFLOW_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:1e22      _fmalloc_
+0000:1e22      malloc_
+1133:01b8+     ___fheap
+1133:01ba      ___fheapRover
+1133:01bc      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:1f9f      __PIA
+0000:1f98*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+1133:01be      ___iob
+1133:0d94      ___ClosedStreams
+1133:0d98      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:1fb6      fprintf_
+Module: 16.lib(/dos/z/16/src/lib/scroll16.c)
+0000:865a      walk_
+0000:a0d0+     mapScrollRight_
+0000:a3ae+     mapScrollLeft_
+0000:a662+     mapScrollUp_
+0000:a950+     mapScrollDown_
+0000:ac70      chkmap_
+0000:ae00      mapGoTo_
+0000:b068+     mapDrawTile_
+0000:b18c+     mapDrawRow_
+0000:b2e0+     mapDrawCol_
+0000:b44a+     mapDrawWRow_
+0000:b578*     mapDrawWCol_
+0000:b6cc+     animatePlayer_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:1fe5      printf_
+Module: 16.lib(/dos/z/16/src/lib/bitmap.c)
+0000:bc52      bitmapLoadPcx_
+0000:bdae*     bitmapLoadPcxTiles_
+Module: 16.lib(/dos/z/16/src/lib/planar.c)
+0000:bf20      planar_buf_from_bitmap_
+0000:c040+     planar_buf_alloc_
+0000:c13a*     planar_buf_free_
+Module: 16.lib(/dos/z/16/src/lib/16_in.c)
+0000:c2b8+     INL_KeyService_
+0000:c502+     Mouse_
+0000:c55a+     IN_GetJoyAbs_
+0000:c920+     IN_GetJoyButtonsDB_
+0000:cbb6+     IN_SetupJoy_
+0000:cd78      IN_Startup_
+0000:ce7e      IN_Default_
+0000:cfe2      IN_Shutdown_
+0000:d062*     IN_SetKeyHook_
+0000:d084+     IN_ClearKeysDown_
+0000:d164*     IN_ReadCursor_
+0000:d280      IN_ReadControl_
+0000:da00*     IN_SetControlType_
+0000:da4e*     IN_GetScanName_
+0000:dad6*     IN_WaitForKey_
+0000:db0c*     IN_WaitForASCII_
+0000:db42+     IN_AckBack_
+0000:dc2a*     IN_Ack_
+0000:dccc+     IN_IsUserInput_
+0000:dd72*     IN_UserInput_
+0000:ddca      IN_KeyDown_
+0000:de12+     IN_ClearKey_
+0000:de8a*     IN_qb_
+1133:0e2e+     _inpu
+Module: 16.lib(/dos/z/16/src/lib/16text.c)
+0000:df66      textInit_
+1133:0f84      _romFonts
+Module: 16.lib(/dos/z/16/src/lib/modex16.c)
+0e00:01b8      VGAmodeX_
+0e00:0260+     modexEnter_
+0e00:02fc*     modexLeave_
+0e00:0314      modexDefaultPage_
+0e00:036e      modexNextPage_
+0e00:042a      modexNextPageFlexibleSize_
+0e00:04ce      modexShowPage_
+0e00:05ca*     modexPanPage_
+0e00:061a*     modexSelectPlane_
+0e00:063e      modexClearRegion_
+0e00:0756*     oldDrawBmp_
+0e00:08bc*     CDrawBmp_
+0e00:0a20*     modexDrawBmp_
+0e00:0a86+     modexDrawBmpRegion_
+0e00:0bf0*     modexDrawPlanarBuf_
+0e00:0c0e*     modexDrawSprite_
+0e00:0c74+     modexDrawSpriteRegion_
+0e00:0dec      modexCopyPageRegion_
+0e00:0f56*     modexFadeOn_
+0e00:0f86*     modexFadeOff_
+0e00:0fb4*     modexFlashOn_
+0e00:0fe2*     modexFlashOff_
+0e00:10b2+     modexPalSave_
+0e00:1108      modexNewPal_
+0e00:1158*     modexLoadPalFile_
+0e00:123a*     modexSavePalFile_
+0e00:12b2*     modexPalBlack_
+0e00:12dc*     modexPalWhite_
+0e00:1306+     modexPalUpdate_
+0e00:1876+     modexPalUpdate1_
+0e00:18f0*     modexPalUpdate0_
+0e00:193c+     chkcolor_
+0e00:1c54      modexputPixel_
+0e00:1ce2*     modexgetPixel_
+0e00:1d68*     modexhlin_
+0e00:1dd4      modexprint_
+0e00:1f6e*     modexprintbig_
+0e00:20ea      cls_
+0e00:2158      modexWaitBorder_
+1133:0ac4      _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c)
+0000:2014      sprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sound.c)
+0000:2043      sound_
+0000:207e      nosound_
+Module: 16.lib(/dos/z/16/src/lib/bakapee.c)
+0e00:2188      pdump_
+0e00:21ea+     colortest_
+0e00:223e+     colorz_
+0e00:22a4+     ssd_
+0e00:23c2+     dingpp_
+0e00:2434+     dingo_
+0e00:24ca+     dingas_
+0e00:2578+     dingu_
+0e00:25da+     dingq_
+0e00:267a*     ding_
+Module: 16.lib(/dos/z/16/src/lib/wcpu/wcpu.c)
+0e00:2d10      detectcpu_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+1133:0000*     __nullarea
+1133:0af4*     __ovlflag
+1133:0af5*     __intno
+1133:0af6*     __ovlvec
+0000:208a      _cstart_
+0000:215d*     _Not_Enough_Memory_
+0000:228f      __exit_
+0000:22ae      __do_exit_with_msg__
+0000:230b      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:2316      _big_code_
+0000:2316*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c)
+0000:2316      strncmp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c)
+0000:2353      strstr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
+0000:2455      atoi_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:24f0+     __open_flags_
+0000:27b1+     _fsopen_
+0000:2818      fopen_
+0000:293b*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:29c5      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:2d3c      __get_errno_ptr_
+1133:189c      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:2d43*     _frealloc_
+0000:2d43      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:2e20      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncpy.c)
+0000:2e53      strncpy_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:2e8f*     __exit_with_msg_
+0000:2e94      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+1133:0afa      __curbrk
+1133:0b02      __STACKLOW
+1133:0b04      __STACKTOP
+1133:0b06      __cbyte
+1133:0b08      __child
+1133:0b0a      __no87
+1133:0b17      ___FPE_handler
+1133:0afc      __psp
+1133:0b0b      __get_ovl_stack
+1133:0b0f      __restore_ovl_stack
+1133:0b13      __close_ovl_file
+1133:0b1b      __LpCmdLine
+1133:0b1f      __LpPgmName
+1133:0afe      __osmajor
+1133:0aff      __osminor
+1133:0b00      __osmode
+1133:0b01      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:2ec0      __MemAllocator
+0000:2f8a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:30e7      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:325d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:334c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:334f      _nmalloc_
+1133:0b24      ___nheapbeg
+1133:0b26      ___MiniHeapRover
+1133:0b28      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:3429*     _heapgrow_
+0000:3429*     _fheapgrow_
+0000:342a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:34a2      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:36d6*     fcloseall_
+0000:36dd      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:3701      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:3854      __doclose_
+0000:399e      __shutdown_stream_
+0000:39b8      fclose_
+1133:189e+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:3a23+     _null_exit_rtn_
+0000:3a23+     __null_int23_exit_
+0000:3a24      exit_
+0000:3a45+     _exit_
+1133:0b2a+     ___int23_exit
+1133:0b2e+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:3b7f      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:3d77      __fill_buffer_
+0000:3fc6      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:410d      _ffree_
+0000:410d      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:417a+     int86x_
+0000:42fd      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:432a      __I4M
+0000:432a      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_getvec.c)
+0000:4342      _dos_getvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_setvec.c)
+0000:434d      _dos_setvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:435a      __I4D
+0000:43a9      __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+1133:18a2      __argv
+1133:18a6      ___argv
+1133:18aa      __argc
+1133:18ac      ___argc
+Module: 16.lib(/dos/z/16/src/lib/16_head.c)
+0e00:2d7e*     wait_
+0e00:2dca*     filesize_
+0e00:2e30*     printmeminfoline_
+0e00:301c      US_CheckParm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:442d      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:47a6      rand_
+0000:47e8*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
+0000:4824      vsprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(delay.c)
+0000:4866      delay_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:49c5      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:4a2b      __InitRtns
+0000:4a2b*     __FInitRtns
+0000:4a86      __FiniRtns
+0000:4a86*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+1133:0b48      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:4aea      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:4aec      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+1133:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:4b1d*     __set_commode_
+1133:0b4a      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+1133:0b4c      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:4b29      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:4d58*     open_
+0000:4d8f      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:4dbc      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:4e1b      __freefp_
+0000:4ebc      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:4efd      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:50ad      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:523b      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:525b*     _msize_
+0000:5276      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:5287      __HeapManager_expand_
+0000:5790      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:57e3      _fexpand_
+0000:57e3*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:5818      __EnterWVIDEO_
+1133:0b4e+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:583c*     _heapenable_
+1133:0b50      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+1133:0b52      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:584d      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:58d5      __LastFree_
+0000:594f      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:5a60      _nfree_
+1133:18ae+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:5b5b      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:5d30      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:6e92      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:70db      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:7115      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:714b      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:717c      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:718d      __flushall_
+0000:7221      flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:7227      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:7241      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:7255      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:72bb      __Init_Argv_
+0000:731e+     _getargv_
+0000:764e      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
+0000:7678+     __ibm_bios_get_ticks_
+0000:76ef      clock_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:7716      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
+0000:772d      ftell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:77f5      ultoa_
+0000:78b3*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:7901      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+1133:18b8      ____Argv
+1133:18bc      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+1133:0bac      __Start_XI
+1133:0bd0      __End_XI
+1133:0bd0      __Start_YI
+1133:0be2      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:7962      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:7988      __GetIOMode_
+0000:79bd      __SetIOMode_nogrow_
+1133:0b5c      ___NFiles
+1133:0b5e      ___init_mode
+1133:0b86      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:79f2      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:7a0e*     __get_doserrno_ptr_
+1133:18be      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+1133:0b8a      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:7a15      _dos_creat_
+0000:7a39*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:7a5a+     __grow_iomode_
+0000:7b41+     __shrink_iomode_
+0000:7b82      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:7c29*     __dosretax
+0000:7c2e*     __dosret0
+0000:7c35      __set_errno_dos_
+0000:7c9d*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:7ca8      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:7ccd      _bexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:7d26*     sbrk_
+0000:7d36      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:7d9e      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:7de9+     utoa_
+0000:7e8a      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:7ed4      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+1133:0ba0      ___EFG_printf
+1133:0ba4*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+1133:0ba8      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:7f1c*     _ismbblead_
+1133:18c2      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:7f38      ulltoa_
+0000:8075*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:80e6      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:80ec      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+1133:19c4      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
+0000:8465      fflush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+1133:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:847a      __doserror_
+0000:8488*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:8494      __ChkTTYIOMode_
+0000:8502*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:8550      __mbinit_
+1133:0baa+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:862b*     _dos_close_
+0000:8639      _dos_commit_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  000207c0 (133056.)
+Entry point address: 0000:208a
+Link time: 00:00.00
index 71dbeccc0ee8a93f166cc1de98687a48634cd153..55ce2c98de919bfe129cbe0befeb37ee187df0a7 100755 (executable)
@@ -521,7 +521,7 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y)
                {
                        case 0:
 #ifndef SPRITE
-                               modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, (t->debug_data[i])+1);
+                               modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, ((t->debug_data[i])+1)*2);
                                //cannot print number value du to it being slow as bakapee
 #else
                                modexDrawBmpRegion(page, x, y, rx, ry, t->tileWidth, t->tileHeight, (t->data));
diff --git a/test.exe b/test.exe
new file mode 100755 (executable)
index 0000000..e7cf025
Binary files /dev/null and b/test.exe differ
diff --git a/test.map b/test.map
new file mode 100755 (executable)
index 0000000..22000a3
--- /dev/null
+++ b/test.map
@@ -0,0 +1,409 @@
+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/10/01 15:42:34
+Executable Image: test.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          07e6: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       00002180
+16text_TEXT            CODE           AUTO           0000:7d50       0000010d
+FAR_DATA               FAR_DATA       AUTO           07e5:000d       00000000
+_NULL                  BEGDATA        DGROUP         07e6:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         07e8:0000       00000002
+CONST                  DATA           DGROUP         07e8:0002       00000076
+CONST2                 DATA           DGROUP         07ef:0008       00000000
+_DATA                  DATA           DGROUP         07f0:0000       00000248
+XIB                    DATA           DGROUP         0814:0008       00000000
+XI                     DATA           DGROUP         0814:0008       00000018
+XIE                    DATA           DGROUP         0816:0000       00000000
+YIB                    DATA           DGROUP         0816:0000       00000000
+YI                     DATA           DGROUP         0816:0000       0000000c
+YIE                    DATA           DGROUP         0816:000c       00000000
+STRINGS                DATA           DGROUP         0816:000c       00000000
+DATA                   DATA           DGROUP         0816:000c       00000000
+_BSS                   BSS            DGROUP         0816:000c       00000a33
+STACK                  STACK          DGROUP         08ba:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: test.o(/dos/z/16/src/test.c)
+0000:0012      main_
+07e6: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*     modexNextPageFlexibleSize_
+0000:609e      modexShowPage_
+0000:619a*     modexPanPage_
+0000:61ea*     modexSelectPlane_
+0000:620e      modexClearRegion_
+0000:6326*     oldDrawBmp_
+0000:648c*     CDrawBmp_
+0000:65f0*     modexDrawBmp_
+0000:6656+     modexDrawBmpRegion_
+0000:67c0*     modexDrawPlanarBuf_
+0000:67de*     modexDrawSprite_
+0000:6844+     modexDrawSpriteRegion_
+0000:69bc*     modexCopyPageRegion_
+0000:6b26      modexFadeOn_
+0000:6b56      modexFadeOff_
+0000:6b84*     modexFlashOn_
+0000:6bb2*     modexFlashOff_
+0000:6c82      modexPalSave_
+0000:6cd8      modexNewPal_
+0000:6d28      modexLoadPalFile_
+0000:6e0a*     modexSavePalFile_
+0000:6e82      modexPalBlack_
+0000:6eac*     modexPalWhite_
+0000:6ed6+     modexPalUpdate_
+0000:7446+     modexPalUpdate1_
+0000:74c0*     modexPalUpdate0_
+0000:750c+     chkcolor_
+0000:7824+     modexputPixel_
+0000:78b2*     modexgetPixel_
+0000:7938*     modexhlin_
+0000:79a4*     modexprint_
+0000:7b3e*     modexprintbig_
+0000:7cba*     cls_
+0000:7d28+     modexWaitBorder_
+07e6:00b4+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+07e6:0000*     __nullarea
+07e6:00dc*     __ovlflag
+07e6:00dd*     __intno
+07e6: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)
+07e6:00e2      __curbrk
+07e6:00ea      __STACKLOW
+07e6:00ec      __STACKTOP
+07e6:00ee      __cbyte
+07e6:00f0      __child
+07e6:00f2      __no87
+07e6:00ff      ___FPE_handler
+07e6:00e4      __psp
+07e6:00f3      __get_ovl_stack
+07e6:00f7      __restore_ovl_stack
+07e6:00fb      __close_ovl_file
+07e6:0103      __LpCmdLine
+07e6:0107      __LpPgmName
+07e6:00e6      __osmajor
+07e6:00e7      __osminor
+07e6:00e8      __osmode
+07e6:00e9      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:0482+     int86x_
+0000:0605      int86_
+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_
+07e6:010c+     ___fheap
+07e6:010e      ___fheapRover
+07e6:0110      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:07c5      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:07f4+     _null_exit_rtn_
+0000:07f4+     __null_int23_exit_
+0000:07f5      exit_
+0000:0816+     _exit_
+07e6:0112+     ___int23_exit
+07e6:0116+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:0832+     __open_flags_
+0000:0af3+     _fsopen_
+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_
+07e6: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:7dc6*     textInit_
+07e6:0c10      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:16d0      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:1736      __InitRtns
+0000:1736*     __FInitRtns
+0000:1791      __FiniRtns
+0000:1791*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+07e6:011e      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:17f6      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:17f7      __EnterWVIDEO_
+07e6:0120+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:181b      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+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_
+07e6:0122      ___nheapbeg
+07e6:0124      ___MiniHeapRover
+07e6:0126      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:1e09*     _heapgrow_
+0000:1e09*     _fheapgrow_
+0000:1e0a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+07e6:0128      ___iob
+07e6:0c28      ___ClosedStreams
+07e6:0c2c      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1e9c      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:1fef*     __set_commode_
+07e6:0290      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:1ffb*     __get_errno_ptr_
+07e6:0c30      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+07e6:0292      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:2002      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+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_
+07e6:0c32+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:2ee5      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:2f45      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+07e6:0c34      ____Argv
+07e6:0c38      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+07e6:0294      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+07e6:02e8      __Start_XI
+07e6:0300      __End_XI
+07e6:0300      __Start_YI
+07e6:030c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:311a      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:3493*     _heapenable_
+07e6:0296      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:34a4      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+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_
+07e6:0298      ___NFiles
+07e6:029a      ___init_mode
+07e6:02c2      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:4aee      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:4b0a*     __get_doserrno_ptr_
+07e6:0c3a      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+07e6: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)
+07e6:02dc      ___EFG_printf
+07e6:02e0*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+07e6:02e4      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:5012*     _ismbblead_
+07e6: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)
+07e6:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:54b7      __mbinit_
+07e6: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:  00016660 (91744.)
+Entry point address: 0000:01d2
+Link time: 00:00.00
diff --git a/test2.exe b/test2.exe
new file mode 100755 (executable)
index 0000000..dabc27c
Binary files /dev/null and b/test2.exe differ
diff --git a/test2.map b/test2.map
new file mode 100755 (executable)
index 0000000..274a561
--- /dev/null
+++ b/test2.map
@@ -0,0 +1,422 @@
+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/10/01 15:42:34
+Executable Image: test2.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          08a1: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       00002180
+16text_TEXT            CODE           AUTO           0000:8900       0000010d
+FAR_DATA               FAR_DATA       AUTO           08a0:000d       00000000
+_NULL                  BEGDATA        DGROUP         08a1:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         08a3:0000       00000002
+CONST                  DATA           DGROUP         08a3:0002       00000076
+CONST2                 DATA           DGROUP         08aa:0008       00000000
+_DATA                  DATA           DGROUP         08ab:0000       00000260
+XIB                    DATA           DGROUP         08d1:0000       00000000
+XI                     DATA           DGROUP         08d1:0000       00000018
+XIE                    DATA           DGROUP         08d2:0008       00000000
+YIB                    DATA           DGROUP         08d2:0008       00000000
+YI                     DATA           DGROUP         08d2:0008       0000000c
+YIE                    DATA           DGROUP         08d3:0004       00000000
+STRINGS                DATA           DGROUP         08d3:0004       00000000
+DATA                   DATA           DGROUP         08d3:0004       00000000
+_BSS                   BSS            DGROUP         08d3:0004       00000ab3
+STACK                  STACK          DGROUP         097f:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: test2.o(/dos/z/16/src/test2.c)
+0000:0024      main_
+08a1:00a4*     _clockw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:0155      __STK
+0000:0175*     __STKOVERFLOW_
+Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
+0000: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)
+08a1:0000*     __nullarea
+08a1:00c4*     __ovlflag
+08a1:00c5*     __intno
+08a1: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)
+08a1:00ca      __curbrk
+08a1:00d2      __STACKLOW
+08a1:00d4      __STACKTOP
+08a1:00d6      __cbyte
+08a1:00d8      __child
+08a1:00da      __no87
+08a1:00e7      ___FPE_handler
+08a1:00cc      __psp
+08a1:00db      __get_ovl_stack
+08a1:00df      __restore_ovl_stack
+08a1:00e3      __close_ovl_file
+08a1:00eb      __LpCmdLine
+08a1:00ef      __LpPgmName
+08a1:00ce      __osmajor
+08a1:00cf      __osminor
+08a1:00d0      __osmode
+08a1:00d1      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:0490      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:0807      __doclose_
+0000:0951      __shutdown_stream_
+0000:096b      fclose_
+08a1:03a4+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:09d6+     _null_exit_rtn_
+0000:09d6+     __null_int23_exit_
+0000:09d7      exit_
+0000:09f8+     _exit_
+08a1:00f4+     ___int23_exit
+08a1:00f8+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:0b32      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+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*     modexNextPageFlexibleSize_
+0000:6c4e*     modexShowPage_
+0000:6d4a*     modexPanPage_
+0000:6d9a*     modexSelectPlane_
+0000:6dbe+     modexClearRegion_
+0000:6ed6*     oldDrawBmp_
+0000:703c*     CDrawBmp_
+0000:71a0*     modexDrawBmp_
+0000:7206+     modexDrawBmpRegion_
+0000:7370*     modexDrawPlanarBuf_
+0000:738e*     modexDrawSprite_
+0000:73f4+     modexDrawSpriteRegion_
+0000:756c*     modexCopyPageRegion_
+0000:76d6*     modexFadeOn_
+0000:7706*     modexFadeOff_
+0000:7734*     modexFlashOn_
+0000:7762*     modexFlashOff_
+0000:7832+     modexPalSave_
+0000:7888      modexNewPal_
+0000:78d8*     modexLoadPalFile_
+0000:79ba*     modexSavePalFile_
+0000:7a32*     modexPalBlack_
+0000:7a5c*     modexPalWhite_
+0000:7a86+     modexPalUpdate_
+0000:7ff6+     modexPalUpdate1_
+0000:8070*     modexPalUpdate0_
+0000:80bc+     chkcolor_
+0000:83d4+     modexputPixel_
+0000:8462*     modexgetPixel_
+0000:84e8*     modexhlin_
+0000:8554*     modexprint_
+0000:86ee*     modexprintbig_
+0000:886a*     cls_
+0000:88d8+     modexWaitBorder_
+08a1:0104+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:10c0+     __open_flags_
+0000:1381+     _fsopen_
+0000:13e8      fopen_
+0000:150b*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:1595      _fmalloc_
+0000:1595      malloc_
+08a1:012c+     ___fheap
+08a1:012e      ___fheapRover
+08a1:0130      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+08a1:0132      ___iob
+08a1:0ca8      ___ClosedStreams
+08a1:0cac      ___OpenStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:170a      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+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)
+08a1:029a      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:1a38      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:1a39      __EnterWVIDEO_
+08a1:029c+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:1a5d*     __get_errno_ptr_
+08a1:0cb0      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:1a64      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+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:8976*     textInit_
+08a1:0cb2      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:26b0*     __set_commode_
+08a1:02a2      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+08a1:02a4      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:26bc      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+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_
+08a1:02a6      ___nheapbeg
+08a1:02a8      ___MiniHeapRover
+08a1:02aa      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:30c9*     _heapgrow_
+0000:30c9*     _fheapgrow_
+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_
+08a1:0cca+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:3482      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:3657      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+08a1:0ccc      ____Argv
+08a1:0cd0      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+08a1:02ac      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+08a1:0300      __Start_XI
+08a1:0318      __End_XI
+08a1:0318      __Start_YI
+08a1:0324      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:47ba*     __dosretax
+0000:47bf*     __dosret0
+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_
+08a1:02c2      ___NFiles
+08a1:02c4      ___init_mode
+08a1:02ec      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:48a3      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+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_
+08a1:0cd4      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+08a1:02f0      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:4b9a      _dos_creat_
+0000:4bbe*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:4bdf*     _heapenable_
+08a1:02f2      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:4bf0      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+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)
+08a1:02f4      ___EFG_printf
+08a1:02f8*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+08a1:02fc      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:4f81*     _ismbblead_
+08a1: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)
+08a1:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:5818      __mbinit_
+08a1: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:  000172b0 (94896.)
+Entry point address: 0000:01e0
+Link time: 00:00.00
diff --git a/tesuto.exe b/tesuto.exe
new file mode 100755 (executable)
index 0000000..f3a02b6
Binary files /dev/null and b/tesuto.exe differ
diff --git a/vgmtest.exe b/vgmtest.exe
new file mode 100755 (executable)
index 0000000..60af4ed
Binary files /dev/null and b/vgmtest.exe differ
diff --git a/vgmtest.map b/vgmtest.map
new file mode 100755 (executable)
index 0000000..d486bc1
--- /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/10/01 15:42:34
+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