From: sparky4 Date: Thu, 15 Oct 2015 19:57:06 +0000 (-0500) Subject: it works again ^^ now for mode X tweakings X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=1086873e60252ab8592e245c5e051aa03eb98a7b;p=16.git it works again ^^ now for mode X tweakings --- diff --git a/16.exe b/16.exe index b5c88362..00a9a828 100755 Binary files a/16.exe and b/16.exe differ diff --git a/16.map b/16.map index d4871d73..ce5ad949 100755 --- a/16.map +++ b/16.map @@ -1,7 +1,7 @@ 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/15 14:50:51 +Created on: 15/10/15 14:56:24 Executable Image: 16.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 137f:0000 0000f2c0 +DGROUP 1383:0000 0000f2c0 @@ -36,28 +36,28 @@ kitten_TEXT CODE AUTO 0000:6e50 0000080a 16_hc_TEXT CODE AUTO 0000:7660 0000158b timer_TEXT CODE AUTO 0000:8bf0 00000235 _TEXT CODE AUTO 08e3:0000 00007bc9 -modex16_TEXT CODE AUTO 08e3:7bd0 00002516 -bitmap_TEXT CODE AUTO 08e3:a0f0 00000605 -16text_TEXT CODE AUTO 08e3:a700 0000010d -16_in13_DATA FAR_DATA AUTO 1364:0000 000001a4 -FAR_DATA FAR_DATA AUTO 137e:0004 00000000 -_NULL BEGDATA DGROUP 137f:0000 00000020 -_AFTERNULL BEGDATA DGROUP 1381:0000 00000002 -CONST DATA DGROUP 1381:0002 00000076 -CONST2 DATA DGROUP 1388:0008 00000102 -_DATA DATA DGROUP 1399:0000 000005b1 -XIB DATA DGROUP 13f4:0002 00000000 -XI DATA DGROUP 13f4:0002 00000036 -XIE DATA DGROUP 13f7:0008 00000000 -YIB DATA DGROUP 13f7:0008 00000000 -YI DATA DGROUP 13f7:0008 00000018 -YIE DATA DGROUP 13f9:0000 00000000 -STRINGS DATA DGROUP 13f9:0000 00000000 -DATA DATA DGROUP 13f9:0000 00000000 -_emu_init_start EMU DGROUP 13f9:0000 00000000 -_emu_init_end EMU DGROUP 13f9:0000 00000000 -_BSS BSS DGROUP 13f9:0000 00001052 -STACK STACK DGROUP 14ff:0000 0000dac0 +modex16_TEXT CODE AUTO 08e3:7bd0 00002554 +bitmap_TEXT CODE AUTO 08e3:a130 00000605 +16text_TEXT CODE AUTO 08e3:a740 0000010d +16_in13_DATA FAR_DATA AUTO 1368:0000 000001a4 +FAR_DATA FAR_DATA AUTO 1382:0004 00000000 +_NULL BEGDATA DGROUP 1383:0000 00000020 +_AFTERNULL BEGDATA DGROUP 1385:0000 00000002 +CONST DATA DGROUP 1385:0002 00000076 +CONST2 DATA DGROUP 138c:0008 00000102 +_DATA DATA DGROUP 139d:0000 000005b1 +XIB DATA DGROUP 13f8:0002 00000000 +XI DATA DGROUP 13f8:0002 00000036 +XIE DATA DGROUP 13fb:0008 00000000 +YIB DATA DGROUP 13fb:0008 00000000 +YI DATA DGROUP 13fb:0008 00000018 +YIE DATA DGROUP 13fd:0000 00000000 +STRINGS DATA DGROUP 13fd:0000 00000000 +DATA DATA DGROUP 13fd:0000 00000000 +_emu_init_start EMU DGROUP 13fd:0000 00000000 +_emu_init_end EMU DGROUP 13fd:0000 00000000 +_BSS BSS DGROUP 13fd:0000 00001052 +STACK STACK DGROUP 1503:0000 0000dac0 +----------------+ @@ -71,12 +71,12 @@ Address Symbol ======= ====== Module: 16.o(/dos/z/16/src/16.c) -137f:07a0+ _player -137f:08a0+ _gvar -137f:0958+ _cpus -137f:095c* _gpal -137f:0960+ _dpal -137f:0964+ _engi_stat +1383:07a0+ _player +1383:08a0+ _gvar +1383:0958+ _cpus +1383:095c* _gpal +1383:0960+ _dpal +1383:0964+ _engi_stat 0000:0108 main_ Module: mapread.o(/dos/z/16/src/lib/mapread.c) 0000:0358+ jsoneq_ @@ -86,7 +86,7 @@ Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c) 0000:0f02 jsmn_parse_ 0000:13fe jsmn_init_ Module: 16_in.o(/dos/z/16/src/lib/16_in.c) -137f:098e+ _inpu +1383:098e+ _inpu 0000:1590+ INL_KeyService_ 0000:182a+ Mouse_ 0000:1882+ IN_GetJoyAbs_ @@ -134,9 +134,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c) 0000:5b5c+ MM_TotalFree_ 0000:5bf2* MM_Report_ 0000:65aa* MM_BombOnError_ -137f:0af0+ _beforesort -137f:0af4+ _aftersort -137f:0af8+ _XMSaddr +1383:0af0+ _beforesort +1383:0af4+ _aftersort +1383:0af8+ _XMSaddr Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c) 0000:65e0 detectcpu_ Module: 16_head.o(/dos/z/16/src/lib/16_head.c) @@ -154,9 +154,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c) 0000:6d20* CAL_OptimizeNodes_ 0000:6dd0* CA_Startup_ 0000:6e20* CA_Shutdown_ -137f:0b00* _finishcachebox -137f:0b04* _drawcachebox -137f:0b08* _updatecachebox +1383:0b00* _finishcachebox +1383:0b04* _drawcachebox +1383:0b08* _updatecachebox Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:6e8c KITTENGETS 0000:6eec* kittenopen_ @@ -167,7 +167,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:7444+ get_line_ 0000:74b6+ db_fetch_ 0000:754c+ db_insert_ -137f:04a4+ __kitten_catalog +1383:04a4+ __kitten_catalog Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c) 0000:780c+ LargestFreeBlock_ 0000:789a+ _coreleft_ @@ -195,54 +195,54 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 08e3:7dc4 VGAmodeX_ 08e3:7e56+ vgaGetMode_ 08e3:7e8c+ modexEnter_ -08e3:7fbc* modexLeave_ -08e3:7fd4+ modexsetBaseXMode_ -08e3:8026* modexDefaultPage_ -08e3:80b8* modexNextPage_ -08e3:8184* modexNextPageFlexibleSize_ -08e3:8252* modexShowPage_ -08e3:834e* modexPanPage_ -08e3:839e* modexSelectPlane_ -08e3:83c2+ modexClearRegion_ -08e3:84da* oldDrawBmp_ -08e3:8640* CDrawBmp_ -08e3:87a4* modexDrawBmp_ -08e3:880a+ modexDrawBmpRegion_ -08e3:8974* modex_sparky4_DrawBmpRegion_ -08e3:8ade* modexDrawPlanarBuf_ -08e3:8afc* modexDrawSprite_ -08e3:8b62+ modexDrawSpriteRegion_ -08e3:8cda* modexCopyPageRegion_ -08e3:8e44 modexFadeOn_ -08e3:8e74 modexFadeOff_ -08e3:8ea2* modexFlashOn_ -08e3:8ed0* modexFlashOff_ -08e3:8fa0 modexPalSave_ -08e3:8ff6 modexNewPal_ -08e3:9046* modexLoadPalFile_ -08e3:9128* modexSavePalFile_ -08e3:91a0 modexPalBlack_ -08e3:91ca* modexPalWhite_ -08e3:91f4+ modexPalUpdate_ -08e3:9764+ modexPalUpdate1_ -08e3:97de* modexPalUpdate0_ -08e3:982a+ chkcolor_ -08e3:9b42+ modexputPixel_ -08e3:9bd0* modexgetPixel_ -08e3:9c56* modexhlin_ -08e3:9cda* modexprint_ -08e3:9e74* modexprintbig_ -08e3:9ff0* pdump_ -08e3:a050* cls_ -08e3:a0be+ modexWaitBorder_ -137f:04d4+ _VGA +08e3:7fda* modexLeave_ +08e3:7ff2+ modexsetBaseXMode_ +08e3:8044* modexDefaultPage_ +08e3:80f6* modexNextPage_ +08e3:81c2* modexNextPageFlexibleSize_ +08e3:8290* modexShowPage_ +08e3:838c* modexPanPage_ +08e3:83dc* modexSelectPlane_ +08e3:8400+ modexClearRegion_ +08e3:8518* oldDrawBmp_ +08e3:867e* CDrawBmp_ +08e3:87e2* modexDrawBmp_ +08e3:8848+ modexDrawBmpRegion_ +08e3:89b2* modex_sparky4_DrawBmpRegion_ +08e3:8b1c* modexDrawPlanarBuf_ +08e3:8b3a* modexDrawSprite_ +08e3:8ba0+ modexDrawSpriteRegion_ +08e3:8d18* modexCopyPageRegion_ +08e3:8e82 modexFadeOn_ +08e3:8eb2 modexFadeOff_ +08e3:8ee0* modexFlashOn_ +08e3:8f0e* modexFlashOff_ +08e3:8fde modexPalSave_ +08e3:9034 modexNewPal_ +08e3:9084* modexLoadPalFile_ +08e3:9166* modexSavePalFile_ +08e3:91de modexPalBlack_ +08e3:9208* modexPalWhite_ +08e3:9232+ modexPalUpdate_ +08e3:97a2+ modexPalUpdate1_ +08e3:981c* modexPalUpdate0_ +08e3:9868+ chkcolor_ +08e3:9b80+ modexputPixel_ +08e3:9c0e* modexgetPixel_ +08e3:9c94* modexhlin_ +08e3:9d18* modexprint_ +08e3:9eb2* modexprintbig_ +08e3:a02e* pdump_ +08e3:a08e* cls_ +08e3:a0fc+ modexWaitBorder_ +1383:04d4+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 08e3:0042 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -137f:0000* __nullarea -137f:04e8* __ovlflag -137f:04e9* __intno -137f:04ea* __ovlvec +1383:0000* __nullarea +1383:04e8* __ovlflag +1383:04e9* __intno +1383:04ea* __ovlvec 08e3:0072 _cstart_ 08e3:0145* _Not_Enough_Memory_ 08e3:0277 __exit_ @@ -252,10 +252,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 08e3:02fe _big_code_ 08e3:02fe* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -137f:1414 __argv -137f:1418 ___argv -137f:141c __argc -137f:141e ___argc +1383:1414 __argv +1383:1418 ___argv +1383:141c __argc +1383:141e ___argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 08e3:0305 __PIA 08e3:02fe* __PIS @@ -264,12 +264,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 08e3:0359 _fmalloc_ 08e3:0359 malloc_ -137f:04ee ___fheap -137f:04f0 ___fheapRover -137f:04f2 ___LargestSizeB4Rover +1383:04ee ___fheap +1383:04f0 ___fheapRover +1383:04f2 ___LargestSizeB4Rover Module: gfx.lib(/dos/z/16/src/lib/bitmap.c) -08e3:a42e bitmapLoadPcx_ -08e3:a58a* bitmapLoadPcxTiles_ +08e3:a46e bitmapLoadPcx_ +08e3:a5ca* bitmapLoadPcxTiles_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c) 08e3:04ce strstr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c) @@ -283,11 +283,11 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 08e3:0b41 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 08e3:0eb8 __get_errno_ptr_ -137f:14a0 _errno +1383:14a0 _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -137f:0504 ___iob -137f:14a2 ___OpenStreams -137f:14a6 ___ClosedStreams +1383:0504 ___iob +1383:14a2 ___OpenStreams +1383:14a6 ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 08e3:0ebf fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c) @@ -318,22 +318,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c) 08e3:1366 _memavl_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 08e3:13ab _nmalloc_ -137f:066c ___nheapbeg -137f:066e ___MiniHeapRover -137f:0670 ___LargestSizeB4MiniHeapRover +1383:066c ___nheapbeg +1383:066e ___MiniHeapRover +1383:0670 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 08e3:1485 _ffree_ 08e3:1485 free_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 08e3:14f2 _nfree_ -137f:14aa+ ___MiniHeapFreeRover +1383:14aa+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 08e3:15ed+ _null_exit_rtn_ 08e3:15ed+ __null_int23_exit_ 08e3:15ee exit_ 08e3:160f+ _exit_ -137f:0672+ ___int23_exit -137f:0676 ___FPE_handler_exit +1383:0672+ ___int23_exit +1383:0676 ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c) 08e3:162b ultoa_ 08e3:16e9* ltoa_ @@ -343,7 +343,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 08e3:1a9b __doclose_ 08e3:1be5 __shutdown_stream_ 08e3:1bff fclose_ -137f:14ac+ ___RmTmpFileFn +1383:14ac+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c) 08e3:1c6a+ __ibm_bios_get_ticks_ 08e3:1ce1 clock_ @@ -354,7 +354,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 08e3:1f05 fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -137f:0098 __IsTable +1383:0098 __IsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 08e3:20fd tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c) @@ -389,31 +389,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c) 08e3:28f7 stackavail_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) -137f:0682 __8087 -137f:0683 __real87 -137f:0684 __dos87emucall -137f:0686 __dos87real +1383:0682 __8087 +1383:0683 __real87 +1383:0684 __dos87emucall +1383:0686 __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 08e3:2906* __exit_with_msg_ 08e3:290b __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -137f:0688 __curbrk -137f:0690 __STACKLOW -137f:0692 __STACKTOP -137f:0694 __cbyte -137f:0696 __child -137f:0698 __no87 -137f:06a5 ___FPE_handler -137f:068a __psp -137f:0699 __get_ovl_stack -137f:069d __restore_ovl_stack -137f:06a1 __close_ovl_file -137f:06a9 __LpCmdLine -137f:06ad __LpPgmName -137f:068c __osmajor -137f:068d __osminor -137f:068e __osmode -137f:068f __HShift +1383:0688 __curbrk +1383:0690 __STACKLOW +1383:0692 __STACKTOP +1383:0694 __cbyte +1383:0696 __child +1383:0698 __no87 +1383:06a5 ___FPE_handler +1383:068a __psp +1383:0699 __get_ovl_stack +1383:069d __restore_ovl_stack +1383:06a1 __close_ovl_file +1383:06a9 __LpCmdLine +1383:06ad __LpPgmName +1383:068c __osmajor +1383:068d __osminor +1383:068e __osmode +1383:068f __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) 08e3:292a __fill_buffer_ 08e3:2b79 fgetc_ @@ -423,8 +423,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c) 08e3:3039 rand_ 08e3:307b* srand_ Module: gfx.lib(/dos/z/16/src/lib/16text.c) -08e3:a776* textInit_ -137f:14b4 _romFonts +08e3:a7b6* textInit_ +1383:14b4 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 08e3:30b8 __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c) @@ -435,7 +435,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 08e3:32cc __FiniRtns 08e3:32cc* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -137f:06b6 ___uselfn +1383:06b6 ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 08e3:3330 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) @@ -453,9 +453,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 08e3:3b7c __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 08e3:3b7f* __set_commode_ -137f:06b8 __commode +1383:06b8 __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -137f:06ba __fmode +1383:06ba __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c) 08e3:3b8b __chktty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c) @@ -491,7 +491,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 08e3:4ab6 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -137f:0050 ___Alphabet +1383:0050 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c) 08e3:4ab9 __lseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) @@ -502,9 +502,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 08e3:4b72 __GetIOMode_ 08e3:4ba7 __SetIOMode_nogrow_ -137f:06d0 ___NFiles -137f:06d2 ___init_mode -137f:06fa ___io_mode +1383:06d0 ___NFiles +1383:06d2 ___init_mode +1383:06fa ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c) 08e3:4bdc __close_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) @@ -524,9 +524,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 08e3:4ef2 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 08e3:4f0e* __get_doserrno_ptr_ -137f:14d0 __doserrno +1383:14d0 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -137f:06fe ___umaskval +1383:06fe ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 08e3:4f15 _dos_creat_ 08e3:4f39* _dos_creatnew_ @@ -537,9 +537,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c) 08e3:5142 vsprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c) -137f:14d4 ___env_mask -137f:14d8 _environ -137f:14dc* __wenviron +1383:14d4 ___env_mask +1383:14d8 _environ +1383:14dc* __wenviron Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c) 08e3:5184 _mbterm_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c) @@ -560,7 +560,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 08e3:56da __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 08e3:574a __EnterWVIDEO_ -137f:071e+ ___WD_Present +1383:071e+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c) 08e3:576e __flushall_ 08e3:5802 flushall_ @@ -573,20 +573,20 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 08e3:5a57 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -137f:14e0 ____Argv -137f:14e4 ____Argc +1383:14e0 ____Argv +1383:14e4 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -137f:0720 __amblksiz +1383:0720 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -137f:0752 __Start_XI -137f:0788 __End_XI -137f:0788 __Start_YI -137f:07a0 __End_YI +1383:0752 __Start_XI +1383:0788 __End_XI +1383:0788 __Start_YI +1383:07a0 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -137f:14e6 ___historical_splitparms +1383:14e6 ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 08e3:6bc8* _heapenable_ -137f:0722 ___heap_enabled +1383:0722 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c) 08e3:6bd9 _bfree_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c) @@ -602,22 +602,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c) 08e3:706c __setenvp_ 08e3:71f8 __freeenvp_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -137f:0724 ___IsDBCS +1383:0724 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 08e3:7256* _ismbblead_ -137f:14ec ___MBCSIsTable +1383:14ec ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 08e3:72b0 __mbinit_ -137f:0726 ___MBCodePage +1383:0726 ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c) 08e3:738b _mbdtoupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c) 08e3:7399 toupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) -137f:0728 __8087cw +1383:0728 __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) -137f:072a ___Save8087 -137f:072e ___Rest8087 +1383:072a ___Save8087 +1383:072e ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 08e3:73a8 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) @@ -631,8 +631,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 08e3:7573 strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -137f:0732 ___EFG_printf -137f:0736* ___EFG_scanf +1383:0732 ___EFG_printf +1383:0736* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 08e3:75bb ulltoa_ 08e3:76f8* lltoa_ @@ -646,7 +646,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm) 08e3:78f5 __Fini_FPE_handler_ 08e3:792c* __FPEHandler Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) -137f:0750 ___FPE_int +1383:0750 ___FPE_int +--------------------+ @@ -662,6 +662,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00022ab0 (142000.) +Memory size: 00022af0 (142064.) Entry point address: 08e3:0072 Link time: 00:00.00 diff --git a/bakapi.exe b/bakapi.exe index 0fcc3820..5303baf9 100755 Binary files a/bakapi.exe and b/bakapi.exe differ diff --git a/bakapi.map b/bakapi.map index f7b4d01f..c85e3e23 100755 --- a/bakapi.map +++ b/bakapi.map @@ -1,7 +1,7 @@ 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/15 14:50:51 +Created on: 15/10/15 14:56:24 Executable Image: bakapi.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 142f:0000 0000f140 +DGROUP 1433:0000 0000f140 @@ -34,28 +34,28 @@ kitten_TEXT CODE AUTO 0000:5d50 0000080a 16_hc_TEXT CODE AUTO 0000:6560 0000158b timer_TEXT CODE AUTO 0000:7af0 00000235 _TEXT CODE AUTO 07d3:0000 000090ab -modex16_TEXT CODE AUTO 07d3:90b0 00002516 -16text_TEXT CODE AUTO 07d3:b5d0 0000010d -bakapee_TEXT CODE AUTO 07d3:b6e0 00000d2b -16_in13_DATA FAR_DATA AUTO 1414:0000 000001a4 -FAR_DATA FAR_DATA AUTO 142e:0004 00000000 -_NULL BEGDATA DGROUP 142f:0000 00000020 -_AFTERNULL BEGDATA DGROUP 1431:0000 00000002 -CONST DATA DGROUP 1431:0002 00000076 -CONST2 DATA DGROUP 1438:0008 0000010a -_DATA DATA DGROUP 144a:0000 00000599 -XIB DATA DGROUP 14a3:000a 00000000 -XI DATA DGROUP 14a3:000a 00000036 -XIE DATA DGROUP 14a7:0000 00000000 -YIB DATA DGROUP 14a7:0000 00000000 -YI DATA DGROUP 14a7:0000 00000018 -YIE DATA DGROUP 14a8:0008 00000000 -STRINGS DATA DGROUP 14a8:0008 00000000 -DATA DATA DGROUP 14a8:0008 00000000 -_emu_init_start EMU DGROUP 14a8:0008 00000000 -_emu_init_end EMU DGROUP 14a8:0008 00000000 -_BSS BSS DGROUP 14a9:0000 00000ed2 -STACK STACK DGROUP 1597:0000 0000dac0 +modex16_TEXT CODE AUTO 07d3:90b0 00002554 +16text_TEXT CODE AUTO 07d3:b610 0000010d +bakapee_TEXT CODE AUTO 07d3:b720 00000d2b +16_in13_DATA FAR_DATA AUTO 1418:0000 000001a4 +FAR_DATA FAR_DATA AUTO 1432:0004 00000000 +_NULL BEGDATA DGROUP 1433:0000 00000020 +_AFTERNULL BEGDATA DGROUP 1435:0000 00000002 +CONST DATA DGROUP 1435:0002 00000076 +CONST2 DATA DGROUP 143c:0008 0000010a +_DATA DATA DGROUP 144e:0000 00000599 +XIB DATA DGROUP 14a7:000a 00000000 +XI DATA DGROUP 14a7:000a 00000036 +XIE DATA DGROUP 14ab:0000 00000000 +YIB DATA DGROUP 14ab:0000 00000000 +YI DATA DGROUP 14ab:0000 00000018 +YIE DATA DGROUP 14ac:0008 00000000 +STRINGS DATA DGROUP 14ac:0008 00000000 +DATA DATA DGROUP 14ac:0008 00000000 +_emu_init_start EMU DGROUP 14ac:0008 00000000 +_emu_init_end EMU DGROUP 14ac:0008 00000000 +_BSS BSS DGROUP 14ad:0000 00000ed2 +STACK STACK DGROUP 159b:0000 0000dac0 +----------------+ @@ -70,16 +70,16 @@ Address Symbol Module: bakapi.o(/dos/z/16/src/bakapi.c) 0000:00de main_ -142f:01b4* _ch -142f:07b0+ _gvar -142f:0868+ _xdir -142f:086a+ _ydir -142f:086c+ _ypos -142f:086e+ _d -142f:0870+ _xpos -142f:0872+ _key +1433:01b4* _ch +1433:07b0+ _gvar +1433:0868+ _xdir +1433:086a+ _ydir +1433:086c+ _ypos +1433:086e+ _d +1433:0870+ _xpos +1433:0872+ _key Module: 16_in.o(/dos/z/16/src/lib/16_in.c) -142f:088e+ _inpu +1433:088e+ _inpu 0000:0490+ INL_KeyService_ 0000:072a+ Mouse_ 0000:0782+ IN_GetJoyAbs_ @@ -127,9 +127,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c) 0000:4a5c+ MM_TotalFree_ 0000:4af2* MM_Report_ 0000:54aa* MM_BombOnError_ -142f:09f0+ _beforesort -142f:09f4+ _aftersort -142f:09f8+ _XMSaddr +1433:09f0+ _beforesort +1433:09f4+ _aftersort +1433:09f8+ _XMSaddr Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c) 0000:54e0 detectcpu_ Module: 16_head.o(/dos/z/16/src/lib/16_head.c) @@ -147,9 +147,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c) 0000:5c20* CAL_OptimizeNodes_ 0000:5cd0* CA_Startup_ 0000:5d20* CA_Shutdown_ -142f:0a00* _finishcachebox -142f:0a04* _drawcachebox -142f:0a08* _updatecachebox +1433:0a00* _finishcachebox +1433:0a04* _drawcachebox +1433:0a08* _updatecachebox Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:5d8c KITTENGETS 0000:5dec* kittenopen_ @@ -160,7 +160,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:6344+ get_line_ 0000:63b6+ db_fetch_ 0000:644c+ db_insert_ -142f:04a4+ __kitten_catalog +1433:04a4+ __kitten_catalog Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c) 0000:670c+ LargestFreeBlock_ 0000:679a+ _coreleft_ @@ -188,47 +188,47 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 07d3:92a4 VGAmodeX_ 07d3:9336+ vgaGetMode_ 07d3:936c+ modexEnter_ -07d3:949c* modexLeave_ -07d3:94b4+ modexsetBaseXMode_ -07d3:9506 modexDefaultPage_ -07d3:9598* modexNextPage_ -07d3:9664* modexNextPageFlexibleSize_ -07d3:9732 modexShowPage_ -07d3:982e* modexPanPage_ -07d3:987e* modexSelectPlane_ -07d3:98a2 modexClearRegion_ -07d3:99ba* oldDrawBmp_ -07d3:9b20* CDrawBmp_ -07d3:9c84* modexDrawBmp_ -07d3:9cea+ modexDrawBmpRegion_ -07d3:9e54* modex_sparky4_DrawBmpRegion_ -07d3:9fbe* modexDrawPlanarBuf_ -07d3:9fdc* modexDrawSprite_ -07d3:a042+ modexDrawSpriteRegion_ -07d3:a1ba* modexCopyPageRegion_ -07d3:a324* modexFadeOn_ -07d3:a354* modexFadeOff_ -07d3:a382* modexFlashOn_ -07d3:a3b0* modexFlashOff_ -07d3:a480+ modexPalSave_ -07d3:a4d6+ modexNewPal_ -07d3:a526* modexLoadPalFile_ -07d3:a608* modexSavePalFile_ -07d3:a680* modexPalBlack_ -07d3:a6aa* modexPalWhite_ -07d3:a6d4+ modexPalUpdate_ -07d3:ac44+ modexPalUpdate1_ -07d3:acbe* modexPalUpdate0_ -07d3:ad0a+ chkcolor_ -07d3:b022 modexputPixel_ -07d3:b0b0* modexgetPixel_ -07d3:b136* modexhlin_ -07d3:b1ba modexprint_ -07d3:b354* modexprintbig_ -07d3:b4d0* pdump_ -07d3:b530 cls_ -07d3:b59e+ modexWaitBorder_ -142f:04d4 _VGA +07d3:94ba* modexLeave_ +07d3:94d2+ modexsetBaseXMode_ +07d3:9524 modexDefaultPage_ +07d3:95d6* modexNextPage_ +07d3:96a2* modexNextPageFlexibleSize_ +07d3:9770 modexShowPage_ +07d3:986c* modexPanPage_ +07d3:98bc* modexSelectPlane_ +07d3:98e0 modexClearRegion_ +07d3:99f8* oldDrawBmp_ +07d3:9b5e* CDrawBmp_ +07d3:9cc2* modexDrawBmp_ +07d3:9d28+ modexDrawBmpRegion_ +07d3:9e92* modex_sparky4_DrawBmpRegion_ +07d3:9ffc* modexDrawPlanarBuf_ +07d3:a01a* modexDrawSprite_ +07d3:a080+ modexDrawSpriteRegion_ +07d3:a1f8* modexCopyPageRegion_ +07d3:a362* modexFadeOn_ +07d3:a392* modexFadeOff_ +07d3:a3c0* modexFlashOn_ +07d3:a3ee* modexFlashOff_ +07d3:a4be+ modexPalSave_ +07d3:a514+ modexNewPal_ +07d3:a564* modexLoadPalFile_ +07d3:a646* modexSavePalFile_ +07d3:a6be* modexPalBlack_ +07d3:a6e8* modexPalWhite_ +07d3:a712+ modexPalUpdate_ +07d3:ac82+ modexPalUpdate1_ +07d3:acfc* modexPalUpdate0_ +07d3:ad48+ chkcolor_ +07d3:b060 modexputPixel_ +07d3:b0ee* modexgetPixel_ +07d3:b174* modexhlin_ +07d3:b1f8 modexprint_ +07d3:b392* modexprintbig_ +07d3:b50e* pdump_ +07d3:b56e cls_ +07d3:b5dc+ modexWaitBorder_ +1433:04d4 _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c) 07d3:0042 rand_ 07d3:0084* srand_ @@ -236,20 +236,20 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 07d3:00af __PIA 07d3:00a8* __PIS Module: gfx.lib(/dos/z/16/src/lib/16text.c) -07d3:b646 textInit_ -142f:1314 _romFonts +07d3:b686 textInit_ +1433:1314 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c) 07d3:00c6 kbhit_ Module: gfx.lib(/dos/z/16/src/lib/bakapee.c) -07d3:b724+ colortest_ -07d3:b778+ colorz_ -07d3:b7de+ ssd_ -07d3:b95e+ dingpp_ -07d3:b9d0+ dingo_ -07d3:badc+ dingas_ -07d3:bb8a+ dingu_ -07d3:bbec+ dingq_ -07d3:bc8c ding_ +07d3:b764+ colortest_ +07d3:b7b8+ colorz_ +07d3:b81e+ ssd_ +07d3:b99e+ dingpp_ +07d3:ba10+ dingo_ +07d3:bb1c+ dingas_ +07d3:bbca+ dingu_ +07d3:bc2c+ dingq_ +07d3:bccc ding_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 07d3:00dd printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c) @@ -258,10 +258,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(scanf.c) 07d3:01d6+ vscanf_ 07d3:0204 scanf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -142f:0000* __nullarea -142f:04f4* __ovlflag -142f:04f5* __intno -142f:04f6* __ovlvec +1433:0000* __nullarea +1433:04f4* __ovlflag +1433:04f5* __intno +1433:04f6* __ovlvec 07d3:022c _cstart_ 07d3:02ff* _Not_Enough_Memory_ 07d3:0431 __exit_ @@ -271,10 +271,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 07d3:04b8 _big_code_ 07d3:04b8* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -142f:132c __argv -142f:1330 ___argv -142f:1334 __argc -142f:1336 ___argc +1433:132c __argv +1433:1330 ___argv +1433:1334 __argc +1433:1336 ___argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) 07d3:04b8+ int86x_ 07d3:063b int86_ @@ -296,28 +296,28 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c) 07d3:07e4 _memavl_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 07d3:0829 _nmalloc_ -142f:04fa ___nheapbeg -142f:04fc ___MiniHeapRover -142f:04fe ___LargestSizeB4MiniHeapRover +1433:04fa ___nheapbeg +1433:04fc ___MiniHeapRover +1433:04fe ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 07d3:0903 _fmalloc_ 07d3:0903 malloc_ -142f:0500 ___fheap -142f:0502 ___fheapRover -142f:0504 ___LargestSizeB4Rover +1433:0500 ___fheap +1433:0502 ___fheapRover +1433:0504 ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 07d3:0a78 _ffree_ 07d3:0a78 free_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 07d3:0ae5 _nfree_ -142f:1338+ ___MiniHeapFreeRover +1433:1338+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 07d3:0be0+ _null_exit_rtn_ 07d3:0be0+ __null_int23_exit_ 07d3:0be1 exit_ 07d3:0c02+ _exit_ -142f:0506+ ___int23_exit -142f:050a ___FPE_handler_exit +1433:0506+ ___int23_exit +1433:050a ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm) 07d3:0c1e __PTC Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c) @@ -336,7 +336,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 07d3:15c5 __doclose_ 07d3:170f __shutdown_stream_ 07d3:1729 fclose_ -142f:133a+ ___RmTmpFileFn +1433:133a+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c) 07d3:1794+ __ibm_bios_get_ticks_ 07d3:180b clock_ @@ -345,7 +345,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 07d3:1a18 fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -142f:0098 __IsTable +1433:0098 __IsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 07d3:1c10 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c) @@ -380,31 +380,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c) 07d3:240b stackavail_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) -142f:0516 __8087 -142f:0517 __real87 -142f:0518 __dos87emucall -142f:051a __dos87real +1433:0516 __8087 +1433:0517 __real87 +1433:0518 __dos87emucall +1433:051a __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 07d3:241a* __exit_with_msg_ 07d3:241f __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -142f:051c __curbrk -142f:0524 __STACKLOW -142f:0526 __STACKTOP -142f:0528 __cbyte -142f:052a __child -142f:052c __no87 -142f:0539 ___FPE_handler -142f:051e __psp -142f:052d __get_ovl_stack -142f:0531 __restore_ovl_stack -142f:0535 __close_ovl_file -142f:053d __LpCmdLine -142f:0541 __LpPgmName -142f:0520 __osmajor -142f:0521 __osminor -142f:0522 __osmode -142f:0523 __HShift +1433:051c __curbrk +1433:0524 __STACKLOW +1433:0526 __STACKTOP +1433:0528 __cbyte +1433:052a __child +1433:052c __no87 +1433:0539 ___FPE_handler +1433:051e __psp +1433:052d __get_ovl_stack +1433:0531 __restore_ovl_stack +1433:0535 __close_ovl_file +1433:053d __LpCmdLine +1433:0541 __LpPgmName +1433:0520 __osmajor +1433:0521 __osminor +1433:0522 __osmode +1433:0523 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) 07d3:243e+ __fill_buffer_ 07d3:268d fgetc_ @@ -413,9 +413,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(delay.c) 07d3:2b4d delay_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -142f:0546 ___iob -142f:1342 ___OpenStreams -142f:1346 ___ClosedStreams +1433:0546 ___iob +1433:1342 ___OpenStreams +1433:1346 ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 07d3:2cdf __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ungetc.c) @@ -430,7 +430,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 07d3:43f2 __FiniRtns 07d3:43f2* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -142f:06ae ___uselfn +1433:06ae ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 07d3:4456 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) @@ -456,7 +456,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 07d3:4f3c __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -142f:0022 ___Alphabet +1433:0022 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c) 07d3:4f3f __lseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) @@ -466,18 +466,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) 07d3:4fed* __set_errno_dos_reterr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 07d3:4ff8* __get_errno_ptr_ -142f:134e _errno +1433:134e _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 07d3:4fff __GetIOMode_ 07d3:5034 __SetIOMode_nogrow_ -142f:06c4 ___NFiles -142f:06c6 ___init_mode -142f:06ee ___io_mode +1433:06c4 ___NFiles +1433:06c6 ___init_mode +1433:06ee ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 07d3:5069* __set_commode_ -142f:06f2 __commode +1433:06f2 __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -142f:06f4 __fmode +1433:06f4 __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c) 07d3:5075 __chktty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c) @@ -504,9 +504,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 07d3:567c isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 07d3:5698* __get_doserrno_ptr_ -142f:1350 __doserrno +1433:1350 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -142f:06f6 ___umaskval +1433:06f6 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 07d3:569f _dos_creat_ 07d3:56c3* _dos_creatnew_ @@ -517,9 +517,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c) 07d3:58cc vsprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c) -142f:1354 ___env_mask -142f:1358 _environ -142f:135c* __wenviron +1433:1354 ___env_mask +1433:1358 _environ +1433:135c* __wenviron Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c) 07d3:590e _mbterm_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c) @@ -540,7 +540,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 07d3:5e64 __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 07d3:5ed4 __EnterWVIDEO_ -142f:0716+ ___WD_Present +1433:0716+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c) 07d3:5ef8 __flushall_ 07d3:5f8c flushall_ @@ -562,41 +562,41 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 07d3:65d4 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -142f:0718 ___IsDBCS +1433:0718 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 07d3:7744* _ismbblead_ -142f:1360 ___MBCSIsTable +1433:1360 ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbtowc.c) 07d3:7760 mbtowc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bits.c) -142f:019a __Bits +1433:019a __Bits Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fdfs086.asm) 07d3:787e __FDFS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -142f:071a ___EFG_printf -142f:071e ___EFG_scanf +1433:071a ___EFG_printf +1433:071e ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i8m086.asm) 07d3:78f5* __I8M 07d3:78f5 __U8M 07d3:78da* __I8ME 07d3:78da* __U8ME Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -142f:1462 ____Argv -142f:1466 ____Argc +1433:1462 ____Argv +1433:1466 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -142f:0722 __amblksiz +1433:0722 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -142f:074a __Start_XI -142f:0780 __End_XI -142f:0780 __Start_YI -142f:0798 __End_YI +1433:074a __Start_XI +1433:0780 __End_XI +1433:0780 __Start_YI +1433:0798 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -142f:1468 ___historical_splitparms +1433:1468 ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) 07d3:7a40 _DoINTR_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 07d3:7db9* _heapenable_ -142f:0724 ___heap_enabled +1433:0724 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c) 07d3:7dca* sbrk_ 07d3:7dda __brk_ @@ -610,16 +610,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c) 07d3:80cd __freeenvp_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 07d3:8169 __mbinit_ -142f:0726 ___MBCodePage +1433:0726 ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c) 07d3:8244 _mbdtoupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c) 07d3:8252 toupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) -142f:0728 __8087cw +1433:0728 __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) -142f:072a ___Save8087 -142f:072e ___Rest8087 +1433:072a ___Save8087 +1433:072e ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 07d3:8261 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) @@ -658,7 +658,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c) 07d3:9047 _bexpand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) -142f:0748 ___FPE_int +1433:0748 ___FPE_int +--------------------+ @@ -674,6 +674,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00023430 (144432.) +Memory size: 00023470 (144496.) Entry point address: 07d3:022c -Link time: 00:00.00 +Link time: 00:00.10 diff --git a/fontgfx.exe b/fontgfx.exe index 0516c5e4..19b7743e 100755 Binary files a/fontgfx.exe and b/fontgfx.exe differ diff --git a/fontgfx.map b/fontgfx.map index 0d9fb156..09ed7a93 100755 --- a/fontgfx.map +++ b/fontgfx.map @@ -1,7 +1,7 @@ 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/15 14:50:51 +Created on: 15/10/15 14:56:24 Executable Image: fontgfx.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 11a1:0000 0000f550 +DGROUP 11a5:0000 0000f550 @@ -35,26 +35,26 @@ kitten_TEXT CODE AUTO 0000:5bf0 0000080a timer_TEXT CODE AUTO 0000:7990 00000235 _TEXT CODE AUTO 0000:7bd0 00007653 16text_TEXT CODE AUTO 0000:f230 0000010d -modex16_TEXT CODE AUTO 0f34:0000 00002516 -16_in13_DATA FAR_DATA AUTO 1186:0000 000001a4 -FAR_DATA FAR_DATA AUTO 11a0:0004 00000000 -_NULL BEGDATA DGROUP 11a1:0000 00000020 -_AFTERNULL BEGDATA DGROUP 11a3:0000 00000002 -CONST DATA DGROUP 11a3:0002 00000076 -CONST2 DATA DGROUP 11aa:0008 00000102 -_DATA DATA DGROUP 11bb:0000 000009e1 -XIB DATA DGROUP 1259:0002 00000000 -XI DATA DGROUP 1259:0002 00000036 -XIE DATA DGROUP 125c:0008 00000000 -YIB DATA DGROUP 125c:0008 00000000 -YI DATA DGROUP 125c:0008 00000018 -YIE DATA DGROUP 125e:0000 00000000 -STRINGS DATA DGROUP 125e:0000 00000000 -DATA DATA DGROUP 125e:0000 00000000 -_emu_init_start EMU DGROUP 125e:0000 00000000 -_emu_init_end EMU DGROUP 125e:0000 00000000 -_BSS BSS DGROUP 125e:0000 00000eb2 -STACK STACK DGROUP 134a:0000 0000dac0 +modex16_TEXT CODE AUTO 0f34:0000 00002554 +16_in13_DATA FAR_DATA AUTO 118a:0000 000001a4 +FAR_DATA FAR_DATA AUTO 11a4:0004 00000000 +_NULL BEGDATA DGROUP 11a5:0000 00000020 +_AFTERNULL BEGDATA DGROUP 11a7:0000 00000002 +CONST DATA DGROUP 11a7:0002 00000076 +CONST2 DATA DGROUP 11ae:0008 00000102 +_DATA DATA DGROUP 11bf:0000 000009e1 +XIB DATA DGROUP 125d:0002 00000000 +XI DATA DGROUP 125d:0002 00000036 +XIE DATA DGROUP 1260:0008 00000000 +YIB DATA DGROUP 1260:0008 00000000 +YI DATA DGROUP 1260:0008 00000018 +YIE DATA DGROUP 1262:0000 00000000 +STRINGS DATA DGROUP 1262:0000 00000000 +DATA DATA DGROUP 1262:0000 00000000 +_emu_init_start EMU DGROUP 1262:0000 00000000 +_emu_init_end EMU DGROUP 1262:0000 00000000 +_BSS BSS DGROUP 1262:0000 00000eb2 +STACK STACK DGROUP 134e:0000 0000dac0 +----------------+ @@ -69,9 +69,9 @@ Address Symbol Module: fontgfx.o(/dos/z/16/src/fontgfx.c) 0000:0048 main_ -11a1:0bd0+ _gvar +11a5:0bd0+ _gvar Module: 16_in.o(/dos/z/16/src/lib/16_in.c) -11a1:0c9e+ _inpu +11a5:0c9e+ _inpu 0000:0330+ INL_KeyService_ 0000:05ca+ Mouse_ 0000:0622+ IN_GetJoyAbs_ @@ -119,9 +119,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c) 0000:48fc+ MM_TotalFree_ 0000:4992* MM_Report_ 0000:534a* MM_BombOnError_ -11a1:0e00+ _beforesort -11a1:0e04+ _aftersort -11a1:0e08+ _XMSaddr +11a5:0e00+ _beforesort +11a5:0e04+ _aftersort +11a5:0e08+ _XMSaddr Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c) 0000:5380 detectcpu_ Module: 16_head.o(/dos/z/16/src/lib/16_head.c) @@ -139,9 +139,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c) 0000:5ac0* CAL_OptimizeNodes_ 0000:5b70* CA_Startup_ 0000:5bc0* CA_Shutdown_ -11a1:0e10* _finishcachebox -11a1:0e14* _drawcachebox -11a1:0e18* _updatecachebox +11a5:0e10* _finishcachebox +11a5:0e14* _drawcachebox +11a5:0e18* _updatecachebox Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:5c2c KITTENGETS 0000:5c8c* kittenopen_ @@ -152,7 +152,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:61e4+ get_line_ 0000:6256+ db_fetch_ 0000:62ec+ db_insert_ -11a1:08e4+ __kitten_catalog +11a5:08e4+ __kitten_catalog Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c) 0000:65ac+ LargestFreeBlock_ 0000:663a+ _coreleft_ @@ -178,52 +178,52 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:7bf5 __STKOVERFLOW_ Module: gfx.lib(/dos/z/16/src/lib/16text.c) 0000:f2a6 textInit_ -11a1:0e24 _romFonts +11a5:0e24 _romFonts Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0f34:01f4 VGAmodeX_ 0f34:0286+ vgaGetMode_ 0f34:02bc+ modexEnter_ -0f34:03ec* modexLeave_ -0f34:0404+ modexsetBaseXMode_ -0f34:0456 modexDefaultPage_ -0f34:04e8* modexNextPage_ -0f34:05b4* modexNextPageFlexibleSize_ -0f34:0682* modexShowPage_ -0f34:077e* modexPanPage_ -0f34:07ce* modexSelectPlane_ -0f34:07f2+ modexClearRegion_ -0f34:090a* oldDrawBmp_ -0f34:0a70* CDrawBmp_ -0f34:0bd4* modexDrawBmp_ -0f34:0c3a+ modexDrawBmpRegion_ -0f34:0da4* modex_sparky4_DrawBmpRegion_ -0f34:0f0e* modexDrawPlanarBuf_ -0f34:0f2c* modexDrawSprite_ -0f34:0f92+ modexDrawSpriteRegion_ -0f34:110a* modexCopyPageRegion_ -0f34:1274* modexFadeOn_ -0f34:12a4* modexFadeOff_ -0f34:12d2* modexFlashOn_ -0f34:1300* modexFlashOff_ -0f34:13d0+ modexPalSave_ -0f34:1426+ modexNewPal_ -0f34:1476* modexLoadPalFile_ -0f34:1558* modexSavePalFile_ -0f34:15d0* modexPalBlack_ -0f34:15fa* modexPalWhite_ -0f34:1624+ modexPalUpdate_ -0f34:1b94+ modexPalUpdate1_ -0f34:1c0e* modexPalUpdate0_ -0f34:1c5a+ chkcolor_ -0f34:1f72+ modexputPixel_ -0f34:2000* modexgetPixel_ -0f34:2086* modexhlin_ -0f34:210a modexprint_ -0f34:22a4 modexprintbig_ -0f34:2420* pdump_ -0f34:2480* cls_ -0f34:24ee+ modexWaitBorder_ -11a1:0914+ _VGA +0f34:040a* modexLeave_ +0f34:0422+ modexsetBaseXMode_ +0f34:0474 modexDefaultPage_ +0f34:0526* modexNextPage_ +0f34:05f2* modexNextPageFlexibleSize_ +0f34:06c0* modexShowPage_ +0f34:07bc* modexPanPage_ +0f34:080c* modexSelectPlane_ +0f34:0830+ modexClearRegion_ +0f34:0948* oldDrawBmp_ +0f34:0aae* CDrawBmp_ +0f34:0c12* modexDrawBmp_ +0f34:0c78+ modexDrawBmpRegion_ +0f34:0de2* modex_sparky4_DrawBmpRegion_ +0f34:0f4c* modexDrawPlanarBuf_ +0f34:0f6a* modexDrawSprite_ +0f34:0fd0+ modexDrawSpriteRegion_ +0f34:1148* modexCopyPageRegion_ +0f34:12b2* modexFadeOn_ +0f34:12e2* modexFadeOff_ +0f34:1310* modexFlashOn_ +0f34:133e* modexFlashOff_ +0f34:140e+ modexPalSave_ +0f34:1464+ modexNewPal_ +0f34:14b4* modexLoadPalFile_ +0f34:1596* modexSavePalFile_ +0f34:160e* modexPalBlack_ +0f34:1638* modexPalWhite_ +0f34:1662+ modexPalUpdate_ +0f34:1bd2+ modexPalUpdate1_ +0f34:1c4c* modexPalUpdate0_ +0f34:1c98+ chkcolor_ +0f34:1fb0+ modexputPixel_ +0f34:203e* modexgetPixel_ +0f34:20c4* modexhlin_ +0f34:2148 modexprint_ +0f34:22e2 modexprintbig_ +0f34:245e* pdump_ +0f34:24be* cls_ +0f34:252c+ modexWaitBorder_ +11a5:0914+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 0000:7c19 __PIA 0000:7c12* __PIS @@ -234,10 +234,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c) 0000:7c79 sprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -11a1:0000* __nullarea -11a1:0928* __ovlflag -11a1:0929* __intno -11a1:092a* __ovlvec +11a5:0000* __nullarea +11a5:0928* __ovlflag +11a5:0929* __intno +11a5:092a* __ovlvec 0000:7ca8 _cstart_ 0000:7d7b* _Not_Enough_Memory_ 0000:7ead __exit_ @@ -247,10 +247,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:7f34 _big_code_ 0000:7f34* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -11a1:173c __argv -11a1:1740 ___argv -11a1:1744 __argc -11a1:1746 ___argc +11a5:173c __argv +11a5:1740 ___argv +11a5:1744 __argc +11a5:1746 ___argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) 0000:7f34+ int86x_ 0000:80b7 int86_ @@ -272,28 +272,28 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c) 0000:8260 _memavl_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:82a5 _nmalloc_ -11a1:092e ___nheapbeg -11a1:0930 ___MiniHeapRover -11a1:0932 ___LargestSizeB4MiniHeapRover +11a5:092e ___nheapbeg +11a5:0930 ___MiniHeapRover +11a5:0932 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:837f _fmalloc_ 0000:837f malloc_ -11a1:0934 ___fheap -11a1:0936 ___fheapRover -11a1:0938 ___LargestSizeB4Rover +11a5:0934 ___fheap +11a5:0936 ___fheapRover +11a5:0938 ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:84f4 _ffree_ 0000:84f4 free_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:8561 _nfree_ -11a1:1748+ ___MiniHeapFreeRover +11a5:1748+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:865c+ _null_exit_rtn_ 0000:865c+ __null_int23_exit_ 0000:865d exit_ 0000:867e+ _exit_ -11a1:093a+ ___int23_exit -11a1:093e ___FPE_handler_exit +11a5:093a+ ___int23_exit +11a5:093e ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm) 0000:869a __PTC Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c) @@ -312,7 +312,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:9041 __doclose_ 0000:918b __shutdown_stream_ 0000:91a5 fclose_ -11a1:174a+ ___RmTmpFileFn +11a5:174a+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c) 0000:9210+ __ibm_bios_get_ticks_ 0000:9287 clock_ @@ -323,7 +323,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:94ab fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -11a1:0098 __IsTable +11a5:0098 __IsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:96a3 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c) @@ -356,31 +356,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c) 0000:9e6f stackavail_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) -11a1:094a __8087 -11a1:094b __real87 -11a1:094c __dos87emucall -11a1:094e __dos87real +11a5:094a __8087 +11a5:094b __real87 +11a5:094c __dos87emucall +11a5:094e __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:9e7e* __exit_with_msg_ 0000:9e83 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -11a1:0950 __curbrk -11a1:0958 __STACKLOW -11a1:095a __STACKTOP -11a1:095c __cbyte -11a1:095e __child -11a1:0960 __no87 -11a1:096d ___FPE_handler -11a1:0952 __psp -11a1:0961 __get_ovl_stack -11a1:0965 __restore_ovl_stack -11a1:0969 __close_ovl_file -11a1:0971 __LpCmdLine -11a1:0975 __LpPgmName -11a1:0954 __osmajor -11a1:0955 __osminor -11a1:0956 __osmode -11a1:0957 __HShift +11a5:0950 __curbrk +11a5:0958 __STACKLOW +11a5:095a __STACKTOP +11a5:095c __cbyte +11a5:095e __child +11a5:0960 __no87 +11a5:096d ___FPE_handler +11a5:0952 __psp +11a5:0961 __get_ovl_stack +11a5:0965 __restore_ovl_stack +11a5:0969 __close_ovl_file +11a5:0971 __LpCmdLine +11a5:0975 __LpPgmName +11a5:0954 __osmajor +11a5:0955 __osminor +11a5:0956 __osmode +11a5:0957 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) 0000:9ea2+ __fill_buffer_ 0000:a0f1 fgetc_ @@ -390,9 +390,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c) 0000:a5b1 rand_ 0000:a5f3* srand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -11a1:097e ___iob -11a1:1752 ___OpenStreams -11a1:1756 ___ClosedStreams +11a5:097e ___iob +11a5:1752 ___OpenStreams +11a5:1756 ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:a630 __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c) @@ -405,7 +405,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:a89f __FiniRtns 0000:a89f* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -11a1:0ae6 ___uselfn +11a5:0ae6 ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:a904 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) @@ -431,7 +431,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(allocseg.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:b3dc __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -11a1:0022 ___Alphabet +11a5:0022 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c) 0000:b3df __lseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) @@ -441,18 +441,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) 0000:b48d* __set_errno_dos_reterr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:b498* __get_errno_ptr_ -11a1:175e _errno +11a5:175e _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:b49f __GetIOMode_ 0000:b4d4 __SetIOMode_nogrow_ -11a1:0afc ___NFiles -11a1:0afe ___init_mode -11a1:0b26 ___io_mode +11a5:0afc ___NFiles +11a5:0afe ___init_mode +11a5:0b26 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:b509* __set_commode_ -11a1:0b2a __commode +11a5:0b2a __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -11a1:0b2c __fmode +11a5:0b2c __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c) 0000:b515 __chktty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c) @@ -479,9 +479,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:bb1c isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:bb38* __get_doserrno_ptr_ -11a1:1760 __doserrno +11a5:1760 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -11a1:0b2e ___umaskval +11a5:0b2e ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:bb3f _dos_creat_ 0000:bb63* _dos_creatnew_ @@ -490,9 +490,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c) 0000:bc6b+ __shrink_iomode_ 0000:bcac __SetIOMode_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c) -11a1:1764 ___env_mask -11a1:1768 _environ -11a1:176c* __wenviron +11a5:1764 ___env_mask +11a5:1768 _environ +11a5:176c* __wenviron Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c) 0000:bd53 _mbterm_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c) @@ -513,7 +513,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 0000:c2a9 __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:c319 __EnterWVIDEO_ -11a1:0b4e+ ___WD_Present +11a5:0b4e+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c) 0000:c33d __flushall_ 0000:c3d1 flushall_ @@ -535,22 +535,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 0000:ca19 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -11a1:1770 ____Argv -11a1:1774 ____Argc +11a5:1770 ____Argv +11a5:1774 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -11a1:0b50 __amblksiz +11a5:0b50 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -11a1:0b82 __Start_XI -11a1:0bb8 __End_XI -11a1:0bb8 __Start_YI -11a1:0bd0 __End_YI +11a5:0b82 __Start_XI +11a5:0bb8 __End_XI +11a5:0bb8 __Start_YI +11a5:0bd0 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -11a1:1776 ___historical_splitparms +11a5:1776 ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) 0000:db8a _DoINTR_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:df03* _heapenable_ -11a1:0b52 ___heap_enabled +11a5:0b52 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c) 0000:df14* sbrk_ 0000:df24 __brk_ @@ -563,22 +563,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c) 0000:e08b __setenvp_ 0000:e217 __freeenvp_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -11a1:0b54 ___IsDBCS +11a5:0b54 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:e275* _ismbblead_ -11a1:177c ___MBCSIsTable +11a5:177c ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:e2cf __mbinit_ -11a1:0b56 ___MBCodePage +11a5:0b56 ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c) 0000:e3aa _mbdtoupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c) 0000:e3b8 toupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) -11a1:0b58 __8087cw +11a5:0b58 __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) -11a1:0b5a ___Save8087 -11a1:0b5e ___Rest8087 +11a5:0b5a ___Save8087 +11a5:0b5e ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 0000:e3c7 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) @@ -592,8 +592,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:e593 strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -11a1:0b62 ___EFG_printf -11a1:0b66* ___EFG_scanf +11a5:0b62 ___EFG_printf +11a5:0b66* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:e5db ulltoa_ 0000:e718* lltoa_ @@ -620,7 +620,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c) 0000:f1bf _bexpand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) -11a1:0b80 ___FPE_int +11a5:0b80 ___FPE_int +--------------------+ @@ -636,6 +636,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00020f60 (135008.) +Memory size: 00020fa0 (135072.) Entry point address: 0000:7ca8 -Link time: 00:00.10 +Link time: 00:00.00 diff --git a/fonttest.map b/fonttest.map index e205e635..3af71b42 100755 --- a/fonttest.map +++ b/fonttest.map @@ -1,7 +1,7 @@ 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/15 14:50:51 +Created on: 15/10/15 14:56:24 Executable Image: fonttest.exe creating a DOS executable diff --git a/maptest.exe b/maptest.exe index 15d38870..b19cf5fb 100755 Binary files a/maptest.exe and b/maptest.exe differ diff --git a/maptest.map b/maptest.map index 188709ba..0a8626f9 100755 --- a/maptest.map +++ b/maptest.map @@ -1,7 +1,7 @@ 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/15 14:50:51 +Created on: 15/10/15 14:56:24 Executable Image: maptest.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 1376:0000 0000f0f0 +DGROUP 137a:0000 0000f0f0 @@ -37,27 +37,27 @@ kitten_TEXT CODE AUTO 0000:6dc0 0000080a timer_TEXT CODE AUTO 0000:8b60 00000235 _TEXT CODE AUTO 08da:0000 00007bc9 bitmap_TEXT CODE AUTO 08da:7bd0 00000605 -modex16_TEXT CODE AUTO 08da:81e0 00002516 -16text_TEXT CODE AUTO 08da:a700 0000010d -16_in13_DATA FAR_DATA AUTO 135b:0000 000001a4 -FAR_DATA FAR_DATA AUTO 1375:0004 00000000 -_NULL BEGDATA DGROUP 1376:0000 00000020 -_AFTERNULL BEGDATA DGROUP 1378:0000 00000002 -CONST DATA DGROUP 1378:0002 00000076 -CONST2 DATA DGROUP 137f:0008 00000102 -_DATA DATA DGROUP 1390:0000 000005a5 -XIB DATA DGROUP 13ea:0006 00000000 -XI DATA DGROUP 13ea:0006 00000036 -XIE DATA DGROUP 13ed:000c 00000000 -YIB DATA DGROUP 13ed:000c 00000000 -YI DATA DGROUP 13ed:000c 00000018 -YIE DATA DGROUP 13ef:0004 00000000 -STRINGS DATA DGROUP 13ef:0004 00000000 -DATA DATA DGROUP 13ef:0004 00000000 -_emu_init_start EMU DGROUP 13ef:0004 00000000 -_emu_init_end EMU DGROUP 13ef:0004 00000000 -_BSS BSS DGROUP 13f0:0000 00000e82 -STACK STACK DGROUP 14d9:0000 0000dac0 +modex16_TEXT CODE AUTO 08da:81e0 00002554 +16text_TEXT CODE AUTO 08da:a740 0000010d +16_in13_DATA FAR_DATA AUTO 135f:0000 000001a4 +FAR_DATA FAR_DATA AUTO 1379:0004 00000000 +_NULL BEGDATA DGROUP 137a:0000 00000020 +_AFTERNULL BEGDATA DGROUP 137c:0000 00000002 +CONST DATA DGROUP 137c:0002 00000076 +CONST2 DATA DGROUP 1383:0008 00000102 +_DATA DATA DGROUP 1394:0000 000005a5 +XIB DATA DGROUP 13ee:0006 00000000 +XI DATA DGROUP 13ee:0006 00000036 +XIE DATA DGROUP 13f1:000c 00000000 +YIB DATA DGROUP 13f1:000c 00000000 +YI DATA DGROUP 13f1:000c 00000018 +YIE DATA DGROUP 13f3:0004 00000000 +STRINGS DATA DGROUP 13f3:0004 00000000 +DATA DATA DGROUP 13f3:0004 00000000 +_emu_init_start EMU DGROUP 13f3:0004 00000000 +_emu_init_end EMU DGROUP 13f3:0004 00000000 +_BSS BSS DGROUP 13f4:0000 00000e82 +STACK STACK DGROUP 14dd:0000 0000dac0 +----------------+ @@ -80,7 +80,7 @@ Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c) 0000:0e72 jsmn_parse_ 0000:136e jsmn_init_ Module: 16_in.o(/dos/z/16/src/lib/16_in.c) -1376:07be+ _inpu +137a:07be+ _inpu 0000:1500+ INL_KeyService_ 0000:179a+ Mouse_ 0000:17f2+ IN_GetJoyAbs_ @@ -128,9 +128,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c) 0000:5acc+ MM_TotalFree_ 0000:5b62* MM_Report_ 0000:651a* MM_BombOnError_ -1376:0920+ _beforesort -1376:0924+ _aftersort -1376:0928+ _XMSaddr +137a:0920+ _beforesort +137a:0924+ _aftersort +137a:0928+ _XMSaddr Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c) 0000:6550 detectcpu_ Module: 16_head.o(/dos/z/16/src/lib/16_head.c) @@ -148,9 +148,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c) 0000:6c90* CAL_OptimizeNodes_ 0000:6d40* CA_Startup_ 0000:6d90* CA_Shutdown_ -1376:0930* _finishcachebox -1376:0934* _drawcachebox -1376:0938* _updatecachebox +137a:0930* _finishcachebox +137a:0934* _drawcachebox +137a:0938* _updatecachebox Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:6dfc KITTENGETS 0000:6e5c* kittenopen_ @@ -161,7 +161,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:73b4+ get_line_ 0000:7426+ db_fetch_ 0000:74bc+ db_insert_ -1376:04a4+ __kitten_catalog +137a:04a4+ __kitten_catalog Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c) 0000:777c+ LargestFreeBlock_ 0000:780a+ _coreleft_ @@ -186,16 +186,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 08da:0005 __STK 08da:0025 __STKOVERFLOW_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -1376:04c6 ___iob -1376:0944 ___OpenStreams -1376:0948 ___ClosedStreams +137a:04c6 ___iob +137a:0944 ___OpenStreams +137a:0948 ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 08da:0042 fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -1376:0000* __nullarea -1376:062e* __ovlflag -1376:062f* __intno -1376:0630* __ovlvec +137a:0000* __nullarea +137a:062e* __ovlflag +137a:062f* __intno +137a:0630* __ovlvec 08da:0072 _cstart_ 08da:0145* _Not_Enough_Memory_ 08da:0277 __exit_ @@ -205,10 +205,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 08da:02fe _big_code_ 08da:02fe* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -1376:094c __argv -1376:0950 ___argv -1376:0954 __argc -1376:0956 ___argc +137a:094c __argv +137a:0950 ___argv +137a:0954 __argc +137a:0956 ___argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 08da:0305 __PIA 08da:02fe* __PIS @@ -217,9 +217,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 08da:0359 _fmalloc_ 08da:0359 malloc_ -1376:0634 ___fheap -1376:0636 ___fheapRover -1376:0638 ___LargestSizeB4Rover +137a:0634 ___fheap +137a:0636 ___fheapRover +137a:0638 ___LargestSizeB4Rover Module: gfx.lib(/dos/z/16/src/lib/bitmap.c) 08da:7f0e bitmapLoadPcx_ 08da:806a* bitmapLoadPcxTiles_ @@ -236,7 +236,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 08da:0b41 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 08da:0eb8 __get_errno_ptr_ -1376:09d8 _errno +137a:09d8 _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c) 08da:0ebf* _frealloc_ 08da:0ebf realloc_ @@ -267,22 +267,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c) 08da:1366 _memavl_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 08da:13ab _nmalloc_ -1376:0644 ___nheapbeg -1376:0646 ___MiniHeapRover -1376:0648 ___LargestSizeB4MiniHeapRover +137a:0644 ___nheapbeg +137a:0646 ___MiniHeapRover +137a:0648 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 08da:1485 _ffree_ 08da:1485 free_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 08da:14f2 _nfree_ -1376:09da+ ___MiniHeapFreeRover +137a:09da+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 08da:15ed+ _null_exit_rtn_ 08da:15ed+ __null_int23_exit_ 08da:15ee exit_ 08da:160f+ _exit_ -1376:064a+ ___int23_exit -1376:064e ___FPE_handler_exit +137a:064a+ ___int23_exit +137a:064e ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c) 08da:162b ultoa_ 08da:16e9* ltoa_ @@ -292,7 +292,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 08da:1a9b __doclose_ 08da:1be5 __shutdown_stream_ 08da:1bff fclose_ -1376:09dc+ ___RmTmpFileFn +137a:09dc+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c) 08da:1c6a+ __ibm_bios_get_ticks_ 08da:1ce1 clock_ @@ -303,7 +303,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 08da:1f05 fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -1376:0098 __IsTable +137a:0098 __IsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 08da:20fd tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c) @@ -338,31 +338,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c) 08da:28f7 stackavail_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) -1376:065a __8087 -1376:065b __real87 -1376:065c __dos87emucall -1376:065e __dos87real +137a:065a __8087 +137a:065b __real87 +137a:065c __dos87emucall +137a:065e __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 08da:2906* __exit_with_msg_ 08da:290b __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -1376:0660 __curbrk -1376:0668 __STACKLOW -1376:066a __STACKTOP -1376:066c __cbyte -1376:066e __child -1376:0670 __no87 -1376:067d ___FPE_handler -1376:0662 __psp -1376:0671 __get_ovl_stack -1376:0675 __restore_ovl_stack -1376:0679 __close_ovl_file -1376:0681 __LpCmdLine -1376:0685 __LpPgmName -1376:0664 __osmajor -1376:0665 __osminor -1376:0666 __osmode -1376:0667 __HShift +137a:0660 __curbrk +137a:0668 __STACKLOW +137a:066a __STACKTOP +137a:066c __cbyte +137a:066e __child +137a:0670 __no87 +137a:067d ___FPE_handler +137a:0662 __psp +137a:0671 __get_ovl_stack +137a:0675 __restore_ovl_stack +137a:0679 __close_ovl_file +137a:0681 __LpCmdLine +137a:0685 __LpPgmName +137a:0664 __osmajor +137a:0665 __osminor +137a:0666 __osmode +137a:0667 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c) 08da:292a __InitFiles_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) @@ -378,7 +378,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 08da:2d9d __FiniRtns 08da:2d9d* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -1376:068a ___uselfn +137a:068a ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 08da:2e02 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) @@ -401,52 +401,52 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 08da:83d4* VGAmodeX_ 08da:8466+ vgaGetMode_ 08da:849c+ modexEnter_ -08da:85cc* modexLeave_ -08da:85e4+ modexsetBaseXMode_ -08da:8636* modexDefaultPage_ -08da:86c8* modexNextPage_ -08da:8794* modexNextPageFlexibleSize_ -08da:8862* modexShowPage_ -08da:895e* modexPanPage_ -08da:89ae* modexSelectPlane_ -08da:89d2+ modexClearRegion_ -08da:8aea* oldDrawBmp_ -08da:8c50* CDrawBmp_ -08da:8db4* modexDrawBmp_ -08da:8e1a+ modexDrawBmpRegion_ -08da:8f84* modex_sparky4_DrawBmpRegion_ -08da:90ee* modexDrawPlanarBuf_ -08da:910c* modexDrawSprite_ -08da:9172+ modexDrawSpriteRegion_ -08da:92ea* modexCopyPageRegion_ -08da:9454* modexFadeOn_ -08da:9484* modexFadeOff_ -08da:94b2* modexFlashOn_ -08da:94e0* modexFlashOff_ -08da:95b0+ modexPalSave_ -08da:9606 modexNewPal_ -08da:9656* modexLoadPalFile_ -08da:9738* modexSavePalFile_ -08da:97b0* modexPalBlack_ -08da:97da* modexPalWhite_ -08da:9804+ modexPalUpdate_ -08da:9d74+ modexPalUpdate1_ -08da:9dee* modexPalUpdate0_ -08da:9e3a+ chkcolor_ -08da:a152+ modexputPixel_ -08da:a1e0* modexgetPixel_ -08da:a266* modexhlin_ -08da:a2ea* modexprint_ -08da:a484* modexprintbig_ -08da:a600* pdump_ -08da:a660* cls_ -08da:a6ce+ modexWaitBorder_ -1376:0694+ _VGA +08da:85ea* modexLeave_ +08da:8602+ modexsetBaseXMode_ +08da:8654* modexDefaultPage_ +08da:8706* modexNextPage_ +08da:87d2* modexNextPageFlexibleSize_ +08da:88a0* modexShowPage_ +08da:899c* modexPanPage_ +08da:89ec* modexSelectPlane_ +08da:8a10+ modexClearRegion_ +08da:8b28* oldDrawBmp_ +08da:8c8e* CDrawBmp_ +08da:8df2* modexDrawBmp_ +08da:8e58+ modexDrawBmpRegion_ +08da:8fc2* modex_sparky4_DrawBmpRegion_ +08da:912c* modexDrawPlanarBuf_ +08da:914a* modexDrawSprite_ +08da:91b0+ modexDrawSpriteRegion_ +08da:9328* modexCopyPageRegion_ +08da:9492* modexFadeOn_ +08da:94c2* modexFadeOff_ +08da:94f0* modexFlashOn_ +08da:951e* modexFlashOff_ +08da:95ee+ modexPalSave_ +08da:9644 modexNewPal_ +08da:9694* modexLoadPalFile_ +08da:9776* modexSavePalFile_ +08da:97ee* modexPalBlack_ +08da:9818* modexPalWhite_ +08da:9842+ modexPalUpdate_ +08da:9db2+ modexPalUpdate1_ +08da:9e2c* modexPalUpdate0_ +08da:9e78+ chkcolor_ +08da:a190+ modexputPixel_ +08da:a21e* modexgetPixel_ +08da:a2a4* modexhlin_ +08da:a328* modexprint_ +08da:a4c2* modexprintbig_ +08da:a63e* pdump_ +08da:a69e* cls_ +08da:a70c+ modexWaitBorder_ +137a:0694+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 08da:39e5* __set_commode_ -1376:06a8 __commode +137a:06a8 __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -1376:06aa __fmode +137a:06aa __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c) 08da:39f1 __chktty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c) @@ -477,7 +477,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 08da:46d7 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -1376:0050 ___Alphabet +137a:0050 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c) 08da:46da __lseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) @@ -488,9 +488,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 08da:4793 __GetIOMode_ 08da:47c8 __SetIOMode_nogrow_ -1376:06c0 ___NFiles -1376:06c2 ___init_mode -1376:06ea ___io_mode +137a:06c0 ___NFiles +137a:06c2 ___init_mode +137a:06ea ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c) 08da:47fd __close_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) @@ -510,9 +510,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 08da:4b14 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 08da:4b30* __get_doserrno_ptr_ -1376:12e8 __doserrno +137a:12e8 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -1376:06ee ___umaskval +137a:06ee ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 08da:4b37 _dos_creat_ 08da:4b5b* _dos_creatnew_ @@ -523,9 +523,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c) 08da:4d64 vsprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c) -1376:12ec ___env_mask -1376:12f0 _environ -1376:12f4* __wenviron +137a:12ec ___env_mask +137a:12f0 _environ +137a:12f4* __wenviron Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c) 08da:4da6 _mbterm_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c) @@ -546,26 +546,26 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 08da:52fc __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 08da:536c __EnterWVIDEO_ -1376:070e+ ___WD_Present +137a:070e+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 08da:5390 fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 08da:5565 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -1376:12f8 ____Argv -1376:12fc ____Argc +137a:12f8 ____Argv +137a:12fc ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -1376:0710 __amblksiz +137a:0710 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -1376:0746 __Start_XI -1376:077c __End_XI -1376:077c __Start_YI -1376:0794 __End_YI +137a:0746 __Start_XI +137a:077c __End_XI +137a:077c __Start_YI +137a:0794 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -1376:12fe ___historical_splitparms +137a:12fe ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 08da:66d6* _heapenable_ -1376:0712 ___heap_enabled +137a:0712 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c) 08da:66e7 __flushall_ 08da:677b flushall_ @@ -577,8 +577,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c) 08da:6b14 rand_ 08da:6b56* srand_ Module: gfx.lib(/dos/z/16/src/lib/16text.c) -08da:a776* textInit_ -1376:1300 _romFonts +08da:a7b6* textInit_ +137a:1300 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c) 08da:6b79 _bfree_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c) @@ -596,22 +596,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c) 08da:706c __setenvp_ 08da:71f8 __freeenvp_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -1376:0718 ___IsDBCS +137a:0718 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 08da:7256* _ismbblead_ -1376:131c ___MBCSIsTable +137a:131c ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 08da:72b0 __mbinit_ -1376:071a ___MBCodePage +137a:071a ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c) 08da:738b _mbdtoupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c) 08da:7399 toupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) -1376:071c __8087cw +137a:071c __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) -1376:071e ___Save8087 -1376:0722 ___Rest8087 +137a:071e ___Save8087 +137a:0722 ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 08da:73a8 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) @@ -625,8 +625,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 08da:7573 strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -1376:0726 ___EFG_printf -1376:072a* ___EFG_scanf +137a:0726 ___EFG_printf +137a:072a* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 08da:75bb ulltoa_ 08da:76f8* lltoa_ @@ -640,7 +640,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpe87.asm) 08da:78f5 __Fini_FPE_handler_ 08da:792c* __FPEHandler Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) -1376:0744 ___FPE_int +137a:0744 ___FPE_int +--------------------+ @@ -656,6 +656,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00022850 (141392.) +Memory size: 00022890 (141456.) Entry point address: 08da:0072 Link time: 00:00.10 diff --git a/palettec.exe b/palettec.exe index b91c538f..90ccdbd5 100755 Binary files a/palettec.exe and b/palettec.exe differ diff --git a/palettec.map b/palettec.map index 1a2ecd0e..e52bccc3 100755 --- a/palettec.map +++ b/palettec.map @@ -1,7 +1,7 @@ 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/15 14:50:51 +Created on: 15/10/15 14:56:24 Executable Image: palettec.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 118d:0000 0000f100 +DGROUP 1191:0000 0000f100 @@ -34,27 +34,27 @@ kitten_TEXT CODE AUTO 0000:5ad0 0000080a 16_hc_TEXT CODE AUTO 0000:62e0 0000158b timer_TEXT CODE AUTO 0000:7870 00000235 _TEXT CODE AUTO 0000:7ab0 0000763f -modex16_TEXT CODE AUTO 0f0f:0000 00002516 -16text_TEXT CODE AUTO 0f0f:2520 0000010d -16_in13_DATA FAR_DATA AUTO 1172:0000 000001a4 -FAR_DATA FAR_DATA AUTO 118c:0004 00000000 -_NULL BEGDATA DGROUP 118d:0000 00000020 -_AFTERNULL BEGDATA DGROUP 118f:0000 00000002 -CONST DATA DGROUP 118f:0002 00000076 -CONST2 DATA DGROUP 1196:0008 00000102 -_DATA DATA DGROUP 11a7:0000 0000058b -XIB DATA DGROUP 11ff:000c 00000000 -XI DATA DGROUP 11ff:000c 00000036 -XIE DATA DGROUP 1203:0002 00000000 -YIB DATA DGROUP 1203:0002 00000000 -YI DATA DGROUP 1203:0002 00000018 -YIE DATA DGROUP 1204:000a 00000000 -STRINGS DATA DGROUP 1204:000a 00000000 -DATA DATA DGROUP 1204:000a 00000000 -_emu_init_start EMU DGROUP 1204:000a 00000000 -_emu_init_end EMU DGROUP 1204:000a 00000000 -_BSS BSS DGROUP 1205:0000 00000eb2 -STACK STACK DGROUP 12f1:0000 0000dac0 +modex16_TEXT CODE AUTO 0f0f:0000 00002554 +16text_TEXT CODE AUTO 0f0f:2560 0000010d +16_in13_DATA FAR_DATA AUTO 1176:0000 000001a4 +FAR_DATA FAR_DATA AUTO 1190:0004 00000000 +_NULL BEGDATA DGROUP 1191:0000 00000020 +_AFTERNULL BEGDATA DGROUP 1193:0000 00000002 +CONST DATA DGROUP 1193:0002 00000076 +CONST2 DATA DGROUP 119a:0008 00000102 +_DATA DATA DGROUP 11ab:0000 0000058b +XIB DATA DGROUP 1203:000c 00000000 +XI DATA DGROUP 1203:000c 00000036 +XIE DATA DGROUP 1207:0002 00000000 +YIB DATA DGROUP 1207:0002 00000000 +YI DATA DGROUP 1207:0002 00000018 +YIE DATA DGROUP 1208:000a 00000000 +STRINGS DATA DGROUP 1208:000a 00000000 +DATA DATA DGROUP 1208:000a 00000000 +_emu_init_start EMU DGROUP 1208:000a 00000000 +_emu_init_end EMU DGROUP 1208:000a 00000000 +_BSS BSS DGROUP 1209:0000 00000eb2 +STACK STACK DGROUP 12f5:0000 0000dac0 +----------------+ @@ -69,9 +69,9 @@ Address Symbol Module: palettec.o(/dos/z/16/src/palettec.c) 0000:004e main_ -118d:0780+ _gvar +1191:0780+ _gvar Module: 16_in.o(/dos/z/16/src/lib/16_in.c) -118d:084e+ _inpu +1191:084e+ _inpu 0000:0210+ INL_KeyService_ 0000:04aa+ Mouse_ 0000:0502+ IN_GetJoyAbs_ @@ -119,9 +119,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c) 0000:47dc+ MM_TotalFree_ 0000:4872* MM_Report_ 0000:522a* MM_BombOnError_ -118d:09b0+ _beforesort -118d:09b4+ _aftersort -118d:09b8+ _XMSaddr +1191:09b0+ _beforesort +1191:09b4+ _aftersort +1191:09b8+ _XMSaddr Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c) 0000:5260 detectcpu_ Module: 16_head.o(/dos/z/16/src/lib/16_head.c) @@ -139,9 +139,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c) 0000:59a0* CAL_OptimizeNodes_ 0000:5a50* CA_Startup_ 0000:5aa0* CA_Shutdown_ -118d:09c0* _finishcachebox -118d:09c4* _drawcachebox -118d:09c8* _updatecachebox +1191:09c0* _finishcachebox +1191:09c4* _drawcachebox +1191:09c8* _updatecachebox Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:5b0c KITTENGETS 0000:5b6c* kittenopen_ @@ -152,7 +152,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:60c4+ get_line_ 0000:6136+ db_fetch_ 0000:61cc+ db_insert_ -118d:0494+ __kitten_catalog +1191:0494+ __kitten_catalog Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c) 0000:648c+ LargestFreeBlock_ 0000:651a+ _coreleft_ @@ -179,9 +179,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:7af2 _fmalloc_ 0000:7af2 malloc_ -118d:04b6 ___fheap -118d:04b8 ___fheapRover -118d:04ba ___LargestSizeB4Rover +1191:04b6 ___fheap +1191:04b8 ___fheapRover +1191:04ba ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 0000:7c6f __PIA 0000:7c68* __PIS @@ -189,52 +189,52 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0f0f:01f4 VGAmodeX_ 0f0f:0286+ vgaGetMode_ 0f0f:02bc+ modexEnter_ -0f0f:03ec* modexLeave_ -0f0f:0404+ modexsetBaseXMode_ -0f0f:0456* modexDefaultPage_ -0f0f:04e8* modexNextPage_ -0f0f:05b4* modexNextPageFlexibleSize_ -0f0f:0682* modexShowPage_ -0f0f:077e* modexPanPage_ -0f0f:07ce* modexSelectPlane_ -0f0f:07f2+ modexClearRegion_ -0f0f:090a* oldDrawBmp_ -0f0f:0a70* CDrawBmp_ -0f0f:0bd4* modexDrawBmp_ -0f0f:0c3a+ modexDrawBmpRegion_ -0f0f:0da4* modex_sparky4_DrawBmpRegion_ -0f0f:0f0e* modexDrawPlanarBuf_ -0f0f:0f2c* modexDrawSprite_ -0f0f:0f92+ modexDrawSpriteRegion_ -0f0f:110a* modexCopyPageRegion_ -0f0f:1274* modexFadeOn_ -0f0f:12a4* modexFadeOff_ -0f0f:12d2* modexFlashOn_ -0f0f:1300* modexFlashOff_ -0f0f:13d0 modexPalSave_ -0f0f:1426 modexNewPal_ -0f0f:1476* modexLoadPalFile_ -0f0f:1558 modexSavePalFile_ -0f0f:15d0* modexPalBlack_ -0f0f:15fa* modexPalWhite_ -0f0f:1624+ modexPalUpdate_ -0f0f:1b94+ modexPalUpdate1_ -0f0f:1c0e* modexPalUpdate0_ -0f0f:1c5a+ chkcolor_ -0f0f:1f72+ modexputPixel_ -0f0f:2000* modexgetPixel_ -0f0f:2086* modexhlin_ -0f0f:210a* modexprint_ -0f0f:22a4* modexprintbig_ -0f0f:2420* pdump_ -0f0f:2480* cls_ -0f0f:24ee+ modexWaitBorder_ -118d:04c4+ _VGA +0f0f:040a* modexLeave_ +0f0f:0422+ modexsetBaseXMode_ +0f0f:0474* modexDefaultPage_ +0f0f:0526* modexNextPage_ +0f0f:05f2* modexNextPageFlexibleSize_ +0f0f:06c0* modexShowPage_ +0f0f:07bc* modexPanPage_ +0f0f:080c* modexSelectPlane_ +0f0f:0830+ modexClearRegion_ +0f0f:0948* oldDrawBmp_ +0f0f:0aae* CDrawBmp_ +0f0f:0c12* modexDrawBmp_ +0f0f:0c78+ modexDrawBmpRegion_ +0f0f:0de2* modex_sparky4_DrawBmpRegion_ +0f0f:0f4c* modexDrawPlanarBuf_ +0f0f:0f6a* modexDrawSprite_ +0f0f:0fd0+ modexDrawSpriteRegion_ +0f0f:1148* modexCopyPageRegion_ +0f0f:12b2* modexFadeOn_ +0f0f:12e2* modexFadeOff_ +0f0f:1310* modexFlashOn_ +0f0f:133e* modexFlashOff_ +0f0f:140e modexPalSave_ +0f0f:1464 modexNewPal_ +0f0f:14b4* modexLoadPalFile_ +0f0f:1596 modexSavePalFile_ +0f0f:160e* modexPalBlack_ +0f0f:1638* modexPalWhite_ +0f0f:1662+ modexPalUpdate_ +0f0f:1bd2+ modexPalUpdate1_ +0f0f:1c4c* modexPalUpdate0_ +0f0f:1c98+ chkcolor_ +0f0f:1fb0+ modexputPixel_ +0f0f:203e* modexgetPixel_ +0f0f:20c4* modexhlin_ +0f0f:2148* modexprint_ +0f0f:22e2* modexprintbig_ +0f0f:245e* pdump_ +0f0f:24be* cls_ +0f0f:252c+ modexWaitBorder_ +1191:04c4+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -118d:0000* __nullarea -118d:04d8* __ovlflag -118d:04d9* __intno -118d:04da* __ovlvec +1191:0000* __nullarea +1191:04d8* __ovlflag +1191:04d9* __intno +1191:04da* __ovlvec 0000:7c86 _cstart_ 0000:7d59* _Not_Enough_Memory_ 0000:7e8b __exit_ @@ -244,10 +244,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:7f12 _big_code_ 0000:7f12* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -118d:12d4 __argv -118d:12d8 ___argv -118d:12dc __argc -118d:12de ___argc +1191:12d4 __argv +1191:12d8 ___argv +1191:12dc __argc +1191:12de ___argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:7f12 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) @@ -271,22 +271,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c) 0000:826e _memavl_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:82b3 _nmalloc_ -118d:04de ___nheapbeg -118d:04e0 ___MiniHeapRover -118d:04e2 ___LargestSizeB4MiniHeapRover +1191:04de ___nheapbeg +1191:04e0 ___MiniHeapRover +1191:04e2 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:838d _ffree_ 0000:838d free_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:83fa _nfree_ -118d:12e0+ ___MiniHeapFreeRover +1191:12e0+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:84f5+ _null_exit_rtn_ 0000:84f5+ __null_int23_exit_ 0000:84f6 exit_ 0000:8517+ _exit_ -118d:04e4+ ___int23_exit -118d:04e8 ___FPE_handler_exit +1191:04e4+ ___int23_exit +1191:04e8 ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm) 0000:8534 __PTC Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c) @@ -305,7 +305,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:8edb __doclose_ 0000:9025 __shutdown_stream_ 0000:903f fclose_ -118d:12e2+ ___RmTmpFileFn +1191:12e2+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c) 0000:90aa+ __ibm_bios_get_ticks_ 0000:9121 clock_ @@ -316,7 +316,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:9345 fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -118d:0098 __IsTable +1191:0098 __IsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:953d tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c) @@ -351,31 +351,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c) 0000:9d37 stackavail_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) -118d:04f4 __8087 -118d:04f5 __real87 -118d:04f6 __dos87emucall -118d:04f8 __dos87real +1191:04f4 __8087 +1191:04f5 __real87 +1191:04f6 __dos87emucall +1191:04f8 __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:9d46* __exit_with_msg_ 0000:9d4b __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -118d:04fa __curbrk -118d:0502 __STACKLOW -118d:0504 __STACKTOP -118d:0506 __cbyte -118d:0508 __child -118d:050a __no87 -118d:0517 ___FPE_handler -118d:04fc __psp -118d:050b __get_ovl_stack -118d:050f __restore_ovl_stack -118d:0513 __close_ovl_file -118d:051b __LpCmdLine -118d:051f __LpPgmName -118d:04fe __osmajor -118d:04ff __osminor -118d:0500 __osmode -118d:0501 __HShift +1191:04fa __curbrk +1191:0502 __STACKLOW +1191:0504 __STACKTOP +1191:0506 __cbyte +1191:0508 __child +1191:050a __no87 +1191:0517 ___FPE_handler +1191:04fc __psp +1191:050b __get_ovl_stack +1191:050f __restore_ovl_stack +1191:0513 __close_ovl_file +1191:051b __LpCmdLine +1191:051f __LpPgmName +1191:04fe __osmajor +1191:04ff __osminor +1191:0500 __osmode +1191:0501 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c) 0000:9d70 __MemAllocator 0000:9e3a __MemFree @@ -394,8 +394,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c) 0000:a90e rand_ 0000:a950* srand_ Module: gfx.lib(/dos/z/16/src/lib/16text.c) -0f0f:2596* textInit_ -118d:12ea _romFonts +0f0f:25d6* textInit_ +1191:12ea _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c) 0000:a973 __CMain Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) @@ -404,7 +404,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:aa34 __FiniRtns 0000:aa34* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -118d:0528 ___uselfn +1191:0528 ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:aa98 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) @@ -412,9 +412,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) 0000:aafc+ _getargv_ 0000:ae2c __Fini_Argv_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -118d:052a ___iob -118d:1306 ___OpenStreams -118d:130a ___ClosedStreams +1191:052a ___iob +1191:1306 ___OpenStreams +1191:130a ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:ae70 __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) @@ -427,7 +427,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:b24d __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -118d:0022 ___Alphabet +1191:0022 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c) 0000:b250 __lseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) @@ -437,18 +437,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) 0000:b2fe* __set_errno_dos_reterr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:b309* __get_errno_ptr_ -118d:130e _errno +1191:130e _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:b310 __GetIOMode_ 0000:b345 __SetIOMode_nogrow_ -118d:06a6 ___NFiles -118d:06a8 ___init_mode -118d:06d0 ___io_mode +1191:06a6 ___NFiles +1191:06a8 ___init_mode +1191:06d0 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:b37a* __set_commode_ -118d:06d4 __commode +1191:06d4 __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -118d:06d6 __fmode +1191:06d6 __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c) 0000:b386 __chktty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c) @@ -475,9 +475,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:b98e isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:b9aa* __get_doserrno_ptr_ -118d:1310 __doserrno +1191:1310 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -118d:06d8 ___umaskval +1191:06d8 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:b9b1 _dos_creat_ 0000:b9d5* _dos_creatnew_ @@ -488,9 +488,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c) 0000:bbde vsprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c) -118d:1314 ___env_mask -118d:1318 _environ -118d:131c* __wenviron +1191:1314 ___env_mask +1191:1318 _environ +1191:131c* __wenviron Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c) 0000:bc20 _mbterm_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c) @@ -511,12 +511,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 0000:c176 __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:c1e6 __EnterWVIDEO_ -118d:06f8+ ___WD_Present +1191:06f8+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:c20a* _heapenable_ -118d:06fa ___heap_enabled +1191:06fa ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -118d:06fc __amblksiz +1191:06fc __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c) 0000:c21b __flushall_ 0000:c2af flushall_ @@ -531,15 +531,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 0000:c4dd fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -118d:1320 ____Argv -118d:1324 ____Argc +1191:1320 ____Argv +1191:1324 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -118d:072c __Start_XI -118d:0762 __End_XI -118d:0762 __Start_YI -118d:077a __End_YI +1191:072c __Start_XI +1191:0762 __End_XI +1191:0762 __Start_YI +1191:077a __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -118d:1326 ___historical_splitparms +1191:1326 ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c) 0000:c6b2 __InitFiles_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) @@ -561,22 +561,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c) 0000:df58 __setenvp_ 0000:e0e4 __freeenvp_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -118d:06fe ___IsDBCS +1191:06fe ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:e142* _ismbblead_ -118d:132c ___MBCSIsTable +1191:132c ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:e19c __mbinit_ -118d:0700 ___MBCodePage +1191:0700 ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c) 0000:e277 _mbdtoupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c) 0000:e285 toupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) -118d:0702 __8087cw +1191:0702 __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) -118d:0704 ___Save8087 -118d:0708 ___Rest8087 +1191:0704 ___Save8087 +1191:0708 ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 0000:e294 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) @@ -590,8 +590,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:e45f strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -118d:070c ___EFG_printf -118d:0710* ___EFG_scanf +1191:070c ___EFG_printf +1191:0710* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:e4a7 ulltoa_ 0000:e5e4* lltoa_ @@ -618,7 +618,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c) 0000:f08b _bexpand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) -118d:072a ___FPE_int +1191:072a ___FPE_int +--------------------+ @@ -634,6 +634,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 000209d0 (133584.) +Memory size: 00020a10 (133648.) Entry point address: 0000:7c86 -Link time: 00:00.00 +Link time: 00:00.10 diff --git a/palettel.exe b/palettel.exe index f7b11e99..ed2823e2 100755 Binary files a/palettel.exe and b/palettel.exe differ diff --git a/palettel.map b/palettel.map index 433eaf8e..a16236c7 100755 --- a/palettel.map +++ b/palettel.map @@ -1,7 +1,7 @@ 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/15 14:50:52 +Created on: 15/10/15 14:56:24 Executable Image: palettel.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 1198:0000 0000f110 +DGROUP 119c:0000 0000f110 @@ -34,27 +34,27 @@ kitten_TEXT CODE AUTO 0000:5b60 0000080a 16_hc_TEXT CODE AUTO 0000:6370 0000158b timer_TEXT CODE AUTO 0000:7900 00000235 _TEXT CODE AUTO 0000:7b40 0000765b -modex16_TEXT CODE AUTO 0f1a:0000 00002516 -16text_TEXT CODE AUTO 0f1a:2520 0000010d -16_in13_DATA FAR_DATA AUTO 117d:0000 000001a4 -FAR_DATA FAR_DATA AUTO 1197:0004 00000000 -_NULL BEGDATA DGROUP 1198:0000 00000020 -_AFTERNULL BEGDATA DGROUP 119a:0000 00000002 -CONST DATA DGROUP 119a:0002 00000076 -CONST2 DATA DGROUP 11a1:0008 00000102 -_DATA DATA DGROUP 11b2:0000 00000591 -XIB DATA DGROUP 120b:0002 00000000 -XI DATA DGROUP 120b:0002 00000036 -XIE DATA DGROUP 120e:0008 00000000 -YIB DATA DGROUP 120e:0008 00000000 -YI DATA DGROUP 120e:0008 00000018 -YIE DATA DGROUP 1210:0000 00000000 -STRINGS DATA DGROUP 1210:0000 00000000 -DATA DATA DGROUP 1210:0000 00000000 -_emu_init_start EMU DGROUP 1210:0000 00000000 -_emu_init_end EMU DGROUP 1210:0000 00000000 -_BSS BSS DGROUP 1210:0000 00000ec2 -STACK STACK DGROUP 12fd:0000 0000dac0 +modex16_TEXT CODE AUTO 0f1a:0000 00002554 +16text_TEXT CODE AUTO 0f1a:2560 0000010d +16_in13_DATA FAR_DATA AUTO 1181:0000 000001a4 +FAR_DATA FAR_DATA AUTO 119b:0004 00000000 +_NULL BEGDATA DGROUP 119c:0000 00000020 +_AFTERNULL BEGDATA DGROUP 119e:0000 00000002 +CONST DATA DGROUP 119e:0002 00000076 +CONST2 DATA DGROUP 11a5:0008 00000102 +_DATA DATA DGROUP 11b6:0000 00000591 +XIB DATA DGROUP 120f:0002 00000000 +XI DATA DGROUP 120f:0002 00000036 +XIE DATA DGROUP 1212:0008 00000000 +YIB DATA DGROUP 1212:0008 00000000 +YI DATA DGROUP 1212:0008 00000018 +YIE DATA DGROUP 1214:0000 00000000 +STRINGS DATA DGROUP 1214:0000 00000000 +DATA DATA DGROUP 1214:0000 00000000 +_emu_init_start EMU DGROUP 1214:0000 00000000 +_emu_init_end EMU DGROUP 1214:0000 00000000 +_BSS BSS DGROUP 1214:0000 00000ec2 +STACK STACK DGROUP 1301:0000 0000dac0 +----------------+ @@ -69,12 +69,12 @@ Address Symbol Module: palettel.o(/dos/z/16/src/palettel.c) 0000:004e main_ -1198:0780+ _gvar -1198:0838+ _bakapee -1198:083c+ _pal -1198:0840* _i +119c:0780+ _gvar +119c:0838+ _bakapee +119c:083c+ _pal +119c:0840* _i Module: 16_in.o(/dos/z/16/src/lib/16_in.c) -1198:085e+ _inpu +119c:085e+ _inpu 0000:02a0+ INL_KeyService_ 0000:053a+ Mouse_ 0000:0592+ IN_GetJoyAbs_ @@ -122,9 +122,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c) 0000:486c+ MM_TotalFree_ 0000:4902* MM_Report_ 0000:52ba* MM_BombOnError_ -1198:09c0+ _beforesort -1198:09c4+ _aftersort -1198:09c8+ _XMSaddr +119c:09c0+ _beforesort +119c:09c4+ _aftersort +119c:09c8+ _XMSaddr Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c) 0000:52f0 detectcpu_ Module: 16_head.o(/dos/z/16/src/lib/16_head.c) @@ -142,9 +142,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c) 0000:5a30* CAL_OptimizeNodes_ 0000:5ae0* CA_Startup_ 0000:5b30* CA_Shutdown_ -1198:09d0* _finishcachebox -1198:09d4* _drawcachebox -1198:09d8* _updatecachebox +119c:09d0* _finishcachebox +119c:09d4* _drawcachebox +119c:09d8* _updatecachebox Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:5b9c KITTENGETS 0000:5bfc* kittenopen_ @@ -155,7 +155,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:6154+ get_line_ 0000:61c6+ db_fetch_ 0000:625c+ db_insert_ -1198:0494+ __kitten_catalog +119c:0494+ __kitten_catalog Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c) 0000:651c+ LargestFreeBlock_ 0000:65aa+ _coreleft_ @@ -183,63 +183,63 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0f1a:01f4 VGAmodeX_ 0f1a:0286+ vgaGetMode_ 0f1a:02bc+ modexEnter_ -0f1a:03ec modexLeave_ -0f1a:0404+ modexsetBaseXMode_ -0f1a:0456 modexDefaultPage_ -0f1a:04e8* modexNextPage_ -0f1a:05b4* modexNextPageFlexibleSize_ -0f1a:0682* modexShowPage_ -0f1a:077e* modexPanPage_ -0f1a:07ce* modexSelectPlane_ -0f1a:07f2+ modexClearRegion_ -0f1a:090a* oldDrawBmp_ -0f1a:0a70* CDrawBmp_ -0f1a:0bd4* modexDrawBmp_ -0f1a:0c3a+ modexDrawBmpRegion_ -0f1a:0da4* modex_sparky4_DrawBmpRegion_ -0f1a:0f0e* modexDrawPlanarBuf_ -0f1a:0f2c* modexDrawSprite_ -0f1a:0f92+ modexDrawSpriteRegion_ -0f1a:110a* modexCopyPageRegion_ -0f1a:1274 modexFadeOn_ -0f1a:12a4* modexFadeOff_ -0f1a:12d2* modexFlashOn_ -0f1a:1300* modexFlashOff_ -0f1a:13d0+ modexPalSave_ -0f1a:1426 modexNewPal_ -0f1a:1476 modexLoadPalFile_ -0f1a:1558* modexSavePalFile_ -0f1a:15d0 modexPalBlack_ -0f1a:15fa* modexPalWhite_ -0f1a:1624+ modexPalUpdate_ -0f1a:1b94 modexPalUpdate1_ -0f1a:1c0e* modexPalUpdate0_ -0f1a:1c5a+ chkcolor_ -0f1a:1f72+ modexputPixel_ -0f1a:2000* modexgetPixel_ -0f1a:2086* modexhlin_ -0f1a:210a* modexprint_ -0f1a:22a4* modexprintbig_ -0f1a:2420 pdump_ -0f1a:2480* cls_ -0f1a:24ee+ modexWaitBorder_ -1198:04c4+ _VGA +0f1a:040a modexLeave_ +0f1a:0422+ modexsetBaseXMode_ +0f1a:0474 modexDefaultPage_ +0f1a:0526* modexNextPage_ +0f1a:05f2* modexNextPageFlexibleSize_ +0f1a:06c0* modexShowPage_ +0f1a:07bc* modexPanPage_ +0f1a:080c* modexSelectPlane_ +0f1a:0830+ modexClearRegion_ +0f1a:0948* oldDrawBmp_ +0f1a:0aae* CDrawBmp_ +0f1a:0c12* modexDrawBmp_ +0f1a:0c78+ modexDrawBmpRegion_ +0f1a:0de2* modex_sparky4_DrawBmpRegion_ +0f1a:0f4c* modexDrawPlanarBuf_ +0f1a:0f6a* modexDrawSprite_ +0f1a:0fd0+ modexDrawSpriteRegion_ +0f1a:1148* modexCopyPageRegion_ +0f1a:12b2 modexFadeOn_ +0f1a:12e2* modexFadeOff_ +0f1a:1310* modexFlashOn_ +0f1a:133e* modexFlashOff_ +0f1a:140e+ modexPalSave_ +0f1a:1464 modexNewPal_ +0f1a:14b4 modexLoadPalFile_ +0f1a:1596* modexSavePalFile_ +0f1a:160e modexPalBlack_ +0f1a:1638* modexPalWhite_ +0f1a:1662+ modexPalUpdate_ +0f1a:1bd2 modexPalUpdate1_ +0f1a:1c4c* modexPalUpdate0_ +0f1a:1c98+ chkcolor_ +0f1a:1fb0+ modexputPixel_ +0f1a:203e* modexgetPixel_ +0f1a:20c4* modexhlin_ +0f1a:2148* modexprint_ +0f1a:22e2* modexprintbig_ +0f1a:245e pdump_ +0f1a:24be* cls_ +0f1a:252c+ modexWaitBorder_ +119c:04c4+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:7b82 _fmalloc_ 0000:7b82 malloc_ -1198:04d8 ___fheap -1198:04da ___fheapRover -1198:04dc ___LargestSizeB4Rover +119c:04d8 ___fheap +119c:04da ___fheapRover +119c:04dc ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 0000:7cff __PIA 0000:7cf8* __PIS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c) 0000:7d16 getch_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -1198:0000* __nullarea -1198:04de* __ovlflag -1198:04df* __intno -1198:04e0* __ovlvec +119c:0000* __nullarea +119c:04de* __ovlflag +119c:04df* __intno +119c:04e0* __ovlvec 0000:7d30 _cstart_ 0000:7e03* _Not_Enough_Memory_ 0000:7f35 __exit_ @@ -249,10 +249,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:7fbc _big_code_ 0000:7fbc* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -1198:12e4 __argv -1198:12e8 ___argv -1198:12ec __argc -1198:12ee ___argc +119c:12e4 __argv +119c:12e8 ___argv +119c:12ec __argc +119c:12ee ___argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:7fbc printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) @@ -276,22 +276,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c) 0000:8318 _memavl_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:835d _nmalloc_ -1198:04e4 ___nheapbeg -1198:04e6 ___MiniHeapRover -1198:04e8 ___LargestSizeB4MiniHeapRover +119c:04e4 ___nheapbeg +119c:04e6 ___MiniHeapRover +119c:04e8 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:8437 _ffree_ 0000:8437 free_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:84a4 _nfree_ -1198:12f0+ ___MiniHeapFreeRover +119c:12f0+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:859f+ _null_exit_rtn_ 0000:859f+ __null_int23_exit_ 0000:85a0 exit_ 0000:85c1+ _exit_ -1198:04ea+ ___int23_exit -1198:04ee ___FPE_handler_exit +119c:04ea+ ___int23_exit +119c:04ee ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ptc.asm) 0000:85de __PTC Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c) @@ -310,7 +310,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:8f85 __doclose_ 0000:90cf __shutdown_stream_ 0000:90e9 fclose_ -1198:12f2+ ___RmTmpFileFn +119c:12f2+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c) 0000:9154+ __ibm_bios_get_ticks_ 0000:91cb clock_ @@ -321,7 +321,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:93ef fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -1198:0098 __IsTable +119c:0098 __IsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:95e7 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c) @@ -356,31 +356,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c) 0000:9de1 stackavail_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) -1198:04fa __8087 -1198:04fb __real87 -1198:04fc __dos87emucall -1198:04fe __dos87real +119c:04fa __8087 +119c:04fb __real87 +119c:04fc __dos87emucall +119c:04fe __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:9df0* __exit_with_msg_ 0000:9df5 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -1198:0500 __curbrk -1198:0508 __STACKLOW -1198:050a __STACKTOP -1198:050c __cbyte -1198:050e __child -1198:0510 __no87 -1198:051d ___FPE_handler -1198:0502 __psp -1198:0511 __get_ovl_stack -1198:0515 __restore_ovl_stack -1198:0519 __close_ovl_file -1198:0521 __LpCmdLine -1198:0525 __LpPgmName -1198:0504 __osmajor -1198:0505 __osminor -1198:0506 __osmode -1198:0507 __HShift +119c:0500 __curbrk +119c:0508 __STACKLOW +119c:050a __STACKTOP +119c:050c __cbyte +119c:050e __child +119c:0510 __no87 +119c:051d ___FPE_handler +119c:0502 __psp +119c:0511 __get_ovl_stack +119c:0515 __restore_ovl_stack +119c:0519 __close_ovl_file +119c:0521 __LpCmdLine +119c:0525 __LpPgmName +119c:0504 __osmajor +119c:0505 __osminor +119c:0506 __osmode +119c:0507 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) 0000:9e14+ __fill_buffer_ 0000:a063 fgetc_ @@ -390,8 +390,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c) 0000:a523 rand_ 0000:a565* srand_ Module: gfx.lib(/dos/z/16/src/lib/16text.c) -0f1a:2596* textInit_ -1198:12fa _romFonts +0f1a:25d6* textInit_ +119c:12fa _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c) 0000:a590 __MemAllocator 0000:a65a __MemFree @@ -409,7 +409,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:aae0 __FiniRtns 0000:aae0* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -1198:052e ___uselfn +119c:052e ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:ab44 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) @@ -417,9 +417,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) 0000:aba8+ _getargv_ 0000:aed8 __Fini_Argv_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -1198:0530 ___iob -1198:1316 ___OpenStreams -1198:131a ___ClosedStreams +119c:0530 ___iob +119c:1316 ___OpenStreams +119c:131a ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:af1c __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) @@ -432,7 +432,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:b2f9 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -1198:0022 ___Alphabet +119c:0022 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c) 0000:b2fc __lseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) @@ -442,18 +442,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) 0000:b3aa* __set_errno_dos_reterr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:b3b5* __get_errno_ptr_ -1198:131e _errno +119c:131e _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:b3bc __GetIOMode_ 0000:b3f1 __SetIOMode_nogrow_ -1198:06ac ___NFiles -1198:06ae ___init_mode -1198:06d6 ___io_mode +119c:06ac ___NFiles +119c:06ae ___init_mode +119c:06d6 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:b426* __set_commode_ -1198:06da __commode +119c:06da __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -1198:06dc __fmode +119c:06dc __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c) 0000:b432 __chktty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c) @@ -480,9 +480,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:ba3a isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:ba56* __get_doserrno_ptr_ -1198:1320 __doserrno +119c:1320 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -1198:06de ___umaskval +119c:06de ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:ba5d _dos_creat_ 0000:ba81* _dos_creatnew_ @@ -493,9 +493,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c) 0000:bc8a vsprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c) -1198:1324 ___env_mask -1198:1328 _environ -1198:132c* __wenviron +119c:1324 ___env_mask +119c:1328 _environ +119c:132c* __wenviron Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c) 0000:bccc _mbterm_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c) @@ -516,7 +516,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 0000:c222 __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:c292 __EnterWVIDEO_ -1198:06fe+ ___WD_Present +119c:06fe+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flushall.c) 0000:c2b6 __flushall_ 0000:c34a flushall_ @@ -532,19 +532,19 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 0000:c578 fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:c74d* _heapenable_ -1198:0700 ___heap_enabled +119c:0700 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -1198:0702 __amblksiz +119c:0702 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -1198:1330 ____Argv -1198:1334 ____Argc +119c:1330 ____Argv +119c:1334 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -1198:0732 __Start_XI -1198:0768 __End_XI -1198:0768 __Start_YI -1198:0780 __End_YI +119c:0732 __Start_XI +119c:0768 __End_XI +119c:0768 __Start_YI +119c:0780 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -1198:1336 ___historical_splitparms +119c:1336 ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c) 0000:c75e __InitFiles_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) @@ -566,22 +566,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c) 0000:e004 __setenvp_ 0000:e190 __freeenvp_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -1198:0704 ___IsDBCS +119c:0704 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:e1ee* _ismbblead_ -1198:133c ___MBCSIsTable +119c:133c ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:e248 __mbinit_ -1198:0706 ___MBCodePage +119c:0706 ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c) 0000:e323 _mbdtoupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c) 0000:e331 toupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) -1198:0708 __8087cw +119c:0708 __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) -1198:070a ___Save8087 -1198:070e ___Rest8087 +119c:070a ___Save8087 +119c:070e ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 0000:e340 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) @@ -595,8 +595,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:e50b strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -1198:0712 ___EFG_printf -1198:0716* ___EFG_scanf +119c:0712 ___EFG_printf +119c:0716* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:e553 ulltoa_ 0000:e690* lltoa_ @@ -623,7 +623,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c) 0000:f137 _bexpand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) -1198:0730 ___FPE_int +119c:0730 ___FPE_int +--------------------+ @@ -639,6 +639,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00020a90 (133776.) +Memory size: 00020ad0 (133840.) Entry point address: 0000:7d30 -Link time: 00:00.00 +Link time: 00:00.10 diff --git a/pcxtest.exe b/pcxtest.exe index 98f08499..31c7741b 100755 Binary files a/pcxtest.exe and b/pcxtest.exe differ diff --git a/pcxtest.map b/pcxtest.map index a1505d2f..c569d14d 100755 --- a/pcxtest.map +++ b/pcxtest.map @@ -1,7 +1,7 @@ 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/15 14:50:51 +Created on: 15/10/15 14:56:24 Executable Image: pcxtest.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 0b74:0000 0000ed60 +DGROUP 0b78:0000 0000ed60 @@ -28,26 +28,26 @@ pcxtest_TEXT CODE AUTO 0000:0000 000002e0 _TEXT CODE AUTO 0000:02e0 00008595 bitmap_TEXT CODE AUTO 0000:8880 00000605 planar_TEXT CODE AUTO 0000:8e90 00000275 -modex16_TEXT CODE AUTO 0000:9110 00002516 -16text_TEXT CODE AUTO 0000:b630 0000010d -FAR_DATA FAR_DATA AUTO 0b73:000d 00000000 -_NULL BEGDATA DGROUP 0b74:0000 00000020 -_AFTERNULL BEGDATA DGROUP 0b76:0000 00000002 -CONST DATA DGROUP 0b76:0002 00000076 -CONST2 DATA DGROUP 0b7d:0008 00000132 -_DATA DATA DGROUP 0b91:0000 0000032a -XIB DATA DGROUP 0bc3:000a 00000000 -XI DATA DGROUP 0bc3:000a 0000002a -XIE DATA DGROUP 0bc6:0004 00000000 -YIB DATA DGROUP 0bc6:0004 00000000 -YI DATA DGROUP 0bc6:0004 0000000c -YIE DATA DGROUP 0bc7:0000 00000000 -STRINGS DATA DGROUP 0bc7:0000 00000000 -DATA DATA DGROUP 0bc7:0000 00000000 -_emu_init_start EMU DGROUP 0bc7:0000 00000000 -_emu_init_end EMU DGROUP 0bc7:0000 00000000 -_BSS BSS DGROUP 0bc7:0000 00000d70 -STACK STACK DGROUP 0c9e:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:9110 00002554 +16text_TEXT CODE AUTO 0000:b670 0000010d +FAR_DATA FAR_DATA AUTO 0b77:000d 00000000 +_NULL BEGDATA DGROUP 0b78:0000 00000020 +_AFTERNULL BEGDATA DGROUP 0b7a:0000 00000002 +CONST DATA DGROUP 0b7a:0002 00000076 +CONST2 DATA DGROUP 0b81:0008 00000132 +_DATA DATA DGROUP 0b95:0000 0000032a +XIB DATA DGROUP 0bc7:000a 00000000 +XI DATA DGROUP 0bc7:000a 0000002a +XIE DATA DGROUP 0bca:0004 00000000 +YIB DATA DGROUP 0bca:0004 00000000 +YI DATA DGROUP 0bca:0004 0000000c +YIE DATA DGROUP 0bcb:0000 00000000 +STRINGS DATA DGROUP 0bcb:0000 00000000 +DATA DATA DGROUP 0bcb:0000 00000000 +_emu_init_start EMU DGROUP 0bcb:0000 00000000 +_emu_init_end EMU DGROUP 0bcb:0000 00000000 +_BSS BSS DGROUP 0bcb:0000 00000d70 +STACK STACK DGROUP 0ca2:0000 0000dac0 +----------------+ @@ -62,7 +62,7 @@ Address Symbol Module: pcxtest.o(/dos/z/16/src/pcxtest.c) 0000:00b8 main_ -0b74:0530+ _gvar +0b78:0530+ _gvar Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:02e5 __STK 0000:0305* __STKOVERFLOW_ @@ -77,47 +77,47 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0000:9304 VGAmodeX_ 0000:9396+ vgaGetMode_ 0000:93cc+ modexEnter_ -0000:94fc* modexLeave_ -0000:9514+ modexsetBaseXMode_ -0000:9566 modexDefaultPage_ -0000:95f8* modexNextPage_ -0000:96c4* modexNextPageFlexibleSize_ -0000:9792* modexShowPage_ -0000:988e* modexPanPage_ -0000:98de* modexSelectPlane_ -0000:9902 modexClearRegion_ -0000:9a1a oldDrawBmp_ -0000:9b80* CDrawBmp_ -0000:9ce4 modexDrawBmp_ -0000:9d4a+ modexDrawBmpRegion_ -0000:9eb4* modex_sparky4_DrawBmpRegion_ -0000:a01e* modexDrawPlanarBuf_ -0000:a03c modexDrawSprite_ -0000:a0a2+ modexDrawSpriteRegion_ -0000:a21a modexCopyPageRegion_ -0000:a384* modexFadeOn_ -0000:a3b4* modexFadeOff_ -0000:a3e2* modexFlashOn_ -0000:a410* modexFlashOff_ -0000:a4e0+ modexPalSave_ -0000:a536 modexNewPal_ -0000:a586* modexLoadPalFile_ -0000:a668* modexSavePalFile_ -0000:a6e0* modexPalBlack_ -0000:a70a* modexPalWhite_ -0000:a734+ modexPalUpdate_ -0000:aca4 modexPalUpdate1_ -0000:ad1e* modexPalUpdate0_ -0000:ad6a+ chkcolor_ -0000:b082+ modexputPixel_ -0000:b110* modexgetPixel_ -0000:b196* modexhlin_ -0000:b21a* modexprint_ -0000:b3b4* modexprintbig_ -0000:b530* pdump_ -0000:b590* cls_ -0000:b5fe+ modexWaitBorder_ -0b74:0204 _VGA +0000:951a* modexLeave_ +0000:9532+ modexsetBaseXMode_ +0000:9584 modexDefaultPage_ +0000:9636* modexNextPage_ +0000:9702* modexNextPageFlexibleSize_ +0000:97d0* modexShowPage_ +0000:98cc* modexPanPage_ +0000:991c* modexSelectPlane_ +0000:9940 modexClearRegion_ +0000:9a58 oldDrawBmp_ +0000:9bbe* CDrawBmp_ +0000:9d22 modexDrawBmp_ +0000:9d88+ modexDrawBmpRegion_ +0000:9ef2* modex_sparky4_DrawBmpRegion_ +0000:a05c* modexDrawPlanarBuf_ +0000:a07a modexDrawSprite_ +0000:a0e0+ modexDrawSpriteRegion_ +0000:a258 modexCopyPageRegion_ +0000:a3c2* modexFadeOn_ +0000:a3f2* modexFadeOff_ +0000:a420* modexFlashOn_ +0000:a44e* modexFlashOff_ +0000:a51e+ modexPalSave_ +0000:a574 modexNewPal_ +0000:a5c4* modexLoadPalFile_ +0000:a6a6* modexSavePalFile_ +0000:a71e* modexPalBlack_ +0000:a748* modexPalWhite_ +0000:a772+ modexPalUpdate_ +0000:ace2 modexPalUpdate1_ +0000:ad5c* modexPalUpdate0_ +0000:ada8+ chkcolor_ +0000:b0c0+ modexputPixel_ +0000:b14e* modexgetPixel_ +0000:b1d4* modexhlin_ +0000:b258* modexprint_ +0000:b3f2* modexprintbig_ +0000:b56e* pdump_ +0000:b5ce* cls_ +0000:b63c+ modexWaitBorder_ +0b78:0204 _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 0000:0329 __PIA 0000:0322* __PIS @@ -126,60 +126,60 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:0357 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -0b74:0000* __nullarea -0b74:0218* __ovlflag -0b74:0219* __intno -0b74:021a* __ovlvec +0b78:0000* __nullarea +0b78:0218* __ovlflag +0b78:0219* __intno +0b78:021a* __ovlvec 0000:0386 _cstart_ 0000:0459* _Not_Enough_Memory_ 0000:058b __exit_ 0000:05aa __do_exit_with_msg__ 0000:0607 __GETDS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c) -0b74:021e _fltused_ +0b78:021e _fltused_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:0612 _big_code_ 0000:0612* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) -0b74:0220 __8087 -0b74:0221 __real87 -0b74:0222 __dos87emucall -0b74:0224 __dos87real +0b78:0220 __8087 +0b78:0221 __real87 +0b78:0222 __dos87emucall +0b78:0224 __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:0612* __exit_with_msg_ 0000:0617 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -0b74:0226 __curbrk -0b74:022e __STACKLOW -0b74:0230 __STACKTOP -0b74:0232 __cbyte -0b74:0234 __child -0b74:0236 __no87 -0b74:0243 ___FPE_handler -0b74:0228 __psp -0b74:0237 __get_ovl_stack -0b74:023b __restore_ovl_stack -0b74:023f __close_ovl_file -0b74:0247 __LpCmdLine -0b74:024b __LpPgmName -0b74:022a __osmajor -0b74:022b __osminor -0b74:022c __osmode -0b74:022d __HShift +0b78:0226 __curbrk +0b78:022e __STACKLOW +0b78:0230 __STACKTOP +0b78:0232 __cbyte +0b78:0234 __child +0b78:0236 __no87 +0b78:0243 ___FPE_handler +0b78:0228 __psp +0b78:0237 __get_ovl_stack +0b78:023b __restore_ovl_stack +0b78:023f __close_ovl_file +0b78:0247 __LpCmdLine +0b78:024b __LpPgmName +0b78:022a __osmajor +0b78:022b __osminor +0b78:022c __osmode +0b78:022d __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 0000:0636 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:09ad __doclose_ 0000:0af7 __shutdown_stream_ 0000:0b11 fclose_ -0b74:0f68+ ___RmTmpFileFn +0b78:0f68+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:0b7c+ _null_exit_rtn_ 0000:0b7c+ __null_int23_exit_ 0000:0b7d exit_ 0000:0b9e+ _exit_ -0b74:0250+ ___int23_exit -0b74:0254 ___FPE_handler_exit +0b78:0250+ ___int23_exit +0b78:0254 ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:0cd8 fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) @@ -193,13 +193,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:173b _fmalloc_ 0000:173b malloc_ -0b74:0258+ ___fheap -0b74:025a ___fheapRover -0b74:025c ___LargestSizeB4Rover +0b78:0258+ ___fheap +0b78:025a ___fheapRover +0b78:025c ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -0b74:025e ___iob -0b74:0f6c ___OpenStreams -0b74:0f70 ___ClosedStreams +0b78:025e ___iob +0b78:0f6c ___OpenStreams +0b78:0f70 ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 0000:18b0 fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) @@ -217,8 +217,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:1eda __I4M 0000:1eda __U4M Module: gfx.lib(/dos/z/16/src/lib/16text.c) -0000:b6a6* textInit_ -0b74:0f74 _romFonts +0000:b6e6* textInit_ +0b78:0f74 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:1f0c __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c) @@ -229,7 +229,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:2120 __FiniRtns 0000:2120* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -0b74:03ca ___uselfn +0b78:03ca ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:2184 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c) @@ -241,10 +241,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 0000:2270 __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:22e0 __EnterWVIDEO_ -0b74:03ea+ ___WD_Present +0b78:03ea+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:2304* __get_errno_ptr_ -0b74:0f8c _errno +0b78:0f8c _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c) 0000:230b __ioalloc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c) @@ -273,9 +273,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c) 0000:2995 getche_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:29af* __set_commode_ -0b74:03ec __commode +0b78:03ec __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -0b74:03ee __fmode +0b78:03ee __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:29bb tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -296,9 +296,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:32ec __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:32ef _nmalloc_ -0b74:03f0 ___nheapbeg -0b74:03f2 ___MiniHeapRover -0b74:03f4 ___LargestSizeB4MiniHeapRover +0b78:03f0 ___nheapbeg +0b78:03f2 ___MiniHeapRover +0b78:03f4 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:33c9* _heapgrow_ 0000:33c9* _fheapgrow_ @@ -310,7 +310,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) 0000:367d __full_io_exit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:3687 _nfree_ -0b74:0f8e+ ___MiniHeapFreeRover +0b78:0f8e+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) 0000:3782 intr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c) @@ -322,27 +322,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 0000:3a31 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -0b74:0f90 ____Argv -0b74:0f94 ____Argc +0b78:0f90 ____Argv +0b78:0f94 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -0b74:03f6 __amblksiz +0b78:03f6 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -0b74:04fa __Start_XI -0b74:0524 __End_XI -0b74:0524 __Start_YI -0b74:0530 __End_YI +0b78:04fa __Start_XI +0b78:0524 __End_XI +0b78:0524 __Start_YI +0b78:0530 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -0b74:03f8 ___EFG_printf -0b74:03fc ___EFG_scanf +0b78:03f8 ___EFG_printf +0b78:03fc ___EFG_scanf Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c) 0000:4bb5 _EFG_Format_ Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c) 0000:4d87 __cnvs2d_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) -0b74:0400 __8087cw +0b78:0400 __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) -0b74:0402 ___Save8087 -0b74:0406 ___Rest8087 +0b78:0402 ___Save8087 +0b78:0406 ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 0000:4da7 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) @@ -356,9 +356,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:4ebc __GetIOMode_ 0000:4ef1 __SetIOMode_nogrow_ -0b74:041e ___NFiles -0b74:0420 ___init_mode -0b74:0448 ___io_mode +0b78:041e ___NFiles +0b78:0420 ___init_mode +0b78:0448 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c) 0000:4f26 fsync_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c) @@ -371,15 +371,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:5120 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:513c* __get_doserrno_ptr_ -0b74:0f98 __doserrno +0b78:0f98 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -0b74:044c ___umaskval +0b78:044c ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:5143 _dos_creat_ 0000:5167* _dos_creatnew_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:5188* _heapenable_ -0b74:044e ___heap_enabled +0b78:044e ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:5199 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -395,10 +395,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:585b strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -0b74:0450 ___IsDBCS +0b78:0450 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:5890* _ismbblead_ -0b74:0f9a ___MBCSIsTable +0b78:0f9a ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:58ac ulltoa_ 0000:59e9* lltoa_ @@ -446,10 +446,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c) 0000:7e40* sbrk_ 0000:7e50 __brk_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -0b74:0072 ___Alphabet +0b78:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:7ef6 __mbinit_ -0b74:04f6+ ___MBCodePage +0b78:04f6+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c) 0000:7fd1 __LDClass_ 0000:8057* _FLClass_ @@ -457,7 +457,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm) 0000:806c __I4D 0000:80bb* __U4D Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -0b74:0098 __IsTable +0b78:0098 __IsTable Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm) 0000:8140 __ZBuf2LD Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c) @@ -465,16 +465,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c) 0000:8214 __set_ERANGE_ 0000:8220* __set_EINVAL_ Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c) -0b74:019a* ___f_infinity -0b74:019e* ___f_posqnan -0b74:01a2 ___d_infinity -0b74:01aa ___d_posqnan -0b74:01b2* ___ld_infinity -0b74:01ba* ___ld_posqnan +0b78:019a* ___f_infinity +0b78:019e* ___f_posqnan +0b78:01a2 ___d_infinity +0b78:01aa ___d_posqnan +0b78:01b2* ___ld_infinity +0b78:01ba* ___ld_posqnan Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c) -0b74:01c2 __HugeValue +0b78:01c2 __HugeValue Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) -0b74:04f8 ___FPE_int +0b78:04f8 ___FPE_int Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:823a* _msize_ 0000:8255 _fmsize_ @@ -505,6 +505,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 0001a4a0 (107680.) +Memory size: 0001a4e0 (107744.) Entry point address: 0000:0386 Link time: 00:00.00 diff --git a/pcxtest2.exe b/pcxtest2.exe index 3c9971ca..7d1a9b70 100755 Binary files a/pcxtest2.exe and b/pcxtest2.exe differ diff --git a/pcxtest2.map b/pcxtest2.map index e3acd583..91a0d5e8 100755 --- a/pcxtest2.map +++ b/pcxtest2.map @@ -1,7 +1,7 @@ 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/15 14:50:51 +Created on: 15/10/15 14:56:24 Executable Image: pcxtest2.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 0b79:0000 0000ed60 +DGROUP 0b7d:0000 0000ed60 @@ -28,26 +28,26 @@ pcxtest2_TEXT CODE AUTO 0000:0000 00000327 _TEXT CODE AUTO 0000:0330 00008595 bitmap_TEXT CODE AUTO 0000:88d0 00000605 planar_TEXT CODE AUTO 0000:8ee0 00000275 -modex16_TEXT CODE AUTO 0000:9160 00002516 -16text_TEXT CODE AUTO 0000:b680 0000010d -FAR_DATA FAR_DATA AUTO 0b78:000d 00000000 -_NULL BEGDATA DGROUP 0b79:0000 00000020 -_AFTERNULL BEGDATA DGROUP 0b7b:0000 00000002 -CONST DATA DGROUP 0b7b:0002 00000076 -CONST2 DATA DGROUP 0b82:0008 00000132 -_DATA DATA DGROUP 0b96:0000 0000032a -XIB DATA DGROUP 0bc8:000a 00000000 -XI DATA DGROUP 0bc8:000a 0000002a -XIE DATA DGROUP 0bcb:0004 00000000 -YIB DATA DGROUP 0bcb:0004 00000000 -YI DATA DGROUP 0bcb:0004 0000000c -YIE DATA DGROUP 0bcc:0000 00000000 -STRINGS DATA DGROUP 0bcc:0000 00000000 -DATA DATA DGROUP 0bcc:0000 00000000 -_emu_init_start EMU DGROUP 0bcc:0000 00000000 -_emu_init_end EMU DGROUP 0bcc:0000 00000000 -_BSS BSS DGROUP 0bcc:0000 00000d70 -STACK STACK DGROUP 0ca3:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:9160 00002554 +16text_TEXT CODE AUTO 0000:b6c0 0000010d +FAR_DATA FAR_DATA AUTO 0b7c:000d 00000000 +_NULL BEGDATA DGROUP 0b7d:0000 00000020 +_AFTERNULL BEGDATA DGROUP 0b7f:0000 00000002 +CONST DATA DGROUP 0b7f:0002 00000076 +CONST2 DATA DGROUP 0b86:0008 00000132 +_DATA DATA DGROUP 0b9a:0000 0000032a +XIB DATA DGROUP 0bcc:000a 00000000 +XI DATA DGROUP 0bcc:000a 0000002a +XIE DATA DGROUP 0bcf:0004 00000000 +YIB DATA DGROUP 0bcf:0004 00000000 +YI DATA DGROUP 0bcf:0004 0000000c +YIE DATA DGROUP 0bd0:0000 00000000 +STRINGS DATA DGROUP 0bd0:0000 00000000 +DATA DATA DGROUP 0bd0:0000 00000000 +_emu_init_start EMU DGROUP 0bd0:0000 00000000 +_emu_init_end EMU DGROUP 0bd0:0000 00000000 +_BSS BSS DGROUP 0bd0:0000 00000d70 +STACK STACK DGROUP 0ca7:0000 0000dac0 +----------------+ @@ -62,7 +62,7 @@ Address Symbol Module: pcxtest2.o(/dos/z/16/src/pcxtest2.c) 0000:00b8 main_ -0b79:0530+ _gvar +0b7d:0530+ _gvar Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:0335 __STK 0000:0355* __STKOVERFLOW_ @@ -77,47 +77,47 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0000:9354 VGAmodeX_ 0000:93e6+ vgaGetMode_ 0000:941c+ modexEnter_ -0000:954c* modexLeave_ -0000:9564+ modexsetBaseXMode_ -0000:95b6 modexDefaultPage_ -0000:9648* modexNextPage_ -0000:9714* modexNextPageFlexibleSize_ -0000:97e2 modexShowPage_ -0000:98de* modexPanPage_ -0000:992e* modexSelectPlane_ -0000:9952 modexClearRegion_ -0000:9a6a oldDrawBmp_ -0000:9bd0* CDrawBmp_ -0000:9d34 modexDrawBmp_ -0000:9d9a+ modexDrawBmpRegion_ -0000:9f04* modex_sparky4_DrawBmpRegion_ -0000:a06e* modexDrawPlanarBuf_ -0000:a08c modexDrawSprite_ -0000:a0f2+ modexDrawSpriteRegion_ -0000:a26a modexCopyPageRegion_ -0000:a3d4* modexFadeOn_ -0000:a404* modexFadeOff_ -0000:a432* modexFlashOn_ -0000:a460* modexFlashOff_ -0000:a530+ modexPalSave_ -0000:a586 modexNewPal_ -0000:a5d6* modexLoadPalFile_ -0000:a6b8* modexSavePalFile_ -0000:a730* modexPalBlack_ -0000:a75a* modexPalWhite_ -0000:a784+ modexPalUpdate_ -0000:acf4 modexPalUpdate1_ -0000:ad6e* modexPalUpdate0_ -0000:adba+ chkcolor_ -0000:b0d2+ modexputPixel_ -0000:b160* modexgetPixel_ -0000:b1e6* modexhlin_ -0000:b26a* modexprint_ -0000:b404* modexprintbig_ -0000:b580* pdump_ -0000:b5e0* cls_ -0000:b64e+ modexWaitBorder_ -0b79:0204 _VGA +0000:956a* modexLeave_ +0000:9582+ modexsetBaseXMode_ +0000:95d4 modexDefaultPage_ +0000:9686* modexNextPage_ +0000:9752* modexNextPageFlexibleSize_ +0000:9820 modexShowPage_ +0000:991c* modexPanPage_ +0000:996c* modexSelectPlane_ +0000:9990 modexClearRegion_ +0000:9aa8 oldDrawBmp_ +0000:9c0e* CDrawBmp_ +0000:9d72 modexDrawBmp_ +0000:9dd8+ modexDrawBmpRegion_ +0000:9f42* modex_sparky4_DrawBmpRegion_ +0000:a0ac* modexDrawPlanarBuf_ +0000:a0ca modexDrawSprite_ +0000:a130+ modexDrawSpriteRegion_ +0000:a2a8 modexCopyPageRegion_ +0000:a412* modexFadeOn_ +0000:a442* modexFadeOff_ +0000:a470* modexFlashOn_ +0000:a49e* modexFlashOff_ +0000:a56e+ modexPalSave_ +0000:a5c4 modexNewPal_ +0000:a614* modexLoadPalFile_ +0000:a6f6* modexSavePalFile_ +0000:a76e* modexPalBlack_ +0000:a798* modexPalWhite_ +0000:a7c2+ modexPalUpdate_ +0000:ad32 modexPalUpdate1_ +0000:adac* modexPalUpdate0_ +0000:adf8+ chkcolor_ +0000:b110+ modexputPixel_ +0000:b19e* modexgetPixel_ +0000:b224* modexhlin_ +0000:b2a8* modexprint_ +0000:b442* modexprintbig_ +0000:b5be* pdump_ +0000:b61e* cls_ +0000:b68c+ modexWaitBorder_ +0b7d:0204 _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 0000:0379 __PIA 0000:0372* __PIS @@ -126,60 +126,60 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:03a7 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -0b79:0000* __nullarea -0b79:0218* __ovlflag -0b79:0219* __intno -0b79:021a* __ovlvec +0b7d:0000* __nullarea +0b7d:0218* __ovlflag +0b7d:0219* __intno +0b7d:021a* __ovlvec 0000:03d6 _cstart_ 0000:04a9* _Not_Enough_Memory_ 0000:05db __exit_ 0000:05fa __do_exit_with_msg__ 0000:0657 __GETDS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c) -0b79:021e _fltused_ +0b7d:021e _fltused_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:0662 _big_code_ 0000:0662* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) -0b79:0220 __8087 -0b79:0221 __real87 -0b79:0222 __dos87emucall -0b79:0224 __dos87real +0b7d:0220 __8087 +0b7d:0221 __real87 +0b7d:0222 __dos87emucall +0b7d:0224 __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:0662* __exit_with_msg_ 0000:0667 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -0b79:0226 __curbrk -0b79:022e __STACKLOW -0b79:0230 __STACKTOP -0b79:0232 __cbyte -0b79:0234 __child -0b79:0236 __no87 -0b79:0243 ___FPE_handler -0b79:0228 __psp -0b79:0237 __get_ovl_stack -0b79:023b __restore_ovl_stack -0b79:023f __close_ovl_file -0b79:0247 __LpCmdLine -0b79:024b __LpPgmName -0b79:022a __osmajor -0b79:022b __osminor -0b79:022c __osmode -0b79:022d __HShift +0b7d:0226 __curbrk +0b7d:022e __STACKLOW +0b7d:0230 __STACKTOP +0b7d:0232 __cbyte +0b7d:0234 __child +0b7d:0236 __no87 +0b7d:0243 ___FPE_handler +0b7d:0228 __psp +0b7d:0237 __get_ovl_stack +0b7d:023b __restore_ovl_stack +0b7d:023f __close_ovl_file +0b7d:0247 __LpCmdLine +0b7d:024b __LpPgmName +0b7d:022a __osmajor +0b7d:022b __osminor +0b7d:022c __osmode +0b7d:022d __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 0000:0686 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:09fd __doclose_ 0000:0b47 __shutdown_stream_ 0000:0b61 fclose_ -0b79:0f68+ ___RmTmpFileFn +0b7d:0f68+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:0bcc+ _null_exit_rtn_ 0000:0bcc+ __null_int23_exit_ 0000:0bcd exit_ 0000:0bee+ _exit_ -0b79:0250+ ___int23_exit -0b79:0254 ___FPE_handler_exit +0b7d:0250+ ___int23_exit +0b7d:0254 ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:0d28 fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) @@ -193,13 +193,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:178b _fmalloc_ 0000:178b malloc_ -0b79:0258+ ___fheap -0b79:025a ___fheapRover -0b79:025c ___LargestSizeB4Rover +0b7d:0258+ ___fheap +0b7d:025a ___fheapRover +0b7d:025c ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -0b79:025e ___iob -0b79:0f6c ___OpenStreams -0b79:0f70 ___ClosedStreams +0b7d:025e ___iob +0b7d:0f6c ___OpenStreams +0b7d:0f70 ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 0000:1900 fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) @@ -217,8 +217,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:1f2a __I4M 0000:1f2a __U4M Module: gfx.lib(/dos/z/16/src/lib/16text.c) -0000:b6f6* textInit_ -0b79:0f74 _romFonts +0000:b736* textInit_ +0b7d:0f74 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:1f5c __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c) @@ -229,7 +229,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:2170 __FiniRtns 0000:2170* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -0b79:03ca ___uselfn +0b7d:03ca ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:21d4 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c) @@ -241,10 +241,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 0000:22c0 __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:2330 __EnterWVIDEO_ -0b79:03ea+ ___WD_Present +0b7d:03ea+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:2354* __get_errno_ptr_ -0b79:0f8c _errno +0b7d:0f8c _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c) 0000:235b __ioalloc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c) @@ -273,9 +273,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c) 0000:29e5 getche_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:29ff* __set_commode_ -0b79:03ec __commode +0b7d:03ec __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -0b79:03ee __fmode +0b7d:03ee __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:2a0b tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -296,9 +296,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:333c __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:333f _nmalloc_ -0b79:03f0 ___nheapbeg -0b79:03f2 ___MiniHeapRover -0b79:03f4 ___LargestSizeB4MiniHeapRover +0b7d:03f0 ___nheapbeg +0b7d:03f2 ___MiniHeapRover +0b7d:03f4 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:3419* _heapgrow_ 0000:3419* _fheapgrow_ @@ -310,7 +310,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) 0000:36cd __full_io_exit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:36d7 _nfree_ -0b79:0f8e+ ___MiniHeapFreeRover +0b7d:0f8e+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) 0000:37d2 intr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c) @@ -322,27 +322,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 0000:3a81 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -0b79:0f90 ____Argv -0b79:0f94 ____Argc +0b7d:0f90 ____Argv +0b7d:0f94 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -0b79:03f6 __amblksiz +0b7d:03f6 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -0b79:04fa __Start_XI -0b79:0524 __End_XI -0b79:0524 __Start_YI -0b79:0530 __End_YI +0b7d:04fa __Start_XI +0b7d:0524 __End_XI +0b7d:0524 __Start_YI +0b7d:0530 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -0b79:03f8 ___EFG_printf -0b79:03fc ___EFG_scanf +0b7d:03f8 ___EFG_printf +0b7d:03fc ___EFG_scanf Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c) 0000:4c05 _EFG_Format_ Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c) 0000:4dd7 __cnvs2d_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) -0b79:0400 __8087cw +0b7d:0400 __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) -0b79:0402 ___Save8087 -0b79:0406 ___Rest8087 +0b7d:0402 ___Save8087 +0b7d:0406 ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 0000:4df7 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) @@ -356,9 +356,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:4f0c __GetIOMode_ 0000:4f41 __SetIOMode_nogrow_ -0b79:041e ___NFiles -0b79:0420 ___init_mode -0b79:0448 ___io_mode +0b7d:041e ___NFiles +0b7d:0420 ___init_mode +0b7d:0448 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c) 0000:4f76 fsync_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c) @@ -371,15 +371,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:5170 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:518c* __get_doserrno_ptr_ -0b79:0f98 __doserrno +0b7d:0f98 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -0b79:044c ___umaskval +0b7d:044c ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:5193 _dos_creat_ 0000:51b7* _dos_creatnew_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:51d8* _heapenable_ -0b79:044e ___heap_enabled +0b7d:044e ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:51e9 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -395,10 +395,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:58ab strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -0b79:0450 ___IsDBCS +0b7d:0450 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:58e0* _ismbblead_ -0b79:0f9a ___MBCSIsTable +0b7d:0f9a ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:58fc ulltoa_ 0000:5a39* lltoa_ @@ -446,10 +446,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c) 0000:7e90* sbrk_ 0000:7ea0 __brk_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -0b79:0072 ___Alphabet +0b7d:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:7f46 __mbinit_ -0b79:04f6+ ___MBCodePage +0b7d:04f6+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c) 0000:8021 __LDClass_ 0000:80a7* _FLClass_ @@ -457,7 +457,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm) 0000:80bc __I4D 0000:810b* __U4D Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -0b79:0098 __IsTable +0b7d:0098 __IsTable Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm) 0000:8190 __ZBuf2LD Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c) @@ -465,16 +465,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c) 0000:8264 __set_ERANGE_ 0000:8270* __set_EINVAL_ Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c) -0b79:019a* ___f_infinity -0b79:019e* ___f_posqnan -0b79:01a2 ___d_infinity -0b79:01aa ___d_posqnan -0b79:01b2* ___ld_infinity -0b79:01ba* ___ld_posqnan +0b7d:019a* ___f_infinity +0b7d:019e* ___f_posqnan +0b7d:01a2 ___d_infinity +0b7d:01aa ___d_posqnan +0b7d:01b2* ___ld_infinity +0b7d:01ba* ___ld_posqnan Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c) -0b79:01c2 __HugeValue +0b7d:01c2 __HugeValue Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) -0b79:04f8 ___FPE_int +0b7d:04f8 ___FPE_int Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:828a* _msize_ 0000:82a5 _fmsize_ @@ -505,6 +505,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 0001a4f0 (107760.) +Memory size: 0001a530 (107824.) Entry point address: 0000:03d6 Link time: 00:00.00 diff --git a/scroll.exe b/scroll.exe index 3beb4fe8..87ea7122 100755 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/scroll.map b/scroll.map index 7078fbdf..4927de54 100755 --- a/scroll.map +++ b/scroll.map @@ -1,7 +1,7 @@ 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/15 14:50:51 +Created on: 15/10/15 14:56:24 Executable Image: scroll.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 1a07:0000 0000f8a0 +DGROUP 1a0b:0000 0000f8a0 @@ -40,26 +40,26 @@ scroll16_TEXT CODE AUTO 09b0:9e00 000036f5 bitmap_TEXT CODE AUTO 09b0:d500 00000605 planar_TEXT CODE AUTO 09b0:db10 00000275 16text_TEXT CODE AUTO 09b0:dd90 0000010d -modex16_TEXT CODE AUTO 179a:0000 00002516 -16_in13_DATA FAR_DATA AUTO 19ec:0000 000001a4 -FAR_DATA FAR_DATA AUTO 1a06:0004 00000000 -_NULL BEGDATA DGROUP 1a07:0000 00000020 -_AFTERNULL BEGDATA DGROUP 1a09:0000 00000002 -CONST DATA DGROUP 1a09:0002 00000076 -CONST2 DATA DGROUP 1a10:0008 00000132 -_DATA DATA DGROUP 1a24:0000 00000b14 -XIB DATA DGROUP 1ad5:0004 00000000 -XI DATA DGROUP 1ad5:0004 0000003c -XIE DATA DGROUP 1ad9:0000 00000000 -YIB DATA DGROUP 1ad9:0000 00000000 -YI DATA DGROUP 1ad9:0000 00000018 -YIE DATA DGROUP 1ada:0008 00000000 -STRINGS DATA DGROUP 1ada:0008 00000000 -DATA DATA DGROUP 1ada:0008 00000000 -_emu_init_start EMU DGROUP 1ada:0008 00000000 -_emu_init_end EMU DGROUP 1ada:0008 00000000 -_BSS BSS DGROUP 1adb:0000 00001096 -STACK STACK DGROUP 1be5:0000 0000dac0 +modex16_TEXT CODE AUTO 179a:0000 00002554 +16_in13_DATA FAR_DATA AUTO 19f0:0000 000001a4 +FAR_DATA FAR_DATA AUTO 1a0a:0004 00000000 +_NULL BEGDATA DGROUP 1a0b:0000 00000020 +_AFTERNULL BEGDATA DGROUP 1a0d:0000 00000002 +CONST DATA DGROUP 1a0d:0002 00000076 +CONST2 DATA DGROUP 1a14:0008 00000132 +_DATA DATA DGROUP 1a28:0000 00000b14 +XIB DATA DGROUP 1ad9:0004 00000000 +XI DATA DGROUP 1ad9:0004 0000003c +XIE DATA DGROUP 1add:0000 00000000 +YIB DATA DGROUP 1add:0000 00000000 +YI DATA DGROUP 1add:0000 00000018 +YIE DATA DGROUP 1ade:0008 00000000 +STRINGS DATA DGROUP 1ade:0008 00000000 +DATA DATA DGROUP 1ade:0008 00000000 +_emu_init_start EMU DGROUP 1ade:0008 00000000 +_emu_init_end EMU DGROUP 1ade:0008 00000000 +_BSS BSS DGROUP 1adf:0000 00001096 +STACK STACK DGROUP 1be9:0000 0000dac0 +----------------+ @@ -73,15 +73,15 @@ Address Symbol ======= ====== Module: scroll.o(/dos/z/16/src/scroll.c) -1a07:0d40+ _player -1a07:0e40+ _mv -1a07:0e70+ _gvar -1a07:0f28+ _spri -1a07:0f2c+ _mask -1a07:0f30+ _p -1a07:0f34* _t -1a07:0f38+ _bg -1a07:0f48+ _bakapee +1a0b:0d40+ _player +1a0b:0e40+ _mv +1a0b:0e70+ _gvar +1a0b:0f28+ _spri +1a0b:0f2c+ _mask +1a0b:0f30+ _p +1a0b:0f34* _t +1a0b:0f38+ _bg +1a0b:0f48+ _bakapee 0000:0280 main_ Module: mapread.o(/dos/z/16/src/lib/mapread.c) 0000:1028+ jsoneq_ @@ -91,7 +91,7 @@ Module: jsmn.o(/dos/z/16/src/lib/jsmn/jsmn.c) 0000:1bd2 jsmn_parse_ 0000:20ce jsmn_init_ Module: 16_in.o(/dos/z/16/src/lib/16_in.c) -1a07:0f6e+ _inpu +1a0b:0f6e+ _inpu 0000:2260+ INL_KeyService_ 0000:24fa+ Mouse_ 0000:2552+ IN_GetJoyAbs_ @@ -139,9 +139,9 @@ Module: 16_mm.o(/dos/z/16/src/lib/16_mm.c) 0000:682c+ MM_TotalFree_ 0000:68c2* MM_Report_ 0000:727a* MM_BombOnError_ -1a07:10d0+ _beforesort -1a07:10d4+ _aftersort -1a07:10d8+ _XMSaddr +1a0b:10d0+ _beforesort +1a0b:10d4+ _aftersort +1a0b:10d8+ _XMSaddr Module: wcpu.o(/dos/z/16/src/lib/wcpu/wcpu.c) 0000:72b0 detectcpu_ Module: 16_head.o(/dos/z/16/src/lib/16_head.c) @@ -159,9 +159,9 @@ Module: 16_ca.o(/dos/z/16/src/lib/16_ca.c) 0000:79f0* CAL_OptimizeNodes_ 0000:7aa0* CA_Startup_ 0000:7af0* CA_Shutdown_ -1a07:10e0* _finishcachebox -1a07:10e4* _drawcachebox -1a07:10e8* _updatecachebox +1a0b:10e0* _finishcachebox +1a0b:10e4* _drawcachebox +1a0b:10e8* _updatecachebox Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:7b5c KITTENGETS 0000:7bbc* kittenopen_ @@ -172,7 +172,7 @@ Module: kitten.o(/dos/z/16/src/lib/nyan/kitten.c) 0000:8114+ get_line_ 0000:8186+ db_fetch_ 0000:821c+ db_insert_ -1a07:04d4+ __kitten_catalog +1a0b:04d4+ __kitten_catalog Module: 16_hc.o(/dos/z/16/src/lib/16_hc.c) 0000:84dc+ LargestFreeBlock_ 0000:856a+ _coreleft_ @@ -199,18 +199,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 09b0:0042 _fmalloc_ 09b0:0042 malloc_ -1a07:04f6 ___fheap -1a07:04f8 ___fheapRover -1a07:04fa ___LargestSizeB4Rover +1a0b:04f6 ___fheap +1a0b:04f8 ___fheapRover +1a0b:04fa ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 09b0:01bf __PIA 09b0:01b8* __PIS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 09b0:01d6 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -1a07:04fc ___iob -1a07:10f4 ___OpenStreams -1a07:10f8 ___ClosedStreams +1a0b:04fc ___iob +1a0b:10f4 ___OpenStreams +1a0b:10f8 ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 09b0:0205 fprintf_ Module: gfx.lib(/dos/z/16/src/lib/scroll16.c) @@ -237,62 +237,62 @@ Module: gfx.lib(/dos/z/16/src/lib/planar.c) 09b0:dd2a* planar_buf_free_ Module: gfx.lib(/dos/z/16/src/lib/16text.c) 09b0:de06 textInit_ -1a07:1180 _romFonts +1a0b:1180 _romFonts Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 179a:01f4 VGAmodeX_ 179a:0286+ vgaGetMode_ 179a:02bc+ modexEnter_ -179a:03ec* modexLeave_ -179a:0404+ modexsetBaseXMode_ -179a:0456 modexDefaultPage_ -179a:04e8 modexNextPage_ -179a:05b4 modexNextPageFlexibleSize_ -179a:0682 modexShowPage_ -179a:077e* modexPanPage_ -179a:07ce* modexSelectPlane_ -179a:07f2 modexClearRegion_ -179a:090a* oldDrawBmp_ -179a:0a70* CDrawBmp_ -179a:0bd4* modexDrawBmp_ -179a:0c3a+ modexDrawBmpRegion_ -179a:0da4* modex_sparky4_DrawBmpRegion_ -179a:0f0e* modexDrawPlanarBuf_ -179a:0f2c* modexDrawSprite_ -179a:0f92+ modexDrawSpriteRegion_ -179a:110a modexCopyPageRegion_ -179a:1274* modexFadeOn_ -179a:12a4* modexFadeOff_ -179a:12d2* modexFlashOn_ -179a:1300* modexFlashOff_ -179a:13d0+ modexPalSave_ -179a:1426 modexNewPal_ -179a:1476* modexLoadPalFile_ -179a:1558* modexSavePalFile_ -179a:15d0* modexPalBlack_ -179a:15fa* modexPalWhite_ -179a:1624+ modexPalUpdate_ -179a:1b94+ modexPalUpdate1_ -179a:1c0e* modexPalUpdate0_ -179a:1c5a+ chkcolor_ -179a:1f72+ modexputPixel_ -179a:2000* modexgetPixel_ -179a:2086* modexhlin_ -179a:210a modexprint_ -179a:22a4* modexprintbig_ -179a:2420 pdump_ -179a:2480* cls_ -179a:24ee modexWaitBorder_ -1a07:0b54+ _VGA +179a:040a* modexLeave_ +179a:0422+ modexsetBaseXMode_ +179a:0474 modexDefaultPage_ +179a:0526 modexNextPage_ +179a:05f2 modexNextPageFlexibleSize_ +179a:06c0 modexShowPage_ +179a:07bc* modexPanPage_ +179a:080c* modexSelectPlane_ +179a:0830 modexClearRegion_ +179a:0948* oldDrawBmp_ +179a:0aae* CDrawBmp_ +179a:0c12* modexDrawBmp_ +179a:0c78+ modexDrawBmpRegion_ +179a:0de2* modex_sparky4_DrawBmpRegion_ +179a:0f4c* modexDrawPlanarBuf_ +179a:0f6a* modexDrawSprite_ +179a:0fd0+ modexDrawSpriteRegion_ +179a:1148 modexCopyPageRegion_ +179a:12b2* modexFadeOn_ +179a:12e2* modexFadeOff_ +179a:1310* modexFlashOn_ +179a:133e* modexFlashOff_ +179a:140e+ modexPalSave_ +179a:1464 modexNewPal_ +179a:14b4* modexLoadPalFile_ +179a:1596* modexSavePalFile_ +179a:160e* modexPalBlack_ +179a:1638* modexPalWhite_ +179a:1662+ modexPalUpdate_ +179a:1bd2+ modexPalUpdate1_ +179a:1c4c* modexPalUpdate0_ +179a:1c98+ chkcolor_ +179a:1fb0+ modexputPixel_ +179a:203e* modexgetPixel_ +179a:20c4* modexhlin_ +179a:2148 modexprint_ +179a:22e2* modexprintbig_ +179a:245e pdump_ +179a:24be* cls_ +179a:252c modexWaitBorder_ +1a0b:0b54+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sound.c) 09b0:0234 sound_ 09b0:026f nosound_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c) 09b0:027b atoi_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -1a07:0000* __nullarea -1a07:0b68* __ovlflag -1a07:0b69* __intno -1a07:0b6a* __ovlvec +1a0b:0000* __nullarea +1a0b:0b68* __ovlflag +1a0b:0b69* __intno +1a0b:0b6a* __ovlvec 09b0:0318 _cstart_ 09b0:03eb* _Not_Enough_Memory_ 09b0:051d __exit_ @@ -302,10 +302,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 09b0:05a4 _big_code_ 09b0:05a4* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -1a07:1a98 __argv -1a07:1a9c ___argv -1a07:1aa0 __argc -1a07:1aa2 ___argc +1a0b:1a98 __argv +1a0b:1a9c ___argv +1a0b:1aa0 __argc +1a0b:1aa2 ___argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c) 09b0:05a4 strncmp_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c) @@ -319,7 +319,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 09b0:0bb8 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 09b0:0f2f __get_errno_ptr_ -1a07:1aa4 _errno +1a0b:1aa4 _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c) 09b0:0f36* _frealloc_ 09b0:0f36 realloc_ @@ -348,22 +348,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(memavl.c) 09b0:13ae _memavl_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 09b0:13f3 _nmalloc_ -1a07:0b6e ___nheapbeg -1a07:0b70 ___MiniHeapRover -1a07:0b72 ___LargestSizeB4MiniHeapRover +1a0b:0b6e ___nheapbeg +1a0b:0b70 ___MiniHeapRover +1a0b:0b72 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 09b0:14cd _ffree_ 09b0:14cd free_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 09b0:153a _nfree_ -1a07:1aa6+ ___MiniHeapFreeRover +1a0b:1aa6+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 09b0:1635+ _null_exit_rtn_ 09b0:1635+ __null_int23_exit_ 09b0:1636 exit_ 09b0:1657+ _exit_ -1a07:0b74+ ___int23_exit -1a07:0b78 ___FPE_handler_exit +1a0b:0b74+ ___int23_exit +1a0b:0b78 ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c) 09b0:1673 ultoa_ 09b0:1731* ltoa_ @@ -373,7 +373,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 09b0:1ae3 __doclose_ 09b0:1c2d __shutdown_stream_ 09b0:1c47 fclose_ -1a07:1aa8+ ___RmTmpFileFn +1a0b:1aa8+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(clockdos.c) 09b0:1cb2+ __ibm_bios_get_ticks_ 09b0:1d29 clock_ @@ -384,7 +384,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ftell.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 09b0:1f4d fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -1a07:0098 __IsTable +1a0b:0098 __IsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 09b0:2145 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(unlnk.c) @@ -419,31 +419,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nheapwal.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stack086.c) 09b0:293f stackavail_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) -1a07:0b84 __8087 -1a07:0b85 __real87 -1a07:0b86 __dos87emucall -1a07:0b88 __dos87real +1a0b:0b84 __8087 +1a0b:0b85 __real87 +1a0b:0b86 __dos87emucall +1a0b:0b88 __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 09b0:294e* __exit_with_msg_ 09b0:2953 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -1a07:0b8a __curbrk -1a07:0b92 __STACKLOW -1a07:0b94 __STACKTOP -1a07:0b96 __cbyte -1a07:0b98 __child -1a07:0b9a __no87 -1a07:0ba7 ___FPE_handler -1a07:0b8c __psp -1a07:0b9b __get_ovl_stack -1a07:0b9f __restore_ovl_stack -1a07:0ba3 __close_ovl_file -1a07:0bab __LpCmdLine -1a07:0baf __LpPgmName -1a07:0b8e __osmajor -1a07:0b8f __osminor -1a07:0b90 __osmode -1a07:0b91 __HShift +1a0b:0b8a __curbrk +1a0b:0b92 __STACKLOW +1a0b:0b94 __STACKTOP +1a0b:0b96 __cbyte +1a0b:0b98 __child +1a0b:0b9a __no87 +1a0b:0ba7 ___FPE_handler +1a0b:0b8c __psp +1a0b:0b9b __get_ovl_stack +1a0b:0b9f __restore_ovl_stack +1a0b:0ba3 __close_ovl_file +1a0b:0bab __LpCmdLine +1a0b:0baf __LpPgmName +1a0b:0b8e __osmajor +1a0b:0b8f __osminor +1a0b:0b90 __osmode +1a0b:0b91 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c) 09b0:2980 __MemAllocator 09b0:2a4a __MemFree @@ -461,7 +461,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) 09b0:31b0* fcloseall_ 09b0:31b7 __full_io_exit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c) -1a07:0bb4 _fltused_ +1a0b:0bb4 _fltused_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) 09b0:31c1 __fill_buffer_ 09b0:3410 fgetc_ @@ -478,7 +478,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 09b0:39f6 __FiniRtns 09b0:39f6* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -1a07:0bba ___uselfn +1a0b:0bba ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 09b0:3a5a __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) @@ -487,9 +487,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) 09b0:3dee __Fini_Argv_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 09b0:3e18* __set_commode_ -1a07:0bbc __commode +1a0b:0bbc __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -1a07:0bbe __fmode +1a0b:0bbe __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chktty.c) 09b0:3e24 __chktty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(freefp.c) @@ -520,7 +520,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 09b0:4b0a __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -1a07:0050 ___Alphabet +1a0b:0050 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c) 09b0:4b0d __lseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) @@ -531,9 +531,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 09b0:4bc6 __GetIOMode_ 09b0:4bfb __SetIOMode_nogrow_ -1a07:0bd4 ___NFiles -1a07:0bd6 ___init_mode -1a07:0bfe ___io_mode +1a0b:0bd4 ___NFiles +1a0b:0bd6 ___init_mode +1a0b:0bfe ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c) 09b0:4c30 __close_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) @@ -553,9 +553,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 09b0:4f46 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 09b0:4f62* __get_doserrno_ptr_ -1a07:1ab4 __doserrno +1a0b:1ab4 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -1a07:0c02 ___umaskval +1a0b:0c02 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 09b0:4f69 _dos_creat_ 09b0:4f8d* _dos_creatnew_ @@ -566,9 +566,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stiomode.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c) 09b0:5196 vsprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(environ.c) -1a07:1ab8 ___env_mask -1a07:1abc _environ -1a07:1ac0* __wenviron +1a0b:1ab8 ___env_mask +1a0b:1abc _environ +1a0b:1ac0* __wenviron Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbterm.c) 09b0:51d8 _mbterm_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbsnextc.c) @@ -589,12 +589,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 09b0:572e __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 09b0:579e __EnterWVIDEO_ -1a07:0c22+ ___WD_Present +1a0b:0c22+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 09b0:57c2* _heapenable_ -1a07:0c24 ___heap_enabled +1a0b:0c24 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -1a07:0c26 __amblksiz +1a0b:0c26 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 09b0:57d3 fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) @@ -609,15 +609,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(gtche.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 09b0:6bea __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -1a07:1ac4 ____Argv -1a07:1ac8 ____Argc +1a0b:1ac4 ____Argv +1a0b:1ac8 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -1a07:0ce4 __Start_XI -1a07:0d20 __End_XI -1a07:0d20 __Start_YI -1a07:0d38 __End_YI +1a0b:0ce4 __Start_XI +1a0b:0d20 __End_XI +1a0b:0d20 __Start_YI +1a0b:0d38 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -1a07:1aca ___historical_splitparms +1a0b:1aca ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bfree.c) 09b0:6c4a _bfree_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c) @@ -633,22 +633,22 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setenvp.c) 09b0:70dc __setenvp_ 09b0:7268 __freeenvp_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -1a07:0c28 ___IsDBCS +1a0b:0c28 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 09b0:72c6* _ismbblead_ -1a07:1ad0 ___MBCSIsTable +1a0b:1ad0 ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 09b0:7320 __mbinit_ -1a07:0c2a ___MBCodePage +1a0b:0c2a ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbdtoupp.c) 09b0:73fb _mbdtoupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(toupper.c) 09b0:7409 toupper_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) -1a07:0c2c __8087cw +1a0b:0c2c __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) -1a07:0c2e ___Save8087 -1a07:0c32 ___Rest8087 +1a0b:0c2e ___Save8087 +1a0b:0c32 ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 09b0:7418 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) @@ -662,8 +662,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 09b0:75e3 strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -1a07:0c36 ___EFG_printf -1a07:0c3a ___EFG_scanf +1a0b:0c36 ___EFG_printf +1a0b:0c3a ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 09b0:762b ulltoa_ 09b0:7768* lltoa_ @@ -702,7 +702,7 @@ Module: /dos/fdos/watcom2/lib286/math87h.lib(strtod.c) 09b0:987f+ __Strtold_ 09b0:9abe strtod_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) -1a07:0ce2 ___FPE_int +1a0b:0ce2 ___FPE_int Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c) 09b0:9c6b __LDClass_ 09b0:9cf1* _FLClass_ @@ -713,14 +713,14 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c) 09b0:9dda __set_ERANGE_ 09b0:9de6* __set_EINVAL_ Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c) -1a07:019a* ___f_infinity -1a07:019e* ___f_posqnan -1a07:01a2 ___d_infinity -1a07:01aa ___d_posqnan -1a07:01b2* ___ld_infinity -1a07:01ba* ___ld_posqnan +1a0b:019a* ___f_infinity +1a0b:019e* ___f_posqnan +1a0b:01a2 ___d_infinity +1a0b:01aa ___d_posqnan +1a0b:01b2* ___ld_infinity +1a0b:01ba* ___ld_posqnan Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c) -1a07:01c2 __HugeValue +1a0b:01c2 __HugeValue +--------------------+ @@ -738,6 +738,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00029910 (170256.) +Memory size: 00029950 (170320.) Entry point address: 09b0:0318 Link time: 00:00.00 diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 45d7046c..e68e57f1 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -108,8 +108,8 @@ modexEnter(sword vq, global_game_variables_t *gv) gv->video.page[0].tilesh = gv->video.page[0].sh/TILEWH; //printf("%dx%d\n", gv->video.page[0].tilesw, gv->video.page[0].tilesh); //TODO MAKE FLEXIBLE~ - gv->video.page[0].tilemidposscreenx = 10; - gv->video.page[0].tilemidposscreeny = 8; + gv->video.page[0].tilemidposscreenx = gv->video.page[0].tilesw; + gv->video.page[0].tilemidposscreeny = (gv->video.page[0].tilesh/2)+1; /* send the CRTParms */ for(i=0; isw; + page.sh = p->sh; page.width = p->sw; page.height = p->sh; page.tw = page.sw/TILEWH; page.th = page.sh/TILEWH; + page.tilemidposscreenx = page.tw/2; + page.tilemidposscreeny = (page.th/2)+1; page.id = 0; return page; diff --git a/test.exe b/test.exe index 6da8fdf5..62a225fa 100755 Binary files a/test.exe and b/test.exe differ diff --git a/test.map b/test.map index 4455860e..f4ff68a3 100755 --- a/test.map +++ b/test.map @@ -1,7 +1,7 @@ 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/15 14:50:51 +Created on: 15/10/15 14:56:24 Executable Image: test.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 0839:0000 0000e8b0 +DGROUP 083d:0000 0000e8b0 @@ -26,24 +26,24 @@ Segment Class Group Address Size test_TEXT CODE AUTO 0000:0000 00000309 _TEXT CODE AUTO 0000:0310 00005a4b -modex16_TEXT CODE AUTO 0000:5d60 00002516 -16text_TEXT CODE AUTO 0000:8280 0000010d -FAR_DATA FAR_DATA AUTO 0838:000d 00000000 -_NULL BEGDATA DGROUP 0839:0000 00000020 -_AFTERNULL BEGDATA DGROUP 083b:0000 00000002 -CONST DATA DGROUP 083b:0002 00000076 -CONST2 DATA DGROUP 0842:0008 00000000 -_DATA DATA DGROUP 0843:0000 00000234 -XIB DATA DGROUP 0866:0004 00000000 -XI DATA DGROUP 0866:0004 00000018 -XIE DATA DGROUP 0867:000c 00000000 -YIB DATA DGROUP 0867:000c 00000000 -YI DATA DGROUP 0867:000c 0000000c -YIE DATA DGROUP 0868:0008 00000000 -STRINGS DATA DGROUP 0868:0008 00000000 -DATA DATA DGROUP 0868:0008 00000000 -_BSS BSS DGROUP 0869:0000 00000aeb -STACK STACK DGROUP 0918:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:5d60 00002554 +16text_TEXT CODE AUTO 0000:82c0 0000010d +FAR_DATA FAR_DATA AUTO 083c:000d 00000000 +_NULL BEGDATA DGROUP 083d:0000 00000020 +_AFTERNULL BEGDATA DGROUP 083f:0000 00000002 +CONST DATA DGROUP 083f:0002 00000076 +CONST2 DATA DGROUP 0846:0008 00000000 +_DATA DATA DGROUP 0847:0000 00000234 +XIB DATA DGROUP 086a:0004 00000000 +XI DATA DGROUP 086a:0004 00000018 +XIE DATA DGROUP 086b:000c 00000000 +YIB DATA DGROUP 086b:000c 00000000 +YI DATA DGROUP 086b:000c 0000000c +YIE DATA DGROUP 086c:0008 00000000 +STRINGS DATA DGROUP 086c:0008 00000000 +DATA DATA DGROUP 086c:0008 00000000 +_BSS BSS DGROUP 086d:0000 00000aeb +STACK STACK DGROUP 091c:0000 0000dac0 +----------------+ @@ -58,7 +58,7 @@ Address Symbol Module: test.o(/dos/z/16/src/test.c) 0000:004e main_ -0839:0300+ _gvar +083d:0300+ _gvar Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:0315 __STK 0000:0335* __STKOVERFLOW_ @@ -66,55 +66,55 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0000:5f54 VGAmodeX_ 0000:5fe6+ vgaGetMode_ 0000:601c+ modexEnter_ -0000:614c* modexLeave_ -0000:6164+ modexsetBaseXMode_ -0000:61b6 modexDefaultPage_ -0000:6248 modexNextPage_ -0000:6314* modexNextPageFlexibleSize_ -0000:63e2 modexShowPage_ -0000:64de* modexPanPage_ -0000:652e* modexSelectPlane_ -0000:6552 modexClearRegion_ -0000:666a* oldDrawBmp_ -0000:67d0* CDrawBmp_ -0000:6934* modexDrawBmp_ -0000:699a+ modexDrawBmpRegion_ -0000:6b04* modex_sparky4_DrawBmpRegion_ -0000:6c6e* modexDrawPlanarBuf_ -0000:6c8c* modexDrawSprite_ -0000:6cf2+ modexDrawSpriteRegion_ -0000:6e6a* modexCopyPageRegion_ -0000:6fd4 modexFadeOn_ -0000:7004 modexFadeOff_ -0000:7032* modexFlashOn_ -0000:7060* modexFlashOff_ -0000:7130 modexPalSave_ -0000:7186 modexNewPal_ -0000:71d6 modexLoadPalFile_ -0000:72b8* modexSavePalFile_ -0000:7330 modexPalBlack_ -0000:735a* modexPalWhite_ -0000:7384+ modexPalUpdate_ -0000:78f4+ modexPalUpdate1_ -0000:796e* modexPalUpdate0_ -0000:79ba+ chkcolor_ -0000:7cd2+ modexputPixel_ -0000:7d60* modexgetPixel_ -0000:7de6* modexhlin_ -0000:7e6a* modexprint_ -0000:8004* modexprintbig_ -0000:8180* pdump_ -0000:81e0* cls_ -0000:824e+ modexWaitBorder_ -0839:00b4+ _VGA +0000:616a* modexLeave_ +0000:6182+ modexsetBaseXMode_ +0000:61d4 modexDefaultPage_ +0000:6286 modexNextPage_ +0000:6352* modexNextPageFlexibleSize_ +0000:6420 modexShowPage_ +0000:651c* modexPanPage_ +0000:656c* modexSelectPlane_ +0000:6590 modexClearRegion_ +0000:66a8* oldDrawBmp_ +0000:680e* CDrawBmp_ +0000:6972* modexDrawBmp_ +0000:69d8+ modexDrawBmpRegion_ +0000:6b42* modex_sparky4_DrawBmpRegion_ +0000:6cac* modexDrawPlanarBuf_ +0000:6cca* modexDrawSprite_ +0000:6d30+ modexDrawSpriteRegion_ +0000:6ea8* modexCopyPageRegion_ +0000:7012 modexFadeOn_ +0000:7042 modexFadeOff_ +0000:7070* modexFlashOn_ +0000:709e* modexFlashOff_ +0000:716e modexPalSave_ +0000:71c4 modexNewPal_ +0000:7214 modexLoadPalFile_ +0000:72f6* modexSavePalFile_ +0000:736e modexPalBlack_ +0000:7398* modexPalWhite_ +0000:73c2+ modexPalUpdate_ +0000:7932+ modexPalUpdate1_ +0000:79ac* modexPalUpdate0_ +0000:79f8+ chkcolor_ +0000:7d10+ modexputPixel_ +0000:7d9e* modexgetPixel_ +0000:7e24* modexhlin_ +0000:7ea8* modexprint_ +0000:8042* modexprintbig_ +0000:81be* pdump_ +0000:821e* cls_ +0000:828c+ modexWaitBorder_ +083d:00b4+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 0000:0359 __PIA 0000:0352* __PIS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -0839:0000* __nullarea -0839:00c8* __ovlflag -0839:00c9* __intno -0839:00ca* __ovlvec +083d:0000* __nullarea +083d:00c8* __ovlflag +083d:00c9* __intno +083d:00ca* __ovlvec 0000:0370 _cstart_ 0000:0443* _Not_Enough_Memory_ 0000:0575 __exit_ @@ -127,32 +127,32 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:05fc* __exit_with_msg_ 0000:0601 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -0839:00ce __curbrk -0839:00d6 __STACKLOW -0839:00d8 __STACKTOP -0839:00da __cbyte -0839:00dc __child -0839:00de __no87 -0839:00eb ___FPE_handler -0839:00d0 __psp -0839:00df __get_ovl_stack -0839:00e3 __restore_ovl_stack -0839:00e7 __close_ovl_file -0839:00ef __LpCmdLine -0839:00f3 __LpPgmName -0839:00d2 __osmajor -0839:00d3 __osminor -0839:00d4 __osmode -0839:00d5 __HShift +083d:00ce __curbrk +083d:00d6 __STACKLOW +083d:00d8 __STACKTOP +083d:00da __cbyte +083d:00dc __child +083d:00de __no87 +083d:00eb ___FPE_handler +083d:00d0 __psp +083d:00df __get_ovl_stack +083d:00e3 __restore_ovl_stack +083d:00e7 __close_ovl_file +083d:00ef __LpCmdLine +083d:00f3 __LpPgmName +083d:00d2 __osmajor +083d:00d3 __osminor +083d:00d4 __osmode +083d:00d5 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) 0000:0620+ int86x_ 0000:07a3 int86_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:07d0 _fmalloc_ 0000:07d0 malloc_ -0839:00f8+ ___fheap -0839:00fa ___fheapRover -0839:00fc ___LargestSizeB4Rover +083d:00f8+ ___fheap +083d:00fa ___fheapRover +083d:00fc ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:0945 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) @@ -160,8 +160,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:0974+ __null_int23_exit_ 0000:0975 exit_ 0000:0996+ _exit_ -0839:00fe+ ___int23_exit -0839:0102+ ___FPE_handler_exit +083d:00fe+ ___int23_exit +083d:0102+ ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) 0000:09b2+ __open_flags_ 0000:0c73+ _fsopen_ @@ -174,7 +174,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:121d __doclose_ 0000:1367 __shutdown_stream_ 0000:1381 fclose_ -0839:0cb8+ ___RmTmpFileFn +083d:0cb8+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:13ec _ffree_ 0000:13ec free_ @@ -187,8 +187,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:1838 __I4M 0000:1838 __U4M Module: gfx.lib(/dos/z/16/src/lib/16text.c) -0000:82f6* textInit_ -0839:0cbc _romFonts +0000:8336* textInit_ +083d:0cbc _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c) 0000:1850 __CMain Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) @@ -197,12 +197,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:1911 __FiniRtns 0000:1911* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -0839:010a ___uselfn +083d:010a ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:1976 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:1977 __EnterWVIDEO_ -0839:010c+ ___WD_Present +083d:010c+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) 0000:199b intr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c) @@ -218,27 +218,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:1eac __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:1eaf _nmalloc_ -0839:010e ___nheapbeg -0839:0110 ___MiniHeapRover -0839:0112 ___LargestSizeB4MiniHeapRover +083d:010e ___nheapbeg +083d:0110 ___MiniHeapRover +083d:0112 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:1f89* _heapgrow_ 0000:1f89* _fheapgrow_ 0000:1f8a _nheapgrow_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -0839:0114 ___iob -0839:0cd4 ___OpenStreams -0839:0cd8 ___ClosedStreams +083d:0114 ___iob +083d:0cd4 ___OpenStreams +083d:0cd8 ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:201c __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:216f* __set_commode_ -0839:027c __commode +083d:027c __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:217b* __get_errno_ptr_ -0839:0cdc _errno +083d:0cdc _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -0839:027e __fmode +083d:027e __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:2182 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -272,26 +272,26 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) 0000:2d21 __flush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:2f6a _nfree_ -0839:0cde+ ___MiniHeapFreeRover +083d:0cde+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:3065 __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 0000:30c5 fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -0839:0ce0 ____Argv -0839:0ce4 ____Argc +083d:0ce0 ____Argv +083d:0ce4 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -0839:0280 __amblksiz +083d:0280 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -0839:02d4 __Start_XI -0839:02ec __End_XI -0839:02ec __Start_YI -0839:02f8 __End_YI +083d:02d4 __Start_XI +083d:02ec __End_XI +083d:02ec __Start_YI +083d:02f8 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) 0000:329a _DoINTR_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:3613* _heapenable_ -0839:0282 ___heap_enabled +083d:0282 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:3624 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -309,16 +309,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:4c12 __GetIOMode_ 0000:4c47 __SetIOMode_nogrow_ -0839:0284 ___NFiles -0839:0286 ___init_mode -0839:02ae ___io_mode +083d:0284 ___NFiles +083d:0286 ___init_mode +083d:02ae ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:4c7c isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:4c98* __get_doserrno_ptr_ -0839:0ce6 __doserrno +083d:0ce6 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -0839:02b2 ___umaskval +083d:02b2 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:4c9f _dos_creat_ 0000:4cc3* _dos_creatnew_ @@ -350,13 +350,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:5158 strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -0839:02c8 ___EFG_printf -0839:02cc* ___EFG_scanf +083d:02c8 ___EFG_printf +083d:02cc* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -0839:02d0 ___IsDBCS +083d:02d0 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:51a0* _ismbblead_ -0839:0cea ___MBCSIsTable +083d:0cea ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:51bc ulltoa_ 0000:52f9* lltoa_ @@ -376,10 +376,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) 0000:55ea* _dos_close_ 0000:55f8 _dos_commit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -0839:0072 ___Alphabet +083d:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:5645 __mbinit_ -0839:02d2+ ___MBCodePage +083d:02d2+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:5720* _msize_ 0000:573b _fmsize_ @@ -408,6 +408,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00016c40 (93248.) +Memory size: 00016c80 (93312.) Entry point address: 0000:0370 Link time: 00:00.00 diff --git a/test2.exe b/test2.exe index eb639997..cc516976 100755 Binary files a/test2.exe and b/test2.exe differ diff --git a/test2.map b/test2.map index b241a7ac..9fc12b52 100755 --- a/test2.map +++ b/test2.map @@ -1,7 +1,7 @@ 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/15 14:50:51 +Created on: 15/10/15 14:56:24 Executable Image: test2.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 08e3:0000 0000e890 +DGROUP 08e7:0000 0000e890 @@ -28,24 +28,24 @@ test2_TEXT CODE AUTO 0000:0000 0000017e _TEXT CODE AUTO 0000:0180 00005dec bitmap_TEXT CODE AUTO 0000:5f70 00000605 planar_TEXT CODE AUTO 0000:6580 00000275 -modex16_TEXT CODE AUTO 0000:6800 00002516 -16text_TEXT CODE AUTO 0000:8d20 0000010d -FAR_DATA FAR_DATA AUTO 08e2:000d 00000000 -_NULL BEGDATA DGROUP 08e3:0000 00000020 -_AFTERNULL BEGDATA DGROUP 08e5:0000 00000002 -CONST DATA DGROUP 08e5:0002 00000076 -CONST2 DATA DGROUP 08ec:0008 00000000 -_DATA DATA DGROUP 08ed:0000 0000024c -XIB DATA DGROUP 0911:000c 00000000 -XI DATA DGROUP 0911:000c 00000018 -XIE DATA DGROUP 0913:0004 00000000 -YIB DATA DGROUP 0913:0004 00000000 -YI DATA DGROUP 0913:0004 0000000c -YIE DATA DGROUP 0914:0000 00000000 -STRINGS DATA DGROUP 0914:0000 00000000 -DATA DATA DGROUP 0914:0000 00000000 -_BSS BSS DGROUP 0914:0000 00000ab3 -STACK STACK DGROUP 09c0:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:6800 00002554 +16text_TEXT CODE AUTO 0000:8d60 0000010d +FAR_DATA FAR_DATA AUTO 08e6:000d 00000000 +_NULL BEGDATA DGROUP 08e7:0000 00000020 +_AFTERNULL BEGDATA DGROUP 08e9:0000 00000002 +CONST DATA DGROUP 08e9:0002 00000076 +CONST2 DATA DGROUP 08f0:0008 00000000 +_DATA DATA DGROUP 08f1:0000 0000024c +XIB DATA DGROUP 0915:000c 00000000 +XI DATA DGROUP 0915:000c 00000018 +XIE DATA DGROUP 0917:0004 00000000 +YIB DATA DGROUP 0917:0004 00000000 +YI DATA DGROUP 0917:0004 0000000c +YIE DATA DGROUP 0918:0000 00000000 +STRINGS DATA DGROUP 0918:0000 00000000 +DATA DATA DGROUP 0918:0000 00000000 +_BSS BSS DGROUP 0918:0000 00000ab3 +STACK STACK DGROUP 09c4:0000 0000dac0 +----------------+ @@ -76,10 +76,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:01e0 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -08e3:0000* __nullarea -08e3:00c4* __ovlflag -08e3:00c5* __intno -08e3:00c6* __ovlvec +08e7:0000* __nullarea +08e7:00c4* __ovlflag +08e7:00c5* __intno +08e7:00c6* __ovlvec 0000:0210 _cstart_ 0000:02e3* _Not_Enough_Memory_ 0000:0415 __exit_ @@ -92,37 +92,37 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:049c* __exit_with_msg_ 0000:04a1 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -08e3:00ca __curbrk -08e3:00d2 __STACKLOW -08e3:00d4 __STACKTOP -08e3:00d6 __cbyte -08e3:00d8 __child -08e3:00da __no87 -08e3:00e7 ___FPE_handler -08e3:00cc __psp -08e3:00db __get_ovl_stack -08e3:00df __restore_ovl_stack -08e3:00e3 __close_ovl_file -08e3:00eb __LpCmdLine -08e3:00ef __LpPgmName -08e3:00ce __osmajor -08e3:00cf __osminor -08e3:00d0 __osmode -08e3:00d1 __HShift +08e7:00ca __curbrk +08e7:00d2 __STACKLOW +08e7:00d4 __STACKTOP +08e7:00d6 __cbyte +08e7:00d8 __child +08e7:00da __no87 +08e7:00e7 ___FPE_handler +08e7:00cc __psp +08e7:00db __get_ovl_stack +08e7:00df __restore_ovl_stack +08e7:00e3 __close_ovl_file +08e7:00eb __LpCmdLine +08e7:00ef __LpPgmName +08e7:00ce __osmajor +08e7:00cf __osminor +08e7:00d0 __osmode +08e7:00d1 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 0000:04c0 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:0837 __doclose_ 0000:0981 __shutdown_stream_ 0000:099b fclose_ -08e3:0390+ ___RmTmpFileFn +08e7:0390+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:0a06+ _null_exit_rtn_ 0000:0a06+ __null_int23_exit_ 0000:0a07 exit_ 0000:0a28+ _exit_ -08e3:00f4+ ___int23_exit -08e3:00f8+ ___FPE_handler_exit +08e7:00f4+ ___int23_exit +08e7:00f8+ ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:0b62 fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) @@ -132,47 +132,47 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0000:69f4* VGAmodeX_ 0000:6a86+ vgaGetMode_ 0000:6abc+ modexEnter_ -0000:6bec* modexLeave_ -0000:6c04+ modexsetBaseXMode_ -0000:6c56* modexDefaultPage_ -0000:6ce8* modexNextPage_ -0000:6db4* modexNextPageFlexibleSize_ -0000:6e82* modexShowPage_ -0000:6f7e* modexPanPage_ -0000:6fce* modexSelectPlane_ -0000:6ff2+ modexClearRegion_ -0000:710a* oldDrawBmp_ -0000:7270* CDrawBmp_ -0000:73d4* modexDrawBmp_ -0000:743a+ modexDrawBmpRegion_ -0000:75a4* modex_sparky4_DrawBmpRegion_ -0000:770e* modexDrawPlanarBuf_ -0000:772c* modexDrawSprite_ -0000:7792+ modexDrawSpriteRegion_ -0000:790a* modexCopyPageRegion_ -0000:7a74* modexFadeOn_ -0000:7aa4* modexFadeOff_ -0000:7ad2* modexFlashOn_ -0000:7b00* modexFlashOff_ -0000:7bd0+ modexPalSave_ -0000:7c26 modexNewPal_ -0000:7c76* modexLoadPalFile_ -0000:7d58* modexSavePalFile_ -0000:7dd0* modexPalBlack_ -0000:7dfa* modexPalWhite_ -0000:7e24+ modexPalUpdate_ -0000:8394+ modexPalUpdate1_ -0000:840e* modexPalUpdate0_ -0000:845a+ chkcolor_ -0000:8772+ modexputPixel_ -0000:8800* modexgetPixel_ -0000:8886* modexhlin_ -0000:890a* modexprint_ -0000:8aa4* modexprintbig_ -0000:8c20* pdump_ -0000:8c80* cls_ -0000:8cee+ modexWaitBorder_ -08e3:0104+ _VGA +0000:6c0a* modexLeave_ +0000:6c22+ modexsetBaseXMode_ +0000:6c74* modexDefaultPage_ +0000:6d26* modexNextPage_ +0000:6df2* modexNextPageFlexibleSize_ +0000:6ec0* modexShowPage_ +0000:6fbc* modexPanPage_ +0000:700c* modexSelectPlane_ +0000:7030+ modexClearRegion_ +0000:7148* oldDrawBmp_ +0000:72ae* CDrawBmp_ +0000:7412* modexDrawBmp_ +0000:7478+ modexDrawBmpRegion_ +0000:75e2* modex_sparky4_DrawBmpRegion_ +0000:774c* modexDrawPlanarBuf_ +0000:776a* modexDrawSprite_ +0000:77d0+ modexDrawSpriteRegion_ +0000:7948* modexCopyPageRegion_ +0000:7ab2* modexFadeOn_ +0000:7ae2* modexFadeOff_ +0000:7b10* modexFlashOn_ +0000:7b3e* modexFlashOff_ +0000:7c0e+ modexPalSave_ +0000:7c64 modexNewPal_ +0000:7cb4* modexLoadPalFile_ +0000:7d96* modexSavePalFile_ +0000:7e0e* modexPalBlack_ +0000:7e38* modexPalWhite_ +0000:7e62+ modexPalUpdate_ +0000:83d2+ modexPalUpdate1_ +0000:844c* modexPalUpdate0_ +0000:8498+ chkcolor_ +0000:87b0+ modexputPixel_ +0000:883e* modexgetPixel_ +0000:88c4* modexhlin_ +0000:8948* modexprint_ +0000:8ae2* modexprintbig_ +0000:8c5e* pdump_ +0000:8cbe* cls_ +0000:8d2c+ modexWaitBorder_ +08e7:0104+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) 0000:10f0+ __open_flags_ 0000:13b1+ _fsopen_ @@ -181,13 +181,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:15c5 _fmalloc_ 0000:15c5 malloc_ -08e3:0118+ ___fheap -08e3:011a ___fheapRover -08e3:011c ___LargestSizeB4Rover +08e7:0118+ ___fheap +08e7:011a ___fheapRover +08e7:011c ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -08e3:011e ___iob -08e3:0c94 ___OpenStreams -08e3:0c98 ___ClosedStreams +08e7:011e ___iob +08e7:0c94 ___OpenStreams +08e7:0c98 ___ClosedStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 0000:173a fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) @@ -203,15 +203,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:1a04 __FiniRtns 0000:1a04* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -08e3:0286 ___uselfn +08e7:0286 ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:1a68 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:1a69 __EnterWVIDEO_ -08e3:0288+ ___WD_Present +08e7:0288+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:1a8d* __get_errno_ptr_ -08e3:0c9c _errno +08e7:0c9c _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c) 0000:1a94 __ioalloc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c) @@ -250,13 +250,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:26c8 __I4M 0000:26c8 __U4M Module: gfx.lib(/dos/z/16/src/lib/16text.c) -0000:8d96* textInit_ -08e3:0c9e _romFonts +0000:8dd6* textInit_ +08e7:0c9e _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:26e0* __set_commode_ -08e3:028e __commode +08e7:028e __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -08e3:0290 __fmode +08e7:0290 __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:26ec tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -277,9 +277,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:301c __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:301f _nmalloc_ -08e3:0292 ___nheapbeg -08e3:0294 ___MiniHeapRover -08e3:0296 ___LargestSizeB4MiniHeapRover +08e7:0292 ___nheapbeg +08e7:0294 ___MiniHeapRover +08e7:0296 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:30f9* _heapgrow_ 0000:30f9* _fheapgrow_ @@ -291,21 +291,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) 0000:33ad __full_io_exit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:33b7 _nfree_ -08e3:0cb6+ ___MiniHeapFreeRover +08e7:0cb6+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 0000:34b2 fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 0000:3687 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -08e3:0cb8 ____Argv -08e3:0cbc ____Argc +08e7:0cb8 ____Argv +08e7:0cbc ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -08e3:0298 __amblksiz +08e7:0298 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -08e3:02ec __Start_XI -08e3:0304 __End_XI -08e3:0304 __Start_YI -08e3:0310 __End_YI +08e7:02ec __Start_XI +08e7:0304 __End_XI +08e7:0304 __Start_YI +08e7:0310 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) 0000:47f8* __dosretax 0000:47fd* __dosret0 @@ -314,9 +314,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:4877 __GetIOMode_ 0000:48ac __SetIOMode_nogrow_ -08e3:02ae ___NFiles -08e3:02b0 ___init_mode -08e3:02d8 ___io_mode +08e7:02ae ___NFiles +08e7:02b0 ___init_mode +08e7:02d8 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:48e1 __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c) @@ -335,15 +335,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:4bb5 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:4bd1* __get_doserrno_ptr_ -08e3:0cc0 __doserrno +08e7:0cc0 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -08e3:02dc ___umaskval +08e7:02dc ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:4bd8 _dos_creat_ 0000:4bfc* _dos_creatnew_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:4c1d* _heapenable_ -08e3:02de ___heap_enabled +08e7:02de ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:4c2e __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -357,13 +357,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:4f77 strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -08e3:02e0 ___EFG_printf -08e3:02e4* ___EFG_scanf +08e7:02e0 ___EFG_printf +08e7:02e4* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -08e3:02e8 ___IsDBCS +08e7:02e8 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:4fbf* _ismbblead_ -08e3:0cc2 ___MBCSIsTable +08e7:0cc2 ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:4fdb ulltoa_ 0000:5118* lltoa_ @@ -388,10 +388,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c) 0000:57a0* sbrk_ 0000:57b0 __brk_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -08e3:0072 ___Alphabet +08e7:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:5856 __mbinit_ -08e3:02ea+ ___MBCodePage +08e7:02ea+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:5931* _msize_ 0000:594c _fmsize_ @@ -420,6 +420,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 000176c0 (95936.) +Memory size: 00017700 (96000.) Entry point address: 0000:0210 Link time: 00:00.00