Hi, there is an old survey program that called "SDR mapping & design" aka "SDRMAP" v6.5 that i try to work with it in windows 7.
some people struggled with this program in this old topic SDRmap v6.5 on Dosbox.
the program run successfully but it get this run time error in some function that i try to understand why and how resolve that.
---------------------------------------------------------
Invalid file handle
Runtime error 6 at 003C:370E in module DQMLIB
---------------------------------------------------------
for example if i open a job (project) in program it is ok but if i try to rebuild project or try open another project or a new project after first one without close the program i get this error.
i am in doubt that this cause by program try reloading this module in every open project function and it is already opened some how.
i try debugger enabled and see this message " FILES:file open command 0 file DQMLIB.map" some where in debugger.
any help would be very grateful.
As far as now i try these on several version with no success:
change output mode and resolution
change machine and mem size
change cputype and cycles
set unneeded hardware to none
change xms-ems-umb
try to mount from image
So does the debug message refer to DQMLIB.map, or DQMLIB.dll? Because if there's no file named DQMLIB.map, that suggests you need to find it.
in addition it seem this program developed under borland C++. it use rtm.exe and dpmi16bi.ovl
I tried Googling dpmi16bi.ovl and it seems there is something called dpmiinst.exe which can be used to customize it for a given environment. Perhaps that is what you need.
You can try experimenting with different DPMI servers like CWSDPMI or HDPMI, but it might be a waste of time if the problem is a missing file. If this program was actually meant to be run from a command prompt in Windows 9x, this might fix the problem, though,
the file name in program folder is "DQMLIB.dll" and i am sure there is no missing file because this program run fine under windows 9x and xp.
DOSBox Debugger has this message :
FILES: Special file open command C0 file C:\MAPSYS\DQMLIB.DLL
also in the moment of program crash it has this line:
FILES: file open command 0 file DQMLIB.map
the program has a memory dump at crash feature may be it is related to it.
After run "CWSDPMI.EXE -x" run the program generate this error:
16-bit DPMI unsupported.
Loader error (0001):out of memory
I also try HX 16-bit that give me this error
DPMI loader version 3.7.0
Copyright (C) 1993-2009 Japheth
DPMILD16: Module=RTM.DLL
DPMILD16: File not found error
DPMILD16: Error while loading module c:\mapsys\DVMLIB.DLL
DPMILD16: Error while loading module c:\mapsys\dvm.exe
Unfortunately I can confirm the error, however collector warned you about the consequences of running non-gaming related applications inside DOSBox. Remember that DOSBox is not a Virtual Machine so it doesn't emulate everything, only the necessary stuff to run games. Many companies try to be cheap by not buying new software instead of relying on DOSBox when there are clearly better alternatives than that. Hope this is not the case because we can't help then.
I just grabbed the software just to check what's wrong with it. At first I thought your files were corrupted, but it turned out I was wrong. SDRMAP came with a Windows Installer namely InstallShield 3.0 so I had to use Microsoft Virtual PC 2007 SP1 to install it. Three directories will be created: MAPDATA, MAPRDLIB and MAPSYS. Also a shortcut will be created on the desktop pointing to START.BAT in MAPSYS. So then I made a folder on my C:\ drive called test and copied over the folders from the Windows 95 Virtual Machine I created and ran it inside DOSBox. It works just fine and I could open a project just like you said. So I did, and then I opened another one and BOOM! The program crashed! Got a green text saying:
1Please contact your technical advisor,stating the following information. 2Invalid file handle 3Runtime error 6 at 003C:370E in module DQMLIB 4Press CR to print error, ESC to exit.
DOSBox debugger time... Pretty sure it's obvious why it doesn't work. Stuff needs to be implemented first in DOSBox which probably won't happen.
1MIDI:Opened device:win32 2 0: SBLASTER:DSP:Reset 3 0: IO:Read from port 0278 4 0: IO:Read from port 0279 5 0: IO:Read from port 03BC 6 0: IO:Read from port 03BE 7 0: INT10:Set Video Mode 3 8 0: VGA:Blinking 8 9 0: FILES:file open command 2 file CON 10 0: FILES:file open command 2 file CON 11 0: FILES:file open command 2 file CON 12 0: FILES:file open command 2 file CON 13 0: EXEC:Parsing command line: AUTOEXEC.BAT 14 0: FILES:Special file open command 80 file Z:\AUTOEXEC.BAT 15 0: FILES:Special file open command 80 file Z:\AUTOEXEC.BAT 16 0: EXEC:Parsing command line: SET BLASTER=A220 I7 D1 H5 T6 17 0: FILES:Special file open command 80 file Z:\AUTOEXEC.BAT 18 15000: VGA:h total 100 end 80 blank (80/98) retrace (85/97) 19 15000: VGA:v total 449 end 400 blank (407/442) retrace (412/414) 20 15000: VGA:h total 0.03178 (31.47kHz) blank(0.02542/0.03114) retrace(0.02701/0.03082) 21 15000: VGA:v total 14.26806 (70.09Hz) blank(12.93341/14.04562) retrace(13.09230/13.15585) 22 15000: VGA:Width 640, Height 400, fps 70.086592 23 15000: VGA:normal width, normal height aspect 1.000000 24 13344908: EXEC:Parsing command line: mount c c:\test 25 13344911: EXEC:Execute mount.COM 0 26 13344911: FILES:file open command 0 file mount.COM 27 13344920: DOSMISC:DIRCACHE: Set volume label to 28 13344920: DOSMISC:DIRCACHE: Set volume label to C_DRIVE 29 33017354: EXEC:Parsing command line: c:\ 30 46456825: EXEC:Parsing command line: cd MAPSYS 31 55427775: EXEC:Parsing command line: start 32 55427775: FILES:Special file open command 80 file C:\MAPSYS\START.BAT 33 55427775: FILES:Special file open command 80 file C:\MAPSYS\START.BAT 34 55427775: EXEC:Parsing command line: @echo off 35 55427775: FILES:Special file open command 80 file C:\MAPSYS\START.BAT 36 55427775: EXEC:Parsing command line: sdrmap.bat /win 37 55427775: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT 38 55427775: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT 39 55427775: EXEC:Parsing command line: C: 40 55427775: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT 41 55427775: EXEC:Parsing command line: cd \MAPSYS 42 55427775: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT 43 55427775: EXEC:Parsing command line: mem /c > memdump.txt 44SHELL:Redirect output to memdump.txt 45 55427775: FILES:file open command 2 file memdump.txt 46 55427775: FILES:file create attributes 20 file memdump.txt 47 55427778: EXEC:Execute Z:\mem.COM 0 48 55427778: FILES:file open command 0 file Z:\mem.COM 49 55427799: FILES:file open command 0 file EMMXXXX0 50 55427809: FILES:file open command 2 file con 51 55427809: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT 52 55427809: EXEC:Parsing command line: DVM.EXE /win /NORESET 53 55427812: EXEC:Execute DVM.EXE 0 54 55427812: FILES:file open command 0 file DVM.EXE 55 55427875: DOSMISC:DOS:Multiplex Unhandled call 1687 56 55428483: FILES:file open command 0 file C:\MAPSYS\dpmi16bi.ovl 57 55428667: DOSMISC:DOS:Multiplex Unhandled call FB42 58 55428941: FILES:file open command 0 file C:\MAPSYS\rtm.exe 59 55429139: FILES:file open command 0 file C:\MAPSYS\dpmi16bi.ovl 60 55429225: EXEC:Execute C:\MAPSYS\dpmi16bi.ovl 3
…Show last 271 lines
61 55429225: FILES:file open command 0 file C:\MAPSYS\dpmi16bi.ovl 62 55530487: BIOS:INT15:Function 0x88 Remaining 0000 kb 63DOSBox switched to max cycles, because of the setting: cycles=auto. If the game runs too fast try a fixed cycles amount in DOSBox's options. 64 55531936: EXEC:Execute C:\MAPSYS\rtm.exe 0 65 55531936: FILES:file open command 0 file C:\MAPSYS\rtm.exe 66 55532787: DOSMISC:Get SDA, Let's hope for the best! 67 55533449: FILES:Special file open command C0 file C:\MAPSYS\DVM.EXE 68 55534293: FILES:Special file open command C0 file C:\MAPSYS\DVMLIB.DLL 69 55539836: DOSMISC:DOS:Multiplex Unhandled call 1600 70 55539876: FILES:file open command 2 file SYS.DAT 71 55540087: FILES:Special file open command 40 file C:\MAPSYS\SVLANG01.DAT 72 55540130: FILES:Special file open command 40 file C:\MAPSYS\SVLANG01.DAT 73 55541617: FILES:Special file open command C0 file C:\MAPSYS\VGA.DRV 74 55542537: FILES:file open command 0 file C:\MAPSYS\10F.BMF 75 55542885: MOUSE:New video is the same as the old 76 55542945: MOUSE:New video is the same as the old 77 55542993: MOUSE:New video is the same as the old 78 55543067: INT10:Set Video Mode 3 79 55543067: MOUSE:New video is the same as the old 80 55543404: INT10:Set Video Mode 12 81 55543404: VGA:Blinking 0 82 55543762: FCB:DOS:29:FCB Parse Filename, result:al=0 83 55543781: FCB:DOS:29:FCB Parse Filename, result:al=0 84 55543884: EXEC:Execute C:\MAPSYS\DVM_MAIN.EXE 0 85 55543884: FILES:file open command 0 file C:\MAPSYS\DVM_MAIN.EXE 86 55544081: FILES:Special file open command C0 file C:\MAPSYS\DVM_MAIN.EXE 87 55545633: FILES:Special file open command C0 file C:\MAPSYS\DQMLIB.DLL 88 55545899: VGA:h total 100 end 80 blank (80/98) retrace (84/96) 89 55545899: VGA:v total 525 end 480 blank (488/517) retrace (490/492) 90 55545899: VGA:h total 0.03178 (31.47kHz) blank(0.02542/0.03114) retrace(0.02669/0.03051) 91 55545899: VGA:v total 16.68322 (59.94Hz) blank(15.50745/16.42900) retrace(15.57100/15.63456) 92 55545899: VGA:Width 640, Height 480, fps 59.940476 93 55545899: VGA:normal width, normal height aspect 1.000000 94 55549524: FILES:Special file open command C0 file C:\MAPSYS\SURFLIB.DLL 95 55550261: FILES:Special file open command C0 file C:\MAPSYS\BASELIB.DLL 96 55552268: FILES:Special file open command C0 file C:\MAPSYS\SDRLIB.DLL 97 55571195: CPU:Illegal Unhandled Interrupt Called 39 98 55571209: CPU:Illegal Unhandled Interrupt Called 3C 99 55571223: CPU:Illegal Unhandled Interrupt Called 3D 100 55571237: CPU:Illegal Unhandled Interrupt Called 39 101 55571251: CPU:Illegal Unhandled Interrupt Called 3C 102 55571265: CPU:Illegal Unhandled Interrupt Called 3D 103 55571279: CPU:Illegal Unhandled Interrupt Called 39 104 55571293: CPU:Illegal Unhandled Interrupt Called 3C 105 55571307: CPU:Illegal Unhandled Interrupt Called 3D 106 55571321: CPU:Illegal Unhandled Interrupt Called 39 107 55571335: CPU:Illegal Unhandled Interrupt Called 3C 108 55571349: CPU:Illegal Unhandled Interrupt Called 3D 109 55571363: CPU:Illegal Unhandled Interrupt Called 39 110 55571377: CPU:Illegal Unhandled Interrupt Called 3C 111 55571391: CPU:Illegal Unhandled Interrupt Called 3D 112 55571872: CPU:Illegal Unhandled Interrupt Called 39 113 55571886: CPU:Illegal Unhandled Interrupt Called 3C 114 55571900: CPU:Illegal Unhandled Interrupt Called 3D 115 55571914: CPU:Illegal Unhandled Interrupt Called 39 116 55571928: CPU:Illegal Unhandled Interrupt Called 3C 117 55571942: CPU:Illegal Unhandled Interrupt Called 3D 118 55571956: CPU:Illegal Unhandled Interrupt Called 39 119 55571970: CPU:Illegal Unhandled Interrupt Called 3C 120 55571984: CPU:Illegal Unhandled Interrupt Called 3D 121 55571998: CPU:Illegal Unhandled Interrupt Called 39 122 55572012: CPU:Illegal Unhandled Interrupt Called 3C 123 55572026: CPU:Illegal Unhandled Interrupt Called 3D 124 55572040: CPU:Illegal Unhandled Interrupt Called 39 125 55572054: CPU:Illegal Unhandled Interrupt Called 3C 126 55572068: CPU:Illegal Unhandled Interrupt Called 3D 127 55625597: IO:Writing 00 to port 00F0 128 55630116: FILES:file open command 0 file Current.Job 129 55630236: FILES:file open command 0 file C:\MAPDATA\ 130 55630256: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH3 131 55630493: FILES:file create attributes 0 file C:\MAPDATA\VARRAY.DAT 132 55649420: FILES:file open command 2 file WILDGRE.DAT 133 55669046: FILES:file open command 0 file SYMBOLS.DAT 134 55675444: FILES:file open command 0 file PATTERNS.DAT 135 55730666: FILES:file open command 2 file NUL 136 55730685: FILES:file open command 2 file NUL 137 55730704: FILES:file open command 2 file NUL 138 55730723: FILES:file open command 2 file NUL 139 55730742: FILES:file open command 2 file NUL 140 55730761: FILES:file open command 2 file NUL 141 55730780: FILES:file open command 2 file NUL 142 55730799: FILES:file open command 2 file NUL 143 55730818: FILES:file open command 2 file NUL 144 55730837: FILES:file open command 2 file NUL 145 55730856: FILES:file open command 2 file NUL 146 55730875: FILES:file open command 2 file NUL 147 55730894: FILES:file open command 2 file NUL 148 55730913: FILES:file open command 2 file NUL 149 55730932: FILES:file open command 2 file NUL 150 55730951: FILES:file open command 2 file NUL 151 55730970: FILES:file open command 2 file NUL 152 55730989: FILES:file open command 2 file NUL 153 55731008: FILES:file open command 2 file NUL 154 55731027: FILES:file open command 2 file NUL 155 55731046: FILES:file open command 2 file NUL 156 55731065: FILES:file open command 2 file NUL 157 55731084: FILES:file open command 2 file NUL 158 55731103: FILES:file open command 2 file NUL 159 55731122: FILES:file open command 2 file NUL 160 55731141: FILES:file open command 2 file NUL 161 55731160: FILES:file open command 2 file NUL 162 55731179: FILES:file open command 2 file NUL 163 55731198: FILES:file open command 2 file NUL 164 55731217: FILES:file open command 2 file NUL 165 55731236: FILES:file open command 2 file NUL 166 55731255: FILES:file open command 2 file NUL 167 55731274: FILES:file open command 2 file NUL 168 55731293: FILES:file open command 2 file NUL 169 55731312: FILES:file open command 2 file NUL 170 55731331: FILES:file open command 2 file NUL 171 55731350: FILES:file open command 2 file NUL 172 55731369: FILES:file open command 2 file NUL 173 55731388: FILES:file open command 2 file NUL 174 55731407: FILES:file open command 2 file NUL 175 55731426: FILES:file open command 2 file NUL 176 55731445: FILES:file open command 2 file NUL 177 55731464: FILES:file open command 2 file NUL 178 55731483: FILES:file open command 2 file NUL 179 55731502: FILES:file open command 2 file NUL 180 55731521: FILES:file open command 2 file NUL 181 55731540: FILES:file open command 2 file NUL 182 55731559: FILES:file open command 2 file NUL 183 55731578: FILES:file open command 2 file NUL 184 55731597: FILES:file open command 2 file NUL 185 55731616: FILES:file open command 2 file NUL 186 55731635: FILES:file open command 2 file NUL 187 55731654: FILES:file open command 2 file NUL 188 55731673: FILES:file open command 2 file NUL 189 55731692: FILES:file open command 2 file NUL 190 55731711: FILES:file open command 2 file NUL 191 55731730: FILES:file open command 2 file NUL 192 55731749: FILES:file open command 2 file NUL 193 55731768: FILES:file open command 2 file NUL 194 55731787: FILES:file open command 2 file NUL 195 55731806: FILES:file open command 2 file NUL 196 55731825: FILES:file open command 2 file NUL 197 55731844: FILES:file open command 2 file NUL 198 55731863: FILES:file open command 2 file NUL 199 55731882: FILES:file open command 2 file NUL 200 55731901: FILES:file open command 2 file NUL 201 55731920: FILES:file open command 2 file NUL 202 55731939: FILES:file open command 2 file NUL 203 55731958: FILES:file open command 2 file NUL 204 55731977: FILES:file open command 2 file NUL 205 55731996: FILES:file open command 2 file NUL 206 55732015: FILES:file open command 2 file NUL 207 55732034: FILES:file open command 2 file NUL 208 55732053: FILES:file open command 2 file NUL 209 55732072: FILES:file open command 2 file NUL 210 55732091: FILES:file open command 2 file NUL 211 55732110: FILES:file open command 2 file NUL 212 55732129: FILES:file open command 2 file NUL 213 55732148: FILES:file open command 2 file NUL 214 55732167: FILES:file open command 2 file NUL 215 55732186: FILES:file open command 2 file NUL 216 55732205: FILES:file open command 2 file NUL 217 55732224: FILES:file open command 2 file NUL 218 55732243: FILES:file open command 2 file NUL 219 55732262: FILES:file open command 2 file NUL 220 55732281: FILES:file open command 2 file NUL 221 55732300: FILES:file open command 2 file NUL 222 55732319: FILES:file open command 2 file NUL 223 55732338: FILES:file open command 2 file NUL 224 55732357: FILES:file open command 2 file NUL 225 55732376: FILES:file open command 2 file NUL 226 55732395: FILES:file open command 2 file NUL 227 55732414: FILES:file open command 2 file NUL 228 55732433: FILES:file open command 2 file NUL 229 55732452: FILES:file open command 2 file NUL 230 55732471: FILES:file open command 2 file NUL 231 55732490: FILES:file open command 2 file NUL 232 55732509: FILES:file open command 2 file NUL 233 55732528: FILES:file open command 2 file NUL 234 55732547: FILES:file open command 2 file NUL 235 55732566: FILES:file open command 2 file NUL 236 55732585: FILES:file open command 2 file NUL 237 55732604: FILES:file open command 2 file NUL 238 55732623: FILES:file open command 2 file NUL 239 55732642: FILES:file open command 2 file NUL 240 55732661: FILES:file open command 2 file NUL 241 55732680: FILES:file open command 2 file NUL 242 55732699: FILES:file open command 2 file NUL 243 55732718: FILES:file open command 2 file NUL 244 55732737: FILES:file open command 2 file NUL 245 55732756: FILES:file open command 2 file NUL 246 55751988: INT10:Set Video Mode 3 247 55751988: VGA:Blinking 8 248 55752042: INT10:Set Video Mode 3 249 55752042: MOUSE:New video is the same as the old 250 55752586: INT10:Set Video Mode 12 251 55752586: VGA:Blinking 0 252 55758861: FILES:file open command 2 file FONT0001.SFD 253 55773841: VGA:h total 100 end 80 blank (80/98) retrace (84/96) 254 55773841: VGA:v total 525 end 480 blank (488/517) retrace (490/492) 255 55773841: VGA:h total 0.03178 (31.47kHz) blank(0.02542/0.03114) retrace(0.02669/0.03051) 256 55773841: VGA:v total 16.68322 (59.94Hz) blank(15.50745/16.42900) retrace(15.57100/15.63456) 257 55775524: FILES:file open command 0 file FONTS.DEF 258 55778642: FILES:file open command 2 file ISO.SFD 259 55792382: FILES:file open command 2 file ROMANS.SFD 260 55804673: FILES:file open command 2 file ROMAND.SFD 261 55820107: FILES:file open command 2 file ROMANC.SFD 262 55835076: FILES:file open command 2 file ROMANT.SFD 263 55854063: FILES:file open command 2 file ITALICC.SFD 264 55870014: FILES:file open command 2 file ITALICT.SFD 265 55889404: FILES:file open command 2 file SCRIPTS.SFD 266 55903147: FILES:file open command 2 file SCRIPTC.SFD 267 55918827: FILES:file open command 2 file ISOPECK.SFD 268 55953304: FILES:file open command 2 file ENGPLAN1.FRM 269 55953450: FILES:file open command 2 file ENGPLAN1.FRM 270 55954866: FILES:file open command 2 file ENGPLAN1.FRM 271 55954996: FILES:file open command 2 file ENGPLAN1.FRM 272 55955550: FILES:file open command 2 file ENGPLAN1.FRM 273 55958694: INT10:Set Video Mode 12 274 55958694: MOUSE:New video is the same as the old 275 55958917: FILES:file open command 0 file PLOTMAP.HPG 276 55959348: FILES:file open command 2 file TEMP.DAT 277 55959367: FILES:file create attributes 0 file TEMP.DAT 278 55969786: MOUSE:New video is the same as the old 279 55970177: VGA:h total 100 end 80 blank (80/98) retrace (84/96) 280 55970177: VGA:v total 525 end 480 blank (488/517) retrace (490/492) 281 55970177: VGA:h total 0.03178 (31.47kHz) blank(0.02542/0.03114) retrace(0.02669/0.03051) 282 55970177: VGA:v total 16.68322 (59.94Hz) blank(15.50745/16.42900) retrace(15.57100/15.63456) 283 57795672: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH2 284 57797215: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH1 285 59412773: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH3 286 59414287: FILES:file create attributes 0 file Current.Job 287 59415014: FILES:file open command 0 file Current.Job 288 59415134: FILES:file open command 0 file C:\MAPDATA\ 289 59415153: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH3 290 59416474: FILES:file open command 0 file Current.Job 291 59416594: FILES:file open command 0 file C:\MAPDATA\ 292 59416613: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH3 293 59428073: FILES:file open command 2 file C:\MAPDATA\ROADSTAT.PH3 294 59428110: FILES:file open command 2 file C:\MAPDATA\ROADSTAT.PH3 295 59432278: FILES:file open command 2 file ENGPLAN1.FRM 296 59432408: FILES:file open command 2 file ENGPLAN1.FRM 297 59432980: FILES:file open command 2 file ENGPLAN1.FRM 298 59433110: FILES:file open command 2 file ENGPLAN1.FRM 299 59433664: FILES:file open command 2 file ENGPLAN1.FRM 300 59436188: FILES:file open command 0 file PLOTMAP.HPG 301 59436519: FILES:file open command 2 file TEMP.DAT 302 59436538: FILES:file create attributes 0 file TEMP.DAT 303 59441709: FILES:file open command 2 file C:\MAPDATA\DB_PNTS.PH3 304 59441848: FILES:file open command 2 file C:\MAPDATA\DB_ENTY.PH3 305 59442721: FILES:file open command 2 file C:\MAPDATA\DB_CODE.PH3 306 59466830: FILES:file open command 2 file C:\MAPDATA\DB_INDX.PH3 307 59468355: FILES:Special file open command C0 file C:\MAPSYS\DBED.DLL 308 59926075: FILES:file create attributes 0 file stakdump.err 309 61738476: FILES:Special file open command C0 file C:\MAPSYS\JOBUTIL.DLL 310 61816403: DOSMISC:DOS:Multiplex Unhandled call D44D 311 61824708: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH2 312 61826179: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH1 313 62911972: FILES:file create attributes 0 file Current.Job 314 62912053: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH2 315 62914601: FILES:file open command 2 file C:\MAPDATA\ROADSTAT.PH3 316 62914621: INT10:writechar used without attribute in non-textmode R 52 317 62915384: MOUSE:New video is the same as the old 318 62915420: INT10:Set Video Mode 3 319 62915420: VGA:Blinking 8 320 62915474: INT10:Set Video Mode 3 321 62915474: MOUSE:New video is the same as the old 322 62915577: FILES:file create attributes 0 file ERROR.ERR 323 62915614: FILES:file open command 0 file DQMLIB.map 324 62944633: VGA:h total 100 end 80 blank (80/98) retrace (85/97) 325 62944633: VGA:v total 449 end 400 blank (407/442) retrace (412/414) 326 62944633: VGA:h total 0.03178 (31.47kHz) blank(0.02542/0.03114) retrace(0.02701/0.03082) 327 62944633: VGA:v total 14.26806 (70.09Hz) blank(12.93341/14.04562) retrace(13.09230/13.15585) 328 62944633: VGA:Width 640, Height 400, fps 70.086592 329 62944633: VGA:normal width, normal height aspect 1.000000 330 65908238: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT 331 87806655: SBLASTER:DSP:Reset
So then I checked the log and here are the most interesting parts I found.
55427875: DOSMISC:DOS:Multiplex Unhandled call 1687
55428667: DOSMISC:DOS:Multiplex Unhandled call FB42
55531936: FILES: […] Show full quote
62914621: INT10:writechar used without attribute in non-textmode R 52
As you can see a there are a few not implemented interrupts like Int 39 and Int 3C...
1Int 39 - FLOATING POINT EMULATION - OPCODE DDh 2Desc: This interrupt is used to emulate floating-point instructions with an opcode of DDh 3Note: The floating-point emulators in Borland and Microsoft languages and Lahey FORTRAN use this interrupt 4 5Int 3C - FLOATING POINT EMULATION - INSTRUCTIONS WITH SEGMENT OVERRIDE 6Notes: The floating-point emulators in Borland and Microsoft languages and Lahey FORTRAN use this interrupt. The generated code is CD 3C xy mm .... where xy is a modified ESC instruction and mm is the modR/M byte. The xy byte appears to be encoded as s s 0 1 1 x x x or s s 0 0 0 x x x where "ss" specifies the segment override: 00 -> DS: 01 -> SS: 10 -> CS: 11 -> ES:
Any more explanation why DOSBox is not the best for this application? SDRMAP 6.5 works perfectly on Microsoft Virtual PC 2007 SP1 so I think you should use that. Pretty sure you have a copy of Win9x or XP so use it, I guess... Running the software there eliminates the issue you have. But if you must use DOSBox for whatever reason feel free to do so... You told that you can work on the project. So save it, leave the program and load up the next project. If not just deal with it. Tested it for you in my spare time so I know it works. 😢
At first I thought your files were corrupted, but it turned out I was wrong. SDRMAP came with a Windows Installer namely InstallShield 3.0 so I had to use Microsoft Virtual PC 2007 SP1 to install it.
Anyway, if this came with a Windows installer, it seems safe to bet that there was no way this was intended to run under DOS without Windows being present, which in turn suggests it has something to do with DPMI.
The app relies on behavior of INT 21/67 that DOSBox doesn't emulate completely (because it doesn't need to for games). The attached workaround TSR program prevents the handle error in my testing; however, the issue is a good example of why you shouldn't run an app in DOSBox if you can't afford to have it mess up.
BTW, the main batch file runs the program with a /win parameter, so maybe that should be eliminated for straight DOS, but dunno what real difference it makes.
Hi again and good morning here!
I appreciate all your attention to this topic. maybe i should point that this is not a business problem or official task for me. one of my friend come to me and ask if i can get to work this program on his new laptop with windows 7. so i think to other solution too. install windows XP isn't a good idea because of lake of drivers. i test run a virtual machine (xp mode-virtualbox-vmware workstation) but it have some performance problem beside user cant get it full screen. so i try it in dosbox that seem a working solution at first.
however this is now a challenge that i like mess with it. try to understand is it possible or not. if yes, how? if not, why?. i don't care if this was ether a game.
BTW, dear P4R4D0X and Jorpho you spend so much time in that and i really thank you. dear ripsaw8080 i try you fix right after send this post! tank you too.
also i found some additional info about "SDRMAP 6.5". it seem it was developed as a DOS program that lately made compatible with windows 9x and has some workaround for xp too. the version P4R4D0X get is SDRMAP for windows that have a windows installer and also "/win" switch in start.bat. and some strange "sdrmap.dll" file that have 45.4 MB size. this file absent in other version and if you remove it program continue working!
this is an OK. as ripsaw8080 said workaround work like a charm.
unfortunately i'm not a DOS/Assembly Expert that always would be my regret.
thank you all.
Installing these old applications on a 64bit machine can be a pain in the butt. I tried that one last night and I couldn't install it so then I tried Universal Extractor. That seems to work with the i3comp extraction method so I got three folders: Group2, Group3 and Group4. So I didn't know what are these folders called so I had to rely on installing it inside a virtual machine. After renaming the folders to MAPDATA, MAPRDLIB and MAPSYS everything works just fine. So yeah grab Universal Extractor. One day it will save your ass! 😊 Link: http://legroom.net/software/uniextract
Tested the TSR provided by ripsaw8080 and that fixes the issue. Even if run with the original START.BAT which contains the /win parameter. Also I can't confirm the fact that you can't fullscreen a Virtual Machine. It's Right Alt+Enter in Virtual PC 2007. Haven't seen any performance drops. The project loaded with the same speed an in DOSBox.
Glad that your software works omidi. Just remember we are not responsible if someone gets lost with the map someone created in DOSBox. If we helped somewhat, please consider donating to the DOSBox Project. Tell your buddy and show him this topic. There's a Make A Donation button on dosbox.com 😀