VOGONS


SDRMAP 6.5

Topic actions

First post, by omidi

User metadata
Rank Newbie
Rank
Newbie

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

Reply 4 of 20, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
omidi wrote:

actually there is a file with name "DQMLIB.dll".

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,

Reply 5 of 20, by omidi

User metadata
Rank Newbie
Rank
Newbie

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.

Reply 6 of 20, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
omidi wrote:

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.

You shouldn't necessarily expect it to run in DOSBox unless you know if it runs fine in DOS!

Try downloading CWSDPMI from http://homer.rice.edu/~sandmann/cwsdpmi/csdpmi7b.zip (or alternatively the older version at http://homer.rice.edu/~sandmann/cwsdpmi/csdpmi5b.zip ) and run "CWSDPMI.EXE -x" before starting the program. There are other threads on this subject, such as Re: The Curse of Dragmoria (possibly other Verge 2 games) .

Reply 8 of 20, by omidi

User metadata
Rank Newbie
Rank
Newbie

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

Reply 10 of 20, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

C0 might be related to filesharing.
Although error 6 means invalid handle (a handle is basicly an "open file" control structure)

Water flows down the stream
How to ask questions the smart way!

Reply 14 of 20, by P4R4D0X

User metadata
Rank Member
Rank
Member

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:

Please contact your technical advisor,stating the following information.
Invalid file handle
Runtime error 6 at 003C:370E in module DQMLIB
Press 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.

MIDI:Opened device:win32
0: SBLASTER:DSP:Reset
0: IO:Read from port 0278
0: IO:Read from port 0279
0: IO:Read from port 03BC
0: IO:Read from port 03BE
0: INT10:Set Video Mode 3
0: VGA:Blinking 8
0: FILES:file open command 2 file CON
0: FILES:file open command 2 file CON
0: FILES:file open command 2 file CON
0: FILES:file open command 2 file CON
0: EXEC:Parsing command line: AUTOEXEC.BAT
0: FILES:Special file open command 80 file Z:\AUTOEXEC.BAT
0: FILES:Special file open command 80 file Z:\AUTOEXEC.BAT
0: EXEC:Parsing command line: SET BLASTER=A220 I7 D1 H5 T6
0: FILES:Special file open command 80 file Z:\AUTOEXEC.BAT
15000: VGA:h total 100 end 80 blank (80/98) retrace (85/97)
15000: VGA:v total 449 end 400 blank (407/442) retrace (412/414)
15000: VGA:h total 0.03178 (31.47kHz) blank(0.02542/0.03114) retrace(0.02701/0.03082)
15000: VGA:v total 14.26806 (70.09Hz) blank(12.93341/14.04562) retrace(13.09230/13.15585)
15000: VGA:Width 640, Height 400, fps 70.086592
15000: VGA:normal width, normal height aspect 1.000000
13344908: EXEC:Parsing command line: mount c c:\test
13344911: EXEC:Execute mount.COM 0
13344911: FILES:file open command 0 file mount.COM
13344920: DOSMISC:DIRCACHE: Set volume label to
13344920: DOSMISC:DIRCACHE: Set volume label to C_DRIVE
33017354: EXEC:Parsing command line: c:\
46456825: EXEC:Parsing command line: cd MAPSYS
55427775: EXEC:Parsing command line: start
55427775: FILES:Special file open command 80 file C:\MAPSYS\START.BAT
55427775: FILES:Special file open command 80 file C:\MAPSYS\START.BAT
55427775: EXEC:Parsing command line: @echo off
55427775: FILES:Special file open command 80 file C:\MAPSYS\START.BAT
55427775: EXEC:Parsing command line: sdrmap.bat /win
55427775: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT
55427775: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT
55427775: EXEC:Parsing command line: C:
55427775: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT
55427775: EXEC:Parsing command line: cd \MAPSYS
55427775: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT
55427775: EXEC:Parsing command line: mem /c > memdump.txt
SHELL:Redirect output to memdump.txt
55427775: FILES:file open command 2 file memdump.txt
55427775: FILES:file create attributes 20 file memdump.txt
55427778: EXEC:Execute Z:\mem.COM 0
55427778: FILES:file open command 0 file Z:\mem.COM
55427799: FILES:file open command 0 file EMMXXXX0
55427809: FILES:file open command 2 file con
55427809: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT
55427809: EXEC:Parsing command line: DVM.EXE /win /NORESET
55427812: EXEC:Execute DVM.EXE 0
55427812: FILES:file open command 0 file DVM.EXE
55427875: DOSMISC:DOS:Multiplex Unhandled call 1687
55428483: FILES:file open command 0 file C:\MAPSYS\dpmi16bi.ovl
55428667: DOSMISC:DOS:Multiplex Unhandled call FB42
55428941: FILES:file open command 0 file C:\MAPSYS\rtm.exe
55429139: FILES:file open command 0 file C:\MAPSYS\dpmi16bi.ovl
55429225: EXEC:Execute C:\MAPSYS\dpmi16bi.ovl 3
Show last 271 lines
  55429225: FILES:file open command 0 file C:\MAPSYS\dpmi16bi.ovl
55530487: BIOS:INT15:Function 0x88 Remaining 0000 kb
DOSBox 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.
55531936: EXEC:Execute C:\MAPSYS\rtm.exe 0
55531936: FILES:file open command 0 file C:\MAPSYS\rtm.exe
55532787: DOSMISC:Get SDA, Let's hope for the best!
55533449: FILES:Special file open command C0 file C:\MAPSYS\DVM.EXE
55534293: FILES:Special file open command C0 file C:\MAPSYS\DVMLIB.DLL
55539836: DOSMISC:DOS:Multiplex Unhandled call 1600
55539876: FILES:file open command 2 file SYS.DAT
55540087: FILES:Special file open command 40 file C:\MAPSYS\SVLANG01.DAT
55540130: FILES:Special file open command 40 file C:\MAPSYS\SVLANG01.DAT
55541617: FILES:Special file open command C0 file C:\MAPSYS\VGA.DRV
55542537: FILES:file open command 0 file C:\MAPSYS\10F.BMF
55542885: MOUSE:New video is the same as the old
55542945: MOUSE:New video is the same as the old
55542993: MOUSE:New video is the same as the old
55543067: INT10:Set Video Mode 3
55543067: MOUSE:New video is the same as the old
55543404: INT10:Set Video Mode 12
55543404: VGA:Blinking 0
55543762: FCB:DOS:29:FCB Parse Filename, result:al=0
55543781: FCB:DOS:29:FCB Parse Filename, result:al=0
55543884: EXEC:Execute C:\MAPSYS\DVM_MAIN.EXE 0
55543884: FILES:file open command 0 file C:\MAPSYS\DVM_MAIN.EXE
55544081: FILES:Special file open command C0 file C:\MAPSYS\DVM_MAIN.EXE
55545633: FILES:Special file open command C0 file C:\MAPSYS\DQMLIB.DLL
55545899: VGA:h total 100 end 80 blank (80/98) retrace (84/96)
55545899: VGA:v total 525 end 480 blank (488/517) retrace (490/492)
55545899: VGA:h total 0.03178 (31.47kHz) blank(0.02542/0.03114) retrace(0.02669/0.03051)
55545899: VGA:v total 16.68322 (59.94Hz) blank(15.50745/16.42900) retrace(15.57100/15.63456)
55545899: VGA:Width 640, Height 480, fps 59.940476
55545899: VGA:normal width, normal height aspect 1.000000
55549524: FILES:Special file open command C0 file C:\MAPSYS\SURFLIB.DLL
55550261: FILES:Special file open command C0 file C:\MAPSYS\BASELIB.DLL
55552268: FILES:Special file open command C0 file C:\MAPSYS\SDRLIB.DLL
55571195: CPU:Illegal Unhandled Interrupt Called 39
55571209: CPU:Illegal Unhandled Interrupt Called 3C
55571223: CPU:Illegal Unhandled Interrupt Called 3D
55571237: CPU:Illegal Unhandled Interrupt Called 39
55571251: CPU:Illegal Unhandled Interrupt Called 3C
55571265: CPU:Illegal Unhandled Interrupt Called 3D
55571279: CPU:Illegal Unhandled Interrupt Called 39
55571293: CPU:Illegal Unhandled Interrupt Called 3C
55571307: CPU:Illegal Unhandled Interrupt Called 3D
55571321: CPU:Illegal Unhandled Interrupt Called 39
55571335: CPU:Illegal Unhandled Interrupt Called 3C
55571349: CPU:Illegal Unhandled Interrupt Called 3D
55571363: CPU:Illegal Unhandled Interrupt Called 39
55571377: CPU:Illegal Unhandled Interrupt Called 3C
55571391: CPU:Illegal Unhandled Interrupt Called 3D
55571872: CPU:Illegal Unhandled Interrupt Called 39
55571886: CPU:Illegal Unhandled Interrupt Called 3C
55571900: CPU:Illegal Unhandled Interrupt Called 3D
55571914: CPU:Illegal Unhandled Interrupt Called 39
55571928: CPU:Illegal Unhandled Interrupt Called 3C
55571942: CPU:Illegal Unhandled Interrupt Called 3D
55571956: CPU:Illegal Unhandled Interrupt Called 39
55571970: CPU:Illegal Unhandled Interrupt Called 3C
55571984: CPU:Illegal Unhandled Interrupt Called 3D
55571998: CPU:Illegal Unhandled Interrupt Called 39
55572012: CPU:Illegal Unhandled Interrupt Called 3C
55572026: CPU:Illegal Unhandled Interrupt Called 3D
55572040: CPU:Illegal Unhandled Interrupt Called 39
55572054: CPU:Illegal Unhandled Interrupt Called 3C
55572068: CPU:Illegal Unhandled Interrupt Called 3D
55625597: IO:Writing 00 to port 00F0
55630116: FILES:file open command 0 file Current.Job
55630236: FILES:file open command 0 file C:\MAPDATA\
55630256: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH3
55630493: FILES:file create attributes 0 file C:\MAPDATA\VARRAY.DAT
55649420: FILES:file open command 2 file WILDGRE.DAT
55669046: FILES:file open command 0 file SYMBOLS.DAT
55675444: FILES:file open command 0 file PATTERNS.DAT
55730666: FILES:file open command 2 file NUL
55730685: FILES:file open command 2 file NUL
55730704: FILES:file open command 2 file NUL
55730723: FILES:file open command 2 file NUL
55730742: FILES:file open command 2 file NUL
55730761: FILES:file open command 2 file NUL
55730780: FILES:file open command 2 file NUL
55730799: FILES:file open command 2 file NUL
55730818: FILES:file open command 2 file NUL
55730837: FILES:file open command 2 file NUL
55730856: FILES:file open command 2 file NUL
55730875: FILES:file open command 2 file NUL
55730894: FILES:file open command 2 file NUL
55730913: FILES:file open command 2 file NUL
55730932: FILES:file open command 2 file NUL
55730951: FILES:file open command 2 file NUL
55730970: FILES:file open command 2 file NUL
55730989: FILES:file open command 2 file NUL
55731008: FILES:file open command 2 file NUL
55731027: FILES:file open command 2 file NUL
55731046: FILES:file open command 2 file NUL
55731065: FILES:file open command 2 file NUL
55731084: FILES:file open command 2 file NUL
55731103: FILES:file open command 2 file NUL
55731122: FILES:file open command 2 file NUL
55731141: FILES:file open command 2 file NUL
55731160: FILES:file open command 2 file NUL
55731179: FILES:file open command 2 file NUL
55731198: FILES:file open command 2 file NUL
55731217: FILES:file open command 2 file NUL
55731236: FILES:file open command 2 file NUL
55731255: FILES:file open command 2 file NUL
55731274: FILES:file open command 2 file NUL
55731293: FILES:file open command 2 file NUL
55731312: FILES:file open command 2 file NUL
55731331: FILES:file open command 2 file NUL
55731350: FILES:file open command 2 file NUL
55731369: FILES:file open command 2 file NUL
55731388: FILES:file open command 2 file NUL
55731407: FILES:file open command 2 file NUL
55731426: FILES:file open command 2 file NUL
55731445: FILES:file open command 2 file NUL
55731464: FILES:file open command 2 file NUL
55731483: FILES:file open command 2 file NUL
55731502: FILES:file open command 2 file NUL
55731521: FILES:file open command 2 file NUL
55731540: FILES:file open command 2 file NUL
55731559: FILES:file open command 2 file NUL
55731578: FILES:file open command 2 file NUL
55731597: FILES:file open command 2 file NUL
55731616: FILES:file open command 2 file NUL
55731635: FILES:file open command 2 file NUL
55731654: FILES:file open command 2 file NUL
55731673: FILES:file open command 2 file NUL
55731692: FILES:file open command 2 file NUL
55731711: FILES:file open command 2 file NUL
55731730: FILES:file open command 2 file NUL
55731749: FILES:file open command 2 file NUL
55731768: FILES:file open command 2 file NUL
55731787: FILES:file open command 2 file NUL
55731806: FILES:file open command 2 file NUL
55731825: FILES:file open command 2 file NUL
55731844: FILES:file open command 2 file NUL
55731863: FILES:file open command 2 file NUL
55731882: FILES:file open command 2 file NUL
55731901: FILES:file open command 2 file NUL
55731920: FILES:file open command 2 file NUL
55731939: FILES:file open command 2 file NUL
55731958: FILES:file open command 2 file NUL
55731977: FILES:file open command 2 file NUL
55731996: FILES:file open command 2 file NUL
55732015: FILES:file open command 2 file NUL
55732034: FILES:file open command 2 file NUL
55732053: FILES:file open command 2 file NUL
55732072: FILES:file open command 2 file NUL
55732091: FILES:file open command 2 file NUL
55732110: FILES:file open command 2 file NUL
55732129: FILES:file open command 2 file NUL
55732148: FILES:file open command 2 file NUL
55732167: FILES:file open command 2 file NUL
55732186: FILES:file open command 2 file NUL
55732205: FILES:file open command 2 file NUL
55732224: FILES:file open command 2 file NUL
55732243: FILES:file open command 2 file NUL
55732262: FILES:file open command 2 file NUL
55732281: FILES:file open command 2 file NUL
55732300: FILES:file open command 2 file NUL
55732319: FILES:file open command 2 file NUL
55732338: FILES:file open command 2 file NUL
55732357: FILES:file open command 2 file NUL
55732376: FILES:file open command 2 file NUL
55732395: FILES:file open command 2 file NUL
55732414: FILES:file open command 2 file NUL
55732433: FILES:file open command 2 file NUL
55732452: FILES:file open command 2 file NUL
55732471: FILES:file open command 2 file NUL
55732490: FILES:file open command 2 file NUL
55732509: FILES:file open command 2 file NUL
55732528: FILES:file open command 2 file NUL
55732547: FILES:file open command 2 file NUL
55732566: FILES:file open command 2 file NUL
55732585: FILES:file open command 2 file NUL
55732604: FILES:file open command 2 file NUL
55732623: FILES:file open command 2 file NUL
55732642: FILES:file open command 2 file NUL
55732661: FILES:file open command 2 file NUL
55732680: FILES:file open command 2 file NUL
55732699: FILES:file open command 2 file NUL
55732718: FILES:file open command 2 file NUL
55732737: FILES:file open command 2 file NUL
55732756: FILES:file open command 2 file NUL
55751988: INT10:Set Video Mode 3
55751988: VGA:Blinking 8
55752042: INT10:Set Video Mode 3
55752042: MOUSE:New video is the same as the old
55752586: INT10:Set Video Mode 12
55752586: VGA:Blinking 0
55758861: FILES:file open command 2 file FONT0001.SFD
55773841: VGA:h total 100 end 80 blank (80/98) retrace (84/96)
55773841: VGA:v total 525 end 480 blank (488/517) retrace (490/492)
55773841: VGA:h total 0.03178 (31.47kHz) blank(0.02542/0.03114) retrace(0.02669/0.03051)
55773841: VGA:v total 16.68322 (59.94Hz) blank(15.50745/16.42900) retrace(15.57100/15.63456)
55775524: FILES:file open command 0 file FONTS.DEF
55778642: FILES:file open command 2 file ISO.SFD
55792382: FILES:file open command 2 file ROMANS.SFD
55804673: FILES:file open command 2 file ROMAND.SFD
55820107: FILES:file open command 2 file ROMANC.SFD
55835076: FILES:file open command 2 file ROMANT.SFD
55854063: FILES:file open command 2 file ITALICC.SFD
55870014: FILES:file open command 2 file ITALICT.SFD
55889404: FILES:file open command 2 file SCRIPTS.SFD
55903147: FILES:file open command 2 file SCRIPTC.SFD
55918827: FILES:file open command 2 file ISOPECK.SFD
55953304: FILES:file open command 2 file ENGPLAN1.FRM
55953450: FILES:file open command 2 file ENGPLAN1.FRM
55954866: FILES:file open command 2 file ENGPLAN1.FRM
55954996: FILES:file open command 2 file ENGPLAN1.FRM
55955550: FILES:file open command 2 file ENGPLAN1.FRM
55958694: INT10:Set Video Mode 12
55958694: MOUSE:New video is the same as the old
55958917: FILES:file open command 0 file PLOTMAP.HPG
55959348: FILES:file open command 2 file TEMP.DAT
55959367: FILES:file create attributes 0 file TEMP.DAT
55969786: MOUSE:New video is the same as the old
55970177: VGA:h total 100 end 80 blank (80/98) retrace (84/96)
55970177: VGA:v total 525 end 480 blank (488/517) retrace (490/492)
55970177: VGA:h total 0.03178 (31.47kHz) blank(0.02542/0.03114) retrace(0.02669/0.03051)
55970177: VGA:v total 16.68322 (59.94Hz) blank(15.50745/16.42900) retrace(15.57100/15.63456)
57795672: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH2
57797215: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH1
59412773: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH3
59414287: FILES:file create attributes 0 file Current.Job
59415014: FILES:file open command 0 file Current.Job
59415134: FILES:file open command 0 file C:\MAPDATA\
59415153: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH3
59416474: FILES:file open command 0 file Current.Job
59416594: FILES:file open command 0 file C:\MAPDATA\
59416613: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH3
59428073: FILES:file open command 2 file C:\MAPDATA\ROADSTAT.PH3
59428110: FILES:file open command 2 file C:\MAPDATA\ROADSTAT.PH3
59432278: FILES:file open command 2 file ENGPLAN1.FRM
59432408: FILES:file open command 2 file ENGPLAN1.FRM
59432980: FILES:file open command 2 file ENGPLAN1.FRM
59433110: FILES:file open command 2 file ENGPLAN1.FRM
59433664: FILES:file open command 2 file ENGPLAN1.FRM
59436188: FILES:file open command 0 file PLOTMAP.HPG
59436519: FILES:file open command 2 file TEMP.DAT
59436538: FILES:file create attributes 0 file TEMP.DAT
59441709: FILES:file open command 2 file C:\MAPDATA\DB_PNTS.PH3
59441848: FILES:file open command 2 file C:\MAPDATA\DB_ENTY.PH3
59442721: FILES:file open command 2 file C:\MAPDATA\DB_CODE.PH3
59466830: FILES:file open command 2 file C:\MAPDATA\DB_INDX.PH3
59468355: FILES:Special file open command C0 file C:\MAPSYS\DBED.DLL
59926075: FILES:file create attributes 0 file stakdump.err
61738476: FILES:Special file open command C0 file C:\MAPSYS\JOBUTIL.DLL
61816403: DOSMISC:DOS:Multiplex Unhandled call D44D
61824708: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH2
61826179: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH1
62911972: FILES:file create attributes 0 file Current.Job
62912053: FILES:file open command 2 file C:\MAPDATA\STATDAT6.PH2
62914601: FILES:file open command 2 file C:\MAPDATA\ROADSTAT.PH3
62914621: INT10:writechar used without attribute in non-textmode R 52
62915384: MOUSE:New video is the same as the old
62915420: INT10:Set Video Mode 3
62915420: VGA:Blinking 8
62915474: INT10:Set Video Mode 3
62915474: MOUSE:New video is the same as the old
62915577: FILES:file create attributes 0 file ERROR.ERR
62915614: FILES:file open command 0 file DQMLIB.map
62944633: VGA:h total 100 end 80 blank (80/98) retrace (85/97)
62944633: VGA:v total 449 end 400 blank (407/442) retrace (412/414)
62944633: VGA:h total 0.03178 (31.47kHz) blank(0.02542/0.03114) retrace(0.02701/0.03082)
62944633: VGA:v total 14.26806 (70.09Hz) blank(12.93341/14.04562) retrace(13.09230/13.15585)
62944633: VGA:Width 640, Height 400, fps 70.086592
62944633: VGA:normal width, normal height aspect 1.000000
65908238: FILES:Special file open command 80 file C:\MAPSYS\SDRMAP.BAT
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

55427875: DOSMISC:DOS:Multiplex Unhandled call 1687

55428667: DOSMISC:DOS:Multiplex Unhandled call FB42

55531936: FILES:file open command 0 file C:\MAPSYS\rtm.exe
55532787: DOSMISC:Get SDA, Let's hope for the best!

55539836: DOSMISC:DOS:Multiplex Unhandled call 1600

55571195: CPU:Illegal Unhandled Interrupt Called 39
55571209: CPU:Illegal Unhandled Interrupt Called 3C

61816403: DOSMISC:DOS:Multiplex Unhandled call D44D

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...

Int 39 - FLOATING POINT EMULATION - OPCODE DDh
Desc: This interrupt is used to emulate floating-point instructions with an opcode of DDh
Note: The floating-point emulators in Borland and Microsoft languages and Lahey FORTRAN use this interrupt

Int 3C - FLOATING POINT EMULATION - INSTRUCTIONS WITH SEGMENT OVERRIDE
Notes: 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. 😢

Reply 15 of 20, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
P4R4D0X wrote:

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.

FYI, there are much, much easier ways to get around InstallShield problems.
http://www.reactos.org/forum/viewtopic.php?t=10988

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.

Reply 16 of 20, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

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.

Attachments

  • Filename
    SDRFIX.ZIP
    File size
    893 Bytes
    Downloads
    248 downloads
    File comment
    Workaround TSR for SDRMap 6.5 in DOSBox
    File license
    Fair use/fair dealing exception

Reply 17 of 20, by omidi

User metadata
Rank Newbie
Rank
Newbie

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!

Reply 19 of 20, by P4R4D0X

User metadata
Rank Member
Rank
Member
Jorpho wrote:

FYI, there are much, much easier ways to get around InstallShield problems.
http://www.reactos.org/forum/viewtopic.php?t=10988

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

uniextract.png
Filename
uniextract.png
File size
9.25 KiB
Views
6344 views
File comment
Universal Extractor - InstallShield 3.x
File license
Fair use/fair dealing exception

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 😀