From: sparky4 Date: Tue, 29 Sep 2015 19:56:22 +0000 (-0500) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=f552f51c74cb11b9e17c8a644ad1ed86528cae43;p=16.git wwww modified: 16.exe modified: 16.map modified: bakapi.exe modified: bakapi.map modified: exmmtest.map modified: fmemtest.map modified: fontgfx.exe modified: fontgfx.map modified: inputest.map modified: maptest.exe modified: maptest.map modified: palettec.exe modified: palettec.map modified: pcxtest.exe modified: pcxtest.map modified: pcxtest2.exe modified: pcxtest2.map modified: scroll.exe modified: scroll.map modified: src/lib/modex16.c modified: test.exe modified: test.map modified: test2.exe modified: test2.map --- diff --git a/16.exe b/16.exe index 534cd3ef..ad16cb67 100755 Binary files a/16.exe and b/16.exe differ diff --git a/16.map b/16.map index 42d6a077..97cb42c5 100755 --- a/16.map +++ b/16.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:19 +Created on: 15/09/29 14:56:21 Executable Image: 16.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 0c5a:0000 0000ef40 +DGROUP 0c5e:0000 0000ef40 @@ -28,29 +28,29 @@ Segment Class Group Address Size mapread_TEXT CODE AUTO 0000:0240 00000872 jsmn_TEXT CODE AUTO 0000:0ac0 00000919 _TEXT CODE AUTO 0000:13e0 0000662c -modex16_TEXT CODE AUTO 0000:7a10 00002134 -16_in_TEXT CODE AUTO 0000:9b50 00001d43 -wcpu_TEXT CODE AUTO 0000:b8a0 00000058 -bitmap_TEXT CODE AUTO 0000:b900 000005c9 -16text_TEXT CODE AUTO 0000:bed0 0000010d -16_head_TEXT CODE AUTO 0000:bfe0 00000405 -16_in13_DATA FAR_DATA AUTO 0c3f:0000 000001a4 -FAR_DATA FAR_DATA AUTO 0c59:0004 00000000 -_NULL BEGDATA DGROUP 0c5a:0000 00000020 -_AFTERNULL BEGDATA DGROUP 0c5c:0000 00000002 -CONST DATA DGROUP 0c5c:0002 00000076 -CONST2 DATA DGROUP 0c63:0008 00000102 -_DATA DATA DGROUP 0c74:0000 0000052e -XIB DATA DGROUP 0cc6:000e 00000000 -XI DATA DGROUP 0cc6:000e 00000024 -XIE DATA DGROUP 0cc9:0002 00000000 -YIB DATA DGROUP 0cc9:0002 00000000 -YI DATA DGROUP 0cc9:0002 00000012 -YIE DATA DGROUP 0cca:0004 00000000 -STRINGS DATA DGROUP 0cca:0004 00000000 -DATA DATA DGROUP 0cca:0004 00000000 -_BSS BSS DGROUP 0ccb:0000 00000d6d -STACK STACK DGROUP 0da2:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:7a10 00002180 +16_in_TEXT CODE AUTO 0000:9b90 00001d43 +wcpu_TEXT CODE AUTO 0000:b8e0 00000058 +bitmap_TEXT CODE AUTO 0000:b940 000005c9 +16text_TEXT CODE AUTO 0000:bf10 0000010d +16_head_TEXT CODE AUTO 0000:c020 00000405 +16_in13_DATA FAR_DATA AUTO 0c43:0000 000001a4 +FAR_DATA FAR_DATA AUTO 0c5d:0004 00000000 +_NULL BEGDATA DGROUP 0c5e:0000 00000020 +_AFTERNULL BEGDATA DGROUP 0c60:0000 00000002 +CONST DATA DGROUP 0c60:0002 00000076 +CONST2 DATA DGROUP 0c67:0008 00000102 +_DATA DATA DGROUP 0c78:0000 0000052e +XIB DATA DGROUP 0cca:000e 00000000 +XI DATA DGROUP 0cca:000e 00000024 +XIE DATA DGROUP 0ccd:0002 00000000 +YIB DATA DGROUP 0ccd:0002 00000000 +YI DATA DGROUP 0ccd:0002 00000012 +YIE DATA DGROUP 0cce:0004 00000000 +STRINGS DATA DGROUP 0cce:0004 00000000 +DATA DATA DGROUP 0cce:0004 00000000 +_BSS BSS DGROUP 0ccf:0000 00000d6d +STACK STACK DGROUP 0da6:0000 0000dac0 +----------------+ @@ -65,12 +65,12 @@ Address Symbol Module: 16.o(/dos/z/16/src/16.c) 0000:00cc main_ -0c5a:0710+ _player -0c5a:0810+ _gvar -0c5a:0828+ _cpus -0c5a:082c* _gpal -0c5a:0830+ _dpal -0c5a:0834+ _engi_stat +0c5e:0710+ _player +0c5e:0810+ _gvar +0c5e:0828+ _cpus +0c5e:082c* _gpal +0c5e:0830+ _dpal +0c5e:0834+ _engi_stat Module: mapread.o(/dos/z/16/src/lib/mapread.c) 0000:02dc+ jsoneq_ 0000:0380+ dump_ @@ -87,75 +87,75 @@ Module: 16.lib(/dos/z/16/src/lib/modex16.c) 0000:7d0c* modexLeave_ 0000:7d24* modexDefaultPage_ 0000:7d7e* modexNextPage_ -0000:7dee+ modexNextPageFlexibleSize_ -0000:7e92* modexShowPage_ -0000:7f8e* modexPanPage_ -0000:7fde* modexSelectPlane_ -0000:8002+ modexClearRegion_ -0000:811a* oldDrawBmp_ -0000:8280* CDrawBmp_ -0000:83e4* modexDrawBmp_ -0000:844a+ modexDrawBmpRegion_ -0000:85b4* modexDrawPlanarBuf_ -0000:85d2* modexDrawSprite_ -0000:8638+ modexDrawSpriteRegion_ -0000:87b0* modexCopyPageRegion_ -0000:891a modexFadeOn_ -0000:894a modexFadeOff_ -0000:8978* modexFlashOn_ -0000:89a6* modexFlashOff_ -0000:8a76 modexPalSave_ -0000:8acc modexNewPal_ -0000:8b1c* modexLoadPalFile_ -0000:8bfe* modexSavePalFile_ -0000:8c76 modexPalBlack_ -0000:8ca0* modexPalWhite_ -0000:8cca+ modexPalUpdate_ -0000:923a+ modexPalUpdate1_ -0000:92b4* modexPalUpdate0_ -0000:9300+ chkcolor_ -0000:9618+ modexputPixel_ -0000:96a6* modexgetPixel_ -0000:972c* modexhlin_ -0000:9798* modexprint_ -0000:9932* modexprintbig_ -0000:9aae* cls_ -0000:9b1c+ modexWaitBorder_ -0c5a:01c4+ _VGA +0000:7e3a* modexNextPageFlexibleSize_ +0000:7ede* modexShowPage_ +0000:7fda* modexPanPage_ +0000:802a* modexSelectPlane_ +0000:804e+ modexClearRegion_ +0000:8166* oldDrawBmp_ +0000:82cc* CDrawBmp_ +0000:8430* modexDrawBmp_ +0000:8496+ modexDrawBmpRegion_ +0000:8600* modexDrawPlanarBuf_ +0000:861e* modexDrawSprite_ +0000:8684+ modexDrawSpriteRegion_ +0000:87fc* modexCopyPageRegion_ +0000:8966 modexFadeOn_ +0000:8996 modexFadeOff_ +0000:89c4* modexFlashOn_ +0000:89f2* modexFlashOff_ +0000:8ac2 modexPalSave_ +0000:8b18 modexNewPal_ +0000:8b68* modexLoadPalFile_ +0000:8c4a* modexSavePalFile_ +0000:8cc2 modexPalBlack_ +0000:8cec* modexPalWhite_ +0000:8d16+ modexPalUpdate_ +0000:9286+ modexPalUpdate1_ +0000:9300* modexPalUpdate0_ +0000:934c+ chkcolor_ +0000:9664+ modexputPixel_ +0000:96f2* modexgetPixel_ +0000:9778* modexhlin_ +0000:97e4* modexprint_ +0000:997e* modexprintbig_ +0000:9afa* cls_ +0000:9b68+ modexWaitBorder_ +0c5e:01c4+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:1422 printf_ Module: 16.lib(/dos/z/16/src/lib/16_in.c) -0000:9c68+ INL_KeyService_ -0000:9eb2+ Mouse_ -0000:9f0a+ IN_GetJoyAbs_ -0000:a2d0+ IN_GetJoyButtonsDB_ -0000:a566+ IN_SetupJoy_ -0000:a728 IN_Startup_ -0000:a82e IN_Default_ -0000:a992 IN_Shutdown_ -0000:aa12* IN_SetKeyHook_ -0000:aa34+ IN_ClearKeysDown_ -0000:ab14* IN_ReadCursor_ -0000:ac30 IN_ReadControl_ -0000:b3b0* IN_SetControlType_ -0000:b3fe* IN_GetScanName_ -0000:b486* IN_WaitForKey_ -0000:b4bc* IN_WaitForASCII_ -0000:b4f2+ IN_AckBack_ -0000:b5da* IN_Ack_ -0000:b67c+ IN_IsUserInput_ -0000:b722* IN_UserInput_ -0000:b77a IN_KeyDown_ -0000:b7c2+ IN_ClearKey_ -0000:b83a* IN_qb_ -0c5a:115e+ _inpu +0000:9ca8+ INL_KeyService_ +0000:9ef2+ Mouse_ +0000:9f4a+ IN_GetJoyAbs_ +0000:a310+ IN_GetJoyButtonsDB_ +0000:a5a6+ IN_SetupJoy_ +0000:a768 IN_Startup_ +0000:a86e IN_Default_ +0000:a9d2 IN_Shutdown_ +0000:aa52* IN_SetKeyHook_ +0000:aa74+ IN_ClearKeysDown_ +0000:ab54* IN_ReadCursor_ +0000:ac70 IN_ReadControl_ +0000:b3f0* IN_SetControlType_ +0000:b43e* IN_GetScanName_ +0000:b4c6* IN_WaitForKey_ +0000:b4fc* IN_WaitForASCII_ +0000:b532+ IN_AckBack_ +0000:b61a* IN_Ack_ +0000:b6bc+ IN_IsUserInput_ +0000:b762* IN_UserInput_ +0000:b7ba IN_KeyDown_ +0000:b802+ IN_ClearKey_ +0000:b87a* IN_qb_ +0c5e:115e+ _inpu Module: 16.lib(/dos/z/16/src/lib/wcpu/wcpu.c) -0000:b8a0 detectcpu_ +0000:b8e0 detectcpu_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -0c5a:0000* __nullarea -0c5a:049a* __ovlflag -0c5a:049b* __intno -0c5a:049c* __ovlvec +0c5e:0000* __nullarea +0c5e:049a* __ovlflag +0c5e:049b* __intno +0c5e:049c* __ovlvec 0000:1452 _cstart_ 0000:1525* _Not_Enough_Memory_ 0000:1657 __exit_ @@ -165,10 +165,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:16de _big_code_ 0000:16de* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -0c5a:12b4 __argv -0c5a:12b8 ___argv -0c5a:12bc __argc -0c5a:12be ___argc +0c5e:12b4 __argv +0c5e:12b8 ___argv +0c5e:12bc __argc +0c5e:12be ___argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 0000:16e5 __PIA 0000:16de* __PIS @@ -177,12 +177,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:1739 _fmalloc_ 0000:1739 malloc_ -0c5a:04a0+ ___fheap -0c5a:04a2 ___fheapRover -0c5a:04a4 ___LargestSizeB4Rover +0c5e:04a0+ ___fheap +0c5e:04a2 ___fheapRover +0c5e:04a4 ___LargestSizeB4Rover Module: 16.lib(/dos/z/16/src/lib/bitmap.c) -0000:bc02 bitmapLoadPcx_ -0000:bd5e* bitmapLoadPcxTiles_ +0000:bc42 bitmapLoadPcx_ +0000:bd9e* bitmapLoadPcxTiles_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strstr.c) 0000:18ae strstr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(atoi.c) @@ -196,11 +196,11 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 0000:1f20 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:2297 __get_errno_ptr_ -0c5a:1340 _errno +0c5e:1340 _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -0c5a:04b4 ___iob -0c5a:1342 ___ClosedStreams -0c5a:1346 ___OpenStreams +0c5e:04b4 ___iob +0c5e:1342 ___ClosedStreams +0c5e:1346 ___OpenStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 0000:229e fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c) @@ -214,23 +214,23 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:2419* __exit_with_msg_ 0000:241e __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -0c5a:061c __curbrk -0c5a:0624 __STACKLOW -0c5a:0626 __STACKTOP -0c5a:0628 __cbyte -0c5a:062a __child -0c5a:062c __no87 -0c5a:0639 ___FPE_handler -0c5a:061e __psp -0c5a:062d __get_ovl_stack -0c5a:0631 __restore_ovl_stack -0c5a:0635 __close_ovl_file -0c5a:063d __LpCmdLine -0c5a:0641 __LpPgmName -0c5a:0620 __osmajor -0c5a:0621 __osminor -0c5a:0622 __osmode -0c5a:0623 __HShift +0c5e:061c __curbrk +0c5e:0624 __STACKLOW +0c5e:0626 __STACKTOP +0c5e:0628 __cbyte +0c5e:062a __child +0c5e:062c __no87 +0c5e:0639 ___FPE_handler +0c5e:061e __psp +0c5e:062d __get_ovl_stack +0c5e:0631 __restore_ovl_stack +0c5e:0635 __close_ovl_file +0c5e:063d __LpCmdLine +0c5e:0641 __LpPgmName +0c5e:0620 __osmajor +0c5e:0621 __osminor +0c5e:0622 __osmode +0c5e:0623 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) 0000:243c+ int86x_ 0000:25bf int86_ @@ -239,8 +239,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:25ec+ __null_int23_exit_ 0000:25ed exit_ 0000:260e+ _exit_ -0c5a:0646+ ___int23_exit -0c5a:064a+ ___FPE_handler_exit +0c5e:0646+ ___int23_exit +0c5e:064a+ ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) 0000:262a __fill_buffer_ 0000:2879 fgetc_ @@ -248,7 +248,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:29c0 __doclose_ 0000:2b0a __shutdown_stream_ 0000:2b24 fclose_ -0c5a:134a+ ___RmTmpFileFn +0c5e:134a+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:2b8f _ffree_ 0000:2b8f free_ @@ -261,8 +261,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:2fda __I4M 0000:2fda __U4M Module: 16.lib(/dos/z/16/src/lib/16text.c) -0000:bf46* textInit_ -0c5a:134e _romFonts +0000:bf86* textInit_ +0c5e:134e _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:300c __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(d_getvec.c) @@ -273,10 +273,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm) 0000:3178 __I4D 0000:31c7 __U4D Module: 16.lib(/dos/z/16/src/lib/16_head.c) -0000:bfee* wait_ -0000:c03a* filesize_ -0000:c0a0* printmeminfoline_ -0000:c28c US_CheckParm_ +0000:c02e* wait_ +0000:c07a* filesize_ +0000:c0e0* printmeminfoline_ +0000:c2cc US_CheckParm_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c) 0000:324b __CMain Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) @@ -285,7 +285,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:330c __FiniRtns 0000:330c* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -0c5a:0664 ___uselfn +0c5e:0664 ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:3370 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) @@ -303,9 +303,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:3bbc __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:3bbf _nmalloc_ -0c5a:0666 ___nheapbeg -0c5a:0668 ___MiniHeapRover -0c5a:066a ___LargestSizeB4MiniHeapRover +0c5e:0666 ___nheapbeg +0c5e:0668 ___MiniHeapRover +0c5e:066a ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:3c99* _heapgrow_ 0000:3c99* _fheapgrow_ @@ -315,12 +315,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm) 0000:4028 __PTS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -0c5a:0098 __IsTable +0c5e:0098 __IsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:4059* __set_commode_ -0c5a:066c __commode +0c5e:066c __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -0c5a:066e __fmode +0c5e:066e __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:4065 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -353,7 +353,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c) 0000:4f64* _expand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:4f99 __EnterWVIDEO_ -0c5a:0670+ ___WD_Present +0c5e:0670+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) 0000:4fbd intr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c) @@ -371,7 +371,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) 0000:515b __flush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:53a4 _nfree_ -0c5a:136a+ ___MiniHeapFreeRover +0c5e:136a+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:549f __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) @@ -389,20 +389,20 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c) 0000:69b3 ultoa_ 0000:6a71* ltoa_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -0c5a:1370 ____Argv -0c5a:1374 ____Argc +0c5e:1370 ____Argv +0c5e:1374 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -0c5a:067a __amblksiz +0c5e:067a __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -0c5a:06ce __Start_XI -0c5a:06f2 __End_XI -0c5a:06f2 __Start_YI -0c5a:0704 __End_YI +0c5e:06ce __Start_XI +0c5e:06f2 __End_XI +0c5e:06f2 __Start_YI +0c5e:0704 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -0c5a:1376 ___historical_splitparms +0c5e:1376 ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:6ac0* _heapenable_ -0c5a:067c ___heap_enabled +0c5e:067c ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:6ad1 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -417,16 +417,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:6d4c __GetIOMode_ 0000:6d81 __SetIOMode_nogrow_ -0c5a:067e ___NFiles -0c5a:0680 ___init_mode -0c5a:06a8 ___io_mode +0c5e:067e ___NFiles +0c5e:0680 ___init_mode +0c5e:06a8 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:6db6 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:6dd2* __get_doserrno_ptr_ -0c5a:1378 __doserrno +0c5e:1378 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -0c5a:06ac ___umaskval +0c5e:06ac ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:6dd9 _dos_creat_ 0000:6dfd* _dos_creatnew_ @@ -455,20 +455,20 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:759e strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -0c5a:06c2 ___EFG_printf -0c5a:06c6* ___EFG_scanf +0c5e:06c2 ___EFG_printf +0c5e:06c6* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -0c5a:06ca ___IsDBCS +0c5e:06ca ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:75e6* _ismbblead_ -0c5a:137c ___MBCSIsTable +0c5e:137c ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:7602 ulltoa_ 0000:773f* lltoa_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c) 0000:77b0 fflush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -0c5a:0072 ___Alphabet +0c5e:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c) 0000:77c5* sbrk_ 0000:77d5 __brk_ @@ -483,7 +483,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) 0000:78e4 _dos_commit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:7931 __mbinit_ -0c5a:06cc+ ___MBCodePage +0c5e:06cc+ ___MBCodePage +--------------------+ @@ -499,6 +499,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) +-----------------------+ Stack size: dac0 (56000.) -Memory size: 0001b4e0 (111840.) +Memory size: 0001b520 (111904.) Entry point address: 0000:1452 Link time: 00:00.00 diff --git a/bakapi.exe b/bakapi.exe index 5e207891..cf5cac00 100755 Binary files a/bakapi.exe and b/bakapi.exe differ diff --git a/bakapi.map b/bakapi.map index 1aa40d16..1569d468 100755 --- a/bakapi.map +++ b/bakapi.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:19 +Created on: 15/09/29 14:56:21 Executable Image: bakapi.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 0a94:0000 0000e950 +DGROUP 0a98:0000 0000e950 @@ -26,25 +26,25 @@ Segment Class Group Address Size bakapi_TEXT CODE AUTO 0000:0000 00000236 _TEXT CODE AUTO 0000:0240 00007920 -modex16_TEXT CODE AUTO 0000:7b60 00002134 -16text_TEXT CODE AUTO 0000:9ca0 0000010d -bakapee_TEXT CODE AUTO 0000:9db0 00000b86 -FAR_DATA FAR_DATA AUTO 0a93:0006 00000000 -_NULL BEGDATA DGROUP 0a94:0000 00000020 -_AFTERNULL BEGDATA DGROUP 0a96:0000 00000002 -CONST DATA DGROUP 0a96:0002 00000076 -CONST2 DATA DGROUP 0a9d:0008 0000010a -_DATA DATA DGROUP 0aaf:0000 0000024c -XIB DATA DGROUP 0ad3:000c 00000000 -XI DATA DGROUP 0ad3:000c 0000001e -XIE DATA DGROUP 0ad5:000a 00000000 -YIB DATA DGROUP 0ad5:000a 00000000 -YI DATA DGROUP 0ad5:000a 00000012 -YIE DATA DGROUP 0ad6:000c 00000000 -STRINGS DATA DGROUP 0ad6:000c 00000000 -DATA DATA DGROUP 0ad6:000c 00000000 -_BSS BSS DGROUP 0ad6:000c 00000a56 -STACK STACK DGROUP 0b7d:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:7b60 00002180 +16text_TEXT CODE AUTO 0000:9ce0 0000010d +bakapee_TEXT CODE AUTO 0000:9df0 00000b86 +FAR_DATA FAR_DATA AUTO 0a97:0006 00000000 +_NULL BEGDATA DGROUP 0a98:0000 00000020 +_AFTERNULL BEGDATA DGROUP 0a9a:0000 00000002 +CONST DATA DGROUP 0a9a:0002 00000076 +CONST2 DATA DGROUP 0aa1:0008 0000010a +_DATA DATA DGROUP 0ab3:0000 0000024c +XIB DATA DGROUP 0ad7:000c 00000000 +XI DATA DGROUP 0ad7:000c 0000001e +XIE DATA DGROUP 0ad9:000a 00000000 +YIB DATA DGROUP 0ad9:000a 00000000 +YI DATA DGROUP 0ad9:000a 00000012 +YIE DATA DGROUP 0ada:000c 00000000 +STRINGS DATA DGROUP 0ada:000c 00000000 +DATA DATA DGROUP 0ada:000c 00000000 +_BSS BSS DGROUP 0ada:000c 00000a56 +STACK STACK DGROUP 0b81:0000 0000dac0 +----------------+ @@ -74,57 +74,57 @@ Module: 16.lib(/dos/z/16/src/lib/modex16.c) 0000:7e5c* modexLeave_ 0000:7e74 modexDefaultPage_ 0000:7ece* modexNextPage_ -0000:7f3e+ modexNextPageFlexibleSize_ -0000:7fe2 modexShowPage_ -0000:80de* modexPanPage_ -0000:812e* modexSelectPlane_ -0000:8152 modexClearRegion_ -0000:826a* oldDrawBmp_ -0000:83d0* CDrawBmp_ -0000:8534* modexDrawBmp_ -0000:859a+ modexDrawBmpRegion_ -0000:8704* modexDrawPlanarBuf_ -0000:8722* modexDrawSprite_ -0000:8788+ modexDrawSpriteRegion_ -0000:8900* modexCopyPageRegion_ -0000:8a6a* modexFadeOn_ -0000:8a9a* modexFadeOff_ -0000:8ac8* modexFlashOn_ -0000:8af6* modexFlashOff_ -0000:8bc6+ modexPalSave_ -0000:8c1c+ modexNewPal_ -0000:8c6c* modexLoadPalFile_ -0000:8d4e* modexSavePalFile_ -0000:8dc6* modexPalBlack_ -0000:8df0* modexPalWhite_ -0000:8e1a+ modexPalUpdate_ -0000:938a+ modexPalUpdate1_ -0000:9404* modexPalUpdate0_ -0000:9450+ chkcolor_ -0000:9768 modexputPixel_ -0000:97f6* modexgetPixel_ -0000:987c* modexhlin_ -0000:98e8 modexprint_ -0000:9a82* modexprintbig_ -0000:9bfe cls_ -0000:9c6c+ modexWaitBorder_ -0a94:01c4 _VGA +0000:7f8a* modexNextPageFlexibleSize_ +0000:802e modexShowPage_ +0000:812a* modexPanPage_ +0000:817a* modexSelectPlane_ +0000:819e modexClearRegion_ +0000:82b6* oldDrawBmp_ +0000:841c* CDrawBmp_ +0000:8580* modexDrawBmp_ +0000:85e6+ modexDrawBmpRegion_ +0000:8750* modexDrawPlanarBuf_ +0000:876e* modexDrawSprite_ +0000:87d4+ modexDrawSpriteRegion_ +0000:894c* modexCopyPageRegion_ +0000:8ab6* modexFadeOn_ +0000:8ae6* modexFadeOff_ +0000:8b14* modexFlashOn_ +0000:8b42* modexFlashOff_ +0000:8c12+ modexPalSave_ +0000:8c68+ modexNewPal_ +0000:8cb8* modexLoadPalFile_ +0000:8d9a* modexSavePalFile_ +0000:8e12* modexPalBlack_ +0000:8e3c* modexPalWhite_ +0000:8e66+ modexPalUpdate_ +0000:93d6+ modexPalUpdate1_ +0000:9450* modexPalUpdate0_ +0000:949c+ chkcolor_ +0000:97b4 modexputPixel_ +0000:9842* modexgetPixel_ +0000:98c8* modexhlin_ +0000:9934 modexprint_ +0000:9ace* modexprintbig_ +0000:9c4a cls_ +0000:9cb8+ modexWaitBorder_ +0a98:01c4 _VGA Module: 16.lib(/dos/z/16/src/lib/16text.c) -0000:9d16 textInit_ -0a94:0d3c _romFonts +0000:9d56 textInit_ +0a98:0d3c _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c) 0000:0306 kbhit_ Module: 16.lib(/dos/z/16/src/lib/bakapee.c) -0000:9db8* pdump_ -0000:9e1a+ colortest_ -0000:9e6e+ colorz_ -0000:9ed4+ ssd_ -0000:9ff2+ dingpp_ -0000:a064+ dingo_ -0000:a0fa+ dingas_ -0000:a1a8+ dingu_ -0000:a20a+ dingq_ -0000:a2aa ding_ +0000:9df8* pdump_ +0000:9e5a+ colortest_ +0000:9eae+ colorz_ +0000:9f14+ ssd_ +0000:a032+ dingpp_ +0000:a0a4+ dingo_ +0000:a13a+ dingas_ +0000:a1e8+ dingu_ +0000:a24a+ dingq_ +0000:a2ea ding_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c) 0000:031d getch_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) @@ -133,10 +133,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(scanf.c) 0000:0416+ vscanf_ 0000:0444 scanf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -0a94:0000* __nullarea -0a94:01f4* __ovlflag -0a94:01f5* __intno -0a94:01f6* __ovlvec +0a98:0000* __nullarea +0a98:01f4* __ovlflag +0a98:01f5* __intno +0a98:01f6* __ovlvec 0000:046c _cstart_ 0000:053f* _Not_Enough_Memory_ 0000:0671 __exit_ @@ -146,31 +146,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:06f8 _big_code_ 0000:06f8* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -0a94:0d54 __argv -0a94:0d58 ___argv -0a94:0d5c __argc -0a94:0d5e ___argc +0a98:0d54 __argv +0a98:0d58 ___argv +0a98:0d5c __argc +0a98:0d5e ___argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:06f8* __exit_with_msg_ 0000:06fd __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -0a94:01fa __curbrk -0a94:0202 __STACKLOW -0a94:0204 __STACKTOP -0a94:0206 __cbyte -0a94:0208 __child -0a94:020a __no87 -0a94:0217 ___FPE_handler -0a94:01fc __psp -0a94:020b __get_ovl_stack -0a94:020f __restore_ovl_stack -0a94:0213 __close_ovl_file -0a94:021b __LpCmdLine -0a94:021f __LpPgmName -0a94:01fe __osmajor -0a94:01ff __osminor -0a94:0200 __osmode -0a94:0201 __HShift +0a98:01fa __curbrk +0a98:0202 __STACKLOW +0a98:0204 __STACKTOP +0a98:0206 __cbyte +0a98:0208 __child +0a98:020a __no87 +0a98:0217 ___FPE_handler +0a98:01fc __psp +0a98:020b __get_ovl_stack +0a98:020f __restore_ovl_stack +0a98:0213 __close_ovl_file +0a98:021b __LpCmdLine +0a98:021f __LpPgmName +0a98:01fe __osmajor +0a98:01ff __osminor +0a98:0200 __osmode +0a98:0201 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:071c __I4M 0000:071c __U4M @@ -180,16 +180,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:08e4 _fmalloc_ 0000:08e4 malloc_ -0a94:0224+ ___fheap -0a94:0226 ___fheapRover -0a94:0228 ___LargestSizeB4Rover +0a98:0224+ ___fheap +0a98:0226 ___fheapRover +0a98:0228 ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:0a59+ _null_exit_rtn_ 0000:0a59+ __null_int23_exit_ 0000:0a5a exit_ 0000:0a7b+ _exit_ -0a94:022a+ ___int23_exit -0a94:022e+ ___FPE_handler_exit +0a98:022a+ ___int23_exit +0a98:022e+ ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) 0000:0a97+ __open_flags_ 0000:0d58+ _fsopen_ @@ -202,7 +202,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:1302 __doclose_ 0000:144c __shutdown_stream_ 0000:1466 fclose_ -0a94:0d60+ ___RmTmpFileFn +0a98:0d60+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:14d1 _ffree_ 0000:14d1 free_ @@ -211,9 +211,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(delay.c) 0000:18b7 delay_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -0a94:0232 ___iob -0a94:0d64 ___ClosedStreams -0a94:0d68 ___OpenStreams +0a98:0232 ___iob +0a98:0d64 ___ClosedStreams +0a98:0d68 ___OpenStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:1a30 __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ungetc.c) @@ -228,7 +228,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:313f __FiniRtns 0000:313f* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -0a94:039a ___uselfn +0a98:039a ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:31a4 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) @@ -237,7 +237,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) 0000:3538 __Fini_Argv_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:3562 __EnterWVIDEO_ -0a94:039c+ ___WD_Present +0a98:039c+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) 0000:3586 intr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c) @@ -253,21 +253,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:3a8c __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:3a8f _nmalloc_ -0a94:039e ___nheapbeg -0a94:03a0 ___MiniHeapRover -0a94:03a2 ___LargestSizeB4MiniHeapRover +0a98:039e ___nheapbeg +0a98:03a0 ___MiniHeapRover +0a98:03a2 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:3b69* _heapgrow_ 0000:3b69* _fheapgrow_ 0000:3b6a _nheapgrow_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:3be2* __set_commode_ -0a94:03a4 __commode +0a98:03a4 __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:3bee* __get_errno_ptr_ -0a94:0d70 _errno +0a98:0d70 _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -0a94:03a6 __fmode +0a98:03a6 __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:3bf5 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -301,7 +301,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) 0000:4795 __flush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:49de _nfree_ -0a94:0d72+ ___MiniHeapFreeRover +0a98:0d72+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:4ad9 __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) @@ -314,48 +314,48 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 0000:4f53 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -0a94:0098 __IsTable +0a98:0098 __IsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -0a94:03a8 ___IsDBCS +0a98:03a8 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:60b5* _ismbblead_ -0a94:0d74 ___MBCSIsTable +0a98:0d74 ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbtowc.c) 0000:60d1 mbtowc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bits.c) -0a94:019a __Bits +0a98:019a __Bits Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fdfs086.asm) 0000:61ee __FDFS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm) 0000:6236* __I4D 0000:6285 __U4D Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -0a94:03aa ___EFG_printf -0a94:03ae ___EFG_scanf +0a98:03aa ___EFG_printf +0a98:03ae ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i8m086.asm) 0000:6337* __I8M 0000:6337 __U8M 0000:631c* __I8ME 0000:631c* __U8ME Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -0a94:0e76 ____Argv -0a94:0e7a ____Argc +0a98:0e76 ____Argv +0a98:0e7a ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -0a94:03b2 __amblksiz +0a98:03b2 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -0a94:03fc __Start_XI -0a94:041a __End_XI -0a94:041a __Start_YI -0a94:042c __End_YI +0a98:03fc __Start_XI +0a98:041a __End_XI +0a98:041a __Start_YI +0a98:042c __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -0a94:0e7c ___historical_splitparms +0a98:0e7c ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm) 0000:6482 __PTS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) 0000:64b4 _DoINTR_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:682d* _heapenable_ -0a94:03b4 ___heap_enabled +0a98:03b4 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:683e __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -366,16 +366,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:6a77 __GetIOMode_ 0000:6aac __SetIOMode_nogrow_ -0a94:03b6 ___NFiles -0a94:03b8 ___init_mode -0a94:03e0 ___io_mode +0a98:03b6 ___NFiles +0a98:03b8 ___init_mode +0a98:03e0 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:6ae1 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:6afd* __get_doserrno_ptr_ -0a94:0e7e __doserrno +0a98:0e7e __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -0a94:03e4 ___umaskval +0a98:03e4 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:6b04 _dos_creat_ 0000:6b28* _dos_creatnew_ @@ -409,7 +409,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c) 0000:71b5* ltoa_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:7241 __mbinit_ -0a94:03fa+ ___MBCodePage +0a98:03fa+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c) 0000:731c* sbrk_ 0000:732c __brk_ @@ -426,7 +426,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) 0000:7508* _dos_close_ 0000:7516 _dos_commit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -0a94:0072 ___Alphabet +0a98:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:7525* _msize_ 0000:7540 _fmsize_ @@ -455,6 +455,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c) +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00019290 (103056.) +Memory size: 000192d0 (103120.) Entry point address: 0000:046c Link time: 00:00.00 diff --git a/exmmtest.map b/exmmtest.map index ff0ecc62..59c8eb8e 100755 --- a/exmmtest.map +++ b/exmmtest.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:20 +Created on: 15/09/29 14:56:21 Executable Image: exmmtest.exe creating a DOS executable diff --git a/fmemtest.map b/fmemtest.map index c11c59af..1250e1e6 100755 --- a/fmemtest.map +++ b/fmemtest.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:20 +Created on: 15/09/29 14:56:21 Executable Image: fmemtest.exe creating a DOS executable diff --git a/fontgfx.exe b/fontgfx.exe index cd7dc98e..97c0b068 100755 Binary files a/fontgfx.exe and b/fontgfx.exe differ diff --git a/fontgfx.map b/fontgfx.map index 797b6c2a..c41e76b4 100755 --- a/fontgfx.map +++ b/fontgfx.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:20 +Created on: 15/09/29 14:56:21 Executable Image: fontgfx.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 0825:0000 0000ec80 +DGROUP 0829:0000 0000ec80 @@ -27,23 +27,23 @@ Segment Class Group Address Size fontgfx_TEXT CODE AUTO 0000:0000 00000147 _TEXT CODE AUTO 0000:0150 00005ea3 16text_TEXT CODE AUTO 0000:6000 0000010d -modex16_TEXT CODE AUTO 0000:6110 00002134 -FAR_DATA FAR_DATA AUTO 0824:0004 00000000 -_NULL BEGDATA DGROUP 0825:0000 00000020 -_AFTERNULL BEGDATA DGROUP 0827:0000 00000002 -CONST DATA DGROUP 0827:0002 00000076 -CONST2 DATA DGROUP 082e:0008 00000000 -_DATA DATA DGROUP 082f:0000 00000698 -XIB DATA DGROUP 0898:0008 00000000 -XI DATA DGROUP 0898:0008 0000001e -XIE DATA DGROUP 089a:0006 00000000 -YIB DATA DGROUP 089a:0006 00000000 -YI DATA DGROUP 089a:0006 00000012 -YIE DATA DGROUP 089b:0008 00000000 -STRINGS DATA DGROUP 089b:0008 00000000 -DATA DATA DGROUP 089b:0008 00000000 -_BSS BSS DGROUP 089b:0008 00000a4d -STACK STACK DGROUP 0941:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:6110 00002180 +FAR_DATA FAR_DATA AUTO 0829:0000 00000000 +_NULL BEGDATA DGROUP 0829:0000 00000020 +_AFTERNULL BEGDATA DGROUP 082b:0000 00000002 +CONST DATA DGROUP 082b:0002 00000076 +CONST2 DATA DGROUP 0832:0008 00000000 +_DATA DATA DGROUP 0833:0000 00000698 +XIB DATA DGROUP 089c:0008 00000000 +XI DATA DGROUP 089c:0008 0000001e +XIE DATA DGROUP 089e:0006 00000000 +YIB DATA DGROUP 089e:0006 00000000 +YI DATA DGROUP 089e:0006 00000012 +YIE DATA DGROUP 089f:0008 00000000 +STRINGS DATA DGROUP 089f:0008 00000000 +DATA DATA DGROUP 089f:0008 00000000 +_BSS BSS DGROUP 089f:0008 00000a4d +STACK STACK DGROUP 0945:0000 0000dac0 +----------------+ @@ -63,48 +63,48 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:0175* __STKOVERFLOW_ Module: 16.lib(/dos/z/16/src/lib/16text.c) 0000:6076 textInit_ -0825:0770 _romFonts +0829:0770 _romFonts Module: 16.lib(/dos/z/16/src/lib/modex16.c) 0000:62c8* VGAmodeX_ 0000:6370 modexEnter_ 0000:640c modexLeave_ 0000:6424 modexDefaultPage_ 0000:647e* modexNextPage_ -0000:64ee+ modexNextPageFlexibleSize_ -0000:6592* modexShowPage_ -0000:668e* modexPanPage_ -0000:66de* modexSelectPlane_ -0000:6702+ modexClearRegion_ -0000:681a* oldDrawBmp_ -0000:6980* CDrawBmp_ -0000:6ae4* modexDrawBmp_ -0000:6b4a+ modexDrawBmpRegion_ -0000:6cb4* modexDrawPlanarBuf_ -0000:6cd2* modexDrawSprite_ -0000:6d38+ modexDrawSpriteRegion_ -0000:6eb0* modexCopyPageRegion_ -0000:701a* modexFadeOn_ -0000:704a* modexFadeOff_ -0000:7078* modexFlashOn_ -0000:70a6* modexFlashOff_ -0000:7176+ modexPalSave_ -0000:71cc+ modexNewPal_ -0000:721c* modexLoadPalFile_ -0000:72fe* modexSavePalFile_ -0000:7376* modexPalBlack_ -0000:73a0* modexPalWhite_ -0000:73ca+ modexPalUpdate_ -0000:793a+ modexPalUpdate1_ -0000:79b4* modexPalUpdate0_ -0000:7a00+ chkcolor_ -0000:7d18+ modexputPixel_ -0000:7da6* modexgetPixel_ -0000:7e2c* modexhlin_ -0000:7e98 modexprint_ -0000:8032 modexprintbig_ -0000:81ae* cls_ -0000:821c+ modexWaitBorder_ -0825:0504+ _VGA +0000:653a* modexNextPageFlexibleSize_ +0000:65de* modexShowPage_ +0000:66da* modexPanPage_ +0000:672a* modexSelectPlane_ +0000:674e+ modexClearRegion_ +0000:6866* oldDrawBmp_ +0000:69cc* CDrawBmp_ +0000:6b30* modexDrawBmp_ +0000:6b96+ modexDrawBmpRegion_ +0000:6d00* modexDrawPlanarBuf_ +0000:6d1e* modexDrawSprite_ +0000:6d84+ modexDrawSpriteRegion_ +0000:6efc* modexCopyPageRegion_ +0000:7066* modexFadeOn_ +0000:7096* modexFadeOff_ +0000:70c4* modexFlashOn_ +0000:70f2* modexFlashOff_ +0000:71c2+ modexPalSave_ +0000:7218+ modexNewPal_ +0000:7268* modexLoadPalFile_ +0000:734a* modexSavePalFile_ +0000:73c2* modexPalBlack_ +0000:73ec* modexPalWhite_ +0000:7416+ modexPalUpdate_ +0000:7986+ modexPalUpdate1_ +0000:7a00* modexPalUpdate0_ +0000:7a4c+ chkcolor_ +0000:7d64+ modexputPixel_ +0000:7df2* modexgetPixel_ +0000:7e78* modexhlin_ +0000:7ee4 modexprint_ +0000:807e modexprintbig_ +0000:81fa* cls_ +0000:8268+ modexWaitBorder_ +0829:0504+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(getch.c) 0000:0192 getch_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) @@ -112,10 +112,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c) 0000:01db sprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -0825:0000* __nullarea -0825:052c* __ovlflag -0825:052d* __intno -0825:052e* __ovlvec +0829:0000* __nullarea +0829:052c* __ovlflag +0829:052d* __intno +0829:052e* __ovlvec 0000:020a _cstart_ 0000:02dd* _Not_Enough_Memory_ 0000:040f __exit_ @@ -125,31 +125,31 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:0496 _big_code_ 0000:0496* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -0825:1088 __argv -0825:108c ___argv -0825:1090 __argc -0825:1092 ___argc +0829:1088 __argv +0829:108c ___argv +0829:1090 __argc +0829:1092 ___argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:0496* __exit_with_msg_ 0000:049b __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -0825:0532 __curbrk -0825:053a __STACKLOW -0825:053c __STACKTOP -0825:053e __cbyte -0825:0540 __child -0825:0542 __no87 -0825:054f ___FPE_handler -0825:0534 __psp -0825:0543 __get_ovl_stack -0825:0547 __restore_ovl_stack -0825:054b __close_ovl_file -0825:0553 __LpCmdLine -0825:0557 __LpPgmName -0825:0536 __osmajor -0825:0537 __osminor -0825:0538 __osmode -0825:0539 __HShift +0829:0532 __curbrk +0829:053a __STACKLOW +0829:053c __STACKTOP +0829:053e __cbyte +0829:0540 __child +0829:0542 __no87 +0829:054f ___FPE_handler +0829:0534 __psp +0829:0543 __get_ovl_stack +0829:0547 __restore_ovl_stack +0829:054b __close_ovl_file +0829:0553 __LpCmdLine +0829:0557 __LpPgmName +0829:0536 __osmajor +0829:0537 __osminor +0829:0538 __osmode +0829:0539 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:04ba __I4M 0000:04ba __U4M @@ -162,16 +162,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:06a0 _fmalloc_ 0000:06a0 malloc_ -0825:055c+ ___fheap -0825:055e ___fheapRover -0825:0560 ___LargestSizeB4Rover +0829:055c+ ___fheap +0829:055e ___fheapRover +0829:0560 ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:0815+ _null_exit_rtn_ 0000:0815+ __null_int23_exit_ 0000:0816 exit_ 0000:0837+ _exit_ -0825:0562+ ___int23_exit -0825:0566+ ___FPE_handler_exit +0829:0562+ ___int23_exit +0829:0566+ ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) 0000:0853+ __open_flags_ 0000:0b14+ _fsopen_ @@ -184,7 +184,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:10be __doclose_ 0000:1208 __shutdown_stream_ 0000:1222 fclose_ -0825:1094+ ___RmTmpFileFn +0829:1094+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:128d _ffree_ 0000:128d free_ @@ -194,9 +194,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c) 0000:1673 rand_ 0000:16b5* srand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -0825:056e ___iob -0825:1098 ___ClosedStreams -0825:109c ___OpenStreams +0829:056e ___iob +0829:1098 ___ClosedStreams +0829:109c ___OpenStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:16f2 __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(vsprintf.c) @@ -209,7 +209,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:1961 __FiniRtns 0000:1961* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -0825:06d6 ___uselfn +0829:06d6 ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:19c6 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) @@ -218,7 +218,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) 0000:1d5a __Fini_Argv_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:1d84 __EnterWVIDEO_ -0825:06d8+ ___WD_Present +0829:06d8+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) 0000:1da8 intr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c) @@ -234,21 +234,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:22bc __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:22bf _nmalloc_ -0825:06da ___nheapbeg -0825:06dc ___MiniHeapRover -0825:06de ___LargestSizeB4MiniHeapRover +0829:06da ___nheapbeg +0829:06dc ___MiniHeapRover +0829:06de ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:2399* _heapgrow_ 0000:2399* _fheapgrow_ 0000:239a _nheapgrow_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:2412* __set_commode_ -0825:06e0 __commode +0829:06e0 __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:241e* __get_errno_ptr_ -0825:10a4 _errno +0829:10a4 _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -0825:06e2 __fmode +0829:06e2 __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:2425 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -282,7 +282,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) 0000:2fc5 __flush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:320e _nfree_ -0825:10a6+ ___MiniHeapFreeRover +0829:10a6+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:3309 __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) @@ -295,24 +295,24 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 0000:3783 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -0825:10a8 ____Argv -0825:10ac ____Argc +0829:10a8 ____Argv +0829:10ac ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -0825:06e4 __amblksiz +0829:06e4 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -0825:0738 __Start_XI -0825:0756 __End_XI -0825:0756 __Start_YI -0825:0768 __End_YI +0829:0738 __Start_XI +0829:0756 __End_XI +0829:0756 __Start_YI +0829:0768 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -0825:10ae ___historical_splitparms +0829:10ae ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm) 0000:48e6 __PTS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) 0000:4918 _DoINTR_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:4c91* _heapenable_ -0825:06e6 ___heap_enabled +0829:06e6 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:4ca2 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -323,16 +323,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:4edb __GetIOMode_ 0000:4f10 __SetIOMode_nogrow_ -0825:06e8 ___NFiles -0825:06ea ___init_mode -0825:0712 ___io_mode +0829:06e8 ___NFiles +0829:06ea ___init_mode +0829:0712 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:4f45 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:4f61* __get_doserrno_ptr_ -0825:10b0 __doserrno +0829:10b0 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -0825:0716 ___umaskval +0829:0716 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:4f68 _dos_creat_ 0000:4f8c* _dos_creatnew_ @@ -359,13 +359,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:5378 strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -0825:072c ___EFG_printf -0825:0730* ___EFG_scanf +0829:072c ___EFG_printf +0829:0730* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -0825:0734 ___IsDBCS +0829:0734 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:53c0* _ismbblead_ -0825:10b4 ___MBCSIsTable +0829:10b4 ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:53dc ulltoa_ 0000:5519* lltoa_ @@ -388,10 +388,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) 0000:5882* _dos_close_ 0000:5890 _dos_commit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -0825:0072 ___Alphabet +0829:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:58dd __mbinit_ -0825:0736+ ___MBCodePage +0829:0736+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:59b8* _msize_ 0000:59d3 _fmsize_ @@ -420,6 +420,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c) +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00016ed0 (93904.) +Memory size: 00016f10 (93968.) Entry point address: 0000:020a Link time: 00:00.00 diff --git a/inputest.map b/inputest.map index 417cbd88..f7aa283a 100755 --- a/inputest.map +++ b/inputest.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:20 +Created on: 15/09/29 14:56:21 Executable Image: inputest.exe creating a DOS executable diff --git a/maptest.exe b/maptest.exe index 55be3800..8bc5fe95 100755 Binary files a/maptest.exe and b/maptest.exe differ diff --git a/maptest.map b/maptest.map index a72e4ad0..127ee772 100755 --- a/maptest.map +++ b/maptest.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:20 +Created on: 15/09/29 14:56:21 Executable Image: maptest.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 09f3:0000 0000e9c0 +DGROUP 09f7:0000 0000e9c0 @@ -29,24 +29,24 @@ mapread_TEXT CODE AUTO 0000:01b0 00000872 jsmn_TEXT CODE AUTO 0000:0a30 00000919 _TEXT CODE AUTO 0000:1350 000063bb bitmap_TEXT CODE AUTO 0000:7710 000005c9 -modex16_TEXT CODE AUTO 0000:7ce0 00002134 -16text_TEXT CODE AUTO 0000:9e20 0000010d -FAR_DATA FAR_DATA AUTO 09f2:000d 00000000 -_NULL BEGDATA DGROUP 09f3:0000 00000020 -_AFTERNULL BEGDATA DGROUP 09f5:0000 00000002 -CONST DATA DGROUP 09f5:0002 00000076 -CONST2 DATA DGROUP 09fc:0008 00000102 -_DATA DATA DGROUP 0a0d:0000 0000025a -XIB DATA DGROUP 0a32:000a 00000000 -XI DATA DGROUP 0a32:000a 0000001e -XIE DATA DGROUP 0a34:0008 00000000 -YIB DATA DGROUP 0a34:0008 00000000 -YI DATA DGROUP 0a34:0008 00000012 -YIE DATA DGROUP 0a35:000a 00000000 -STRINGS DATA DGROUP 0a35:000a 00000000 -DATA DATA DGROUP 0a35:000a 00000000 -_BSS BSS DGROUP 0a35:000a 00000ad5 -STACK STACK DGROUP 0ae3:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:7ce0 00002180 +16text_TEXT CODE AUTO 0000:9e60 0000010d +FAR_DATA FAR_DATA AUTO 09f6:000d 00000000 +_NULL BEGDATA DGROUP 09f7:0000 00000020 +_AFTERNULL BEGDATA DGROUP 09f9:0000 00000002 +CONST DATA DGROUP 09f9:0002 00000076 +CONST2 DATA DGROUP 0a00:0008 00000102 +_DATA DATA DGROUP 0a11:0000 0000025a +XIB DATA DGROUP 0a36:000a 00000000 +XI DATA DGROUP 0a36:000a 0000001e +XIE DATA DGROUP 0a38:0008 00000000 +YIB DATA DGROUP 0a38:0008 00000000 +YI DATA DGROUP 0a38:0008 00000012 +YIE DATA DGROUP 0a39:000a 00000000 +STRINGS DATA DGROUP 0a39:000a 00000000 +DATA DATA DGROUP 0a39:000a 00000000 +_BSS BSS DGROUP 0a39:000a 00000ad5 +STACK STACK DGROUP 0ae7:0000 0000dac0 +----------------+ @@ -72,16 +72,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:1355 __STK 0000:1375* __STKOVERFLOW_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -09f3:01b8 ___iob -09f3:043a ___ClosedStreams -09f3:043e ___OpenStreams +09f7:01b8 ___iob +09f7:043a ___ClosedStreams +09f7:043e ___OpenStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 0000:1392 fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -09f3:0000* __nullarea -09f3:0320* __ovlflag -09f3:0321* __intno -09f3:0322* __ovlvec +09f7:0000* __nullarea +09f7:0320* __ovlflag +09f7:0321* __intno +09f7:0322* __ovlvec 0000:13c2 _cstart_ 0000:1495* _Not_Enough_Memory_ 0000:15c7 __exit_ @@ -91,10 +91,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:164e _big_code_ 0000:164e* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -09f3:0442 __argv -09f3:0446 ___argv -09f3:044a __argc -09f3:044c ___argc +09f7:0442 __argv +09f7:0446 ___argv +09f7:044a __argc +09f7:044c ___argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 0000:1655 __PIA 0000:164e* __PIS @@ -103,9 +103,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strncmp.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:16a9 _fmalloc_ 0000:16a9 malloc_ -09f3:0326+ ___fheap -09f3:0328 ___fheapRover -09f3:032a ___LargestSizeB4Rover +09f7:0326+ ___fheap +09f7:0328 ___fheapRover +09f7:032a ___LargestSizeB4Rover Module: 16.lib(/dos/z/16/src/lib/bitmap.c) 0000:7a12 bitmapLoadPcx_ 0000:7b6e* bitmapLoadPcxTiles_ @@ -122,7 +122,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 0000:1e90 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:2207 __get_errno_ptr_ -09f3:04ce _errno +09f7:04ce _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c) 0000:220e* _frealloc_ 0000:220e realloc_ @@ -134,23 +134,23 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:2359* __exit_with_msg_ 0000:235e __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -09f3:0334 __curbrk -09f3:033c __STACKLOW -09f3:033e __STACKTOP -09f3:0340 __cbyte -09f3:0342 __child -09f3:0344 __no87 -09f3:0351 ___FPE_handler -09f3:0336 __psp -09f3:0345 __get_ovl_stack -09f3:0349 __restore_ovl_stack -09f3:034d __close_ovl_file -09f3:0355 __LpCmdLine -09f3:0359 __LpPgmName -09f3:0338 __osmajor -09f3:0339 __osminor -09f3:033a __osmode -09f3:033b __HShift +09f7:0334 __curbrk +09f7:033c __STACKLOW +09f7:033e __STACKTOP +09f7:0340 __cbyte +09f7:0342 __child +09f7:0344 __no87 +09f7:0351 ___FPE_handler +09f7:0336 __psp +09f7:0345 __get_ovl_stack +09f7:0349 __restore_ovl_stack +09f7:034d __close_ovl_file +09f7:0355 __LpCmdLine +09f7:0359 __LpPgmName +09f7:0338 __osmajor +09f7:0339 __osminor +09f7:033a __osmode +09f7:033b __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initfile.c) 0000:237c __InitFiles_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) @@ -166,7 +166,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:27ef __FiniRtns 0000:27ef* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -09f3:035e ___uselfn +09f7:035e ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:2854 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initargv.c) @@ -184,9 +184,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:30ac __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:30af _nmalloc_ -09f3:0360 ___nheapbeg -09f3:0362 ___MiniHeapRover -09f3:0364 ___LargestSizeB4MiniHeapRover +09f7:0360 ___nheapbeg +09f7:0362 ___MiniHeapRover +09f7:0364 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:3189* _heapgrow_ 0000:3189* _fheapgrow_ @@ -197,14 +197,14 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:3231 __doclose_ 0000:337b __shutdown_stream_ 0000:3395 fclose_ -09f3:04d4+ ___RmTmpFileFn +09f7:04d4+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:3400+ _null_exit_rtn_ 0000:3400+ __null_int23_exit_ 0000:3401 exit_ 0000:3422+ _exit_ -09f3:0366+ ___int23_exit -09f3:036a+ ___FPE_handler_exit +09f7:0366+ ___int23_exit +09f7:036a+ ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:355c fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) @@ -216,50 +216,50 @@ Module: 16.lib(/dos/z/16/src/lib/modex16.c) 0000:7fdc* modexLeave_ 0000:7ff4* modexDefaultPage_ 0000:804e* modexNextPage_ -0000:80be+ modexNextPageFlexibleSize_ -0000:8162* modexShowPage_ -0000:825e* modexPanPage_ -0000:82ae* modexSelectPlane_ -0000:82d2+ modexClearRegion_ -0000:83ea* oldDrawBmp_ -0000:8550* CDrawBmp_ -0000:86b4* modexDrawBmp_ -0000:871a+ modexDrawBmpRegion_ -0000:8884* modexDrawPlanarBuf_ -0000:88a2* modexDrawSprite_ -0000:8908+ modexDrawSpriteRegion_ -0000:8a80* modexCopyPageRegion_ -0000:8bea* modexFadeOn_ -0000:8c1a* modexFadeOff_ -0000:8c48* modexFlashOn_ -0000:8c76* modexFlashOff_ -0000:8d46+ modexPalSave_ -0000:8d9c modexNewPal_ -0000:8dec* modexLoadPalFile_ -0000:8ece* modexSavePalFile_ -0000:8f46* modexPalBlack_ -0000:8f70* modexPalWhite_ -0000:8f9a+ modexPalUpdate_ -0000:950a+ modexPalUpdate1_ -0000:9584* modexPalUpdate0_ -0000:95d0+ chkcolor_ -0000:98e8+ modexputPixel_ -0000:9976* modexgetPixel_ -0000:99fc* modexhlin_ -0000:9a68* modexprint_ -0000:9c02* modexprintbig_ -0000:9d7e* cls_ -0000:9dec+ modexWaitBorder_ -09f3:0374+ _VGA +0000:810a* modexNextPageFlexibleSize_ +0000:81ae* modexShowPage_ +0000:82aa* modexPanPage_ +0000:82fa* modexSelectPlane_ +0000:831e+ modexClearRegion_ +0000:8436* oldDrawBmp_ +0000:859c* CDrawBmp_ +0000:8700* modexDrawBmp_ +0000:8766+ modexDrawBmpRegion_ +0000:88d0* modexDrawPlanarBuf_ +0000:88ee* modexDrawSprite_ +0000:8954+ modexDrawSpriteRegion_ +0000:8acc* modexCopyPageRegion_ +0000:8c36* modexFadeOn_ +0000:8c66* modexFadeOff_ +0000:8c94* modexFlashOn_ +0000:8cc2* modexFlashOff_ +0000:8d92+ modexPalSave_ +0000:8de8 modexNewPal_ +0000:8e38* modexLoadPalFile_ +0000:8f1a* modexSavePalFile_ +0000:8f92* modexPalBlack_ +0000:8fbc* modexPalWhite_ +0000:8fe6+ modexPalUpdate_ +0000:9556+ modexPalUpdate1_ +0000:95d0* modexPalUpdate0_ +0000:961c+ chkcolor_ +0000:9934+ modexputPixel_ +0000:99c2* modexgetPixel_ +0000:9a48* modexhlin_ +0000:9ab4* modexprint_ +0000:9c4e* modexprintbig_ +0000:9dca* cls_ +0000:9e38+ modexWaitBorder_ +09f7:0374+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm) 0000:3aea __PTS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -09f3:0098 __IsTable +09f7:0098 __IsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:3b1b* __set_commode_ -09f3:039c __commode +09f7:039c __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -09f3:039e __fmode +09f7:039e __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:3b27 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -290,7 +290,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c) 0000:484e* _expand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:4883 __EnterWVIDEO_ -09f3:03a0+ ___WD_Present +09f7:03a0+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 0000:48a7 fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) @@ -298,20 +298,20 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) 0000:5bde __flush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -09f3:0dd8 ____Argv -09f3:0ddc ____Argc +09f7:0dd8 ____Argv +09f7:0ddc ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -09f3:03a2 __amblksiz +09f7:03a2 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -09f3:03fa __Start_XI -09f3:0418 __End_XI -09f3:0418 __Start_YI -09f3:042a __End_YI +09f7:03fa __Start_XI +09f7:0418 __End_XI +09f7:0418 __Start_YI +09f7:042a __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -09f3:0dde ___historical_splitparms +09f7:0dde ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:5e28* _heapenable_ -09f3:03a4 ___heap_enabled +09f7:03a4 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:5e39 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -319,7 +319,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) 0000:5f3b __ExpandDGROUP_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:604c _nfree_ -09f3:0de0+ ___MiniHeapFreeRover +09f7:0de0+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(__lseek.c) 0000:6147 __lseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_clse.c) @@ -345,23 +345,23 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:683c __I4M 0000:683c __U4M Module: 16.lib(/dos/z/16/src/lib/16text.c) -0000:9e96* textInit_ -09f3:0de2 _romFonts +0000:9ed6* textInit_ +09f7:0de2 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c) 0000:6854 _dos_open_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:687a __GetIOMode_ 0000:68af __SetIOMode_nogrow_ -09f3:03aa ___NFiles -09f3:03ac ___init_mode -09f3:03d4 ___io_mode +09f7:03aa ___NFiles +09f7:03ac ___init_mode +09f7:03d4 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:68e4 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:6900* __get_doserrno_ptr_ -09f3:0dfa __doserrno +09f7:0dfa __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -09f3:03d8 ___umaskval +09f7:03d8 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:6907 _dos_creat_ 0000:692b* _dos_creatnew_ @@ -386,13 +386,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:6d4e strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -09f3:03ee ___EFG_printf -09f3:03f2* ___EFG_scanf +09f7:03ee ___EFG_printf +09f7:03f2* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -09f3:03f6 ___IsDBCS +09f7:03f6 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:6d96* _ismbblead_ -09f3:0dfe ___MBCSIsTable +09f7:0dfe ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:6db2 ulltoa_ 0000:6eef* lltoa_ @@ -417,10 +417,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c) 0000:71de __ChkTTYIOMode_ 0000:724c* __IOMode_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -09f3:0072 ___Alphabet +09f7:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:729a __mbinit_ -09f3:03f8+ ___MBCodePage +09f7:03f8+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) 0000:7375* _dos_close_ 0000:7383 _dos_commit_ @@ -441,6 +441,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) +-----------------------+ Stack size: dac0 (56000.) -Memory size: 000188f0 (100592.) +Memory size: 00018930 (100656.) Entry point address: 0000:13c2 Link time: 00:00.00 diff --git a/palettec.exe b/palettec.exe index dbfa4d7e..661bf7fa 100755 Binary files a/palettec.exe and b/palettec.exe differ diff --git a/palettec.map b/palettec.map index 66d28316..560ae518 100755 --- a/palettec.map +++ b/palettec.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:20 +Created on: 15/09/29 14:56:21 Executable Image: palettec.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 07ce:0000 0000e800 +DGROUP 07d2:0000 0000e800 @@ -26,24 +26,24 @@ Segment Class Group Address Size palettec_TEXT CODE AUTO 0000:0000 0000004c _TEXT CODE AUTO 0000:0050 00005a3d -modex16_TEXT CODE AUTO 0000:5a90 00002134 -16text_TEXT CODE AUTO 0000:7bd0 0000010d -FAR_DATA FAR_DATA AUTO 07cd:000d 00000000 -_NULL BEGDATA DGROUP 07ce:0000 00000020 -_AFTERNULL BEGDATA DGROUP 07d0:0000 00000002 -CONST DATA DGROUP 07d0:0002 00000076 -CONST2 DATA DGROUP 07d7:0008 00000000 -_DATA DATA DGROUP 07d8:0000 00000248 -XIB DATA DGROUP 07fc:0008 00000000 -XI DATA DGROUP 07fc:0008 00000018 -XIE DATA DGROUP 07fe:0000 00000000 -YIB DATA DGROUP 07fe:0000 00000000 -YI DATA DGROUP 07fe:0000 0000000c -YIE DATA DGROUP 07fe:000c 00000000 -STRINGS DATA DGROUP 07fe:000c 00000000 -DATA DATA DGROUP 07fe:000c 00000000 -_BSS BSS DGROUP 07fe:000c 00000a33 -STACK STACK DGROUP 08a2:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:5a90 00002180 +16text_TEXT CODE AUTO 0000:7c10 0000010d +FAR_DATA FAR_DATA AUTO 07d1:000d 00000000 +_NULL BEGDATA DGROUP 07d2:0000 00000020 +_AFTERNULL BEGDATA DGROUP 07d4:0000 00000002 +CONST DATA DGROUP 07d4:0002 00000076 +CONST2 DATA DGROUP 07db:0008 00000000 +_DATA DATA DGROUP 07dc:0000 00000248 +XIB DATA DGROUP 0800:0008 00000000 +XI DATA DGROUP 0800:0008 00000018 +XIE DATA DGROUP 0802:0000 00000000 +YIB DATA DGROUP 0802:0000 00000000 +YI DATA DGROUP 0802:0000 0000000c +YIE DATA DGROUP 0802:000c 00000000 +STRINGS DATA DGROUP 0802:000c 00000000 +DATA DATA DGROUP 0802:000c 00000000 +_BSS BSS DGROUP 0802:000c 00000a33 +STACK STACK DGROUP 08a6:0000 0000dac0 +----------------+ @@ -67,46 +67,46 @@ Module: 16.lib(/dos/z/16/src/lib/modex16.c) 0000:5d8c modexLeave_ 0000:5da4* modexDefaultPage_ 0000:5dfe* modexNextPage_ -0000:5e6e+ modexNextPageFlexibleSize_ -0000:5f12* modexShowPage_ -0000:600e* modexPanPage_ -0000:605e* modexSelectPlane_ -0000:6082+ modexClearRegion_ -0000:619a* oldDrawBmp_ -0000:6300* CDrawBmp_ -0000:6464* modexDrawBmp_ -0000:64ca+ modexDrawBmpRegion_ -0000:6634* modexDrawPlanarBuf_ -0000:6652* modexDrawSprite_ -0000:66b8+ modexDrawSpriteRegion_ -0000:6830* modexCopyPageRegion_ -0000:699a* modexFadeOn_ -0000:69ca* modexFadeOff_ -0000:69f8* modexFlashOn_ -0000:6a26* modexFlashOff_ -0000:6af6 modexPalSave_ -0000:6b4c modexNewPal_ -0000:6b9c* modexLoadPalFile_ -0000:6c7e modexSavePalFile_ -0000:6cf6* modexPalBlack_ -0000:6d20* modexPalWhite_ -0000:6d4a+ modexPalUpdate_ -0000:72ba+ modexPalUpdate1_ -0000:7334* modexPalUpdate0_ -0000:7380+ chkcolor_ -0000:7698+ modexputPixel_ -0000:7726* modexgetPixel_ -0000:77ac* modexhlin_ -0000:7818* modexprint_ -0000:79b2* modexprintbig_ -0000:7b2e* cls_ -0000:7b9c+ modexWaitBorder_ -07ce:00b4+ _VGA +0000:5eba* modexNextPageFlexibleSize_ +0000:5f5e* modexShowPage_ +0000:605a* modexPanPage_ +0000:60aa* modexSelectPlane_ +0000:60ce+ modexClearRegion_ +0000:61e6* oldDrawBmp_ +0000:634c* CDrawBmp_ +0000:64b0* modexDrawBmp_ +0000:6516+ modexDrawBmpRegion_ +0000:6680* modexDrawPlanarBuf_ +0000:669e* modexDrawSprite_ +0000:6704+ modexDrawSpriteRegion_ +0000:687c* modexCopyPageRegion_ +0000:69e6* modexFadeOn_ +0000:6a16* modexFadeOff_ +0000:6a44* modexFlashOn_ +0000:6a72* modexFlashOff_ +0000:6b42 modexPalSave_ +0000:6b98 modexNewPal_ +0000:6be8* modexLoadPalFile_ +0000:6cca modexSavePalFile_ +0000:6d42* modexPalBlack_ +0000:6d6c* modexPalWhite_ +0000:6d96+ modexPalUpdate_ +0000:7306+ modexPalUpdate1_ +0000:7380* modexPalUpdate0_ +0000:73cc+ chkcolor_ +0000:76e4+ modexputPixel_ +0000:7772* modexgetPixel_ +0000:77f8* modexhlin_ +0000:7864* modexprint_ +0000:79fe* modexprintbig_ +0000:7b7a* cls_ +0000:7be8+ modexWaitBorder_ +07d2:00b4+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -07ce:0000* __nullarea -07ce:00dc* __ovlflag -07ce:00dd* __intno -07ce:00de* __ovlvec +07d2:0000* __nullarea +07d2:00dc* __ovlflag +07d2:00dd* __intno +07d2:00de* __ovlvec 0000:0092 _cstart_ 0000:0165* _Not_Enough_Memory_ 0000:0297 __exit_ @@ -119,23 +119,23 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:031e* __exit_with_msg_ 0000:0323 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -07ce:00e2 __curbrk -07ce:00ea __STACKLOW -07ce:00ec __STACKTOP -07ce:00ee __cbyte -07ce:00f0 __child -07ce:00f2 __no87 -07ce:00ff ___FPE_handler -07ce:00e4 __psp -07ce:00f3 __get_ovl_stack -07ce:00f7 __restore_ovl_stack -07ce:00fb __close_ovl_file -07ce:0103 __LpCmdLine -07ce:0107 __LpPgmName -07ce:00e6 __osmajor -07ce:00e7 __osminor -07ce:00e8 __osmode -07ce:00e9 __HShift +07d2:00e2 __curbrk +07d2:00ea __STACKLOW +07d2:00ec __STACKTOP +07d2:00ee __cbyte +07d2:00f0 __child +07d2:00f2 __no87 +07d2:00ff ___FPE_handler +07d2:00e4 __psp +07d2:00f3 __get_ovl_stack +07d2:00f7 __restore_ovl_stack +07d2:00fb __close_ovl_file +07d2:0103 __LpCmdLine +07d2:0107 __LpPgmName +07d2:00e6 __osmajor +07d2:00e7 __osminor +07d2:00e8 __osmode +07d2:00e9 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) 0000:0342+ int86x_ 0000:04c5 int86_ @@ -145,9 +145,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:0510 _fmalloc_ 0000:0510 malloc_ -07ce:010c+ ___fheap -07ce:010e ___fheapRover -07ce:0110 ___LargestSizeB4Rover +07d2:010c+ ___fheap +07d2:010e ___fheapRover +07d2:0110 ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:0685 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) @@ -155,8 +155,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:06b4+ __null_int23_exit_ 0000:06b5 exit_ 0000:06d6+ _exit_ -07ce:0112+ ___int23_exit -07ce:0116+ ___FPE_handler_exit +07d2:0112+ ___int23_exit +07d2:0116+ ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) 0000:06f2+ __open_flags_ 0000:09b3+ _fsopen_ @@ -169,7 +169,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:0f5d __doclose_ 0000:10a7 __shutdown_stream_ 0000:10c1 fclose_ -07ce:0c0c+ ___RmTmpFileFn +07d2:0c0c+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:112c _ffree_ 0000:112c free_ @@ -182,8 +182,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:1578 __I4M 0000:1578 __U4M Module: 16.lib(/dos/z/16/src/lib/16text.c) -0000:7c46* textInit_ -07ce:0c10 _romFonts +0000:7c86* textInit_ +07d2:0c10 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c) 0000:1590 __CMain Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) @@ -192,12 +192,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:1651 __FiniRtns 0000:1651* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -07ce:011e ___uselfn +07d2:011e ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:16b6 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:16b7 __EnterWVIDEO_ -07ce:0120+ ___WD_Present +07d2:0120+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) 0000:16db intr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c) @@ -213,27 +213,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:1bec __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:1bef _nmalloc_ -07ce:0122 ___nheapbeg -07ce:0124 ___MiniHeapRover -07ce:0126 ___LargestSizeB4MiniHeapRover +07d2:0122 ___nheapbeg +07d2:0124 ___MiniHeapRover +07d2:0126 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:1cc9* _heapgrow_ 0000:1cc9* _fheapgrow_ 0000:1cca _nheapgrow_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -07ce:0128 ___iob -07ce:0c28 ___ClosedStreams -07ce:0c2c ___OpenStreams +07d2:0128 ___iob +07d2:0c28 ___ClosedStreams +07d2:0c2c ___OpenStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:1d5c __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:1eaf* __set_commode_ -07ce:0290 __commode +07d2:0290 __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:1ebb* __get_errno_ptr_ -07ce:0c30 _errno +07d2:0c30 _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -07ce:0292 __fmode +07d2:0292 __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:1ec2 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -267,26 +267,26 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) 0000:2a61 __flush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:2caa _nfree_ -07ce:0c32+ ___MiniHeapFreeRover +07d2:0c32+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:2da5 __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 0000:2e05 fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -07ce:0c34 ____Argv -07ce:0c38 ____Argc +07d2:0c34 ____Argv +07d2:0c38 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -07ce:0294 __amblksiz +07d2:0294 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -07ce:02e8 __Start_XI -07ce:0300 __End_XI -07ce:0300 __Start_YI -07ce:030c __End_YI +07d2:02e8 __Start_XI +07d2:0300 __End_XI +07d2:0300 __Start_YI +07d2:030c __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) 0000:2fda _DoINTR_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:3353* _heapenable_ -07ce:0296 ___heap_enabled +07d2:0296 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:3364 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -304,16 +304,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:4944 __GetIOMode_ 0000:4979 __SetIOMode_nogrow_ -07ce:0298 ___NFiles -07ce:029a ___init_mode -07ce:02c2 ___io_mode +07d2:0298 ___NFiles +07d2:029a ___init_mode +07d2:02c2 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:49ae isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:49ca* __get_doserrno_ptr_ -07ce:0c3a __doserrno +07d2:0c3a __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -07ce:02c6 ___umaskval +07d2:02c6 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:49d1 _dos_creat_ 0000:49f5* _dos_creatnew_ @@ -345,13 +345,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:4e8a strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -07ce:02dc ___EFG_printf -07ce:02e0* ___EFG_scanf +07d2:02dc ___EFG_printf +07d2:02e0* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -07ce:02e4 ___IsDBCS +07d2:02e4 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:4ed2* _ismbblead_ -07ce:0c3e ___MBCSIsTable +07d2:0c3e ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:4eee ulltoa_ 0000:502b* lltoa_ @@ -371,10 +371,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) 0000:531c* _dos_close_ 0000:532a _dos_commit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -07ce:0072 ___Alphabet +07d2:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:5377 __mbinit_ -07ce:02e6+ ___MBCodePage +07d2:02e6+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:5452* _msize_ 0000:546d _fmsize_ @@ -403,6 +403,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(bexpand.c) +-----------------------+ Stack size: dac0 (56000.) -Memory size: 000164e0 (91360.) +Memory size: 00016520 (91424.) Entry point address: 0000:0092 Link time: 00:00.00 diff --git a/pcxtest.exe b/pcxtest.exe index 7478cf80..e1a00fd2 100755 Binary files a/pcxtest.exe and b/pcxtest.exe differ diff --git a/pcxtest.map b/pcxtest.map index a6793049..ebdc001e 100755 --- a/pcxtest.map +++ b/pcxtest.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:20 +Created on: 15/09/29 14:56:21 Executable Image: pcxtest.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 0b22:0000 0000ecc0 +DGROUP 0b26:0000 0000ecc0 @@ -26,28 +26,28 @@ Segment Class Group Address Size pcxtest_TEXT CODE AUTO 0000:0000 00000203 _TEXT CODE AUTO 0000:0210 00008567 -modex16_TEXT CODE AUTO 0000:8780 00002134 -bitmap_TEXT CODE AUTO 0000:a8c0 000005c9 -planar_TEXT CODE AUTO 0000:ae90 00000275 -16text_TEXT CODE AUTO 0000:b110 0000010d -FAR_DATA FAR_DATA AUTO 0b21:000d 00000000 -_NULL BEGDATA DGROUP 0b22:0000 00000020 -_AFTERNULL BEGDATA DGROUP 0b24:0000 00000002 -CONST DATA DGROUP 0b24:0002 00000076 -CONST2 DATA DGROUP 0b2b:0008 00000132 -_DATA DATA DGROUP 0b3f:0000 00000336 -XIB DATA DGROUP 0b72:0006 00000000 -XI DATA DGROUP 0b72:0006 0000002a -XIE DATA DGROUP 0b75:0000 00000000 -YIB DATA DGROUP 0b75:0000 00000000 -YI DATA DGROUP 0b75:0000 0000000c -YIE DATA DGROUP 0b75:000c 00000000 -STRINGS DATA DGROUP 0b75:000c 00000000 -DATA DATA DGROUP 0b75:000c 00000000 -_emu_init_start EMU DGROUP 0b75:000c 00000000 -_emu_init_end EMU DGROUP 0b75:000c 00000000 -_BSS BSS DGROUP 0b75:000c 00000cb8 -STACK STACK DGROUP 0c42:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:8780 00002180 +bitmap_TEXT CODE AUTO 0000:a900 000005c9 +planar_TEXT CODE AUTO 0000:aed0 00000275 +16text_TEXT CODE AUTO 0000:b150 0000010d +FAR_DATA FAR_DATA AUTO 0b25:000d 00000000 +_NULL BEGDATA DGROUP 0b26:0000 00000020 +_AFTERNULL BEGDATA DGROUP 0b28:0000 00000002 +CONST DATA DGROUP 0b28:0002 00000076 +CONST2 DATA DGROUP 0b2f:0008 00000132 +_DATA DATA DGROUP 0b43:0000 00000336 +XIB DATA DGROUP 0b76:0006 00000000 +XI DATA DGROUP 0b76:0006 0000002a +XIE DATA DGROUP 0b79:0000 00000000 +YIB DATA DGROUP 0b79:0000 00000000 +YI DATA DGROUP 0b79:0000 0000000c +YIE DATA DGROUP 0b79:000c 00000000 +STRINGS DATA DGROUP 0b79:000c 00000000 +DATA DATA DGROUP 0b79:000c 00000000 +_emu_init_start EMU DGROUP 0b79:000c 00000000 +_emu_init_end EMU DGROUP 0b79:000c 00000000 +_BSS BSS DGROUP 0b79:000c 00000cb8 +STACK STACK DGROUP 0c46:0000 0000dac0 +----------------+ @@ -62,7 +62,7 @@ Address Symbol Module: pcxtest.o(/dos/z/16/src/pcxtest.c) 0000:0060 main_ -0b22:01d4+ _clockw +0b26:01d4+ _clockw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:0215 __STK 0000:0235* __STKOVERFLOW_ @@ -72,93 +72,93 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0000:8a7c modexLeave_ 0000:8a94 modexDefaultPage_ 0000:8aee* modexNextPage_ -0000:8b5e+ modexNextPageFlexibleSize_ -0000:8c02* modexShowPage_ -0000:8cfe* modexPanPage_ -0000:8d4e* modexSelectPlane_ -0000:8d72 modexClearRegion_ -0000:8e8a oldDrawBmp_ -0000:8ff0* CDrawBmp_ -0000:9154 modexDrawBmp_ -0000:91ba+ modexDrawBmpRegion_ -0000:9324* modexDrawPlanarBuf_ -0000:9342 modexDrawSprite_ -0000:93a8+ modexDrawSpriteRegion_ -0000:9520 modexCopyPageRegion_ -0000:968a* modexFadeOn_ -0000:96ba* modexFadeOff_ -0000:96e8* modexFlashOn_ -0000:9716* modexFlashOff_ -0000:97e6+ modexPalSave_ -0000:983c modexNewPal_ -0000:988c* modexLoadPalFile_ -0000:996e* modexSavePalFile_ -0000:99e6* modexPalBlack_ -0000:9a10* modexPalWhite_ -0000:9a3a+ modexPalUpdate_ -0000:9faa modexPalUpdate1_ -0000:a024* modexPalUpdate0_ -0000:a070+ chkcolor_ -0000:a388+ modexputPixel_ -0000:a416* modexgetPixel_ -0000:a49c* modexhlin_ -0000:a508* modexprint_ -0000:a6a2* modexprintbig_ -0000:a81e* cls_ -0000:a88c+ modexWaitBorder_ -0b22:01e4 _VGA +0000:8baa* modexNextPageFlexibleSize_ +0000:8c4e* modexShowPage_ +0000:8d4a* modexPanPage_ +0000:8d9a* modexSelectPlane_ +0000:8dbe modexClearRegion_ +0000:8ed6 oldDrawBmp_ +0000:903c* CDrawBmp_ +0000:91a0 modexDrawBmp_ +0000:9206+ modexDrawBmpRegion_ +0000:9370* modexDrawPlanarBuf_ +0000:938e modexDrawSprite_ +0000:93f4+ modexDrawSpriteRegion_ +0000:956c modexCopyPageRegion_ +0000:96d6* modexFadeOn_ +0000:9706* modexFadeOff_ +0000:9734* modexFlashOn_ +0000:9762* modexFlashOff_ +0000:9832+ modexPalSave_ +0000:9888 modexNewPal_ +0000:98d8* modexLoadPalFile_ +0000:99ba* modexSavePalFile_ +0000:9a32* modexPalBlack_ +0000:9a5c* modexPalWhite_ +0000:9a86+ modexPalUpdate_ +0000:9ff6 modexPalUpdate1_ +0000:a070* modexPalUpdate0_ +0000:a0bc+ chkcolor_ +0000:a3d4+ modexputPixel_ +0000:a462* modexgetPixel_ +0000:a4e8* modexhlin_ +0000:a554* modexprint_ +0000:a6ee* modexprintbig_ +0000:a86a* cls_ +0000:a8d8+ modexWaitBorder_ +0b26:01e4 _VGA Module: gfx.lib(/dos/z/16/src/lib/bitmap.c) -0000:abc2 bitmapLoadPcx_ -0000:ad1e* bitmapLoadPcxTiles_ +0000:ac02 bitmapLoadPcx_ +0000:ad5e* bitmapLoadPcxTiles_ Module: gfx.lib(/dos/z/16/src/lib/planar.c) -0000:ae90 planar_buf_from_bitmap_ -0000:afb0+ planar_buf_alloc_ -0000:b0aa* planar_buf_free_ +0000:aed0 planar_buf_from_bitmap_ +0000:aff0+ planar_buf_alloc_ +0000:b0ea* planar_buf_free_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c) 0000:0252 kbhit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:0269 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -0b22:0000* __nullarea -0b22:0224* __ovlflag -0b22:0225* __intno -0b22:0226* __ovlvec +0b26:0000* __nullarea +0b26:0224* __ovlflag +0b26:0225* __intno +0b26:0226* __ovlvec 0000:0298 _cstart_ 0000:036b* _Not_Enough_Memory_ 0000:049d __exit_ 0000:04bc __do_exit_with_msg__ 0000:0519 __GETDS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c) -0b22:022a _fltused_ +0b26:022a _fltused_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:0524 _big_code_ 0000:0524* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) -0b22:022c __8087 -0b22:022d __real87 -0b22:022e __dos87emucall -0b22:0230 __dos87real +0b26:022c __8087 +0b26:022d __real87 +0b26:022e __dos87emucall +0b26:0230 __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:0524* __exit_with_msg_ 0000:0529 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -0b22:0232 __curbrk -0b22:023a __STACKLOW -0b22:023c __STACKTOP -0b22:023e __cbyte -0b22:0240 __child -0b22:0242 __no87 -0b22:024f ___FPE_handler -0b22:0234 __psp -0b22:0243 __get_ovl_stack -0b22:0247 __restore_ovl_stack -0b22:024b __close_ovl_file -0b22:0253 __LpCmdLine -0b22:0257 __LpPgmName -0b22:0236 __osmajor -0b22:0237 __osminor -0b22:0238 __osmode -0b22:0239 __HShift +0b26:0232 __curbrk +0b26:023a __STACKLOW +0b26:023c __STACKTOP +0b26:023e __cbyte +0b26:0240 __child +0b26:0242 __no87 +0b26:024f ___FPE_handler +0b26:0234 __psp +0b26:0243 __get_ovl_stack +0b26:0247 __restore_ovl_stack +0b26:024b __close_ovl_file +0b26:0253 __LpCmdLine +0b26:0257 __LpPgmName +0b26:0236 __osmajor +0b26:0237 __osminor +0b26:0238 __osmode +0b26:0239 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) 0000:0548+ int86x_ 0000:06cb int86_ @@ -168,16 +168,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:0716 _fmalloc_ 0000:0716 malloc_ -0b22:025c+ ___fheap -0b22:025e ___fheapRover -0b22:0260 ___LargestSizeB4Rover +0b26:025c+ ___fheap +0b26:025e ___fheapRover +0b26:0260 ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:088b+ _null_exit_rtn_ 0000:088b+ __null_int23_exit_ 0000:088c exit_ 0000:08ad+ _exit_ -0b22:0262+ ___int23_exit -0b22:0266 ___FPE_handler_exit +0b26:0262+ ___int23_exit +0b26:0266 ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) 0000:08c9+ __open_flags_ 0000:0b8a+ _fsopen_ @@ -190,7 +190,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:1134 __doclose_ 0000:127e __shutdown_stream_ 0000:1298 fclose_ -0b22:0ebc+ ___RmTmpFileFn +0b26:0ebc+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:1303 _ffree_ 0000:1303 free_ @@ -203,16 +203,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:174e __I4M 0000:174e __U4M Module: gfx.lib(/dos/z/16/src/lib/16text.c) -0000:b186* textInit_ -0b22:0ec0 _romFonts +0000:b1c6* textInit_ +0b26:0ec0 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 0000:1766 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:1bfb fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -0b22:026e ___iob -0b22:0ed8 ___ClosedStreams -0b22:0edc ___OpenStreams +0b26:026e ___iob +0b26:0ed8 ___ClosedStreams +0b26:0edc ___OpenStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 0000:1df3 fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) @@ -225,7 +225,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:2050 __FiniRtns 0000:2050* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -0b22:03d6 ___uselfn +0b26:03d6 ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:20b4 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c) @@ -237,7 +237,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 0000:21a0 __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:2210 __EnterWVIDEO_ -0b22:03f6+ ___WD_Present +0b26:03f6+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) 0000:2234 intr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c) @@ -253,21 +253,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:273c __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:273f _nmalloc_ -0b22:03f8 ___nheapbeg -0b22:03fa ___MiniHeapRover -0b22:03fc ___LargestSizeB4MiniHeapRover +0b26:03f8 ___nheapbeg +0b26:03fa ___MiniHeapRover +0b26:03fc ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:2819* _heapgrow_ 0000:2819* _fheapgrow_ 0000:281a _nheapgrow_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:2892* __set_commode_ -0b22:03fe __commode +0b26:03fe __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:289e* __get_errno_ptr_ -0b22:0ee0 _errno +0b26:0ee0 _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -0b22:0400 __fmode +0b26:0400 __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:28a5 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -299,7 +299,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) 0000:312f __flush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:3378 _nfree_ -0b22:0ee2+ ___MiniHeapFreeRover +0b26:0ee2+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:3473 __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) @@ -318,27 +318,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 0000:3960 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -0b22:0ee4 ____Argv -0b22:0ee8 ____Argc +0b26:0ee4 ____Argv +0b26:0ee8 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -0b22:0402 __amblksiz +0b26:0402 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -0b22:0506 __Start_XI -0b22:0530 __End_XI -0b22:0530 __Start_YI -0b22:053c __End_YI +0b26:0506 __Start_XI +0b26:0530 __End_XI +0b26:0530 __Start_YI +0b26:053c __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -0b22:0404 ___EFG_printf -0b22:0408 ___EFG_scanf +0b26:0404 ___EFG_printf +0b26:0408 ___EFG_scanf Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c) 0000:4ad5 _EFG_Format_ Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c) 0000:4ca7 __cnvs2d_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) -0b22:040c __8087cw +0b26:040c __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) -0b22:040e ___Save8087 -0b22:0412 ___Rest8087 +0b26:040e ___Save8087 +0b26:0412 ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 0000:4cc7 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) @@ -348,7 +348,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) 0000:4d5e _DoINTR_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:50d7* _heapenable_ -0b22:0416 ___heap_enabled +0b26:0416 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:50e8 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -359,16 +359,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:5321 __GetIOMode_ 0000:5356 __SetIOMode_nogrow_ -0b22:0418 ___NFiles -0b22:041a ___init_mode -0b22:0442 ___io_mode +0b26:0418 ___NFiles +0b26:041a ___init_mode +0b26:0442 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:538b isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:53a7* __get_doserrno_ptr_ -0b22:0eea __doserrno +0b26:0eea __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -0b22:0446 ___umaskval +0b26:0446 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:53ae _dos_creat_ 0000:53d2* _dos_creatnew_ @@ -391,10 +391,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:577c strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -0b22:045c ___IsDBCS +0b26:045c ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:57b1* _ismbblead_ -0b22:0eee ___MBCSIsTable +0b26:0eee ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:57cd ulltoa_ 0000:590a* lltoa_ @@ -442,10 +442,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) 0000:7d9e* _dos_close_ 0000:7dac _dos_commit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -0b22:0072 ___Alphabet +0b26:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:7df9 __mbinit_ -0b22:0502+ ___MBCodePage +0b26:0502+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c) 0000:7ed4 __LDClass_ 0000:7f5a* _FLClass_ @@ -453,7 +453,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm) 0000:7f6e __I4D 0000:7fbd* __U4D Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -0b22:0098 __IsTable +0b26:0098 __IsTable Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm) 0000:8042 __ZBuf2LD Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c) @@ -461,16 +461,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c) 0000:8116 __set_ERANGE_ 0000:8122* __set_EINVAL_ Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c) -0b22:019a* ___f_infinity -0b22:019e* ___f_posqnan -0b22:01a2 ___d_infinity -0b22:01aa ___d_posqnan -0b22:01b2* ___ld_infinity -0b22:01ba* ___ld_posqnan +0b26:019a* ___f_infinity +0b26:019e* ___f_posqnan +0b26:01a2 ___d_infinity +0b26:01aa ___d_posqnan +0b26:01b2* ___ld_infinity +0b26:01ba* ___ld_posqnan Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c) -0b22:01c2 __HugeValue +0b26:01c2 __HugeValue Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) -0b22:0504 ___FPE_int +0b26:0504 ___FPE_int Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:813c* _msize_ 0000:8157 _fmsize_ @@ -501,6 +501,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00019ee0 (106208.) +Memory size: 00019f20 (106272.) Entry point address: 0000:0298 Link time: 00:00.00 diff --git a/pcxtest2.exe b/pcxtest2.exe index 02f0bd0d..43d06ade 100755 Binary files a/pcxtest2.exe and b/pcxtest2.exe differ diff --git a/pcxtest2.map b/pcxtest2.map index 2e58b72c..d286f8d7 100755 --- a/pcxtest2.map +++ b/pcxtest2.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:20 +Created on: 15/09/29 14:56:21 Executable Image: pcxtest2.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 0b22:0000 0000ecc0 +DGROUP 0b26:0000 0000ecc0 @@ -26,28 +26,28 @@ Segment Class Group Address Size pcxtest2_TEXT CODE AUTO 0000:0000 0000020b _TEXT CODE AUTO 0000:0210 00008567 -modex16_TEXT CODE AUTO 0000:8780 00002134 -bitmap_TEXT CODE AUTO 0000:a8c0 000005c9 -planar_TEXT CODE AUTO 0000:ae90 00000275 -16text_TEXT CODE AUTO 0000:b110 0000010d -FAR_DATA FAR_DATA AUTO 0b21:000d 00000000 -_NULL BEGDATA DGROUP 0b22:0000 00000020 -_AFTERNULL BEGDATA DGROUP 0b24:0000 00000002 -CONST DATA DGROUP 0b24:0002 00000076 -CONST2 DATA DGROUP 0b2b:0008 00000132 -_DATA DATA DGROUP 0b3f:0000 00000336 -XIB DATA DGROUP 0b72:0006 00000000 -XI DATA DGROUP 0b72:0006 0000002a -XIE DATA DGROUP 0b75:0000 00000000 -YIB DATA DGROUP 0b75:0000 00000000 -YI DATA DGROUP 0b75:0000 0000000c -YIE DATA DGROUP 0b75:000c 00000000 -STRINGS DATA DGROUP 0b75:000c 00000000 -DATA DATA DGROUP 0b75:000c 00000000 -_emu_init_start EMU DGROUP 0b75:000c 00000000 -_emu_init_end EMU DGROUP 0b75:000c 00000000 -_BSS BSS DGROUP 0b75:000c 00000cb8 -STACK STACK DGROUP 0c42:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:8780 00002180 +bitmap_TEXT CODE AUTO 0000:a900 000005c9 +planar_TEXT CODE AUTO 0000:aed0 00000275 +16text_TEXT CODE AUTO 0000:b150 0000010d +FAR_DATA FAR_DATA AUTO 0b25:000d 00000000 +_NULL BEGDATA DGROUP 0b26:0000 00000020 +_AFTERNULL BEGDATA DGROUP 0b28:0000 00000002 +CONST DATA DGROUP 0b28:0002 00000076 +CONST2 DATA DGROUP 0b2f:0008 00000132 +_DATA DATA DGROUP 0b43:0000 00000336 +XIB DATA DGROUP 0b76:0006 00000000 +XI DATA DGROUP 0b76:0006 0000002a +XIE DATA DGROUP 0b79:0000 00000000 +YIB DATA DGROUP 0b79:0000 00000000 +YI DATA DGROUP 0b79:0000 0000000c +YIE DATA DGROUP 0b79:000c 00000000 +STRINGS DATA DGROUP 0b79:000c 00000000 +DATA DATA DGROUP 0b79:000c 00000000 +_emu_init_start EMU DGROUP 0b79:000c 00000000 +_emu_init_end EMU DGROUP 0b79:000c 00000000 +_BSS BSS DGROUP 0b79:000c 00000cb8 +STACK STACK DGROUP 0c46:0000 0000dac0 +----------------+ @@ -62,7 +62,7 @@ Address Symbol Module: pcxtest2.o(/dos/z/16/src/pcxtest2.c) 0000:0060 main_ -0b22:01d4+ _clockw +0b26:01d4+ _clockw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:0215 __STK 0000:0235* __STKOVERFLOW_ @@ -72,93 +72,93 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0000:8a7c modexLeave_ 0000:8a94 modexDefaultPage_ 0000:8aee* modexNextPage_ -0000:8b5e+ modexNextPageFlexibleSize_ -0000:8c02* modexShowPage_ -0000:8cfe* modexPanPage_ -0000:8d4e* modexSelectPlane_ -0000:8d72 modexClearRegion_ -0000:8e8a oldDrawBmp_ -0000:8ff0* CDrawBmp_ -0000:9154 modexDrawBmp_ -0000:91ba+ modexDrawBmpRegion_ -0000:9324* modexDrawPlanarBuf_ -0000:9342 modexDrawSprite_ -0000:93a8+ modexDrawSpriteRegion_ -0000:9520 modexCopyPageRegion_ -0000:968a* modexFadeOn_ -0000:96ba* modexFadeOff_ -0000:96e8* modexFlashOn_ -0000:9716* modexFlashOff_ -0000:97e6+ modexPalSave_ -0000:983c modexNewPal_ -0000:988c* modexLoadPalFile_ -0000:996e* modexSavePalFile_ -0000:99e6* modexPalBlack_ -0000:9a10* modexPalWhite_ -0000:9a3a+ modexPalUpdate_ -0000:9faa modexPalUpdate1_ -0000:a024* modexPalUpdate0_ -0000:a070+ chkcolor_ -0000:a388+ modexputPixel_ -0000:a416* modexgetPixel_ -0000:a49c* modexhlin_ -0000:a508* modexprint_ -0000:a6a2* modexprintbig_ -0000:a81e* cls_ -0000:a88c+ modexWaitBorder_ -0b22:01e4 _VGA +0000:8baa* modexNextPageFlexibleSize_ +0000:8c4e* modexShowPage_ +0000:8d4a* modexPanPage_ +0000:8d9a* modexSelectPlane_ +0000:8dbe modexClearRegion_ +0000:8ed6 oldDrawBmp_ +0000:903c* CDrawBmp_ +0000:91a0 modexDrawBmp_ +0000:9206+ modexDrawBmpRegion_ +0000:9370* modexDrawPlanarBuf_ +0000:938e modexDrawSprite_ +0000:93f4+ modexDrawSpriteRegion_ +0000:956c modexCopyPageRegion_ +0000:96d6* modexFadeOn_ +0000:9706* modexFadeOff_ +0000:9734* modexFlashOn_ +0000:9762* modexFlashOff_ +0000:9832+ modexPalSave_ +0000:9888 modexNewPal_ +0000:98d8* modexLoadPalFile_ +0000:99ba* modexSavePalFile_ +0000:9a32* modexPalBlack_ +0000:9a5c* modexPalWhite_ +0000:9a86+ modexPalUpdate_ +0000:9ff6 modexPalUpdate1_ +0000:a070* modexPalUpdate0_ +0000:a0bc+ chkcolor_ +0000:a3d4+ modexputPixel_ +0000:a462* modexgetPixel_ +0000:a4e8* modexhlin_ +0000:a554* modexprint_ +0000:a6ee* modexprintbig_ +0000:a86a* cls_ +0000:a8d8+ modexWaitBorder_ +0b26:01e4 _VGA Module: gfx.lib(/dos/z/16/src/lib/bitmap.c) -0000:abc2 bitmapLoadPcx_ -0000:ad1e* bitmapLoadPcxTiles_ +0000:ac02 bitmapLoadPcx_ +0000:ad5e* bitmapLoadPcxTiles_ Module: gfx.lib(/dos/z/16/src/lib/planar.c) -0000:ae90 planar_buf_from_bitmap_ -0000:afb0+ planar_buf_alloc_ -0000:b0aa* planar_buf_free_ +0000:aed0 planar_buf_from_bitmap_ +0000:aff0+ planar_buf_alloc_ +0000:b0ea* planar_buf_free_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c) 0000:0252 kbhit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:0269 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -0b22:0000* __nullarea -0b22:0224* __ovlflag -0b22:0225* __intno -0b22:0226* __ovlvec +0b26:0000* __nullarea +0b26:0224* __ovlflag +0b26:0225* __intno +0b26:0226* __ovlvec 0000:0298 _cstart_ 0000:036b* _Not_Enough_Memory_ 0000:049d __exit_ 0000:04bc __do_exit_with_msg__ 0000:0519 __GETDS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fltused.c) -0b22:022a _fltused_ +0b26:022a _fltused_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm) 0000:0524 _big_code_ 0000:0524* CodeModelMismatch Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(_8087086.asm) -0b22:022c __8087 -0b22:022d __real87 -0b22:022e __dos87emucall -0b22:0230 __dos87real +0b26:022c __8087 +0b26:022d __real87 +0b26:022e __dos87emucall +0b26:0230 __dos87real Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:0524* __exit_with_msg_ 0000:0529 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -0b22:0232 __curbrk -0b22:023a __STACKLOW -0b22:023c __STACKTOP -0b22:023e __cbyte -0b22:0240 __child -0b22:0242 __no87 -0b22:024f ___FPE_handler -0b22:0234 __psp -0b22:0243 __get_ovl_stack -0b22:0247 __restore_ovl_stack -0b22:024b __close_ovl_file -0b22:0253 __LpCmdLine -0b22:0257 __LpPgmName -0b22:0236 __osmajor -0b22:0237 __osminor -0b22:0238 __osmode -0b22:0239 __HShift +0b26:0232 __curbrk +0b26:023a __STACKLOW +0b26:023c __STACKTOP +0b26:023e __cbyte +0b26:0240 __child +0b26:0242 __no87 +0b26:024f ___FPE_handler +0b26:0234 __psp +0b26:0243 __get_ovl_stack +0b26:0247 __restore_ovl_stack +0b26:024b __close_ovl_file +0b26:0253 __LpCmdLine +0b26:0257 __LpPgmName +0b26:0236 __osmajor +0b26:0237 __osminor +0b26:0238 __osmode +0b26:0239 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) 0000:0548+ int86x_ 0000:06cb int86_ @@ -168,16 +168,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:0716 _fmalloc_ 0000:0716 malloc_ -0b22:025c+ ___fheap -0b22:025e ___fheapRover -0b22:0260 ___LargestSizeB4Rover +0b26:025c+ ___fheap +0b26:025e ___fheapRover +0b26:0260 ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:088b+ _null_exit_rtn_ 0000:088b+ __null_int23_exit_ 0000:088c exit_ 0000:08ad+ _exit_ -0b22:0262+ ___int23_exit -0b22:0266 ___FPE_handler_exit +0b26:0262+ ___int23_exit +0b26:0266 ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) 0000:08c9+ __open_flags_ 0000:0b8a+ _fsopen_ @@ -190,7 +190,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:1134 __doclose_ 0000:127e __shutdown_stream_ 0000:1298 fclose_ -0b22:0ebc+ ___RmTmpFileFn +0b26:0ebc+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:1303 _ffree_ 0000:1303 free_ @@ -203,16 +203,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:174e __I4M 0000:174e __U4M Module: gfx.lib(/dos/z/16/src/lib/16text.c) -0000:b186* textInit_ -0b22:0ec0 _romFonts +0000:b1c6* textInit_ +0b26:0ec0 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 0000:1766 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:1bfb fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -0b22:026e ___iob -0b22:0ed8 ___ClosedStreams -0b22:0edc ___OpenStreams +0b26:026e ___iob +0b26:0ed8 ___ClosedStreams +0b26:0edc ___OpenStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 0000:1df3 fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) @@ -225,7 +225,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:2050 __FiniRtns 0000:2050* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -0b22:03d6 ___uselfn +0b26:03d6 ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:20b4 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(setefg.c) @@ -237,7 +237,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(chk8087.c) 0000:21a0 __chk8087_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:2210 __EnterWVIDEO_ -0b22:03f6+ ___WD_Present +0b26:03f6+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) 0000:2234 intr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c) @@ -253,21 +253,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:273c __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:273f _nmalloc_ -0b22:03f8 ___nheapbeg -0b22:03fa ___MiniHeapRover -0b22:03fc ___LargestSizeB4MiniHeapRover +0b26:03f8 ___nheapbeg +0b26:03fa ___MiniHeapRover +0b26:03fc ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:2819* _heapgrow_ 0000:2819* _fheapgrow_ 0000:281a _nheapgrow_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:2892* __set_commode_ -0b22:03fe __commode +0b26:03fe __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:289e* __get_errno_ptr_ -0b22:0ee0 _errno +0b26:0ee0 _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -0b22:0400 __fmode +0b26:0400 __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:28a5 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -299,7 +299,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) 0000:312f __flush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:3378 _nfree_ -0b22:0ee2+ ___MiniHeapFreeRover +0b26:0ee2+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:3473 __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) @@ -318,27 +318,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 0000:3960 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -0b22:0ee4 ____Argv -0b22:0ee8 ____Argc +0b26:0ee4 ____Argv +0b26:0ee8 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -0b22:0402 __amblksiz +0b26:0402 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -0b22:0506 __Start_XI -0b22:0530 __End_XI -0b22:0530 __Start_YI -0b22:053c __End_YI +0b26:0506 __Start_XI +0b26:0530 __End_XI +0b26:0530 __Start_YI +0b26:053c __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -0b22:0404 ___EFG_printf -0b22:0408 ___EFG_scanf +0b26:0404 ___EFG_printf +0b26:0408 ___EFG_scanf Module: /dos/fdos/watcom2/lib286/math87h.lib(efgfmt.c) 0000:4ad5 _EFG_Format_ Module: /dos/fdos/watcom2/lib286/math87h.lib(cnvs2d.c) 0000:4ca7 __cnvs2d_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(8087cw.c) -0b22:040c __8087cw +0b26:040c __8087cw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(save8087.c) -0b22:040e ___Save8087 -0b22:0412 ___Rest8087 +0b26:040e ___Save8087 +0b26:0412 ___Rest8087 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grabfp87.c) 0000:4cc7 __GrabFP87_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ini87086.asm) @@ -348,7 +348,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) 0000:4d5e _DoINTR_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:50d7* _heapenable_ -0b22:0416 ___heap_enabled +0b26:0416 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:50e8 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -359,16 +359,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:5321 __GetIOMode_ 0000:5356 __SetIOMode_nogrow_ -0b22:0418 ___NFiles -0b22:041a ___init_mode -0b22:0442 ___io_mode +0b26:0418 ___NFiles +0b26:041a ___init_mode +0b26:0442 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:538b isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:53a7* __get_doserrno_ptr_ -0b22:0eea __doserrno +0b26:0eea __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -0b22:0446 ___umaskval +0b26:0446 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:53ae _dos_creat_ 0000:53d2* _dos_creatnew_ @@ -391,10 +391,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:577c strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -0b22:045c ___IsDBCS +0b26:045c ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:57b1* _ismbblead_ -0b22:0eee ___MBCSIsTable +0b26:0eee ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:57cd ulltoa_ 0000:590a* lltoa_ @@ -442,10 +442,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) 0000:7d9e* _dos_close_ 0000:7dac _dos_commit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -0b22:0072 ___Alphabet +0b26:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:7df9 __mbinit_ -0b22:0502+ ___MBCodePage +0b26:0502+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/math87h.lib(ldclass.c) 0000:7ed4 __LDClass_ 0000:7f5a* _FLClass_ @@ -453,7 +453,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm) 0000:7f6e __I4D 0000:7fbd* __U4D Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -0b22:0098 __IsTable +0b26:0098 __IsTable Module: /dos/fdos/watcom2/lib286/math87h.lib(bufld086.asm) 0000:8042 __ZBuf2LD Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c) @@ -461,16 +461,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(seterrno.c) 0000:8116 __set_ERANGE_ 0000:8122* __set_EINVAL_ Module: /dos/fdos/watcom2/lib286/math87h.lib(inf_nan.c) -0b22:019a* ___f_infinity -0b22:019e* ___f_posqnan -0b22:01a2 ___d_infinity -0b22:01aa ___d_posqnan -0b22:01b2* ___ld_infinity -0b22:01ba* ___ld_posqnan +0b26:019a* ___f_infinity +0b26:019e* ___f_posqnan +0b26:01a2 ___d_infinity +0b26:01aa ___d_posqnan +0b26:01b2* ___ld_infinity +0b26:01ba* ___ld_posqnan Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(hugeval.c) -0b22:01c2 __HugeValue +0b26:01c2 __HugeValue Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fpeint.c) -0b22:0504 ___FPE_int +0b26:0504 ___FPE_int Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:813c* _msize_ 0000:8157 _fmsize_ @@ -501,6 +501,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00019ee0 (106208.) +Memory size: 00019f20 (106272.) Entry point address: 0000:0298 Link time: 00:00.00 diff --git a/scroll.exe b/scroll.exe index 387769f0..10576dbb 100755 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/scroll.map b/scroll.map index 97341db3..4181a72f 100755 --- a/scroll.map +++ b/scroll.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:20 +Created on: 15/09/29 14:56:21 Executable Image: scroll.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 1142:0000 0000f490 +DGROUP 1146:0000 0000f490 @@ -33,27 +33,27 @@ bitmap_TEXT CODE AUTO 0000:ba80 000005c9 planar_TEXT CODE AUTO 0000:c050 00000275 16_in_TEXT CODE AUTO 0000:c2d0 00001d43 16text_TEXT CODE AUTO 0000:e020 0000010d -modex16_TEXT CODE AUTO 0e13:0000 00002134 -bakapee_TEXT CODE AUTO 0e13:2140 00000b86 -wcpu_TEXT CODE AUTO 0e13:2cd0 00000058 -16_head_TEXT CODE AUTO 0e13:2d30 00000405 -16_in13_DATA FAR_DATA AUTO 1127:0000 000001a4 -FAR_DATA FAR_DATA AUTO 1141:0004 00000000 -_NULL BEGDATA DGROUP 1142:0000 00000020 -_AFTERNULL BEGDATA DGROUP 1144:0000 00000002 -CONST DATA DGROUP 1144:0002 00000076 -CONST2 DATA DGROUP 114b:0008 00000102 -_DATA DATA DGROUP 115c:0000 00000a0c -XIB DATA DGROUP 11fc:000c 00000000 -XI DATA DGROUP 11fc:000c 00000024 -XIE DATA DGROUP 11ff:0000 00000000 -YIB DATA DGROUP 11ff:0000 00000000 -YI DATA DGROUP 11ff:0000 00000012 -YIE DATA DGROUP 1200:0002 00000000 -STRINGS DATA DGROUP 1200:0002 00000000 -DATA DATA DGROUP 1200:0002 00000000 -_BSS BSS DGROUP 1201:0000 00000dd6 -STACK STACK DGROUP 12df:0000 0000dac0 +modex16_TEXT CODE AUTO 0e13:0000 00002180 +bakapee_TEXT CODE AUTO 0e13:2180 00000b86 +wcpu_TEXT CODE AUTO 0e13:2d10 00000058 +16_head_TEXT CODE AUTO 0e13:2d70 00000405 +16_in13_DATA FAR_DATA AUTO 112b:0000 000001a4 +FAR_DATA FAR_DATA AUTO 1145:0004 00000000 +_NULL BEGDATA DGROUP 1146:0000 00000020 +_AFTERNULL BEGDATA DGROUP 1148:0000 00000002 +CONST DATA DGROUP 1148:0002 00000076 +CONST2 DATA DGROUP 114f:0008 00000102 +_DATA DATA DGROUP 1160:0000 00000a0c +XIB DATA DGROUP 1200:000c 00000000 +XI DATA DGROUP 1200:000c 00000024 +XIE DATA DGROUP 1203:0000 00000000 +YIB DATA DGROUP 1203:0000 00000000 +YI DATA DGROUP 1203:0000 00000012 +YIE DATA DGROUP 1204:0002 00000000 +STRINGS DATA DGROUP 1204:0002 00000000 +DATA DATA DGROUP 1204:0002 00000000 +_BSS BSS DGROUP 1205:0000 00000dd6 +STACK STACK DGROUP 12e3:0000 0000dac0 +----------------+ @@ -67,17 +67,17 @@ Address Symbol ======= ====== Module: scroll.o(/dos/z/16/src/scroll.c) -1142:0bf0+ _player -1142:0cf0+ _screen -1142:0d00+ _screen3 -1142:0d10+ _screen2 -1142:0d20+ _mv -1142:0d50+ _gvar -1142:0d68+ _spri -1142:0d6c+ _mask -1142:0d70+ _p +1146:0bf0+ _player +1146:0cf0+ _screen +1146:0d00+ _screen3 +1146:0d10+ _screen2 +1146:0d20+ _mv +1146:0d50+ _gvar +1146:0d68+ _spri +1146:0d6c+ _mask +1146:0d70+ _p 0000:01ee main_ -1142:0d80+ _bg +1146:0d80+ _bg Module: scroll16.o(/dos/z/16/src/lib/scroll16.c) 0000:0c5a walk_ 0000:2712+ mapScrollRight_ @@ -105,16 +105,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:5252 _fmalloc_ 0000:5252 malloc_ -1142:0678+ ___fheap -1142:067a ___fheapRover -1142:067c ___LargestSizeB4Rover +1146:0678+ ___fheap +1146:067a ___fheapRover +1146:067c ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) 0000:53cf __PIA 0000:53c8* __PIS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -1142:067e ___iob -1142:0d94 ___ClosedStreams -1142:0d98 ___OpenStreams +1146:067e ___iob +1146:0d94 ___ClosedStreams +1146:0d98 ___OpenStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 0000:53e6 fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) @@ -150,74 +150,74 @@ Module: 16.lib(/dos/z/16/src/lib/16_in.c) 0000:defa IN_KeyDown_ 0000:df42+ IN_ClearKey_ 0000:dfba* IN_qb_ -1142:0e2e+ _inpu +1146:0e2e+ _inpu Module: 16.lib(/dos/z/16/src/lib/16text.c) 0000:e096 textInit_ -1142:0f84 _romFonts +1146:0f84 _romFonts Module: 16.lib(/dos/z/16/src/lib/modex16.c) 0e13:01b8 VGAmodeX_ 0e13:0260+ modexEnter_ 0e13:02fc* modexLeave_ 0e13:0314 modexDefaultPage_ 0e13:036e modexNextPage_ -0e13:03de modexNextPageFlexibleSize_ -0e13:0482 modexShowPage_ -0e13:057e* modexPanPage_ -0e13:05ce* modexSelectPlane_ -0e13:05f2 modexClearRegion_ -0e13:070a* oldDrawBmp_ -0e13:0870* CDrawBmp_ -0e13:09d4* modexDrawBmp_ -0e13:0a3a modexDrawBmpRegion_ -0e13:0ba4* modexDrawPlanarBuf_ -0e13:0bc2* modexDrawSprite_ -0e13:0c28 modexDrawSpriteRegion_ -0e13:0da0 modexCopyPageRegion_ -0e13:0f0a* modexFadeOn_ -0e13:0f3a* modexFadeOff_ -0e13:0f68* modexFlashOn_ -0e13:0f96* modexFlashOff_ -0e13:1066+ modexPalSave_ -0e13:10bc modexNewPal_ -0e13:110c* modexLoadPalFile_ -0e13:11ee* modexSavePalFile_ -0e13:1266* modexPalBlack_ -0e13:1290* modexPalWhite_ -0e13:12ba+ modexPalUpdate_ -0e13:182a+ modexPalUpdate1_ -0e13:18a4* modexPalUpdate0_ -0e13:18f0+ chkcolor_ -0e13:1c08 modexputPixel_ -0e13:1c96* modexgetPixel_ -0e13:1d1c* modexhlin_ -0e13:1d88 modexprint_ -0e13:1f22* modexprintbig_ -0e13:209e cls_ -0e13:210c modexWaitBorder_ -1142:0ac4 _VGA +0e13:042a modexNextPageFlexibleSize_ +0e13:04ce modexShowPage_ +0e13:05ca* modexPanPage_ +0e13:061a* modexSelectPlane_ +0e13:063e modexClearRegion_ +0e13:0756* oldDrawBmp_ +0e13:08bc* CDrawBmp_ +0e13:0a20* modexDrawBmp_ +0e13:0a86 modexDrawBmpRegion_ +0e13:0bf0* modexDrawPlanarBuf_ +0e13:0c0e* modexDrawSprite_ +0e13:0c74 modexDrawSpriteRegion_ +0e13:0dec modexCopyPageRegion_ +0e13:0f56* modexFadeOn_ +0e13:0f86* modexFadeOff_ +0e13:0fb4* modexFlashOn_ +0e13:0fe2* modexFlashOff_ +0e13:10b2+ modexPalSave_ +0e13:1108 modexNewPal_ +0e13:1158* modexLoadPalFile_ +0e13:123a* modexSavePalFile_ +0e13:12b2* modexPalBlack_ +0e13:12dc* modexPalWhite_ +0e13:1306+ modexPalUpdate_ +0e13:1876+ modexPalUpdate1_ +0e13:18f0* modexPalUpdate0_ +0e13:193c+ chkcolor_ +0e13:1c54 modexputPixel_ +0e13:1ce2* modexgetPixel_ +0e13:1d68* modexhlin_ +0e13:1dd4 modexprint_ +0e13:1f6e* modexprintbig_ +0e13:20ea cls_ +0e13:2158 modexWaitBorder_ +1146:0ac4 _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sprintf.c) 0000:5444 sprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sound.c) 0000:5473 sound_ 0000:54ae nosound_ Module: 16.lib(/dos/z/16/src/lib/bakapee.c) -0e13:2148 pdump_ -0e13:21aa+ colortest_ -0e13:21fe+ colorz_ -0e13:2264+ ssd_ -0e13:2382+ dingpp_ -0e13:23f4+ dingo_ -0e13:248a+ dingas_ -0e13:2538+ dingu_ -0e13:259a+ dingq_ -0e13:263a* ding_ +0e13:2188 pdump_ +0e13:21ea+ colortest_ +0e13:223e+ colorz_ +0e13:22a4+ ssd_ +0e13:23c2+ dingpp_ +0e13:2434+ dingo_ +0e13:24ca+ dingas_ +0e13:2578+ dingu_ +0e13:25da+ dingq_ +0e13:267a* ding_ Module: 16.lib(/dos/z/16/src/lib/wcpu/wcpu.c) -0e13:2cd0 detectcpu_ +0e13:2d10 detectcpu_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -1142:0000* __nullarea -1142:0af4* __ovlflag -1142:0af5* __intno -1142:0af6* __ovlvec +1146:0000* __nullarea +1146:0af4* __ovlflag +1146:0af5* __intno +1146:0af6* __ovlvec 0000:54ba _cstart_ 0000:558d* _Not_Enough_Memory_ 0000:56bf __exit_ @@ -241,7 +241,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 0000:5df5 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:616c __get_errno_ptr_ -1142:189c _errno +1146:189c _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(frealloc.c) 0000:6173* _frealloc_ 0000:6173 realloc_ @@ -253,23 +253,23 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:62bf* __exit_with_msg_ 0000:62c4 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -1142:0afa __curbrk -1142:0b02 __STACKLOW -1142:0b04 __STACKTOP -1142:0b06 __cbyte -1142:0b08 __child -1142:0b0a __no87 -1142:0b17 ___FPE_handler -1142:0afc __psp -1142:0b0b __get_ovl_stack -1142:0b0f __restore_ovl_stack -1142:0b13 __close_ovl_file -1142:0b1b __LpCmdLine -1142:0b1f __LpPgmName -1142:0afe __osmajor -1142:0aff __osminor -1142:0b00 __osmode -1142:0b01 __HShift +1146:0afa __curbrk +1146:0b02 __STACKLOW +1146:0b04 __STACKTOP +1146:0b06 __cbyte +1146:0b08 __child +1146:0b0a __no87 +1146:0b17 ___FPE_handler +1146:0afc __psp +1146:0b0b __get_ovl_stack +1146:0b0f __restore_ovl_stack +1146:0b13 __close_ovl_file +1146:0b1b __LpCmdLine +1146:0b1f __LpPgmName +1146:0afe __osmajor +1146:0aff __osminor +1146:0b00 __osmode +1146:0b01 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mem.c) 0000:62f0 __MemAllocator 0000:63ba __MemFree @@ -281,9 +281,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:677c __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:677f _nmalloc_ -1142:0b24 ___nheapbeg -1142:0b26 ___MiniHeapRover -1142:0b28 ___LargestSizeB4MiniHeapRover +1146:0b24 ___nheapbeg +1146:0b26 ___MiniHeapRover +1146:0b28 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:6859* _heapgrow_ 0000:6859* _fheapgrow_ @@ -299,14 +299,14 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:6c84 __doclose_ 0000:6dce __shutdown_stream_ 0000:6de8 fclose_ -1142:189e+ ___RmTmpFileFn +1146:189e+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:6e53+ _null_exit_rtn_ 0000:6e53+ __null_int23_exit_ 0000:6e54 exit_ 0000:6e75+ _exit_ -1142:0b2a+ ___int23_exit -1142:0b2e+ ___FPE_handler_exit +1146:0b2a+ ___int23_exit +1146:0b2e+ ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:6faf fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) @@ -329,15 +329,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4d.asm) 0000:778a __I4D 0000:77d9 __U4D Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(argcv.c) -1142:18a2 __argv -1142:18a6 ___argv -1142:18aa __argc -1142:18ac ___argc +1146:18a2 __argv +1146:18a6 ___argv +1146:18aa __argc +1146:18ac ___argc Module: 16.lib(/dos/z/16/src/lib/16_head.c) -0e13:2d3e* wait_ -0e13:2d8a* filesize_ -0e13:2df0* printmeminfoline_ -0e13:2fdc US_CheckParm_ +0e13:2d7e* wait_ +0e13:2dca* filesize_ +0e13:2e30* printmeminfoline_ +0e13:301c US_CheckParm_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fwrite.c) 0000:785d fwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(rand.c) @@ -355,18 +355,18 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:7eb6 __FiniRtns 0000:7eb6* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -1142:0b48 ___uselfn +1146:0b48 ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:7f1a __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pts.asm) 0000:7f1c __PTS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(istable.c) -1142:0098 __IsTable +1146:0098 __IsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:7f4d* __set_commode_ -1142:0b4a __commode +1146:0b4a __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -1142:0b4c __fmode +1146:0b4c __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:7f59 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -394,12 +394,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fexpand.c) 0000:8c13* _expand_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:8c48 __EnterWVIDEO_ -1142:0b4e+ ___WD_Present +1146:0b4e+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:8c6c* _heapenable_ -1142:0b50 ___heap_enabled +1146:0b50 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -1142:0b52 __amblksiz +1146:0b52 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:8c7d __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -407,7 +407,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) 0000:8d7f __ExpandDGROUP_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:8e90 _nfree_ -1142:18ae+ ___MiniHeapFreeRover +1146:18ae+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 0000:8f8b fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) @@ -448,28 +448,28 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ltoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:ad31 __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -1142:18b8 ____Argv -1142:18bc ____Argc +1146:18b8 ____Argv +1146:18bc ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -1142:0bac __Start_XI -1142:0bd0 __End_XI -1142:0bd0 __Start_YI -1142:0be2 __End_YI +1146:0bac __Start_XI +1146:0bd0 __End_XI +1146:0bd0 __Start_YI +1146:0be2 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c) 0000:ad92 _dos_open_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:adb8 __GetIOMode_ 0000:aded __SetIOMode_nogrow_ -1142:0b5c ___NFiles -1142:0b5e ___init_mode -1142:0b86 ___io_mode +1146:0b5c ___NFiles +1146:0b5e ___init_mode +1146:0b86 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:ae22 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:ae3e* __get_doserrno_ptr_ -1142:18be __doserrno +1146:18be __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -1142:0b8a ___umaskval +1146:0b8a ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:ae45 _dos_creat_ 0000:ae69* _dos_creatnew_ @@ -497,13 +497,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:b304 strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -1142:0ba0 ___EFG_printf -1142:0ba4* ___EFG_scanf +1146:0ba0 ___EFG_printf +1146:0ba4* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -1142:0ba8 ___IsDBCS +1146:0ba8 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:b34c* _ismbblead_ -1142:18c2 ___MBCSIsTable +1146:18c2 ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:b368 ulltoa_ 0000:b4a5* lltoa_ @@ -512,11 +512,11 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) 0000:b51c _DoINTR_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(histsplt.c) -1142:19c4 ___historical_splitparms +1146:19c4 ___historical_splitparms Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fflush.c) 0000:b895 fflush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -1142:0072 ___Alphabet +1146:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(error086.asm) 0000:b8aa __doserror_ 0000:b8b8* __doserror1_ @@ -525,7 +525,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomodtty.c) 0000:b932* __IOMode_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:b980 __mbinit_ -1142:0baa+ ___MBCodePage +1146:0baa+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) 0000:ba5b* _dos_close_ 0000:ba69 _dos_commit_ @@ -544,6 +544,6 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) +-----------------------+ Stack size: dac0 (56000.) -Memory size: 000208b0 (133296.) +Memory size: 000208f0 (133360.) Entry point address: 0000:54ba Link time: 00:00.00 diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 72636196..45ad93c9 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -151,13 +151,13 @@ page_t modexNextPage(page_t *p) { page_t result; - /*result.data = p->data + (p->width/4)*p->height; + result.data = p->data + (p->width/4)*p->height; result.dx = 0; result.dy = 0; result.width = p->width; result.height = p->height; - result.id = p->id+1;*/ - result = modexNextPageFlexibleSize(&p, p->width, p->height); + result.id = p->id+1; + //result = modexNextPageFlexibleSize(&p, p->width, p->height); return result; } diff --git a/test.exe b/test.exe index e374abf4..e7cf0255 100755 Binary files a/test.exe and b/test.exe differ diff --git a/test.map b/test.map index 651404c6..46dd9402 100755 --- a/test.map +++ b/test.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:20 +Created on: 15/09/29 14:56:21 Executable Image: test.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 07e2:0000 0000e800 +DGROUP 07e6:0000 0000e800 @@ -26,24 +26,24 @@ Segment Class Group Address Size test_TEXT CODE AUTO 0000:0000 0000018c _TEXT CODE AUTO 0000:0190 00005a3d -modex16_TEXT CODE AUTO 0000:5bd0 00002134 -16text_TEXT CODE AUTO 0000:7d10 0000010d -FAR_DATA FAR_DATA AUTO 07e1:000d 00000000 -_NULL BEGDATA DGROUP 07e2:0000 00000020 -_AFTERNULL BEGDATA DGROUP 07e4:0000 00000002 -CONST DATA DGROUP 07e4:0002 00000076 -CONST2 DATA DGROUP 07eb:0008 00000000 -_DATA DATA DGROUP 07ec:0000 00000248 -XIB DATA DGROUP 0810:0008 00000000 -XI DATA DGROUP 0810:0008 00000018 -XIE DATA DGROUP 0812:0000 00000000 -YIB DATA DGROUP 0812:0000 00000000 -YI DATA DGROUP 0812:0000 0000000c -YIE DATA DGROUP 0812:000c 00000000 -STRINGS DATA DGROUP 0812:000c 00000000 -DATA DATA DGROUP 0812:000c 00000000 -_BSS BSS DGROUP 0812:000c 00000a33 -STACK STACK DGROUP 08b6:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:5bd0 00002180 +16text_TEXT CODE AUTO 0000:7d50 0000010d +FAR_DATA FAR_DATA AUTO 07e5:000d 00000000 +_NULL BEGDATA DGROUP 07e6:0000 00000020 +_AFTERNULL BEGDATA DGROUP 07e8:0000 00000002 +CONST DATA DGROUP 07e8:0002 00000076 +CONST2 DATA DGROUP 07ef:0008 00000000 +_DATA DATA DGROUP 07f0:0000 00000248 +XIB DATA DGROUP 0814:0008 00000000 +XI DATA DGROUP 0814:0008 00000018 +XIE DATA DGROUP 0816:0000 00000000 +YIB DATA DGROUP 0816:0000 00000000 +YI DATA DGROUP 0816:0000 0000000c +YIE DATA DGROUP 0816:000c 00000000 +STRINGS DATA DGROUP 0816:000c 00000000 +DATA DATA DGROUP 0816:000c 00000000 +_BSS BSS DGROUP 0816:000c 00000a33 +STACK STACK DGROUP 08ba:0000 0000dac0 +----------------+ @@ -58,7 +58,7 @@ Address Symbol Module: test.o(/dos/z/16/src/test.c) 0000:0012 main_ -07e2:00a4* _clockw +07e6:00a4* _clockw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:0195 __STK 0000:01b5* __STKOVERFLOW_ @@ -68,46 +68,46 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0000:5ecc modexLeave_ 0000:5ee4 modexDefaultPage_ 0000:5f3e modexNextPage_ -0000:5fae+ modexNextPageFlexibleSize_ -0000:6052 modexShowPage_ -0000:614e* modexPanPage_ -0000:619e* modexSelectPlane_ -0000:61c2 modexClearRegion_ -0000:62da* oldDrawBmp_ -0000:6440* CDrawBmp_ -0000:65a4* modexDrawBmp_ -0000:660a+ modexDrawBmpRegion_ -0000:6774* modexDrawPlanarBuf_ -0000:6792* modexDrawSprite_ -0000:67f8+ modexDrawSpriteRegion_ -0000:6970* modexCopyPageRegion_ -0000:6ada modexFadeOn_ -0000:6b0a modexFadeOff_ -0000:6b38* modexFlashOn_ -0000:6b66* modexFlashOff_ -0000:6c36 modexPalSave_ -0000:6c8c modexNewPal_ -0000:6cdc modexLoadPalFile_ -0000:6dbe* modexSavePalFile_ -0000:6e36 modexPalBlack_ -0000:6e60* modexPalWhite_ -0000:6e8a+ modexPalUpdate_ -0000:73fa+ modexPalUpdate1_ -0000:7474* modexPalUpdate0_ -0000:74c0+ chkcolor_ -0000:77d8+ modexputPixel_ -0000:7866* modexgetPixel_ -0000:78ec* modexhlin_ -0000:7958* modexprint_ -0000:7af2* modexprintbig_ -0000:7c6e* cls_ -0000:7cdc+ modexWaitBorder_ -07e2:00b4+ _VGA +0000:5ffa* modexNextPageFlexibleSize_ +0000:609e modexShowPage_ +0000:619a* modexPanPage_ +0000:61ea* modexSelectPlane_ +0000:620e modexClearRegion_ +0000:6326* oldDrawBmp_ +0000:648c* CDrawBmp_ +0000:65f0* modexDrawBmp_ +0000:6656+ modexDrawBmpRegion_ +0000:67c0* modexDrawPlanarBuf_ +0000:67de* modexDrawSprite_ +0000:6844+ modexDrawSpriteRegion_ +0000:69bc* modexCopyPageRegion_ +0000:6b26 modexFadeOn_ +0000:6b56 modexFadeOff_ +0000:6b84* modexFlashOn_ +0000:6bb2* modexFlashOff_ +0000:6c82 modexPalSave_ +0000:6cd8 modexNewPal_ +0000:6d28 modexLoadPalFile_ +0000:6e0a* modexSavePalFile_ +0000:6e82 modexPalBlack_ +0000:6eac* modexPalWhite_ +0000:6ed6+ modexPalUpdate_ +0000:7446+ modexPalUpdate1_ +0000:74c0* modexPalUpdate0_ +0000:750c+ chkcolor_ +0000:7824+ modexputPixel_ +0000:78b2* modexgetPixel_ +0000:7938* modexhlin_ +0000:79a4* modexprint_ +0000:7b3e* modexprintbig_ +0000:7cba* cls_ +0000:7d28+ modexWaitBorder_ +07e6:00b4+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -07e2:0000* __nullarea -07e2:00dc* __ovlflag -07e2:00dd* __intno -07e2:00de* __ovlvec +07e6:0000* __nullarea +07e6:00dc* __ovlflag +07e6:00dd* __intno +07e6:00de* __ovlvec 0000:01d2 _cstart_ 0000:02a5* _Not_Enough_Memory_ 0000:03d7 __exit_ @@ -120,23 +120,23 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:045e* __exit_with_msg_ 0000:0463 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -07e2:00e2 __curbrk -07e2:00ea __STACKLOW -07e2:00ec __STACKTOP -07e2:00ee __cbyte -07e2:00f0 __child -07e2:00f2 __no87 -07e2:00ff ___FPE_handler -07e2:00e4 __psp -07e2:00f3 __get_ovl_stack -07e2:00f7 __restore_ovl_stack -07e2:00fb __close_ovl_file -07e2:0103 __LpCmdLine -07e2:0107 __LpPgmName -07e2:00e6 __osmajor -07e2:00e7 __osminor -07e2:00e8 __osmode -07e2:00e9 __HShift +07e6:00e2 __curbrk +07e6:00ea __STACKLOW +07e6:00ec __STACKTOP +07e6:00ee __cbyte +07e6:00f0 __child +07e6:00f2 __no87 +07e6:00ff ___FPE_handler +07e6:00e4 __psp +07e6:00f3 __get_ovl_stack +07e6:00f7 __restore_ovl_stack +07e6:00fb __close_ovl_file +07e6:0103 __LpCmdLine +07e6:0107 __LpPgmName +07e6:00e6 __osmajor +07e6:00e7 __osminor +07e6:00e8 __osmode +07e6:00e9 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intx086.c) 0000:0482+ int86x_ 0000:0605 int86_ @@ -146,9 +146,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:0650 _fmalloc_ 0000:0650 malloc_ -07e2:010c+ ___fheap -07e2:010e ___fheapRover -07e2:0110 ___LargestSizeB4Rover +07e6:010c+ ___fheap +07e6:010e ___fheapRover +07e6:0110 ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:07c5 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) @@ -156,8 +156,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:07f4+ __null_int23_exit_ 0000:07f5 exit_ 0000:0816+ _exit_ -07e2:0112+ ___int23_exit -07e2:0116+ ___FPE_handler_exit +07e6:0112+ ___int23_exit +07e6:0116+ ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) 0000:0832+ __open_flags_ 0000:0af3+ _fsopen_ @@ -170,7 +170,7 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:109d __doclose_ 0000:11e7 __shutdown_stream_ 0000:1201 fclose_ -07e2:0c0c+ ___RmTmpFileFn +07e6:0c0c+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) 0000:126c _ffree_ 0000:126c free_ @@ -183,8 +183,8 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:16b8 __I4M 0000:16b8 __U4M Module: gfx.lib(/dos/z/16/src/lib/16text.c) -0000:7d86* textInit_ -07e2:0c10 _romFonts +0000:7dc6* textInit_ +07e6:0c10 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c) 0000:16d0 __CMain Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) @@ -193,12 +193,12 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:1791 __FiniRtns 0000:1791* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -07e2:011e ___uselfn +07e6:011e ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:17f6 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:17f7 __EnterWVIDEO_ -07e2:0120+ ___WD_Present +07e6:0120+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(intr.c) 0000:181b intr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(segread.c) @@ -214,27 +214,27 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:1d2c __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:1d2f _nmalloc_ -07e2:0122 ___nheapbeg -07e2:0124 ___MiniHeapRover -07e2:0126 ___LargestSizeB4MiniHeapRover +07e6:0122 ___nheapbeg +07e6:0124 ___MiniHeapRover +07e6:0126 ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:1e09* _heapgrow_ 0000:1e09* _fheapgrow_ 0000:1e0a _nheapgrow_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -07e2:0128 ___iob -07e2:0c28 ___ClosedStreams -07e2:0c2c ___OpenStreams +07e6:0128 ___iob +07e6:0c28 ___ClosedStreams +07e6:0c2c ___OpenStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprtf.c) 0000:1e9c __fprtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:1fef* __set_commode_ -07e2:0290 __commode +07e6:0290 __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:1ffb* __get_errno_ptr_ -07e2:0c30 _errno +07e6:0c30 _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -07e2:0292 __fmode +07e6:0292 __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:2002 tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -268,26 +268,26 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(flush.c) 0000:2ba1 __flush_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:2dea _nfree_ -07e2:0c32+ ___MiniHeapFreeRover +07e6:0c32+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:2ee5 __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 0000:2f45 fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -07e2:0c34 ____Argv -07e2:0c38 ____Argc +07e6:0c34 ____Argv +07e6:0c38 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -07e2:0294 __amblksiz +07e6:0294 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -07e2:02e8 __Start_XI -07e2:0300 __End_XI -07e2:0300 __Start_YI -07e2:030c __End_YI +07e6:02e8 __Start_XI +07e6:0300 __End_XI +07e6:0300 __Start_YI +07e6:030c __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dointr) 0000:311a _DoINTR_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:3493* _heapenable_ -07e2:0296 ___heap_enabled +07e6:0296 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:34a4 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -305,16 +305,16 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(opendos.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:4a84 __GetIOMode_ 0000:4ab9 __SetIOMode_nogrow_ -07e2:0298 ___NFiles -07e2:029a ___init_mode -07e2:02c2 ___io_mode +07e6:0298 ___NFiles +07e6:029a ___init_mode +07e6:02c2 ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:4aee isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:4b0a* __get_doserrno_ptr_ -07e2:0c3a __doserrno +07e6:0c3a __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -07e2:02c6 ___umaskval +07e6:02c6 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:4b11 _dos_creat_ 0000:4b35* _dos_creatnew_ @@ -346,13 +346,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:4fca strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -07e2:02dc ___EFG_printf -07e2:02e0* ___EFG_scanf +07e6:02dc ___EFG_printf +07e6:02e0* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -07e2:02e4 ___IsDBCS +07e6:02e4 ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:5012* _ismbblead_ -07e2:0c3e ___MBCSIsTable +07e6:0c3e ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:502e ulltoa_ 0000:516b* lltoa_ @@ -372,10 +372,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(filedos.c) 0000:545c* _dos_close_ 0000:546a _dos_commit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -07e2:0072 ___Alphabet +07e6:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:54b7 __mbinit_ -07e2:02e6+ ___MBCodePage +07e6:02e6+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:5592* _msize_ 0000:55ad _fmsize_ @@ -404,6 +404,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00016620 (91680.) +Memory size: 00016660 (91744.) Entry point address: 0000:01d2 Link time: 00:00.00 diff --git a/test2.exe b/test2.exe index f916aa95..dabc27c0 100755 Binary files a/test2.exe and b/test2.exe differ diff --git a/test2.map b/test2.map index 9fffa1aa..ce21a569 100755 --- a/test2.map +++ b/test2.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 09:27:06 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/29 14:55:20 +Created on: 15/09/29 14:56:21 Executable Image: test2.exe creating a DOS executable @@ -13,7 +13,7 @@ creating a DOS executable Group Address Size ===== ======= ==== -DGROUP 089d:0000 0000e8a0 +DGROUP 08a1:0000 0000e8a0 @@ -28,24 +28,24 @@ test2_TEXT CODE AUTO 0000:0000 00000142 _TEXT CODE AUTO 0000:0150 00005dde bitmap_TEXT CODE AUTO 0000:5f30 000005c9 planar_TEXT CODE AUTO 0000:6500 00000275 -modex16_TEXT CODE AUTO 0000:6780 00002134 -16text_TEXT CODE AUTO 0000:88c0 0000010d -FAR_DATA FAR_DATA AUTO 089c:000d 00000000 -_NULL BEGDATA DGROUP 089d:0000 00000020 -_AFTERNULL BEGDATA DGROUP 089f:0000 00000002 -CONST DATA DGROUP 089f:0002 00000076 -CONST2 DATA DGROUP 08a6:0008 00000000 -_DATA DATA DGROUP 08a7:0000 00000260 -XIB DATA DGROUP 08cd:0000 00000000 -XI DATA DGROUP 08cd:0000 00000018 -XIE DATA DGROUP 08ce:0008 00000000 -YIB DATA DGROUP 08ce:0008 00000000 -YI DATA DGROUP 08ce:0008 0000000c -YIE DATA DGROUP 08cf:0004 00000000 -STRINGS DATA DGROUP 08cf:0004 00000000 -DATA DATA DGROUP 08cf:0004 00000000 -_BSS BSS DGROUP 08cf:0004 00000ab3 -STACK STACK DGROUP 097b:0000 0000dac0 +modex16_TEXT CODE AUTO 0000:6780 00002180 +16text_TEXT CODE AUTO 0000:8900 0000010d +FAR_DATA FAR_DATA AUTO 08a0:000d 00000000 +_NULL BEGDATA DGROUP 08a1:0000 00000020 +_AFTERNULL BEGDATA DGROUP 08a3:0000 00000002 +CONST DATA DGROUP 08a3:0002 00000076 +CONST2 DATA DGROUP 08aa:0008 00000000 +_DATA DATA DGROUP 08ab:0000 00000260 +XIB DATA DGROUP 08d1:0000 00000000 +XI DATA DGROUP 08d1:0000 00000018 +XIE DATA DGROUP 08d2:0008 00000000 +YIB DATA DGROUP 08d2:0008 00000000 +YI DATA DGROUP 08d2:0008 0000000c +YIE DATA DGROUP 08d3:0004 00000000 +STRINGS DATA DGROUP 08d3:0004 00000000 +DATA DATA DGROUP 08d3:0004 00000000 +_BSS BSS DGROUP 08d3:0004 00000ab3 +STACK STACK DGROUP 097f:0000 0000dac0 +----------------+ @@ -60,7 +60,7 @@ Address Symbol Module: test2.o(/dos/z/16/src/test2.c) 0000:0024 main_ -089d:00a4* _clockw +08a1:00a4* _clockw Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:0155 __STK 0000:0175* __STKOVERFLOW_ @@ -77,10 +77,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(printf.c) 0000:01b0 printf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -089d:0000* __nullarea -089d:00c4* __ovlflag -089d:00c5* __intno -089d:00c6* __ovlvec +08a1:0000* __nullarea +08a1:00c4* __ovlflag +08a1:00c5* __intno +08a1:00c6* __ovlvec 0000:01e0 _cstart_ 0000:02b3* _Not_Enough_Memory_ 0000:03e5 __exit_ @@ -93,37 +93,37 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:046c* __exit_with_msg_ 0000:0471 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -089d:00ca __curbrk -089d:00d2 __STACKLOW -089d:00d4 __STACKTOP -089d:00d6 __cbyte -089d:00d8 __child -089d:00da __no87 -089d:00e7 ___FPE_handler -089d:00cc __psp -089d:00db __get_ovl_stack -089d:00df __restore_ovl_stack -089d:00e3 __close_ovl_file -089d:00eb __LpCmdLine -089d:00ef __LpPgmName -089d:00ce __osmajor -089d:00cf __osminor -089d:00d0 __osmode -089d:00d1 __HShift +08a1:00ca __curbrk +08a1:00d2 __STACKLOW +08a1:00d4 __STACKTOP +08a1:00d6 __cbyte +08a1:00d8 __child +08a1:00da __no87 +08a1:00e7 ___FPE_handler +08a1:00cc __psp +08a1:00db __get_ovl_stack +08a1:00df __restore_ovl_stack +08a1:00e3 __close_ovl_file +08a1:00eb __LpCmdLine +08a1:00ef __LpPgmName +08a1:00ce __osmajor +08a1:00cf __osminor +08a1:00d0 __osmode +08a1:00d1 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fread.c) 0000:0490 fread_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fclose.c) 0000:0807 __doclose_ 0000:0951 __shutdown_stream_ 0000:096b fclose_ -089d:03a4+ ___RmTmpFileFn +08a1:03a4+ ___RmTmpFileFn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:09d6+ _null_exit_rtn_ 0000:09d6+ __null_int23_exit_ 0000:09d7 exit_ 0000:09f8+ _exit_ -089d:00f4+ ___int23_exit -089d:00f8+ ___FPE_handler_exit +08a1:00f4+ ___int23_exit +08a1:00f8+ ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fseek.c) 0000:0b32 fseek_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fgetc.c) @@ -135,41 +135,41 @@ Module: gfx.lib(/dos/z/16/src/lib/modex16.c) 0000:6a7c* modexLeave_ 0000:6a94* modexDefaultPage_ 0000:6aee* modexNextPage_ -0000:6b5e+ modexNextPageFlexibleSize_ -0000:6c02* modexShowPage_ -0000:6cfe* modexPanPage_ -0000:6d4e* modexSelectPlane_ -0000:6d72+ modexClearRegion_ -0000:6e8a* oldDrawBmp_ -0000:6ff0* CDrawBmp_ -0000:7154* modexDrawBmp_ -0000:71ba+ modexDrawBmpRegion_ -0000:7324* modexDrawPlanarBuf_ -0000:7342* modexDrawSprite_ -0000:73a8+ modexDrawSpriteRegion_ -0000:7520* modexCopyPageRegion_ -0000:768a* modexFadeOn_ -0000:76ba* modexFadeOff_ -0000:76e8* modexFlashOn_ -0000:7716* modexFlashOff_ -0000:77e6+ modexPalSave_ -0000:783c modexNewPal_ -0000:788c* modexLoadPalFile_ -0000:796e* modexSavePalFile_ -0000:79e6* modexPalBlack_ -0000:7a10* modexPalWhite_ -0000:7a3a+ modexPalUpdate_ -0000:7faa+ modexPalUpdate1_ -0000:8024* modexPalUpdate0_ -0000:8070+ chkcolor_ -0000:8388+ modexputPixel_ -0000:8416* modexgetPixel_ -0000:849c* modexhlin_ -0000:8508* modexprint_ -0000:86a2* modexprintbig_ -0000:881e* cls_ -0000:888c+ modexWaitBorder_ -089d:0104+ _VGA +0000:6baa* modexNextPageFlexibleSize_ +0000:6c4e* modexShowPage_ +0000:6d4a* modexPanPage_ +0000:6d9a* modexSelectPlane_ +0000:6dbe+ modexClearRegion_ +0000:6ed6* oldDrawBmp_ +0000:703c* CDrawBmp_ +0000:71a0* modexDrawBmp_ +0000:7206+ modexDrawBmpRegion_ +0000:7370* modexDrawPlanarBuf_ +0000:738e* modexDrawSprite_ +0000:73f4+ modexDrawSpriteRegion_ +0000:756c* modexCopyPageRegion_ +0000:76d6* modexFadeOn_ +0000:7706* modexFadeOff_ +0000:7734* modexFlashOn_ +0000:7762* modexFlashOff_ +0000:7832+ modexPalSave_ +0000:7888 modexNewPal_ +0000:78d8* modexLoadPalFile_ +0000:79ba* modexSavePalFile_ +0000:7a32* modexPalBlack_ +0000:7a5c* modexPalWhite_ +0000:7a86+ modexPalUpdate_ +0000:7ff6+ modexPalUpdate1_ +0000:8070* modexPalUpdate0_ +0000:80bc+ chkcolor_ +0000:83d4+ modexputPixel_ +0000:8462* modexgetPixel_ +0000:84e8* modexhlin_ +0000:8554* modexprint_ +0000:86ee* modexprintbig_ +0000:886a* cls_ +0000:88d8+ modexWaitBorder_ +08a1:0104+ _VGA Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) 0000:10c0+ __open_flags_ 0000:1381+ _fsopen_ @@ -178,13 +178,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fopen.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmalloc.c) 0000:1595 _fmalloc_ 0000:1595 malloc_ -089d:012c+ ___fheap -089d:012e ___fheapRover -089d:0130 ___LargestSizeB4Rover +08a1:012c+ ___fheap +08a1:012e ___fheapRover +08a1:0130 ___LargestSizeB4Rover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iob.c) -089d:0132 ___iob -089d:0ca8 ___ClosedStreams -089d:0cac ___OpenStreams +08a1:0132 ___iob +08a1:0ca8 ___ClosedStreams +08a1:0cac ___OpenStreams Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fprintf.c) 0000:170a fprintf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ffree.c) @@ -200,15 +200,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:19d4 __FiniRtns 0000:19d4* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -089d:029a ___uselfn +08a1:029a ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:1a38 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:1a39 __EnterWVIDEO_ -089d:029c+ ___WD_Present +08a1:029c+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(errno.c) 0000:1a5d* __get_errno_ptr_ -089d:0cb0 _errno +08a1:0cb0 _errno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioalloc.c) 0000:1a64 __ioalloc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qread.c) @@ -247,13 +247,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm) 0000:2698 __I4M 0000:2698 __U4M Module: gfx.lib(/dos/z/16/src/lib/16text.c) -0000:8936* textInit_ -089d:0cb2 _romFonts +0000:8976* textInit_ +08a1:0cb2 _romFonts Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(comtflag.c) 0000:26b0* __set_commode_ -089d:02a2 __commode +08a1:02a2 __commode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(textmode.c) -089d:02a4 __fmode +08a1:02a4 __fmode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(tolower.c) 0000:26bc tolower_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(open.c) @@ -274,9 +274,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmemneed.c) 0000:2fec __fmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmalloc.c) 0000:2fef _nmalloc_ -089d:02a6 ___nheapbeg -089d:02a8 ___MiniHeapRover -089d:02aa ___LargestSizeB4MiniHeapRover +08a1:02a6 ___nheapbeg +08a1:02a8 ___MiniHeapRover +08a1:02aa ___LargestSizeB4MiniHeapRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapgrow.c) 0000:30c9* _heapgrow_ 0000:30c9* _fheapgrow_ @@ -288,21 +288,21 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(ioexit.c) 0000:337d __full_io_exit_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nfree.c) 0000:3387 _nfree_ -089d:0cca+ ___MiniHeapFreeRover +08a1:0cca+ ___MiniHeapFreeRover Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fputc.c) 0000:3482 fputc_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(prtf.c) 0000:3657 __prtf_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -089d:0ccc ____Argv -089d:0cd0 ____Argc +08a1:0ccc ____Argv +08a1:0cd0 ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -089d:02ac __amblksiz +08a1:02ac __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -089d:0300 __Start_XI -089d:0318 __End_XI -089d:0318 __Start_YI -089d:0324 __End_YI +08a1:0300 __Start_XI +08a1:0318 __End_XI +08a1:0318 __Start_YI +08a1:0324 __End_YI Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) 0000:47ba* __dosretax 0000:47bf* __dosret0 @@ -311,9 +311,9 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosret.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(iomode.c) 0000:4839 __GetIOMode_ 0000:486e __SetIOMode_nogrow_ -089d:02c2 ___NFiles -089d:02c4 ___init_mode -089d:02ec ___io_mode +08a1:02c2 ___NFiles +08a1:02c4 ___init_mode +08a1:02ec ___io_mode Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(qwrit.c) 0000:48a3 __qwrite_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fsync.c) @@ -332,15 +332,15 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(isatt.c) 0000:4b77 isatty_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(doserrno.c) 0000:4b93* __get_doserrno_ptr_ -089d:0cd4 __doserrno +08a1:0cd4 __doserrno Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(umaskval.c) -089d:02f0 ___umaskval +08a1:02f0 ___umaskval Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(creatdos.c) 0000:4b9a _dos_creat_ 0000:4bbe* _dos_creatnew_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(heapen.c) 0000:4bdf* _heapenable_ -089d:02f2 ___heap_enabled +08a1:02f2 ___heap_enabled Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(nmemneed.c) 0000:4bf0 __nmemneed_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(grownear.c) @@ -354,13 +354,13 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(itoa.c) Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(strupr.c) 0000:4f39 strupr_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(noefgfmt.c) -089d:02f4 ___EFG_printf -089d:02f8* ___EFG_scanf +08a1:02f4 ___EFG_printf +08a1:02f8* ___EFG_scanf Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbisdbcs.c) -089d:02fc ___IsDBCS +08a1:02fc ___IsDBCS Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbislead.c) 0000:4f81* _ismbblead_ -089d:0cd6 ___MBCSIsTable +08a1:0cd6 ___MBCSIsTable Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(lltoa.c) 0000:4f9d ulltoa_ 0000:50da* lltoa_ @@ -385,10 +385,10 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sbrk.c) 0000:5762* sbrk_ 0000:5772 __brk_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(alphabet.c) -089d:0072 ___Alphabet +08a1:0072 ___Alphabet Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(mbinit.c) 0000:5818 __mbinit_ -089d:02fe+ ___MBCodePage +08a1:02fe+ ___MBCodePage Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(fmsize.c) 0000:58f3* _msize_ 0000:590e _fmsize_ @@ -417,6 +417,6 @@ gfx.lib +-----------------------+ Stack size: dac0 (56000.) -Memory size: 00017270 (94832.) +Memory size: 000172b0 (94896.) Entry point address: 0000:01e0 Link time: 00:00.00