]> 4ch.mooo.com Git - 16.git/commitdiff
ok!
authorsparky4 <sparky4@cock.li>
Fri, 2 Oct 2015 22:31:47 +0000 (17:31 -0500)
committersparky4 <sparky4@cock.li>
Fri, 2 Oct 2015 22:31:47 +0000 (17:31 -0500)
33 files changed:
16.exe [new file with mode: 0755]
16.map [new file with mode: 0755]
DEBUG.16W [new file with mode: 0755]
HEAP.16W [new file with mode: 0755]
MMDUMP.16W [new file with mode: 0755]
PROFILE.16W [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..01c7b02
Binary files /dev/null and b/16.exe differ
diff --git a/16.map b/16.map
new file mode 100755 (executable)
index 0000000..5efdea0
--- /dev/null
+++ b/16.map
@@ -0,0 +1,504 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:32
+Executable Image: 16.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0c5f:0000            0000ef30
+
+
+
+                        +--------------+
+                        |   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       0000663a
+modex16_TEXT           CODE           AUTO           0000:7a20       00002180
+16_in_TEXT             CODE           AUTO           0000:9ba0       00001d43
+wcpu_TEXT              CODE           AUTO           0000:b8f0       00000058
+bitmap_TEXT            CODE           AUTO           0000:b950       000005c9
+16text_TEXT            CODE           AUTO           0000:bf20       0000010d
+16_head_TEXT           CODE           AUTO           0000:c030       00000405
+16_in13_DATA           FAR_DATA       AUTO           0c44:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           0c5e:0004       00000000
+_NULL                  BEGDATA        DGROUP         0c5f:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0c61:0000       00000002
+CONST                  DATA           DGROUP         0c61:0002       00000076
+CONST2                 DATA           DGROUP         0c68:0008       00000102
+_DATA                  DATA           DGROUP         0c79:0000       0000052e
+XIB                    DATA           DGROUP         0ccb:000e       00000000
+XI                     DATA           DGROUP         0ccb:000e       00000024
+XIE                    DATA           DGROUP         0cce:0002       00000000
+YIB                    DATA           DGROUP         0cce:0002       00000000
+YI                     DATA           DGROUP         0cce:0002       00000012
+YIE                    DATA           DGROUP         0ccf:0004       00000000
+STRINGS                DATA           DGROUP         0ccf:0004       00000000
+DATA                   DATA           DGROUP         0ccf:0004       00000000
+_BSS                   BSS            DGROUP         0cd0:0000       00000d5d
+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_
+0c5f:0710+     _player
+0c5f:0810+     _gvar
+0c5f:0820+     _cpus
+0c5f:0824*     _gpal
+0c5f:0828+     _dpal
+0c5f:082c+     _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:7bd8      VGAmodeX_
+0000:7c80+     modexEnter_
+0000:7d1c*     modexLeave_
+0000:7d34*     modexDefaultPage_
+0000:7d8e*     modexNextPage_
+0000:7e4a*     modexNextPageFlexibleSize_
+0000:7eee*     modexShowPage_
+0000:7fea*     modexPanPage_
+0000:803a*     modexSelectPlane_
+0000:805e+     modexClearRegion_
+0000:8176*     oldDrawBmp_
+0000:82dc*     CDrawBmp_
+0000:8440*     modexDrawBmp_
+0000:84a6+     modexDrawBmpRegion_
+0000:8610*     modexDrawPlanarBuf_
+0000:862e*     modexDrawSprite_
+0000:8694+     modexDrawSpriteRegion_
+0000:880c*     modexCopyPageRegion_
+0000:8976      modexFadeOn_
+0000:89a6      modexFadeOff_
+0000:89d4*     modexFlashOn_
+0000:8a02*     modexFlashOff_
+0000:8ad2      modexPalSave_
+0000:8b28      modexNewPal_
+0000:8b78*     modexLoadPalFile_
+0000:8c5a*     modexSavePalFile_
+0000:8cd2      modexPalBlack_
+0000:8cfc*     modexPalWhite_
+0000:8d26+     modexPalUpdate_
+0000:9296+     modexPalUpdate1_
+0000:9310*     modexPalUpdate0_
+0000:935c+     chkcolor_
+0000:9674+     modexputPixel_
+0000:9702*     modexgetPixel_
+0000:9788*     modexhlin_
+0000:97f4*     modexprint_
+0000:998e*     modexprintbig_
+0000:9b0a*     cls_
+0000:9b78+     modexWaitBorder_
+0c5f: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:9cb8+     INL_KeyService_
+0000:9f02+     Mouse_
+0000:9f5a+     IN_GetJoyAbs_
+0000:a320+     IN_GetJoyButtonsDB_
+0000:a5b6+     IN_SetupJoy_
+0000:a778      IN_Startup_
+0000:a87e      IN_Default_
+0000:a9e2      IN_Shutdown_
+0000:aa62*     IN_SetKeyHook_
+0000:aa84+     IN_ClearKeysDown_
+0000:ab64*     IN_ReadCursor_
+0000:ac80      IN_ReadControl_
+0000:b400*     IN_SetControlType_
+0000:b44e*     IN_GetScanName_
+0000:b4d6*     IN_WaitForKey_
+0000:b50c*     IN_WaitForASCII_
+0000:b542+     IN_AckBack_
+0000:b62a*     IN_Ack_
+0000:b6cc+     IN_IsUserInput_
+0000:b772*     IN_UserInput_
+0000:b7ca      IN_KeyDown_
+0000:b812+     IN_ClearKey_
+0000:b88a*     IN_qb_
+0c5f:114e+     _inpu
+Module: 16.lib(/dos/z/16/src/lib/wcpu/wcpu.c)
+0000:b8f0      detectcpu_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0c5f:0000*     __nullarea
+0c5f:049a*     __ovlflag
+0c5f:049b*     __intno
+0c5f: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)
+0c5f:12a4      __argv
+0c5f:12a8      ___argv
+0c5f:12ac      __argc
+0c5f:12ae      ___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_
+0c5f:04a0+     ___fheap
+0c5f:04a2      ___fheapRover
+0c5f:04a4      ___LargestSizeB4Rover
+Module: 16.lib(/dos/z/16/src/lib/bitmap.c)
+0000:bc52      bitmapLoadPcx_
+0000:bdae*     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:1a4c+     __open_flags_
+0000:1d0d+     _fsopen_
+0000:1d74      fopen_
+0000:1e97*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:1f21      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:2298      __get_errno_ptr_
+0c5f:1330      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+0c5f:04b4      ___iob
+0c5f:1332      ___OpenStreams
+0c5f:1336      ___ClosedStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:229f      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:22ce*     _frealloc_
+0000:22ce      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)
+0c5f:061c      __curbrk
+0c5f:0624      __STACKLOW
+0c5f:0626      __STACKTOP
+0c5f:0628      __cbyte
+0c5f:062a      __child
+0c5f:062c      __no87
+0c5f:0639      ___FPE_handler
+0c5f:061e      __psp
+0c5f:062d      __get_ovl_stack
+0c5f:0631      __restore_ovl_stack
+0c5f:0635      __close_ovl_file
+0c5f:063d      __LpCmdLine
+0c5f:0641      __LpPgmName
+0c5f:0620      __osmajor
+0c5f:0621      __osminor
+0c5f:0622      __osmode
+0c5f: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_
+0c5f:0646+     ___int23_exit
+0c5f: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_
+0c5f:133a+     ___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:bf96*     textInit_
+0c5f:133e      _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:c03e*     wait_
+0000:c08a*     filesize_
+0000:c0f0*     printmeminfoline_
+0000:c2dc      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)
+0c5f: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_
+0c5f:0666      ___nheapbeg
+0c5f:0668      ___MiniHeapRover
+0c5f: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)
+0c5f:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:4059*     __set_commode_
+0c5f:066c      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0c5f: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_
+0c5f: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_
+0c5f:135a+     ___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:6844+     __ibm_bios_get_ticks_
+0000:68bb      clock_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:68e2      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
+0000:68f9      ftell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:69c1      ultoa_
+0000:6a7f*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0c5f:1360      ____Argv
+0c5f:1364      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0c5f:067a      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0c5f:06ce      __Start_XI
+0c5f:06f2      __End_XI
+0c5f:06f2      __Start_YI
+0c5f:0704      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+0c5f:1366      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:6ace*     _heapenable_
+0c5f:067c      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:6adf      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:6b67      __LastFree_
+0000:6be1      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:6cf2      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:6d23      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:6d34      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:6d5a      __GetIOMode_
+0000:6d8f      __SetIOMode_nogrow_
+0c5f:067e      ___NFiles
+0c5f:0680      ___init_mode
+0c5f:06a8      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:6dc4      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:6de0*     __get_doserrno_ptr_
+0c5f:1368      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0c5f:06ac      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:6de7      _dos_creat_
+0000:6e0b*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:6e2c+     __grow_iomode_
+0000:6f13+     __shrink_iomode_
+0000:6f54      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:6ffb*     __dosretax
+0000:7000*     __dosret0
+0000:7007      __set_errno_dos_
+0000:706f*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:707a      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:709f      _bexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:70f8      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:7471      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:7476      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:74c1+     utoa_
+0000:7562      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:75ac      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0c5f:06c2      ___EFG_printf
+0c5f:06c6*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0c5f:06ca      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:75f4*     _ismbblead_
+0c5f:136c      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:7610      ulltoa_
+0000:774d*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
+0000:77be      fflush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0c5f:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:77d3*     sbrk_
+0000:77e3      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:784c      __doserror_
+0000:785a*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:7866      __ChkTTYIOMode_
+0000:78d4*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:78e4*     _dos_close_
+0000:78f2      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:793f      __mbinit_
+0c5f: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/DEBUG.16W b/DEBUG.16W
new file mode 100755 (executable)
index 0000000..da08b53
--- /dev/null
+++ b/DEBUG.16W
@@ -0,0 +1,17 @@
+\e[0mSeg:0      Size:7548       Owner:0x86f6\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m\r
+\e[42;32m0\r
+\e[0m\e[0mSeg:1d7c       Size:256        Owner:0xa00c\r
+\e[44;34m++++\e[0m\e[47;37m_\e[0m\r
+\e[42;32m\r
+\e[0m\e[0mSeg:1f22       Size:40 Owner:0x0\r
+\e[41;31m++\e[0m\e[47;37m_\e[0m\r
+\e[42;32m\r
+\e[0m\e[0mSeg:1f4a       Size:273        Owner:0xe064\r
+\e[44;34m++++\e[0m\e[47;37m_\e[0m\r
+\e[42;32m0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r
+\e[0m\e[0mSeg:af4a       Size:12470      Owner:0x0\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m\r
+\e[42;32m\r
+\e[0m\e[0mSeg:e000       Size:8191       Owner:0x0\r
+\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m
\ No newline at end of file
diff --git a/HEAP.16W b/HEAP.16W
new file mode 100755 (executable)
index 0000000..dabf857
--- /dev/null
+++ b/HEAP.16W
@@ -0,0 +1,45 @@
+\r
+       == default ==\r
+\r
+  USED block at 1f440016 of size 66\r
+  FREE block at 1f440058 of size 18\r
+  USED block at 1f44006a of size 136\r
+  USED block at 1f4400f2 of size 20\r
+  FREE block at 1f440106 of size 7926\r
+OK - end of heap\r
+\r
+       == near ==\r
+\r
+  USED block at f43e096 of size 12\r
+  USED block at f43e0a2 of size 568\r
+  USED block at f43e2da of size 76\r
+  USED block at f43e326 of size 20\r
+  USED block at f43e33a of size 20\r
+  USED block at f43e34e of size 20\r
+  USED block at f43e362 of size 20\r
+  USED block at f43e376 of size 20\r
+  USED block at f43e38a of size 7282\r
+OK - end of heap\r
+\r
+       == far ==\r
+\r
+  USED block at 1f440016 of size 66\r
+  USED block at 1f440058 of size 18\r
+  USED block at 1f44006a of size 136\r
+  USED block at 1f4400f2 of size 20\r
+  USED block at 1f440106 of size 7926\r
+OK - end of heap\r
+\r
+Memory Type         Total      Used       Free\r
+----------------  --------   --------   --------\r
+Default                   8166         222       7944\r
+Near              8038         756       7282\r
+Far               8166         222       7944\r
+----------------  --------   --------   --------\r
+coreleft = 7269\r
+farcoreleft = 6832\r
+GetFreeSize = 65106\r
+GetNearFreeSize = 7282\r
+GetFarFreeSize = 65106\r
+memavl = 7280\r
+stackavail = 38356\r
diff --git a/MMDUMP.16W b/MMDUMP.16W
new file mode 100755 (executable)
index 0000000..c357419
Binary files /dev/null and b/MMDUMP.16W differ
diff --git a/PROFILE.16W b/PROFILE.16W
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/bakapi.exe b/bakapi.exe
new file mode 100755 (executable)
index 0000000..f63a810
Binary files /dev/null and b/bakapi.exe differ
diff --git a/bakapi.map b/bakapi.map
new file mode 100755 (executable)
index 0000000..2135086
--- /dev/null
@@ -0,0 +1,460 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:32
+Executable Image: bakapi.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0a9b:0000            0000e950
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+bakapi_TEXT            CODE           AUTO           0000:0000       00000236
+_TEXT                  CODE           AUTO           0000:0240       0000794e
+modex16_TEXT           CODE           AUTO           0000:7b90       00002180
+16text_TEXT            CODE           AUTO           0000:9d10       0000010d
+bakapee_TEXT           CODE           AUTO           0000:9e20       00000b86
+FAR_DATA               FAR_DATA       AUTO           0a9a:0006       00000000
+_NULL                  BEGDATA        DGROUP         0a9b:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0a9d:0000       00000002
+CONST                  DATA           DGROUP         0a9d:0002       00000076
+CONST2                 DATA           DGROUP         0aa4:0008       0000010a
+_DATA                  DATA           DGROUP         0ab6:0000       0000024c
+XIB                    DATA           DGROUP         0ada:000c       00000000
+XI                     DATA           DGROUP         0ada:000c       0000001e
+XIE                    DATA           DGROUP         0adc:000a       00000000
+YIB                    DATA           DGROUP         0adc:000a       00000000
+YI                     DATA           DGROUP         0adc:000a       00000012
+YIE                    DATA           DGROUP         0add:000c       00000000
+STRINGS                DATA           DGROUP         0add:000c       00000000
+DATA                   DATA           DGROUP         0add:000c       00000000
+_BSS                   BSS            DGROUP         0add:000c       00000a56
+STACK                  STACK          DGROUP         0b84: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:7d48      VGAmodeX_
+0000:7df0+     modexEnter_
+0000:7e8c*     modexLeave_
+0000:7ea4      modexDefaultPage_
+0000:7efe*     modexNextPage_
+0000:7fba*     modexNextPageFlexibleSize_
+0000:805e      modexShowPage_
+0000:815a*     modexPanPage_
+0000:81aa*     modexSelectPlane_
+0000:81ce      modexClearRegion_
+0000:82e6*     oldDrawBmp_
+0000:844c*     CDrawBmp_
+0000:85b0*     modexDrawBmp_
+0000:8616+     modexDrawBmpRegion_
+0000:8780*     modexDrawPlanarBuf_
+0000:879e*     modexDrawSprite_
+0000:8804+     modexDrawSpriteRegion_
+0000:897c*     modexCopyPageRegion_
+0000:8ae6*     modexFadeOn_
+0000:8b16*     modexFadeOff_
+0000:8b44*     modexFlashOn_
+0000:8b72*     modexFlashOff_
+0000:8c42+     modexPalSave_
+0000:8c98+     modexNewPal_
+0000:8ce8*     modexLoadPalFile_
+0000:8dca*     modexSavePalFile_
+0000:8e42*     modexPalBlack_
+0000:8e6c*     modexPalWhite_
+0000:8e96+     modexPalUpdate_
+0000:9406+     modexPalUpdate1_
+0000:9480*     modexPalUpdate0_
+0000:94cc+     chkcolor_
+0000:97e4      modexputPixel_
+0000:9872*     modexgetPixel_
+0000:98f8*     modexhlin_
+0000:9964      modexprint_
+0000:9afe*     modexprintbig_
+0000:9c7a      cls_
+0000:9ce8+     modexWaitBorder_
+0a9b:01c4      _VGA
+Module: 16.lib(/dos/z/16/src/lib/16text.c)
+0000:9d86      textInit_
+0a9b: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:9e28*     pdump_
+0000:9e8a+     colortest_
+0000:9ede+     colorz_
+0000:9f44+     ssd_
+0000:a062+     dingpp_
+0000:a0d4+     dingo_
+0000:a16a+     dingas_
+0000:a218+     dingu_
+0000:a27a+     dingq_
+0000:a31a      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)
+0a9b:0000*     __nullarea
+0a9b:01f4*     __ovlflag
+0a9b:01f5*     __intno
+0a9b: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)
+0a9b:0d54      __argv
+0a9b:0d58      ___argv
+0a9b:0d5c      __argc
+0a9b: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)
+0a9b:01fa      __curbrk
+0a9b:0202      __STACKLOW
+0a9b:0204      __STACKTOP
+0a9b:0206      __cbyte
+0a9b:0208      __child
+0a9b:020a      __no87
+0a9b:0217      ___FPE_handler
+0a9b:01fc      __psp
+0a9b:020b      __get_ovl_stack
+0a9b:020f      __restore_ovl_stack
+0a9b:0213      __close_ovl_file
+0a9b:021b      __LpCmdLine
+0a9b:021f      __LpPgmName
+0a9b:01fe      __osmajor
+0a9b:01ff      __osminor
+0a9b:0200      __osmode
+0a9b: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_
+0a9b:0224+     ___fheap
+0a9b:0226      ___fheapRover
+0a9b: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_
+0a9b:022a+     ___int23_exit
+0a9b: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_
+0a9b: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)
+0a9b:0232      ___iob
+0a9b:0d64      ___OpenStreams
+0a9b:0d68      ___ClosedStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:1a49      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ungetc.c)
+0000:1b9c      ungetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(scnf.c)
+0000:2dd5      __scnf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:309b      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:3101      __InitRtns
+0000:3101*     __FInitRtns
+0000:315c      __FiniRtns
+0000:315c*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+0a9b:039a      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:31c0      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:31c1      __Init_Argv_
+0000:3224+     _getargv_
+0000:3554      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:357e      __EnterWVIDEO_
+0a9b:039c+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:35a2      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:35b6      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:3620      __MemAllocator
+0000:36ea      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:3847      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:39bd      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:3aac      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:3aaf      _nmalloc_
+0a9b:039e      ___nheapbeg
+0a9b:03a0      ___MiniHeapRover
+0a9b:03a2      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:3b89*     _heapgrow_
+0000:3b89*     _fheapgrow_
+0000:3b8a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:3c02*     __set_commode_
+0a9b:03a4      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:3c0e*     __get_errno_ptr_
+0a9b:0d70      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0a9b:03a6      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:3c15      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:3e44*     open_
+0000:3e7b      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:3fc6      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:41be      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:421d      __freefp_
+0000:42be      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:42ff      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:44b0      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:44e3      __flushall_
+0000:4577*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:457d      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:4597      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:4725      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:4745      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:477f      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:47b5      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:49fe      _nfree_
+0a9b:0d72+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:4af9      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:4b59      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:4d2e      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:4f62*     fcloseall_
+0000:4f69      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:4f73      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+0a9b:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0a9b:03a8      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:60e3*     _ismbblead_
+0a9b:0d74      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbtowc.c)
+0000:60ff      mbtowc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bits.c)
+0a9b:019a      __Bits
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fdfs086.asm)
+0000:621c      __FDFS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:6264*     __I4D
+0000:62b3      __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0a9b:03aa      ___EFG_printf
+0a9b:03ae      ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i8m086.asm)
+0000:6365*     __I8M
+0000:6365      __U8M
+0000:634a*     __I8ME
+0000:634a*     __U8ME
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0a9b:0e76      ____Argv
+0a9b:0e7a      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0a9b:03b2      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0a9b:03fc      __Start_XI
+0a9b:041a      __End_XI
+0a9b:041a      __Start_YI
+0a9b:042c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+0a9b:0e7c      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:64b0      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:64e2      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:685b*     _heapenable_
+0a9b:03b4      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:686c      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:68f4      __LastFree_
+0000:696e      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:6a7f      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:6aa5      __GetIOMode_
+0000:6ada      __SetIOMode_nogrow_
+0a9b:03b6      ___NFiles
+0a9b:03b8      ___init_mode
+0a9b:03e0      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:6b0f      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:6b2b*     __get_doserrno_ptr_
+0a9b:0e7e      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0a9b:03e4      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:6b32      _dos_creat_
+0000:6b56*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:6b77+     __grow_iomode_
+0000:6c5e+     __shrink_iomode_
+0000:6c9f      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:6d46*     __dosretax
+0000:6d4b*     __dosret0
+0000:6d52      __set_errno_dos_
+0000:6dba*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:6dc5      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:6df6      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:6e07      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:6e0c      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:6e57+     utoa_
+0000:6ef8      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:6f42      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:6f77      ulltoa_
+0000:70b4*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:7125      ultoa_
+0000:71e3*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:726f      __mbinit_
+0a9b:03fa+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:734a*     sbrk_
+0000:735a      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:73c2      __doserror_
+0000:73d0*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:73dc*     _frealloc_
+0000:73dc      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:74b8      __ChkTTYIOMode_
+0000:7526*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7536*     _dos_close_
+0000:7544      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0a9b:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:7553*     _msize_
+0000:756e      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:757f      __HeapManager_expand_
+0000:7a88      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:7adb      _fexpand_
+0000:7adb*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:7b10      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:7b35      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00019300 (103168.)
+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..f3207db
Binary files /dev/null and b/exmmtest.exe differ
diff --git a/exmmtest.map b/exmmtest.map
new file mode 100755 (executable)
index 0000000..0dabcdf
--- /dev/null
@@ -0,0 +1,504 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:32
+Executable Image: exmmtest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0c09:0000            0000e080
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+exmmtest_TEXT          CODE           AUTO           0000:0000       00000373
+_TEXT                  CODE           AUTO           0000:0380       00006448
+16_mm_TEXT             CODE           AUTO           0000:67d0       00003308
+16_ca_TEXT             CODE           AUTO           0000:9ae0       000003fd
+16_hc_TEXT             CODE           AUTO           0000:9ee0       0000158b
+16_head_TEXT           CODE           AUTO           0000:b470       00000405
+kitten_TEXT            CODE           AUTO           0000:b880       0000080a
+FAR_DATA               FAR_DATA       AUTO           0c08:000a       00000000
+_NULL                  BEGDATA        DGROUP         0c09:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0c0b:0000       00000002
+CONST                  DATA           DGROUP         0c0b:0002       00000076
+CONST2                 DATA           DGROUP         0c12:0008       00000102
+_DATA                  DATA           DGROUP         0c23:0000       0000025a
+XIB                    DATA           DGROUP         0c48:000a       00000000
+XI                     DATA           DGROUP         0c48:000a       0000002a
+XIE                    DATA           DGROUP         0c4b:0004       00000000
+YIB                    DATA           DGROUP         0c4b:0004       00000000
+YI                     DATA           DGROUP         0c4b:0004       00000018
+YIE                    DATA           DGROUP         0c4c:000c       00000000
+STRINGS                DATA           DGROUP         0c4c:000c       00000000
+DATA                   DATA           DGROUP         0c4c:000c       00000000
+_BSS                   BSS            DGROUP         0c4d:0000       0000017c
+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_
+0c09: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_
+0c09:01a6      ___fheap
+0c09:01a8      ___fheapRover
+0c09: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:71b4+     MML_CheckForEMS_
+0000:7210+     MML_SetupEMS_
+0000:73c8+     MML_ShutdownEMS_
+0000:7434+     MM_MapEMS_
+0000:7530*     MM_MapXEMS_
+0000:7650+     MML_CheckForXMS_
+0000:76ac*     MML_SetupXMS_
+0000:7794+     MML_ShutdownXMS_
+0000:7822+     MML_UseSpace_
+0000:7a00+     MML_ClearBlock_
+0000:7a84      MM_Startup_
+0000:7eb6      MM_Shutdown_
+0000:7f4c      MM_GetPtr_
+0000:8346      MM_FreePtr_
+0000:843e*     MM_SetPurge_
+0000:8518*     MM_SetLock_
+0000:85f0+     MM_SortMem_
+0000:87de      MM_ShowMemory_
+0000:8e7e      MM_DumpData_
+0000:8fd8+     MM_UnusedMemory_
+0000:905c+     MM_TotalFree_
+0000:90f2*     MM_Report_
+0000:9aaa*     MM_BombOnError_
+0c09:0450+     _beforesort
+0c09:0454+     _aftersort
+0c09:0458+     _XMSaddr
+Module: 16.lib(/dos/z/16/src/lib/16_ca.c)
+0000:9b0e      CA_OpenDebug_
+0000:9b5e      CA_CloseDebug_
+0000:9b8c+     CA_FarRead_
+0000:9c0c*     CA_FarWrite_
+0000:9c8c*     CA_ReadFile_
+0000:9d08      CA_LoadFile_
+0000:9db0*     CAL_OptimizeNodes_
+0000:9e60      CA_Startup_
+0000:9eb0      CA_Shutdown_
+0c09:0460*     _finishcachebox
+0c09:0464*     _drawcachebox
+0c09:0468*     _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:a08c+     LargestFreeBlock_
+0000:a11a+     _coreleft_
+0000:a196+     LargestFarFreeBlock_
+0000:a24c+     _farcoreleft_
+0000:a2fa+     LargestHugeFreeBlock_
+0000:a3ea*     _hugecoreleft_
+0000:a4ba      GetFreeSize_
+0000:a514      GetFarFreeSize_
+0000:a55e      GetNearFreeSize_
+0000:a5ac      heapdump_
+0000:b24e+     heapstat_
+0000:b38c+     heapstat0_
+0000:b3ee+     HC_OpenDebug_
+0000:b43e*     HC_CloseDebug_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+0c09:0000*     __nullarea
+0c09:01e4*     __ovlflag
+0c09:01e5*     __intno
+0c09: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)
+0c09:046c      __argv
+0c09:0470      ___argv
+0c09:0474      __argc
+0c09:0476      ___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)
+0c09:01ea      __curbrk
+0c09:01f2      __STACKLOW
+0c09:01f4      __STACKTOP
+0c09:01f6      __cbyte
+0c09:01f8      __child
+0c09:01fa      __no87
+0c09:0207      ___FPE_handler
+0c09:01ec      __psp
+0c09:01fb      __get_ovl_stack
+0c09:01ff      __restore_ovl_stack
+0c09:0203      __close_ovl_file
+0c09:020b      __LpCmdLine
+0c09:020f      __LpPgmName
+0c09:01ee      __osmajor
+0c09:01ef      __osminor
+0c09:01f0      __osmode
+0c09: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_
+0c09:0214      ___nheapbeg
+0c09:0216      ___MiniHeapRover
+0c09: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:b47e*     wait_
+0000:b4ca*     filesize_
+0000:b530      printmeminfoline_
+0000:b71c      US_CheckParm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:0f27      _nfree_
+0c09:0478+     ___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_
+0c09:0224+     ___int23_exit
+0c09: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_
+0c09:047a+     ___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)
+0c09:022c      ___iob
+0c09:047e      ___OpenStreams
+0c09:0482      ___ClosedStreams
+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:b8bc      KITTENGETS
+0000:b91c*     kittenopen_
+0000:bb6a+     catread_
+0000:bc1e*     kittenclose_
+0000:bc3a+     mystrtoul_
+0000:bcee+     processEscChars_
+0000:be74+     get_line_
+0000:bee6+     db_fetch_
+0000:bf7c+     db_insert_
+0c09: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)
+0c09: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_
+0c09:0398+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:2842*     _heapenable_
+0c09:039a      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0c09: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)
+0c09: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)
+0c09: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_
+0c09:049c      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:2fc7      __GetIOMode_
+0000:2ffc      __SetIOMode_nogrow_
+0c09:03ba      ___NFiles
+0c09:03bc      ___init_mode
+0c09:03e4      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:3031*     __set_commode_
+0c09:03e8      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0c09: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_
+0c09:049e      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0c09: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:4f3e*     __I4M
+0000:4f3e      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapwalk.c)
+0000:5018      __HeapWalk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c)
+0000:523e      sprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getenv.c)
+0000:526d      getenv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:5358      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(read.c)
+0000:5389      read_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strdup.c)
+0000:54c2*     __clib_strdup_
+0000:54c2      strdup_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+0c09:04a2      ____Argv
+0c09:04a6      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0c09:03fa      __Start_XI
+0c09:0424      __End_XI
+0c09:0424      __Start_YI
+0c09:043c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+0c09:04a8      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:5514*     sbrk_
+0000:5524      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
+0000:558c      fflush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:55a1      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:55b2      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:55e3      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:5643      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:5648*     _frealloc_
+0000:5648      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:5724      __ChkTTYIOMode_
+0000:5792*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:57a2      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:57ed+     utoa_
+0000:588e      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:58d8      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0c09:03ee      ___EFG_printf
+0c09:03f2*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0c09:03f6      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:5920*     _ismbblead_
+0c09:04aa      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:593c      ulltoa_
+0000:5a79*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
+0000:5b03      vsprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c)
+0c09:05ac      ___env_mask
+0c09:05b0      _environ
+0c09:05b4*     __wenviron
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c)
+0000:5b45      _mbterm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c)
+0000:5b98      _mbsnextc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbcupper.c)
+0000:5bf3      _mbctoupper_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsinc.c)
+0000:5c16      _mbsinc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:5c68+     __flushall_
+0000:5cfc      flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:5d02*     _dos_close_
+0000:5d10      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:5d1f*     _msize_
+0000:5d3a      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:5d4b      __HeapManager_expand_
+0000:6254      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:62a7      _fexpand_
+0000:62a7*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:631a      __mbinit_
+0c09:03f8      ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c)
+0000:6413      __setenvp_
+0000:659f      __freeenvp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c)
+0000:65fd      _mbdtoupper_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c)
+0000:660b      toupper_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:6619      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:663e      _bexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clearenv.c)
+0000:6697      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..568a24e
Binary files /dev/null and b/fmemtest.exe differ
diff --git a/fmemtest.map b/fmemtest.map
new file mode 100755 (executable)
index 0000000..805d2ab
--- /dev/null
@@ -0,0 +1,304 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:33
+Executable Image: fmemtest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          03d1:0000            0000dec0
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+fmemtest_TEXT          CODE           AUTO           0000:0000       00000272
+_TEXT                  CODE           AUTO           0000:0280       00003a8a
+FAR_DATA               FAR_DATA       AUTO           03d0:000a       00000000
+_NULL                  BEGDATA        DGROUP         03d1:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         03d3:0000       00000002
+CONST                  DATA           DGROUP         03d3:0002       00000076
+CONST2                 DATA           DGROUP         03da:0008       00000000
+_DATA                  DATA           DGROUP         03db:0000       00000208
+XIB                    DATA           DGROUP         03fb:0008       00000000
+XI                     DATA           DGROUP         03fb:0008       0000001e
+XIE                    DATA           DGROUP         03fd:0006       00000000
+YIB                    DATA           DGROUP         03fd:0006       00000000
+YI                     DATA           DGROUP         03fd:0006       0000000c
+YIE                    DATA           DGROUP         03fe:0002       00000000
+STRINGS                DATA           DGROUP         03fe:0002       00000000
+DATA                   DATA           DGROUP         03fe:0002       00000000
+_BSS                   BSS            DGROUP         03fe:0002       0000012c
+STACK                  STACK          DGROUP         0411: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)
+03d1:0000*     __nullarea
+03d1:00a6*     __ovlflag
+03d1:00a7*     __intno
+03d1: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)
+03d1:02d2      __argv
+03d1:02d6      ___argv
+03d1:02da      __argc
+03d1: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)
+03d1:00ac      __curbrk
+03d1:00b4      __STACKLOW
+03d1:00b6      __STACKTOP
+03d1:00b8      __cbyte
+03d1:00ba      __child
+03d1:00bc      __no87
+03d1:00c9      ___FPE_handler
+03d1:00ae      __psp
+03d1:00bd      __get_ovl_stack
+03d1:00c1      __restore_ovl_stack
+03d1:00c5      __close_ovl_file
+03d1:00cd      __LpCmdLine
+03d1:00d1      __LpPgmName
+03d1:00b0      __osmajor
+03d1:00b1      __osminor
+03d1:00b2      __osmode
+03d1: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_
+03d1:00d6      ___nheapbeg
+03d1:00d8      ___MiniHeapRover
+03d1:00da      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:09c0      _nfree_
+03d1:02de+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+03d1:00dc      ___iob
+03d1:02e0      ___OpenStreams
+03d1:02e4      ___ClosedStreams
+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)
+03d1: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_
+03d1:0246+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+03d1:0248      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:114e*     _heapenable_
+03d1: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:2b1f      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+03d1:02ec      ____Argv
+03d1:02f0      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:2d68+     _null_exit_rtn_
+0000:2d68+     __null_int23_exit_
+0000:2d69      exit_
+0000:2d8a+     _exit_
+03d1:024c+     ___int23_exit
+03d1:0250+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+03d1:02a8      __Start_XI
+03d1:02c6      __End_XI
+03d1:02c6      __Start_YI
+03d1:02d2      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+03d1:02f2      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:2da6      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:2dd7*     _fmalloc_
+0000:2dd7      malloc_
+03d1:0254+     ___fheap
+03d1:0256      ___fheapRover
+03d1:0258      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:2f4c      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:2f7f*     _ffree_
+0000:2f7f      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:2fec*     __get_errno_ptr_
+03d1:02f4      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:2ff3+     __doclose_
+0000:313d      __shutdown_stream_
+0000:3157*     fclose_
+03d1:02f6+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:31c2      __freefp_
+0000:3263      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:32a4      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:3303      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:334e+     utoa_
+0000:33ef      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:343a*     __I4M
+0000:343a      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:3452      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+03d1:025a      ___EFG_printf
+03d1:025e*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+03d1:0262      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:349a*     _ismbblead_
+03d1:02fa      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:34b6      ulltoa_
+0000:35f3*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:3664      ultoa_
+0000:3722*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:3770      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:37d0      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:380a      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:380f      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:3985      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:3a74      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:3a77      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:3aad      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+03d1:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:3b07      __mbinit_
+03d1:0264+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:3be2      __GetIOMode_
+0000:3c17      __SetIOMode_nogrow_
+03d1:0266+     ___NFiles
+03d1:0268+     ___init_mode
+03d1:0290+     ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:3c4c*     __dosretax
+0000:3c51*     __dosret0
+0000:3c58      __set_errno_dos_
+0000:3cc0*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:3ccb*     _dos_close_
+0000:3cd9      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:3ce8*     __get_doserrno_ptr_
+03d1:03fc      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:3cf0      __doserror_
+0000:3cfe*     __doserror1_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00011bd0 (72656.)
+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..1c02f14
Binary files /dev/null and b/fontgfx.exe differ
diff --git a/fontgfx.map b/fontgfx.map
new file mode 100755 (executable)
index 0000000..76f9085
--- /dev/null
@@ -0,0 +1,425 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:33
+Executable Image: fontgfx.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          082a:0000            0000ec80
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+fontgfx_TEXT           CODE           AUTO           0000:0000       00000147
+_TEXT                  CODE           AUTO           0000:0150       00005eb1
+16text_TEXT            CODE           AUTO           0000:6010       0000010d
+modex16_TEXT           CODE           AUTO           0000:6120       00002180
+FAR_DATA               FAR_DATA       AUTO           082a:0000       00000000
+_NULL                  BEGDATA        DGROUP         082a:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         082c:0000       00000002
+CONST                  DATA           DGROUP         082c:0002       00000076
+CONST2                 DATA           DGROUP         0833:0008       00000000
+_DATA                  DATA           DGROUP         0834:0000       00000698
+XIB                    DATA           DGROUP         089d:0008       00000000
+XI                     DATA           DGROUP         089d:0008       0000001e
+XIE                    DATA           DGROUP         089f:0006       00000000
+YIB                    DATA           DGROUP         089f:0006       00000000
+YI                     DATA           DGROUP         089f:0006       00000012
+YIE                    DATA           DGROUP         08a0:0008       00000000
+STRINGS                DATA           DGROUP         08a0:0008       00000000
+DATA                   DATA           DGROUP         08a0:0008       00000000
+_BSS                   BSS            DGROUP         08a0:0008       00000a4d
+STACK                  STACK          DGROUP         0946: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:6086      textInit_
+082a:0770      _romFonts
+Module: 16.lib(/dos/z/16/src/lib/modex16.c)
+0000:62d8*     VGAmodeX_
+0000:6380      modexEnter_
+0000:641c      modexLeave_
+0000:6434      modexDefaultPage_
+0000:648e*     modexNextPage_
+0000:654a*     modexNextPageFlexibleSize_
+0000:65ee*     modexShowPage_
+0000:66ea*     modexPanPage_
+0000:673a*     modexSelectPlane_
+0000:675e+     modexClearRegion_
+0000:6876*     oldDrawBmp_
+0000:69dc*     CDrawBmp_
+0000:6b40*     modexDrawBmp_
+0000:6ba6+     modexDrawBmpRegion_
+0000:6d10*     modexDrawPlanarBuf_
+0000:6d2e*     modexDrawSprite_
+0000:6d94+     modexDrawSpriteRegion_
+0000:6f0c*     modexCopyPageRegion_
+0000:7076*     modexFadeOn_
+0000:70a6*     modexFadeOff_
+0000:70d4*     modexFlashOn_
+0000:7102*     modexFlashOff_
+0000:71d2+     modexPalSave_
+0000:7228+     modexNewPal_
+0000:7278*     modexLoadPalFile_
+0000:735a*     modexSavePalFile_
+0000:73d2*     modexPalBlack_
+0000:73fc*     modexPalWhite_
+0000:7426+     modexPalUpdate_
+0000:7996+     modexPalUpdate1_
+0000:7a10*     modexPalUpdate0_
+0000:7a5c+     chkcolor_
+0000:7d74+     modexputPixel_
+0000:7e02*     modexgetPixel_
+0000:7e88*     modexhlin_
+0000:7ef4      modexprint_
+0000:808e      modexprintbig_
+0000:820a*     cls_
+0000:8278+     modexWaitBorder_
+082a: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)
+082a:0000*     __nullarea
+082a:052c*     __ovlflag
+082a:052d*     __intno
+082a: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)
+082a:1088      __argv
+082a:108c      ___argv
+082a:1090      __argc
+082a: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)
+082a:0532      __curbrk
+082a:053a      __STACKLOW
+082a:053c      __STACKTOP
+082a:053e      __cbyte
+082a:0540      __child
+082a:0542      __no87
+082a:054f      ___FPE_handler
+082a:0534      __psp
+082a:0543      __get_ovl_stack
+082a:0547      __restore_ovl_stack
+082a:054b      __close_ovl_file
+082a:0553      __LpCmdLine
+082a:0557      __LpPgmName
+082a:0536      __osmajor
+082a:0537      __osminor
+082a:0538      __osmode
+082a: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_
+082a:055c+     ___fheap
+082a:055e      ___fheapRover
+082a: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_
+082a:0562+     ___int23_exit
+082a: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_
+082a: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)
+082a:056e      ___iob
+082a:1098      ___OpenStreams
+082a:109c      ___ClosedStreams
+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)
+082a: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_
+082a: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_
+082a:06da      ___nheapbeg
+082a:06dc      ___MiniHeapRover
+082a: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_
+082a:06e0      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:241e*     __get_errno_ptr_
+082a:10a4      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+082a: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_
+082a: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)
+082a:10a8      ____Argv
+082a:10ac      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+082a:06e4      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+082a:0738      __Start_XI
+082a:0756      __End_XI
+082a:0756      __Start_YI
+082a:0768      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+082a:10ae      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:48f4      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:4926      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:4c9f*     _heapenable_
+082a:06e6      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:4cb0      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:4d38      __LastFree_
+0000:4db2      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:4ec3      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:4ee9      __GetIOMode_
+0000:4f1e      __SetIOMode_nogrow_
+082a:06e8      ___NFiles
+082a:06ea      ___init_mode
+082a:0712      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:4f53      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:4f6f*     __get_doserrno_ptr_
+082a:10b0      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+082a:0716      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:4f76      _dos_creat_
+0000:4f9a*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:4fbb+     __grow_iomode_
+0000:50a2+     __shrink_iomode_
+0000:50e3      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:518a*     __dosretax
+0000:518f*     __dosret0
+0000:5196      __set_errno_dos_
+0000:51fe*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:5209      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:523a      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:524b      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:5250      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:529b+     utoa_
+0000:533c      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:5386      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+082a:072c      ___EFG_printf
+082a:0730*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+082a:0734      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:53ce*     _ismbblead_
+082a:10b4      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:53ea      ulltoa_
+0000:5527*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:5598      ultoa_
+0000:5656*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:56a4*     sbrk_
+0000:56b4      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:571c      __doserror_
+0000:572a*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:5736*     _frealloc_
+0000:5736      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:5812      __ChkTTYIOMode_
+0000:5880*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:5890*     _dos_close_
+0000:589e      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+082a:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:58eb      __mbinit_
+082a:0736+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:59c6*     _msize_
+0000:59e1      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:59f2      __HeapManager_expand_
+0000:5efb      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:5f4e      _fexpand_
+0000:5f4e*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:5f83      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:5fa8      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00016f20 (93984.)
+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..20336c3
Binary files /dev/null and b/fonttest.exe differ
diff --git a/maptest.exe b/maptest.exe
new file mode 100755 (executable)
index 0000000..5c05308
Binary files /dev/null and b/maptest.exe differ
diff --git a/maptest.map b/maptest.map
new file mode 100755 (executable)
index 0000000..36b443d
--- /dev/null
@@ -0,0 +1,446 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:33
+Executable Image: maptest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          09f8: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       000063c9
+bitmap_TEXT            CODE           AUTO           0000:7720       000005c9
+modex16_TEXT           CODE           AUTO           0000:7cf0       00002180
+16text_TEXT            CODE           AUTO           0000:9e70       0000010d
+FAR_DATA               FAR_DATA       AUTO           09f7:000d       00000000
+_NULL                  BEGDATA        DGROUP         09f8:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         09fa:0000       00000002
+CONST                  DATA           DGROUP         09fa:0002       00000076
+CONST2                 DATA           DGROUP         0a01:0008       00000102
+_DATA                  DATA           DGROUP         0a12:0000       0000025a
+XIB                    DATA           DGROUP         0a37:000a       00000000
+XI                     DATA           DGROUP         0a37:000a       0000001e
+XIE                    DATA           DGROUP         0a39:0008       00000000
+YIB                    DATA           DGROUP         0a39:0008       00000000
+YI                     DATA           DGROUP         0a39:0008       00000012
+YIE                    DATA           DGROUP         0a3a:000a       00000000
+STRINGS                DATA           DGROUP         0a3a:000a       00000000
+DATA                   DATA           DGROUP         0a3a:000a       00000000
+_BSS                   BSS            DGROUP         0a3a:000a       00000ad5
+STACK                  STACK          DGROUP         0ae8: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)
+09f8:01b8      ___iob
+09f8:043a      ___OpenStreams
+09f8:043e      ___ClosedStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:1392      fprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+09f8:0000*     __nullarea
+09f8:0320*     __ovlflag
+09f8:0321*     __intno
+09f8: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)
+09f8:0442      __argv
+09f8:0446      ___argv
+09f8:044a      __argc
+09f8: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_
+09f8:0326+     ___fheap
+09f8:0328      ___fheapRover
+09f8:032a      ___LargestSizeB4Rover
+Module: 16.lib(/dos/z/16/src/lib/bitmap.c)
+0000:7a22      bitmapLoadPcx_
+0000:7b7e*     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:19bc+     __open_flags_
+0000:1c7d+     _fsopen_
+0000:1ce4      fopen_
+0000:1e07*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:1e91      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:2208      __get_errno_ptr_
+09f8:04ce      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:220f*     _frealloc_
+0000:220f      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:22ec      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncpy.c)
+0000:231f      strncpy_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:235b*     __exit_with_msg_
+0000:2360      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+09f8:0334      __curbrk
+09f8:033c      __STACKLOW
+09f8:033e      __STACKTOP
+09f8:0340      __cbyte
+09f8:0342      __child
+09f8:0344      __no87
+09f8:0351      ___FPE_handler
+09f8:0336      __psp
+09f8:0345      __get_ovl_stack
+09f8:0349      __restore_ovl_stack
+09f8:034d      __close_ovl_file
+09f8:0355      __LpCmdLine
+09f8:0359      __LpPgmName
+09f8:0338      __osmajor
+09f8:0339      __osminor
+09f8:033a      __osmode
+09f8:033b      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:237e      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:25b2*     fcloseall_
+0000:25b9      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:25dd      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:2730      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:2796      __InitRtns
+0000:2796*     __FInitRtns
+0000:27f1      __FiniRtns
+0000:27f1*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+09f8:035e      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:2856      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:2857      __Init_Argv_
+0000:28ba+     _getargv_
+0000:2bea      __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_
+09f8:0360      ___nheapbeg
+09f8:0362      ___MiniHeapRover
+09f8: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_
+09f8: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_
+09f8:0366+     ___int23_exit
+09f8: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:7ea8*     VGAmodeX_
+0000:7f50+     modexEnter_
+0000:7fec*     modexLeave_
+0000:8004*     modexDefaultPage_
+0000:805e*     modexNextPage_
+0000:811a*     modexNextPageFlexibleSize_
+0000:81be*     modexShowPage_
+0000:82ba*     modexPanPage_
+0000:830a*     modexSelectPlane_
+0000:832e+     modexClearRegion_
+0000:8446*     oldDrawBmp_
+0000:85ac*     CDrawBmp_
+0000:8710*     modexDrawBmp_
+0000:8776+     modexDrawBmpRegion_
+0000:88e0*     modexDrawPlanarBuf_
+0000:88fe*     modexDrawSprite_
+0000:8964+     modexDrawSpriteRegion_
+0000:8adc*     modexCopyPageRegion_
+0000:8c46*     modexFadeOn_
+0000:8c76*     modexFadeOff_
+0000:8ca4*     modexFlashOn_
+0000:8cd2*     modexFlashOff_
+0000:8da2+     modexPalSave_
+0000:8df8      modexNewPal_
+0000:8e48*     modexLoadPalFile_
+0000:8f2a*     modexSavePalFile_
+0000:8fa2*     modexPalBlack_
+0000:8fcc*     modexPalWhite_
+0000:8ff6+     modexPalUpdate_
+0000:9566+     modexPalUpdate1_
+0000:95e0*     modexPalUpdate0_
+0000:962c+     chkcolor_
+0000:9944+     modexputPixel_
+0000:99d2*     modexgetPixel_
+0000:9a58*     modexhlin_
+0000:9ac4*     modexprint_
+0000:9c5e*     modexprintbig_
+0000:9dda*     cls_
+0000:9e48+     modexWaitBorder_
+09f8: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)
+09f8:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:3b1b*     __set_commode_
+09f8:039c      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+09f8: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_
+09f8: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:5bec      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+09f8:0dd8      ____Argv
+09f8:0ddc      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+09f8:03a2      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+09f8:03fa      __Start_XI
+09f8:0418      __End_XI
+09f8:0418      __Start_YI
+09f8:042a      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+09f8:0dde      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:5e36*     _heapenable_
+09f8:03a4      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:5e47      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:5ecf      __LastFree_
+0000:5f49      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:605a      _nfree_
+09f8:0de0+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:6155      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:618f      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:61c5      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:61f6      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:6207      __flushall_
+0000:629b*     flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:62a1      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:62bb+     int86x_
+0000:643e      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:646b      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:67e4      rand_
+0000:6826*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:684a      __I4M
+0000:684a      __U4M
+Module: 16.lib(/dos/z/16/src/lib/16text.c)
+0000:9ee6*     textInit_
+09f8:0de2      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:6862      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:6888      __GetIOMode_
+0000:68bd      __SetIOMode_nogrow_
+09f8:03aa      ___NFiles
+09f8:03ac      ___init_mode
+09f8:03d4      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:68f2      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:690e*     __get_doserrno_ptr_
+09f8:0dfa      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+09f8:03d8      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:6915      _dos_creat_
+0000:6939*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:695a+     __grow_iomode_
+0000:6a41+     __shrink_iomode_
+0000:6a82      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:6b29*     __dosretax
+0000:6b2e*     __dosret0
+0000:6b35      __set_errno_dos_
+0000:6b9d*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:6ba8      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:6bcd      _bexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:6c26      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:6c71+     utoa_
+0000:6d12      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:6d5c      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+09f8:03ee      ___EFG_printf
+09f8:03f2*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+09f8:03f6      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:6da4*     _ismbblead_
+09f8:0dfe      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:6dc0      ulltoa_
+0000:6efd*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:6f6e      ultoa_
+0000:702c*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:707a      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:70da      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:70df*     sbrk_
+0000:70ef      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:7157      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:716b      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:71d2      __doserror_
+0000:71e0*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:71ec      __ChkTTYIOMode_
+0000:725a*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+09f8:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:72a8      __mbinit_
+09f8:03f8+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7383*     _dos_close_
+0000:7391      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:73a0      _DoINTR_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00018940 (100672.)
+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..9a19ecf
Binary files /dev/null and b/palettec.exe differ
diff --git a/palettec.map b/palettec.map
new file mode 100755 (executable)
index 0000000..bac1a90
--- /dev/null
@@ -0,0 +1,408 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:33
+Executable Image: palettec.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          07d3:0000            0000e800
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+palettec_TEXT          CODE           AUTO           0000:0000       0000004c
+_TEXT                  CODE           AUTO           0000:0050       00005a4b
+modex16_TEXT           CODE           AUTO           0000:5aa0       00002180
+16text_TEXT            CODE           AUTO           0000:7c20       0000010d
+FAR_DATA               FAR_DATA       AUTO           07d2:000d       00000000
+_NULL                  BEGDATA        DGROUP         07d3:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         07d5:0000       00000002
+CONST                  DATA           DGROUP         07d5:0002       00000076
+CONST2                 DATA           DGROUP         07dc:0008       00000000
+_DATA                  DATA           DGROUP         07dd:0000       00000248
+XIB                    DATA           DGROUP         0801:0008       00000000
+XI                     DATA           DGROUP         0801:0008       00000018
+XIE                    DATA           DGROUP         0803:0000       00000000
+YIB                    DATA           DGROUP         0803:0000       00000000
+YI                     DATA           DGROUP         0803:0000       0000000c
+YIE                    DATA           DGROUP         0803:000c       00000000
+STRINGS                DATA           DGROUP         0803:000c       00000000
+DATA                   DATA           DGROUP         0803:000c       00000000
+_BSS                   BSS            DGROUP         0803:000c       00000a33
+STACK                  STACK          DGROUP         08a7: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:5c58*     VGAmodeX_
+0000:5d00      modexEnter_
+0000:5d9c      modexLeave_
+0000:5db4*     modexDefaultPage_
+0000:5e0e*     modexNextPage_
+0000:5eca*     modexNextPageFlexibleSize_
+0000:5f6e*     modexShowPage_
+0000:606a*     modexPanPage_
+0000:60ba*     modexSelectPlane_
+0000:60de+     modexClearRegion_
+0000:61f6*     oldDrawBmp_
+0000:635c*     CDrawBmp_
+0000:64c0*     modexDrawBmp_
+0000:6526+     modexDrawBmpRegion_
+0000:6690*     modexDrawPlanarBuf_
+0000:66ae*     modexDrawSprite_
+0000:6714+     modexDrawSpriteRegion_
+0000:688c*     modexCopyPageRegion_
+0000:69f6*     modexFadeOn_
+0000:6a26*     modexFadeOff_
+0000:6a54*     modexFlashOn_
+0000:6a82*     modexFlashOff_
+0000:6b52      modexPalSave_
+0000:6ba8      modexNewPal_
+0000:6bf8*     modexLoadPalFile_
+0000:6cda      modexSavePalFile_
+0000:6d52*     modexPalBlack_
+0000:6d7c*     modexPalWhite_
+0000:6da6+     modexPalUpdate_
+0000:7316+     modexPalUpdate1_
+0000:7390*     modexPalUpdate0_
+0000:73dc+     chkcolor_
+0000:76f4+     modexputPixel_
+0000:7782*     modexgetPixel_
+0000:7808*     modexhlin_
+0000:7874*     modexprint_
+0000:7a0e*     modexprintbig_
+0000:7b8a*     cls_
+0000:7bf8+     modexWaitBorder_
+07d3:00b4+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+07d3:0000*     __nullarea
+07d3:00dc*     __ovlflag
+07d3:00dd*     __intno
+07d3: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)
+07d3:00e2      __curbrk
+07d3:00ea      __STACKLOW
+07d3:00ec      __STACKTOP
+07d3:00ee      __cbyte
+07d3:00f0      __child
+07d3:00f2      __no87
+07d3:00ff      ___FPE_handler
+07d3:00e4      __psp
+07d3:00f3      __get_ovl_stack
+07d3:00f7      __restore_ovl_stack
+07d3:00fb      __close_ovl_file
+07d3:0103      __LpCmdLine
+07d3:0107      __LpPgmName
+07d3:00e6      __osmajor
+07d3:00e7      __osminor
+07d3:00e8      __osmode
+07d3: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_
+07d3:010c+     ___fheap
+07d3:010e      ___fheapRover
+07d3: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_
+07d3:0112+     ___int23_exit
+07d3: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_
+07d3: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:7c96*     textInit_
+07d3: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)
+07d3: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_
+07d3: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_
+07d3:0122      ___nheapbeg
+07d3:0124      ___MiniHeapRover
+07d3: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)
+07d3:0128      ___iob
+07d3:0c28      ___OpenStreams
+07d3:0c2c      ___ClosedStreams
+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_
+07d3:0290      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:1ebb*     __get_errno_ptr_
+07d3:0c30      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+07d3: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_
+07d3: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)
+07d3:0c34      ____Argv
+07d3:0c38      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+07d3:0294      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+07d3:02e8      __Start_XI
+07d3:0300      __End_XI
+07d3:0300      __Start_YI
+07d3: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_
+07d3: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:492c      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:4952      __GetIOMode_
+0000:4987      __SetIOMode_nogrow_
+07d3:0298      ___NFiles
+07d3:029a      ___init_mode
+07d3:02c2      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:49bc      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:49d8*     __get_doserrno_ptr_
+07d3:0c3a      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+07d3:02c6      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:49df      _dos_creat_
+0000:4a03*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:4a24+     __grow_iomode_
+0000:4b0b+     __shrink_iomode_
+0000:4b4c      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:4bf3*     __dosretax
+0000:4bf8*     __dosret0
+0000:4bff      __set_errno_dos_
+0000:4c67*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:4c72      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:4ca3      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:4cd4      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:4ce5      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:4cea*     sbrk_
+0000:4cfa      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:4d62      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:4dad+     utoa_
+0000:4e4e      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:4e98      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+07d3:02dc      ___EFG_printf
+07d3:02e0*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+07d3:02e4      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:4ee0*     _ismbblead_
+07d3:0c3e      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:4efc      ulltoa_
+0000:5039*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:50aa      ultoa_
+0000:5168*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:51b6      __doserror_
+0000:51c4*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:51d0*     _frealloc_
+0000:51d0      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:52ac      __ChkTTYIOMode_
+0000:531a*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:532a*     _dos_close_
+0000:5338      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+07d3:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:5385      __mbinit_
+07d3:02e6+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:5460*     _msize_
+0000:547b      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:548c      __HeapManager_expand_
+0000:5995      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:59e8      _fexpand_
+0000:59e8*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:5a1d      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:5a42      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00016530 (91440.)
+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..81ee756
Binary files /dev/null and b/pcxtest.exe differ
diff --git a/pcxtest.map b/pcxtest.map
new file mode 100755 (executable)
index 0000000..b9d2be1
--- /dev/null
@@ -0,0 +1,506 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:32
+Executable Image: pcxtest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0b29:0000            0000ecc0
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+pcxtest_TEXT           CODE           AUTO           0000:0000       00000203
+_TEXT                  CODE           AUTO           0000:0210       00008591
+modex16_TEXT           CODE           AUTO           0000:87b0       00002180
+bitmap_TEXT            CODE           AUTO           0000:a930       000005c9
+planar_TEXT            CODE           AUTO           0000:af00       00000275
+16text_TEXT            CODE           AUTO           0000:b180       0000010d
+FAR_DATA               FAR_DATA       AUTO           0b28:000d       00000000
+_NULL                  BEGDATA        DGROUP         0b29:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0b2b:0000       00000002
+CONST                  DATA           DGROUP         0b2b:0002       00000076
+CONST2                 DATA           DGROUP         0b32:0008       00000132
+_DATA                  DATA           DGROUP         0b46:0000       00000336
+XIB                    DATA           DGROUP         0b79:0006       00000000
+XI                     DATA           DGROUP         0b79:0006       0000002a
+XIE                    DATA           DGROUP         0b7c:0000       00000000
+YIB                    DATA           DGROUP         0b7c:0000       00000000
+YI                     DATA           DGROUP         0b7c:0000       0000000c
+YIE                    DATA           DGROUP         0b7c:000c       00000000
+STRINGS                DATA           DGROUP         0b7c:000c       00000000
+DATA                   DATA           DGROUP         0b7c:000c       00000000
+_emu_init_start        EMU            DGROUP         0b7c:000c       00000000
+_emu_init_end          EMU            DGROUP         0b7c:000c       00000000
+_BSS                   BSS            DGROUP         0b7c:000c       00000cb8
+STACK                  STACK          DGROUP         0c49:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: pcxtest.o(/dos/z/16/src/pcxtest.c)
+0000:0060      main_
+0b29: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:8968*     VGAmodeX_
+0000:8a10      modexEnter_
+0000:8aac      modexLeave_
+0000:8ac4      modexDefaultPage_
+0000:8b1e*     modexNextPage_
+0000:8bda*     modexNextPageFlexibleSize_
+0000:8c7e*     modexShowPage_
+0000:8d7a*     modexPanPage_
+0000:8dca*     modexSelectPlane_
+0000:8dee      modexClearRegion_
+0000:8f06      oldDrawBmp_
+0000:906c*     CDrawBmp_
+0000:91d0      modexDrawBmp_
+0000:9236+     modexDrawBmpRegion_
+0000:93a0*     modexDrawPlanarBuf_
+0000:93be      modexDrawSprite_
+0000:9424+     modexDrawSpriteRegion_
+0000:959c      modexCopyPageRegion_
+0000:9706*     modexFadeOn_
+0000:9736*     modexFadeOff_
+0000:9764*     modexFlashOn_
+0000:9792*     modexFlashOff_
+0000:9862+     modexPalSave_
+0000:98b8      modexNewPal_
+0000:9908*     modexLoadPalFile_
+0000:99ea*     modexSavePalFile_
+0000:9a62*     modexPalBlack_
+0000:9a8c*     modexPalWhite_
+0000:9ab6+     modexPalUpdate_
+0000:a026      modexPalUpdate1_
+0000:a0a0*     modexPalUpdate0_
+0000:a0ec+     chkcolor_
+0000:a404+     modexputPixel_
+0000:a492*     modexgetPixel_
+0000:a518*     modexhlin_
+0000:a584*     modexprint_
+0000:a71e*     modexprintbig_
+0000:a89a*     cls_
+0000:a908+     modexWaitBorder_
+0b29:01e4      _VGA
+Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
+0000:ac32      bitmapLoadPcx_
+0000:ad8e*     bitmapLoadPcxTiles_
+Module: gfx.lib(/dos/z/16/src/lib/planar.c)
+0000:af00      planar_buf_from_bitmap_
+0000:b020+     planar_buf_alloc_
+0000:b11a*     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)
+0b29:0000*     __nullarea
+0b29:0224*     __ovlflag
+0b29:0225*     __intno
+0b29: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)
+0b29: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)
+0b29:022c      __8087
+0b29:022d      __real87
+0b29:022e      __dos87emucall
+0b29: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)
+0b29:0232      __curbrk
+0b29:023a      __STACKLOW
+0b29:023c      __STACKTOP
+0b29:023e      __cbyte
+0b29:0240      __child
+0b29:0242      __no87
+0b29:024f      ___FPE_handler
+0b29:0234      __psp
+0b29:0243      __get_ovl_stack
+0b29:0247      __restore_ovl_stack
+0b29:024b      __close_ovl_file
+0b29:0253      __LpCmdLine
+0b29:0257      __LpPgmName
+0b29:0236      __osmajor
+0b29:0237      __osminor
+0b29:0238      __osmode
+0b29: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_
+0b29:025c+     ___fheap
+0b29:025e      ___fheapRover
+0b29: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_
+0b29:0262+     ___int23_exit
+0b29: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_
+0b29: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:b1f6*     textInit_
+0b29: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)
+0b29:026e      ___iob
+0b29:0ed8      ___OpenStreams
+0b29:0edc      ___ClosedStreams
+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)
+0b29: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_
+0b29: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_
+0b29:03f8      ___nheapbeg
+0b29:03fa      ___MiniHeapRover
+0b29: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_
+0b29:03fe      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:289e*     __get_errno_ptr_
+0b29:0ee0      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0b29: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_
+0b29: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)
+0b29:0ee4      ____Argv
+0b29:0ee8      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0b29:0402      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0b29:0506      __Start_XI
+0b29:0530      __End_XI
+0b29:0530      __Start_YI
+0b29:053c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0b29:0404      ___EFG_printf
+0b29:0408      ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c)
+0000:4ae3      _EFG_Format_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c)
+0000:4cb5      __cnvs2d_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
+0b29:040c      __8087cw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
+0b29:040e      ___Save8087
+0b29:0412      ___Rest8087
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
+0000:4cd5      __GrabFP87_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
+0000:4d08*     __init_8087_emu
+0000:4d0e      __x87id
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:4d6c      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:50e5*     _heapenable_
+0b29:0416      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:50f6      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:517e      __LastFree_
+0000:51f8      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:5309      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:532f      __GetIOMode_
+0000:5364      __SetIOMode_nogrow_
+0b29:0418      ___NFiles
+0b29:041a      ___init_mode
+0b29:0442      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:5399      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:53b5*     __get_doserrno_ptr_
+0b29:0eea      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0b29:0446      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:53bc      _dos_creat_
+0000:53e0*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:5401+     __grow_iomode_
+0000:54e8+     __shrink_iomode_
+0000:5529      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:55d0*     __dosretax
+0000:55d5*     __dosret0
+0000:55dc      __set_errno_dos_
+0000:5644*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:564f      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:5654      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:569f+     utoa_
+0000:5740      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:578a      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0b29:045c      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:57bf*     _ismbblead_
+0b29:0eee      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:57db      ulltoa_
+0000:5918*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:5989      ultoa_
+0000:5a47*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rtcntrl.c)
+0000:5a95*     _SetLD64bit_
+0000:5aa0*     _SetLD80bit_
+0000:5aab      _LDisDouble_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldcvt.c)
+0000:5c10      _LDScale10x_
+0000:64e8      __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:6cc4*     __init_87_emulator
+Module: /dos/fdos/watcom2/lib286/math87h.lib(strtod.c)
+0000:74f5+     __Strtold_
+0000:7734      strtod_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm)
+0000:78da      __Init_FPE_handler_
+0000:7913      __Fini_FPE_handler_
+0000:794a*     __FPEHandler
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:7bdc*     sbrk_
+0000:7bec      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:7c54      __doserror_
+0000:7c62*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:7c6e*     _frealloc_
+0000:7c6e      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:7d4a      __ChkTTYIOMode_
+0000:7db8*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7dc8*     _dos_close_
+0000:7dd6      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0b29:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:7e23      __mbinit_
+0b29:0502+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
+0000:7efe      __LDClass_
+0000:7f84*     _FLClass_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:7f98      __I4D
+0000:7fe7*     __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+0b29:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
+0000:806c      __ZBuf2LD
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
+0000:8134*     __set_EDOM_
+0000:8140      __set_ERANGE_
+0000:814c*     __set_EINVAL_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c)
+0b29:019a*     ___f_infinity
+0b29:019e*     ___f_posqnan
+0b29:01a2      ___d_infinity
+0b29:01aa      ___d_posqnan
+0b29:01b2*     ___ld_infinity
+0b29:01ba*     ___ld_posqnan
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
+0b29:01c2      __HugeValue
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
+0b29:0504      ___FPE_int
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:8166*     _msize_
+0000:8181      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:8192      __HeapManager_expand_
+0000:869b      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:86ee      _fexpand_
+0000:86ee*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:8723      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:8748      _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:  00019f50 (106320.)
+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..08ca5c5
Binary files /dev/null and b/pcxtest2.exe differ
diff --git a/pcxtest2.map b/pcxtest2.map
new file mode 100755 (executable)
index 0000000..100d084
--- /dev/null
@@ -0,0 +1,506 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:32
+Executable Image: pcxtest2.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          0b2a:0000            0000ecc0
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+pcxtest2_TEXT          CODE           AUTO           0000:0000       0000021d
+_TEXT                  CODE           AUTO           0000:0220       00008591
+modex16_TEXT           CODE           AUTO           0000:87c0       00002180
+bitmap_TEXT            CODE           AUTO           0000:a940       000005c9
+planar_TEXT            CODE           AUTO           0000:af10       00000275
+16text_TEXT            CODE           AUTO           0000:b190       0000010d
+FAR_DATA               FAR_DATA       AUTO           0b29:000d       00000000
+_NULL                  BEGDATA        DGROUP         0b2a:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         0b2c:0000       00000002
+CONST                  DATA           DGROUP         0b2c:0002       00000076
+CONST2                 DATA           DGROUP         0b33:0008       00000132
+_DATA                  DATA           DGROUP         0b47:0000       00000336
+XIB                    DATA           DGROUP         0b7a:0006       00000000
+XI                     DATA           DGROUP         0b7a:0006       0000002a
+XIE                    DATA           DGROUP         0b7d:0000       00000000
+YIB                    DATA           DGROUP         0b7d:0000       00000000
+YI                     DATA           DGROUP         0b7d:0000       0000000c
+YIE                    DATA           DGROUP         0b7d:000c       00000000
+STRINGS                DATA           DGROUP         0b7d:000c       00000000
+DATA                   DATA           DGROUP         0b7d:000c       00000000
+_emu_init_start        EMU            DGROUP         0b7d:000c       00000000
+_emu_init_end          EMU            DGROUP         0b7d:000c       00000000
+_BSS                   BSS            DGROUP         0b7d:000c       00000cb8
+STACK                  STACK          DGROUP         0c4a:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: pcxtest2.o(/dos/z/16/src/pcxtest2.c)
+0000:0060      main_
+0b2a: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:8978*     VGAmodeX_
+0000:8a20      modexEnter_
+0000:8abc      modexLeave_
+0000:8ad4      modexDefaultPage_
+0000:8b2e*     modexNextPage_
+0000:8bea*     modexNextPageFlexibleSize_
+0000:8c8e      modexShowPage_
+0000:8d8a*     modexPanPage_
+0000:8dda*     modexSelectPlane_
+0000:8dfe      modexClearRegion_
+0000:8f16      oldDrawBmp_
+0000:907c*     CDrawBmp_
+0000:91e0      modexDrawBmp_
+0000:9246+     modexDrawBmpRegion_
+0000:93b0*     modexDrawPlanarBuf_
+0000:93ce      modexDrawSprite_
+0000:9434+     modexDrawSpriteRegion_
+0000:95ac      modexCopyPageRegion_
+0000:9716*     modexFadeOn_
+0000:9746*     modexFadeOff_
+0000:9774*     modexFlashOn_
+0000:97a2*     modexFlashOff_
+0000:9872+     modexPalSave_
+0000:98c8      modexNewPal_
+0000:9918*     modexLoadPalFile_
+0000:99fa*     modexSavePalFile_
+0000:9a72*     modexPalBlack_
+0000:9a9c*     modexPalWhite_
+0000:9ac6+     modexPalUpdate_
+0000:a036      modexPalUpdate1_
+0000:a0b0*     modexPalUpdate0_
+0000:a0fc+     chkcolor_
+0000:a414+     modexputPixel_
+0000:a4a2*     modexgetPixel_
+0000:a528*     modexhlin_
+0000:a594*     modexprint_
+0000:a72e*     modexprintbig_
+0000:a8aa*     cls_
+0000:a918+     modexWaitBorder_
+0b2a:01e4      _VGA
+Module: gfx.lib(/dos/z/16/src/lib/bitmap.c)
+0000:ac42      bitmapLoadPcx_
+0000:ad9e*     bitmapLoadPcxTiles_
+Module: gfx.lib(/dos/z/16/src/lib/planar.c)
+0000:af10      planar_buf_from_bitmap_
+0000:b030+     planar_buf_alloc_
+0000:b12a*     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)
+0b2a:0000*     __nullarea
+0b2a:0224*     __ovlflag
+0b2a:0225*     __intno
+0b2a: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)
+0b2a: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)
+0b2a:022c      __8087
+0b2a:022d      __real87
+0b2a:022e      __dos87emucall
+0b2a: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)
+0b2a:0232      __curbrk
+0b2a:023a      __STACKLOW
+0b2a:023c      __STACKTOP
+0b2a:023e      __cbyte
+0b2a:0240      __child
+0b2a:0242      __no87
+0b2a:024f      ___FPE_handler
+0b2a:0234      __psp
+0b2a:0243      __get_ovl_stack
+0b2a:0247      __restore_ovl_stack
+0b2a:024b      __close_ovl_file
+0b2a:0253      __LpCmdLine
+0b2a:0257      __LpPgmName
+0b2a:0236      __osmajor
+0b2a:0237      __osminor
+0b2a:0238      __osmode
+0b2a: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_
+0b2a:025c+     ___fheap
+0b2a:025e      ___fheapRover
+0b2a: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_
+0b2a:0262+     ___int23_exit
+0b2a: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_
+0b2a: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:b206*     textInit_
+0b2a: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)
+0b2a:026e      ___iob
+0b2a:0ed8      ___OpenStreams
+0b2a:0edc      ___ClosedStreams
+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)
+0b2a: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_
+0b2a: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_
+0b2a:03f8      ___nheapbeg
+0b2a:03fa      ___MiniHeapRover
+0b2a: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_
+0b2a:03fe      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:28ae*     __get_errno_ptr_
+0b2a:0ee0      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+0b2a: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_
+0b2a: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)
+0b2a:0ee4      ____Argv
+0b2a:0ee8      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+0b2a:0402      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+0b2a:0506      __Start_XI
+0b2a:0530      __End_XI
+0b2a:0530      __Start_YI
+0b2a:053c      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+0b2a:0404      ___EFG_printf
+0b2a:0408      ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c)
+0000:4af3      _EFG_Format_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c)
+0000:4cc5      __cnvs2d_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c)
+0b2a:040c      __8087cw
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c)
+0b2a:040e      ___Save8087
+0b2a:0412      ___Rest8087
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c)
+0000:4ce5      __GrabFP87_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm)
+0000:4d18*     __init_8087_emu
+0000:4d1e      __x87id
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:4d7c      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:50f5*     _heapenable_
+0b2a:0416      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:5106      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:518e      __LastFree_
+0000:5208      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:5319      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:533f      __GetIOMode_
+0000:5374      __SetIOMode_nogrow_
+0b2a:0418      ___NFiles
+0b2a:041a      ___init_mode
+0b2a:0442      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:53a9      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:53c5*     __get_doserrno_ptr_
+0b2a:0eea      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+0b2a:0446      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:53cc      _dos_creat_
+0000:53f0*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:5411+     __grow_iomode_
+0000:54f8+     __shrink_iomode_
+0000:5539      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:55e0*     __dosretax
+0000:55e5*     __dosret0
+0000:55ec      __set_errno_dos_
+0000:5654*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:565f      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:5664      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:56af+     utoa_
+0000:5750      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:579a      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+0b2a:045c      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:57cf*     _ismbblead_
+0b2a:0eee      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:57eb      ulltoa_
+0000:5928*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:5999      ultoa_
+0000:5a57*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rtcntrl.c)
+0000:5aa5*     _SetLD64bit_
+0000:5ab0*     _SetLD80bit_
+0000:5abb      _LDisDouble_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldcvt.c)
+0000:5c20      _LDScale10x_
+0000:64f8      __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:6cd4*     __init_87_emulator
+Module: /dos/fdos/watcom2/lib286/math87h.lib(strtod.c)
+0000:7505+     __Strtold_
+0000:7744      strtod_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm)
+0000:78ea      __Init_FPE_handler_
+0000:7923      __Fini_FPE_handler_
+0000:795a*     __FPEHandler
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:7bec*     sbrk_
+0000:7bfc      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:7c64      __doserror_
+0000:7c72*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:7c7e*     _frealloc_
+0000:7c7e      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:7d5a      __ChkTTYIOMode_
+0000:7dc8*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7dd8*     _dos_close_
+0000:7de6      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+0b2a:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:7e33      __mbinit_
+0b2a:0502+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c)
+0000:7f0e      __LDClass_
+0000:7f94*     _FLClass_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:7fa8      __I4D
+0000:7ff7*     __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+0b2a:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm)
+0000:807c      __ZBuf2LD
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c)
+0000:8144*     __set_EDOM_
+0000:8150      __set_ERANGE_
+0000:815c*     __set_EINVAL_
+Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c)
+0b2a:019a*     ___f_infinity
+0b2a:019e*     ___f_posqnan
+0b2a:01a2      ___d_infinity
+0b2a:01aa      ___d_posqnan
+0b2a:01b2*     ___ld_infinity
+0b2a:01ba*     ___ld_posqnan
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c)
+0b2a:01c2      __HugeValue
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c)
+0b2a:0504      ___FPE_int
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:8176*     _msize_
+0000:8191      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:81a2      __HeapManager_expand_
+0000:86ab      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:86fe      _fexpand_
+0000:86fe*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:8733      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:8758      _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:  00019f60 (106336.)
+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..1d17a23
Binary files /dev/null and b/scroll.exe differ
diff --git a/scroll.map b/scroll.map
new file mode 100755 (executable)
index 0000000..f0345c1
--- /dev/null
@@ -0,0 +1,551 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:33
+Executable Image: scroll.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          1141:0000            0000f490
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+scroll_TEXT            CODE           AUTO           0000:0000       00000c48
+mapread_TEXT           CODE           AUTO           0000:0c50       00000872
+jsmn_TEXT              CODE           AUTO           0000:14d0       00000919
+_TEXT                  CODE           AUTO           0000:1df0       0000688e
+scroll16_TEXT          CODE           AUTO           0000:8680       000033a3
+bitmap_TEXT            CODE           AUTO           0000:ba30       000005c9
+planar_TEXT            CODE           AUTO           0000:c000       00000275
+16_in_TEXT             CODE           AUTO           0000:c280       00001d43
+16text_TEXT            CODE           AUTO           0000:dfd0       0000010d
+modex16_TEXT           CODE           AUTO           0e0e:0000       00002180
+bakapee_TEXT           CODE           AUTO           0e0e:2180       00000b86
+wcpu_TEXT              CODE           AUTO           0e0e:2d10       00000058
+16_head_TEXT           CODE           AUTO           0e0e:2d70       00000405
+16_in13_DATA           FAR_DATA       AUTO           1126:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           1140:0004       00000000
+_NULL                  BEGDATA        DGROUP         1141:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         1143:0000       00000002
+CONST                  DATA           DGROUP         1143:0002       00000076
+CONST2                 DATA           DGROUP         114a:0008       00000102
+_DATA                  DATA           DGROUP         115b:0000       00000a0c
+XIB                    DATA           DGROUP         11fb:000c       00000000
+XI                     DATA           DGROUP         11fb:000c       00000024
+XIE                    DATA           DGROUP         11fe:0000       00000000
+YIB                    DATA           DGROUP         11fe:0000       00000000
+YI                     DATA           DGROUP         11fe:0000       00000012
+YIE                    DATA           DGROUP         11ff:0002       00000000
+STRINGS                DATA           DGROUP         11ff:0002       00000000
+DATA                   DATA           DGROUP         11ff:0002       00000000
+_BSS                   BSS            DGROUP         1200:0000       00000dd6
+STACK                  STACK          DGROUP         12de:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: scroll.o(/dos/z/16/src/scroll.c)
+1141:0bf0+     _player
+1141:0cf0+     _screen
+1141:0d00+     _screen3
+1141:0d10+     _screen2
+1141:0d20+     _mv
+1141:0d50+     _gvar
+1141:0d60+     _spri
+1141:0d64+     _mask
+1141:0d68+     _p
+1141:0d6c*     _t
+0000:01ea      main_
+1141:0d7c+     _bg
+Module: mapread.o(/dos/z/16/src/lib/mapread.c)
+0000:0cec+     jsoneq_
+0000:0d90+     dump_
+0000:128c      loadmap_
+Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c)
+0000:18a2      jsmn_parse_
+0000:1d9e      jsmn_init_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
+0000:1df5      __STK
+0000:1e15*     __STKOVERFLOW_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:1e32      _fmalloc_
+0000:1e32      malloc_
+1141:01b8+     ___fheap
+1141:01ba      ___fheapRover
+1141:01bc      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:1faf      __PIA
+0000:1fa8*     __PIS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+1141:01be      ___iob
+1141:0d90      ___OpenStreams
+1141:0d94      ___ClosedStreams
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c)
+0000:1fc6      fprintf_
+Module: 16.lib(/dos/z/16/src/lib/scroll16.c)
+0000:868e      walk_
+0000:a104+     mapScrollRight_
+0000:a3e2+     mapScrollLeft_
+0000:a696+     mapScrollUp_
+0000:a984+     mapScrollDown_
+0000:aca4      chkmap_
+0000:ae34      mapGoTo_
+0000:b09c+     mapDrawTile_
+0000:b1c0+     mapDrawRow_
+0000:b314+     mapDrawCol_
+0000:b47e+     mapDrawWRow_
+0000:b5ac*     mapDrawWCol_
+0000:b6f6      shinku_
+0000:b7a4+     animatePlayer_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:1ff5      printf_
+Module: 16.lib(/dos/z/16/src/lib/bitmap.c)
+0000:bd32      bitmapLoadPcx_
+0000:be8e*     bitmapLoadPcxTiles_
+Module: 16.lib(/dos/z/16/src/lib/planar.c)
+0000:c000      planar_buf_from_bitmap_
+0000:c120+     planar_buf_alloc_
+0000:c21a*     planar_buf_free_
+Module: 16.lib(/dos/z/16/src/lib/16_in.c)
+0000:c398+     INL_KeyService_
+0000:c5e2+     Mouse_
+0000:c63a+     IN_GetJoyAbs_
+0000:ca00+     IN_GetJoyButtonsDB_
+0000:cc96+     IN_SetupJoy_
+0000:ce58      IN_Startup_
+0000:cf5e      IN_Default_
+0000:d0c2      IN_Shutdown_
+0000:d142*     IN_SetKeyHook_
+0000:d164+     IN_ClearKeysDown_
+0000:d244*     IN_ReadCursor_
+0000:d360      IN_ReadControl_
+0000:dae0*     IN_SetControlType_
+0000:db2e*     IN_GetScanName_
+0000:dbb6*     IN_WaitForKey_
+0000:dbec*     IN_WaitForASCII_
+0000:dc22+     IN_AckBack_
+0000:dd0a*     IN_Ack_
+0000:ddac+     IN_IsUserInput_
+0000:de52*     IN_UserInput_
+0000:deaa      IN_KeyDown_
+0000:def2+     IN_ClearKey_
+0000:df6a*     IN_qb_
+1141:0e2e+     _inpu
+Module: 16.lib(/dos/z/16/src/lib/16text.c)
+0000:e046      textInit_
+1141:0f84      _romFonts
+Module: 16.lib(/dos/z/16/src/lib/modex16.c)
+0e0e:01b8      VGAmodeX_
+0e0e:0260+     modexEnter_
+0e0e:02fc*     modexLeave_
+0e0e:0314      modexDefaultPage_
+0e0e:036e      modexNextPage_
+0e0e:042a      modexNextPageFlexibleSize_
+0e0e:04ce      modexShowPage_
+0e0e:05ca*     modexPanPage_
+0e0e:061a*     modexSelectPlane_
+0e0e:063e      modexClearRegion_
+0e0e:0756*     oldDrawBmp_
+0e0e:08bc*     CDrawBmp_
+0e0e:0a20*     modexDrawBmp_
+0e0e:0a86+     modexDrawBmpRegion_
+0e0e:0bf0*     modexDrawPlanarBuf_
+0e0e:0c0e*     modexDrawSprite_
+0e0e:0c74+     modexDrawSpriteRegion_
+0e0e:0dec      modexCopyPageRegion_
+0e0e:0f56*     modexFadeOn_
+0e0e:0f86*     modexFadeOff_
+0e0e:0fb4*     modexFlashOn_
+0e0e:0fe2*     modexFlashOff_
+0e0e:10b2+     modexPalSave_
+0e0e:1108      modexNewPal_
+0e0e:1158*     modexLoadPalFile_
+0e0e:123a*     modexSavePalFile_
+0e0e:12b2*     modexPalBlack_
+0e0e:12dc*     modexPalWhite_
+0e0e:1306+     modexPalUpdate_
+0e0e:1876+     modexPalUpdate1_
+0e0e:18f0*     modexPalUpdate0_
+0e0e:193c+     chkcolor_
+0e0e:1c54      modexputPixel_
+0e0e:1ce2*     modexgetPixel_
+0e0e:1d68*     modexhlin_
+0e0e:1dd4      modexprint_
+0e0e:1f6e*     modexprintbig_
+0e0e:20ea      cls_
+0e0e:2158      modexWaitBorder_
+1141:0ac4      _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sound.c)
+0000:2024      sound_
+0000:205f      nosound_
+Module: 16.lib(/dos/z/16/src/lib/bakapee.c)
+0e0e:2188      pdump_
+0e0e:21ea+     colortest_
+0e0e:223e+     colorz_
+0e0e:22a4+     ssd_
+0e0e:23c2+     dingpp_
+0e0e:2434+     dingo_
+0e0e:24ca+     dingas_
+0e0e:2578+     dingu_
+0e0e:25da+     dingq_
+0e0e:267a*     ding_
+Module: 16.lib(/dos/z/16/src/lib/wcpu/wcpu.c)
+0e0e:2d10      detectcpu_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+1141:0000*     __nullarea
+1141:0af4*     __ovlflag
+1141:0af5*     __intno
+1141:0af6*     __ovlvec
+0000:206c      _cstart_
+0000:213f*     _Not_Enough_Memory_
+0000:2271      __exit_
+0000:2290      __do_exit_with_msg__
+0000:22ed      __GETDS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
+0000:22f8      _big_code_
+0000:22f8*     CodeModelMismatch
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c)
+0000:22f8      strncmp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c)
+0000:2335      strstr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c)
+0000:2437      atoi_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c)
+0000:24d3+     __open_flags_
+0000:2794+     _fsopen_
+0000:27fb      fopen_
+0000:291e*     freopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c)
+0000:29a8      fread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:2d1f      __get_errno_ptr_
+1141:189c      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:2d26*     _frealloc_
+0000:2d26      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm)
+0000:2e02      __PTC
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncpy.c)
+0000:2e35      strncpy_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
+0000:2e71*     __exit_with_msg_
+0000:2e76      __fatal_runtime_error_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
+1141:0afa      __curbrk
+1141:0b02      __STACKLOW
+1141:0b04      __STACKTOP
+1141:0b06      __cbyte
+1141:0b08      __child
+1141:0b0a      __no87
+1141:0b17      ___FPE_handler
+1141:0afc      __psp
+1141:0b0b      __get_ovl_stack
+1141:0b0f      __restore_ovl_stack
+1141:0b13      __close_ovl_file
+1141:0b1b      __LpCmdLine
+1141:0b1f      __LpPgmName
+1141:0afe      __osmajor
+1141:0aff      __osminor
+1141:0b00      __osmode
+1141:0b01      __HShift
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c)
+0000:2ea0      __MemAllocator
+0000:2f6a      __MemFree
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(growseg.c)
+0000:30c7      __GrowSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c)
+0000:323d      __AllocSeg_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c)
+0000:332c      __fmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c)
+0000:332f      _nmalloc_
+1141:0b24      ___nheapbeg
+1141:0b26      ___MiniHeapRover
+1141:0b28      ___LargestSizeB4MiniHeapRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c)
+0000:3409*     _heapgrow_
+0000:3409*     _fheapgrow_
+0000:340a      _nheapgrow_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c)
+0000:3482      __InitFiles_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c)
+0000:36b6*     fcloseall_
+0000:36bd      __full_io_exit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c)
+0000:36e1      __fprtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c)
+0000:3834      sprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c)
+0000:3863      __doclose_
+0000:39ad      __shutdown_stream_
+0000:39c7      fclose_
+1141:189e+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:3a32+     _null_exit_rtn_
+0000:3a32+     __null_int23_exit_
+0000:3a33      exit_
+0000:3a54+     _exit_
+1141:0b2a+     ___int23_exit
+1141:0b2e+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c)
+0000:3b8e      fseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c)
+0000:3d86      __fill_buffer_
+0000:3fd5      fgetc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:411c      _ffree_
+0000:411c      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c)
+0000:4189+     int86x_
+0000:430c      int86_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
+0000:433a      __I4M
+0000:433a      __U4M
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_getvec.c)
+0000:4352      _dos_getvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_setvec.c)
+0000:435d      _dos_setvect_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm)
+0000:436a      __I4D
+0000:43b9      __U4D
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c)
+1141:18a2      __argv
+1141:18a6      ___argv
+1141:18aa      __argc
+1141:18ac      ___argc
+Module: 16.lib(/dos/z/16/src/lib/16_head.c)
+0e0e:2d7e*     wait_
+0e0e:2dca*     filesize_
+0e0e:2e30*     printmeminfoline_
+0e0e:301c      US_CheckParm_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c)
+0000:443d      fwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c)
+0000:47b6      rand_
+0000:47f8*     srand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(delay.c)
+0000:481b      delay_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
+0000:4993      __CMain
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
+0000:49f9      __InitRtns
+0000:49f9*     __FInitRtns
+0000:4a54      __FiniRtns
+0000:4a54*     __FFiniRtns
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
+1141:0b48      ___uselfn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
+0000:4ab8      __DOSseg__
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:4aba      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c)
+1141:0098      __IsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:4aeb*     __set_commode_
+1141:0b4a      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+1141:0b4c      __fmode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c)
+0000:4af7      tolower_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c)
+0000:4d26*     open_
+0000:4d5d      sopen_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c)
+0000:4d8a      __chktty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c)
+0000:4de9      __freefp_
+0000:4e8a      __purgefp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocfp.c)
+0000:4ecb      __allocfp_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c)
+0000:507b      __ioalloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c)
+0000:5209      __qread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:5229*     _msize_
+0000:5244      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:5255      __HeapManager_expand_
+0000:575e      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:57b1      _fexpand_
+0000:57b1*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:57e6      __EnterWVIDEO_
+1141:0b4e+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:580a*     _heapenable_
+1141:0b50      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+1141:0b52      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:581b      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:58a3      __LastFree_
+0000:591d      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c)
+0000:5a2e      _nfree_
+1141:18ae+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c)
+0000:5b29      fputc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c)
+0000:5cfe      __prtf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c)
+0000:6e6e      __flush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c)
+0000:70d0      vsprintf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c)
+0000:7112      __lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c)
+0000:714c      __close_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:7182      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:71b3      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:71c4      __flushall_
+0000:7258      flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:725e      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:7278      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:728c      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c)
+0000:72f2      __Init_Argv_
+0000:7355+     _getargv_
+0000:7685      __Fini_Argv_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c)
+0000:76af+     __ibm_bios_get_ticks_
+0000:7726      clock_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
+0000:774d      kbhit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c)
+0000:7764      ftell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:782c      ultoa_
+0000:78ea*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:7938      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
+1141:18b8      ____Argv
+1141:18bc      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+1141:0bac      __Start_XI
+1141:0bd0      __End_XI
+1141:0bd0      __Start_YI
+1141:0be2      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:7998      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:79be      __GetIOMode_
+0000:79f3      __SetIOMode_nogrow_
+1141:0b5c      ___NFiles
+1141:0b5e      ___init_mode
+1141:0b86      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:7a28      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:7a44*     __get_doserrno_ptr_
+1141:18be      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+1141:0b8a      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:7a4b      _dos_creat_
+0000:7a6f*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:7a90+     __grow_iomode_
+0000:7b77+     __shrink_iomode_
+0000:7bb8      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:7c5f*     __dosretax
+0000:7c64*     __dosret0
+0000:7c6b      __set_errno_dos_
+0000:7cd3*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:7cde      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:7d03      _bexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:7d5c*     sbrk_
+0000:7d6c      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:7dd4      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:7e1f+     utoa_
+0000:7ec0      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:7f0a      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+1141:0ba0      ___EFG_printf
+1141:0ba4*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+1141:0ba8      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:7f52*     _ismbblead_
+1141:18c2      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:7f6e      ulltoa_
+0000:80ab*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:811c      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:8122      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+1141:19c4      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c)
+0000:849b      fflush_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+1141:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:84b0      __doserror_
+0000:84be*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:84ca      __ChkTTYIOMode_
+0000:8538*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:8586      __mbinit_
+1141:0baa+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:8661*     _dos_close_
+0000:866f      _dos_commit_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+16.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  000208a0 (133280.)
+Entry point address: 0000:206c
+Link time: 00:00.00
index 965f5f0406a2c93787ead449b14280be903bf2be..86392d5d086fb3b45f64bb3d9d8880d08db8e8c5 100755 (executable)
@@ -630,19 +630,18 @@ void shinku(page_t *page, global_game_variables_t *gv)
        word bgcol = 0;
        word type = 1;
        float t;
-       //gv->clock=*hwclockw;
-       t=(((*hwclockw)-gv->clock_start) /18.2);
+       t=(((*clockdw)-gv->clock_start) /18.2);
        //if(elapsed_timer(gv) >= (1.0 / gv->frames_per_second))
        //{
                pee = _fmalloc(sizeof(byte)*64);
                sprintf(pee, "%lu", gv->tiku);
                modexprint(page, 16, 16, 1, 15, 0, pee);
                //sprintf(pee, "%f", gv->tiku/t);
-               modexprint(page, x, y, type, col, bgcol, pee);
+               //modexprint(page, x, y, type, col, bgcol, pee);
                //sprintf(pee, "%f", *gv->tiku/\*time_in_seconds(gv));
                //modexprint(page, x, y+8, type, col, bgcol, pee);
        //}
-       (gv->clock_start)=*hwclockw;
+       (gv->clock_start)=*clockdw;
 }
 
 void near animatePlayer(map_view_t *pip, player_t *player, word playnum, sword scrollswitch)
diff --git a/test.exe b/test.exe
new file mode 100755 (executable)
index 0000000..1908931
Binary files /dev/null and b/test.exe differ
diff --git a/test.map b/test.map
new file mode 100755 (executable)
index 0000000..2b98da9
--- /dev/null
+++ b/test.map
@@ -0,0 +1,409 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:32
+Executable Image: test.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          07e7:0000            0000e800
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+test_TEXT              CODE           AUTO           0000:0000       0000018c
+_TEXT                  CODE           AUTO           0000:0190       00005a4b
+modex16_TEXT           CODE           AUTO           0000:5be0       00002180
+16text_TEXT            CODE           AUTO           0000:7d60       0000010d
+FAR_DATA               FAR_DATA       AUTO           07e6:000d       00000000
+_NULL                  BEGDATA        DGROUP         07e7:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         07e9:0000       00000002
+CONST                  DATA           DGROUP         07e9:0002       00000076
+CONST2                 DATA           DGROUP         07f0:0008       00000000
+_DATA                  DATA           DGROUP         07f1:0000       00000248
+XIB                    DATA           DGROUP         0815:0008       00000000
+XI                     DATA           DGROUP         0815:0008       00000018
+XIE                    DATA           DGROUP         0817:0000       00000000
+YIB                    DATA           DGROUP         0817:0000       00000000
+YI                     DATA           DGROUP         0817:0000       0000000c
+YIE                    DATA           DGROUP         0817:000c       00000000
+STRINGS                DATA           DGROUP         0817:000c       00000000
+DATA                   DATA           DGROUP         0817:000c       00000000
+_BSS                   BSS            DGROUP         0817:000c       00000a33
+STACK                  STACK          DGROUP         08bb:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: test.o(/dos/z/16/src/test.c)
+0000:0012      main_
+07e7: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:5d98*     VGAmodeX_
+0000:5e40      modexEnter_
+0000:5edc      modexLeave_
+0000:5ef4      modexDefaultPage_
+0000:5f4e      modexNextPage_
+0000:600a*     modexNextPageFlexibleSize_
+0000:60ae      modexShowPage_
+0000:61aa*     modexPanPage_
+0000:61fa*     modexSelectPlane_
+0000:621e      modexClearRegion_
+0000:6336*     oldDrawBmp_
+0000:649c*     CDrawBmp_
+0000:6600*     modexDrawBmp_
+0000:6666+     modexDrawBmpRegion_
+0000:67d0*     modexDrawPlanarBuf_
+0000:67ee*     modexDrawSprite_
+0000:6854+     modexDrawSpriteRegion_
+0000:69cc*     modexCopyPageRegion_
+0000:6b36      modexFadeOn_
+0000:6b66      modexFadeOff_
+0000:6b94*     modexFlashOn_
+0000:6bc2*     modexFlashOff_
+0000:6c92      modexPalSave_
+0000:6ce8      modexNewPal_
+0000:6d38      modexLoadPalFile_
+0000:6e1a*     modexSavePalFile_
+0000:6e92      modexPalBlack_
+0000:6ebc*     modexPalWhite_
+0000:6ee6+     modexPalUpdate_
+0000:7456+     modexPalUpdate1_
+0000:74d0*     modexPalUpdate0_
+0000:751c+     chkcolor_
+0000:7834+     modexputPixel_
+0000:78c2*     modexgetPixel_
+0000:7948*     modexhlin_
+0000:79b4*     modexprint_
+0000:7b4e*     modexprintbig_
+0000:7cca*     cls_
+0000:7d38+     modexWaitBorder_
+07e7:00b4+     _VGA
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+07e7:0000*     __nullarea
+07e7:00dc*     __ovlflag
+07e7:00dd*     __intno
+07e7: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)
+07e7:00e2      __curbrk
+07e7:00ea      __STACKLOW
+07e7:00ec      __STACKTOP
+07e7:00ee      __cbyte
+07e7:00f0      __child
+07e7:00f2      __no87
+07e7:00ff      ___FPE_handler
+07e7:00e4      __psp
+07e7:00f3      __get_ovl_stack
+07e7:00f7      __restore_ovl_stack
+07e7:00fb      __close_ovl_file
+07e7:0103      __LpCmdLine
+07e7:0107      __LpPgmName
+07e7:00e6      __osmajor
+07e7:00e7      __osminor
+07e7:00e8      __osmode
+07e7: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_
+07e7:010c+     ___fheap
+07e7:010e      ___fheapRover
+07e7: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_
+07e7:0112+     ___int23_exit
+07e7: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_
+07e7: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:7dd6*     textInit_
+07e7: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)
+07e7: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_
+07e7: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_
+07e7:0122      ___nheapbeg
+07e7:0124      ___MiniHeapRover
+07e7: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)
+07e7:0128      ___iob
+07e7:0c28      ___OpenStreams
+07e7:0c2c      ___ClosedStreams
+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_
+07e7:0290      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:1ffb*     __get_errno_ptr_
+07e7:0c30      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+07e7: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_
+07e7: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)
+07e7:0c34      ____Argv
+07e7:0c38      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+07e7:0294      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+07e7:02e8      __Start_XI
+07e7:0300      __End_XI
+07e7:0300      __Start_YI
+07e7: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_
+07e7: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:4a6c      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:4a92      __GetIOMode_
+0000:4ac7      __SetIOMode_nogrow_
+07e7:0298      ___NFiles
+07e7:029a      ___init_mode
+07e7:02c2      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:4afc      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:4b18*     __get_doserrno_ptr_
+07e7:0c3a      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+07e7:02c6      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:4b1f      _dos_creat_
+0000:4b43*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:4b64+     __grow_iomode_
+0000:4c4b+     __shrink_iomode_
+0000:4c8c      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:4d33*     __dosretax
+0000:4d38*     __dosret0
+0000:4d3f      __set_errno_dos_
+0000:4da7*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm)
+0000:4db2      __PTS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lseek.c)
+0000:4de3      lseek_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tell.c)
+0000:4e14      tell_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:4e25      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:4e2a*     sbrk_
+0000:4e3a      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:4ea2      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:4eed+     utoa_
+0000:4f8e      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:4fd8      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+07e7:02dc      ___EFG_printf
+07e7:02e0*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+07e7:02e4      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:5020*     _ismbblead_
+07e7:0c3e      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:503c      ulltoa_
+0000:5179*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:51ea      ultoa_
+0000:52a8*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:52f6      __doserror_
+0000:5304*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:5310*     _frealloc_
+0000:5310      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:53ec      __ChkTTYIOMode_
+0000:545a*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:546a*     _dos_close_
+0000:5478      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+07e7:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:54c5      __mbinit_
+07e7:02e6+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:55a0*     _msize_
+0000:55bb      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:55cc      __HeapManager_expand_
+0000:5ad5      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:5b28      _fexpand_
+0000:5b28*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:5b5d      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:5b82      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+gfx.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00016670 (91760.)
+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..4a9fa2c
Binary files /dev/null and b/test2.exe differ
diff --git a/test2.map b/test2.map
new file mode 100755 (executable)
index 0000000..302a4bd
--- /dev/null
+++ b/test2.map
@@ -0,0 +1,422 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:33
+Executable Image: test2.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          08a2:0000            0000e8a0
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+test2_TEXT             CODE           AUTO           0000:0000       00000142
+_TEXT                  CODE           AUTO           0000:0150       00005dec
+bitmap_TEXT            CODE           AUTO           0000:5f40       000005c9
+planar_TEXT            CODE           AUTO           0000:6510       00000275
+modex16_TEXT           CODE           AUTO           0000:6790       00002180
+16text_TEXT            CODE           AUTO           0000:8910       0000010d
+FAR_DATA               FAR_DATA       AUTO           08a1:000d       00000000
+_NULL                  BEGDATA        DGROUP         08a2:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         08a4:0000       00000002
+CONST                  DATA           DGROUP         08a4:0002       00000076
+CONST2                 DATA           DGROUP         08ab:0008       00000000
+_DATA                  DATA           DGROUP         08ac:0000       00000260
+XIB                    DATA           DGROUP         08d2:0000       00000000
+XI                     DATA           DGROUP         08d2:0000       00000018
+XIE                    DATA           DGROUP         08d3:0008       00000000
+YIB                    DATA           DGROUP         08d3:0008       00000000
+YI                     DATA           DGROUP         08d3:0008       0000000c
+YIE                    DATA           DGROUP         08d4:0004       00000000
+STRINGS                DATA           DGROUP         08d4:0004       00000000
+DATA                   DATA           DGROUP         08d4:0004       00000000
+_BSS                   BSS            DGROUP         08d4:0004       00000ab3
+STACK                  STACK          DGROUP         0980:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: test2.o(/dos/z/16/src/test2.c)
+0000:0024      main_
+08a2: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:6242      bitmapLoadPcx_
+0000:639e*     bitmapLoadPcxTiles_
+Module: gfx.lib(/dos/z/16/src/lib/planar.c)
+0000:6510      planar_buf_from_bitmap_
+0000:6630+     planar_buf_alloc_
+0000:672a*     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)
+08a2:0000*     __nullarea
+08a2:00c4*     __ovlflag
+08a2:00c5*     __intno
+08a2: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)
+08a2:00ca      __curbrk
+08a2:00d2      __STACKLOW
+08a2:00d4      __STACKTOP
+08a2:00d6      __cbyte
+08a2:00d8      __child
+08a2:00da      __no87
+08a2:00e7      ___FPE_handler
+08a2:00cc      __psp
+08a2:00db      __get_ovl_stack
+08a2:00df      __restore_ovl_stack
+08a2:00e3      __close_ovl_file
+08a2:00eb      __LpCmdLine
+08a2:00ef      __LpPgmName
+08a2:00ce      __osmajor
+08a2:00cf      __osminor
+08a2:00d0      __osmode
+08a2: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_
+08a2: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_
+08a2:00f4+     ___int23_exit
+08a2: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:6948*     VGAmodeX_
+0000:69f0+     modexEnter_
+0000:6a8c*     modexLeave_
+0000:6aa4*     modexDefaultPage_
+0000:6afe*     modexNextPage_
+0000:6bba*     modexNextPageFlexibleSize_
+0000:6c5e*     modexShowPage_
+0000:6d5a*     modexPanPage_
+0000:6daa*     modexSelectPlane_
+0000:6dce+     modexClearRegion_
+0000:6ee6*     oldDrawBmp_
+0000:704c*     CDrawBmp_
+0000:71b0*     modexDrawBmp_
+0000:7216+     modexDrawBmpRegion_
+0000:7380*     modexDrawPlanarBuf_
+0000:739e*     modexDrawSprite_
+0000:7404+     modexDrawSpriteRegion_
+0000:757c*     modexCopyPageRegion_
+0000:76e6*     modexFadeOn_
+0000:7716*     modexFadeOff_
+0000:7744*     modexFlashOn_
+0000:7772*     modexFlashOff_
+0000:7842+     modexPalSave_
+0000:7898      modexNewPal_
+0000:78e8*     modexLoadPalFile_
+0000:79ca*     modexSavePalFile_
+0000:7a42*     modexPalBlack_
+0000:7a6c*     modexPalWhite_
+0000:7a96+     modexPalUpdate_
+0000:8006+     modexPalUpdate1_
+0000:8080*     modexPalUpdate0_
+0000:80cc+     chkcolor_
+0000:83e4+     modexputPixel_
+0000:8472*     modexgetPixel_
+0000:84f8*     modexhlin_
+0000:8564*     modexprint_
+0000:86fe*     modexprintbig_
+0000:887a*     cls_
+0000:88e8+     modexWaitBorder_
+08a2: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_
+08a2:012c+     ___fheap
+08a2:012e      ___fheapRover
+08a2:0130      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+08a2:0132      ___iob
+08a2:0ca8      ___OpenStreams
+08a2:0cac      ___ClosedStreams
+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)
+08a2: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_
+08a2:029c+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c)
+0000:1a5d*     __get_errno_ptr_
+08a2: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:8986*     textInit_
+08a2:0cb2      _romFonts
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:26b0*     __set_commode_
+08a2:02a2      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+08a2: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_
+08a2:02a6      ___nheapbeg
+08a2:02a8      ___MiniHeapRover
+08a2: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_
+08a2: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)
+08a2:0ccc      ____Argv
+08a2:0cd0      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+08a2:02ac      __amblksiz
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+08a2:0300      __Start_XI
+08a2:0318      __End_XI
+08a2:0318      __Start_YI
+08a2:0324      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:47c8*     __dosretax
+0000:47cd*     __dosret0
+0000:47d4      __set_errno_dos_
+0000:483c*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:4847      __GetIOMode_
+0000:487c      __SetIOMode_nogrow_
+08a2:02c2      ___NFiles
+08a2:02c4      ___init_mode
+08a2:02ec      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:48b1      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:4911      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:4916+     __grow_iomode_
+0000:49fd+     __shrink_iomode_
+0000:4a3e      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c)
+0000:4ae5      intr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c)
+0000:4af9      segread_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:4b5f      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:4b85      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:4ba1*     __get_doserrno_ptr_
+08a2:0cd4      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+08a2:02f0      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:4ba8      _dos_creat_
+0000:4bcc*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:4bed*     _heapenable_
+08a2:02f2      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c)
+0000:4bfe      __nmemneed_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c)
+0000:4c86      __LastFree_
+0000:4d00      __ExpandDGROUP_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:4e11      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:4e5c+     utoa_
+0000:4efd      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:4f47      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+08a2:02f4      ___EFG_printf
+08a2:02f8*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+08a2:02fc      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:4f8f*     _ismbblead_
+08a2:0cd6      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:4fab      ulltoa_
+0000:50e8*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c)
+0000:5159      ultoa_
+0000:5217*     ltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:5265*     _dos_close_
+0000:5273      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:5282*     _frealloc_
+0000:5282      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:535e      __ChkTTYIOMode_
+0000:53cc*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:53dc      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:5756      __doserror_
+0000:5764*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:5770*     sbrk_
+0000:5780      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+08a2:0072      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:5826      __mbinit_
+08a2:02fe+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:5901*     _msize_
+0000:591c      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:592d      __HeapManager_expand_
+0000:5e36      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:5e89      _fexpand_
+0000:5e89*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:5ebe      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:5ee3      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+gfx.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  000172c0 (94912.)
+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..625da49
Binary files /dev/null and b/tesuto.exe differ
diff --git a/vgmtest.exe b/vgmtest.exe
new file mode 100755 (executable)
index 0000000..d8312ec
Binary files /dev/null and b/vgmtest.exe differ
diff --git a/vgmtest.map b/vgmtest.map
new file mode 100755 (executable)
index 0000000..2ea869f
--- /dev/null
@@ -0,0 +1,445 @@
+Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (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/02 17:31:33
+Executable Image: vgmtest.exe
+creating a DOS executable
+
+
+                        +------------+
+                        |   Groups   |
+                        +------------+
+
+Group                           Address              Size
+=====                           =======              ====
+
+DGROUP                          09cc:0000            0000e660
+
+
+
+                        +--------------+
+                        |   Segments   |
+                        +--------------+
+
+Segment                Class          Group          Address         Size
+=======                =====          =====          =======         ====
+
+vgmtest_TEXT           CODE           AUTO           0000:0000       00000118
+16_in_TEXT             CODE           AUTO           0000:0120       00001d43
+16_head_TEXT           CODE           AUTO           0000:1e70       00000405
+_TEXT                  CODE           AUTO           0000:2280       0000601c
+16_snd_TEXT            CODE           AUTO           0000:82a0       00000338
+vgmSnd_TEXT            CODE           AUTO           0000:85e0       00001525
+16_in13_DATA           FAR_DATA       AUTO           09b1:0000       000001a4
+FAR_DATA               FAR_DATA       AUTO           09cb:0004       00000000
+_NULL                  BEGDATA        DGROUP         09cc:0000       00000020
+_AFTERNULL             BEGDATA        DGROUP         09ce:0000       00000002
+CONST                  DATA           DGROUP         09ce:0002       00000076
+CONST2                 DATA           DGROUP         09d5:0008       00000102
+_DATA                  DATA           DGROUP         09e6:0000       000004ee
+XIB                    DATA           DGROUP         0a34:000e       00000000
+XI                     DATA           DGROUP         0a34:000e       00000024
+XIE                    DATA           DGROUP         0a37:0002       00000000
+YIB                    DATA           DGROUP         0a37:0002       00000000
+YI                     DATA           DGROUP         0a37:0002       00000012
+YIE                    DATA           DGROUP         0a38:0004       00000000
+STRINGS                DATA           DGROUP         0a38:0004       00000000
+DATA                   DATA           DGROUP         0a38:0004       00000000
+_BSS                   BSS            DGROUP         0a39:0000       000004cf
+STACK                  STACK          DGROUP         0a86:0000       0000dac0
+
+
+                        +----------------+
+                        |   Memory Map   |
+                        +----------------+
+
+* = unreferenced symbol
++ = symbol only referenced locally
+
+Address        Symbol
+=======        ======
+
+Module: vgmtest.o(/dos/z/16/src/vgmtest.c)
+0000:0014      OPL2_Write_
+0000:003a      OPL2_ReadStatus_
+0000:0054      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_
+09cc: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:82a0      opl2out_
+0000:82e2*     opl3out_
+0000:831e*     opl3exp_
+0000:835a*     FMReset_
+0000:8398*     FMKeyOff_
+0000:83c2*     FMKeyOn_
+0000:8410*     FMSetVoice_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c)
+0000:22c2      _fmalloc_
+0000:22c2      malloc_
+09cc:0474+     ___fheap
+09cc:0476      ___fheapRover
+09cc:0478      ___LargestSizeB4Rover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
+0000:243f      __PIA
+0000:2438*     __PIS
+Module: vgmsnd.lib(/dos/z/16/src/lib/vgmsnd/vgmSnd.c)
+0000:862a      OpenVGMFile_
+0000:891a      FreeVGMFile_
+0000:8ed2      InitEngine_
+0000:9090      DeinitEngine_
+0000:90f8      PlayMusic_
+0000:9162*     PlaySFX_
+0000:91f6      StopMusic_
+0000:9216*     StopSFX_
+0000:92ac*     PauseMusic_
+0000:9308*     ResumeMusic_
+0000:9a54      UpdateSoundEngine_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c)
+0000:2456      printf_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
+09cc:0000*     __nullarea
+09cc:0484*     __ovlflag
+09cc:0485*     __intno
+09cc:0486*     __ovlvec
+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)
+09cc:0a6e      __argv
+09cc:0a72      ___argv
+09cc:0a76      __argc
+09cc: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)
+09cc: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)
+09cc:0492      __curbrk
+09cc:049a      __STACKLOW
+09cc:049c      __STACKTOP
+09cc:049e      __cbyte
+09cc:04a0      __child
+09cc:04a2      __no87
+09cc:04af      ___FPE_handler
+09cc:0494      __psp
+09cc:04a3      __get_ovl_stack
+09cc:04a7      __restore_ovl_stack
+09cc:04ab      __close_ovl_file
+09cc:04b3      __LpCmdLine
+09cc:04b7      __LpPgmName
+09cc:0496      __osmajor
+09cc:0497      __osminor
+09cc:0498      __osmode
+09cc:0499      __HShift
+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_
+09cc:04bc      ___nheapbeg
+09cc:04be      ___MiniHeapRover
+09cc: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_
+09cc:0a7e+     ___RmTmpFileFn
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c)
+0000:3fcd      _ffree_
+0000:3fcd      free_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c)
+09cc:04c2      ___iob
+09cc:0a82      ___OpenStreams
+09cc:0a86      ___ClosedStreams
+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)
+09cc: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_
+09cc:0a8e      _errno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c)
+09cc:0022      ___Alphabet
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
+0000:49dc      __EnterWVIDEO_
+09cc:062c+     ___WD_Present
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c)
+0000:4a00*     _heapenable_
+09cc:062e      ___heap_enabled
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
+09cc: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_
+09cc:0a90+     ___MiniHeapFreeRover
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c)
+0000:4d1f*     __set_commode_
+09cc:0632      __commode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c)
+09cc: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)
+09cc:0a92      ____Argv
+09cc:0a96      ____Argc
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
+0000:6ddf+     _null_exit_rtn_
+0000:6ddf+     __null_int23_exit_
+0000:6de0      exit_
+0000:6e01+     _exit_
+09cc:0636+     ___int23_exit
+09cc:063a+     ___FPE_handler_exit
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
+09cc:068e      __Start_XI
+09cc:06b2      __End_XI
+09cc:06b2      __Start_YI
+09cc:06c4      __End_YI
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c)
+09cc:0a98      ___historical_splitparms
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr)
+0000:6e1e      _DoINTR_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c)
+0000:7197      __flushall_
+0000:722b      flushall_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c)
+0000:7231      __GetIOMode_
+0000:7266      __SetIOMode_nogrow_
+09cc:063e      ___NFiles
+09cc:0640      ___init_mode
+09cc:0668      ___io_mode
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c)
+0000:729b+     __grow_iomode_
+0000:7382+     __shrink_iomode_
+0000:73c3      __SetIOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c)
+0000:746a      __qwrite_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c)
+0000:74ca      fsync_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c)
+0000:74cf*     sbrk_
+0000:74df      __brk_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c)
+0000:7547      _dos_open_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c)
+0000:756d      isatty_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c)
+0000:7589*     __get_doserrno_ptr_
+09cc:0a9c      __doserrno
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c)
+09cc:066c      ___umaskval
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c)
+0000:7590      _dos_creat_
+0000:75b4*     _dos_creatnew_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c)
+0000:75d5*     __dosretax
+0000:75da*     __dosret0
+0000:75e1      __set_errno_dos_
+0000:7649*     __set_errno_dos_reterr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c)
+0000:7654      getche_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(wctomb.c)
+0000:766e      wctomb_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c)
+0000:76b9+     utoa_
+0000:775a      itoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c)
+0000:77a4      strupr_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c)
+09cc:0682      ___EFG_printf
+09cc:0686*     ___EFG_scanf
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c)
+09cc:068a      ___IsDBCS
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c)
+0000:77ec*     _ismbblead_
+09cc:0a9e      ___MBCSIsTable
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c)
+0000:7808      ulltoa_
+0000:7945*     lltoa_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c)
+0000:79b6*     _frealloc_
+0000:79b6      realloc_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c)
+0000:7a92      __ChkTTYIOMode_
+0000:7b00*     __IOMode_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c)
+0000:7b10*     _dos_close_
+0000:7b1e      _dos_commit_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm)
+0000:7b2e      __doserror_
+0000:7b3c*     __doserror1_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c)
+0000:7b86      __mbinit_
+09cc:068c+     ___MBCodePage
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c)
+0000:7c61*     _msize_
+0000:7c7c      _fmsize_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nexpand.c)
+0000:7c8d      __HeapManager_expand_
+0000:8196      _nexpand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c)
+0000:81e9      _fexpand_
+0000:81e9*     _expand_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c)
+0000:821e      _bfree_
+Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c)
+0000:8243      _bexpand_
+
+
+                        +--------------------+
+                        |   Libraries Used   |
+                        +--------------------+
+
+vgmsnd.lib
+/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+                        +-----------------------+
+                        |   Linker Statistics   |
+                        +-----------------------+
+
+Stack size:  dac0 (56000.)
+Memory size:  00018320 (99104.)
+Entry point address: 0000:2486
+Link time: 00:00.00