First post, by P4R4D0X
- Rank
- Member
Yesterday I found an issue in DOSBox while I was trying to install Network Q RAC Rally Championship and it may be a bug. Posted it on the IRC channel and got no response, so I thought this should be mentioned here as well just in case it's something serious. Luckily I found workarounds and this is about the installer and not the game. Looked for similar topics here on VOGONS about the same issue, but there are none of them.
The ones I found are the following ones:
Network Q RAC Rally Championship (problem with installation)
This one is about installation issues, but that's due to the fact that no C:\ drive was mounted. mkkala claims that he got it to work, and so do I, but that's very little information given. I can confirm that the game works just fine, and there are no audio issues. He probably referred to this topic:
Network Q RAC Rally Championship sound problems
Pretty much I can reproduce it every time in DOSBox 0.74 and SVN. Tried messing around with various settings and still nothing. Here's what I did and what to look for. These are my mountings just in case someone asks. It's the plain good old mount commands that I always use with the default configuration.
mount c c:\testmount d f:\ -t cdrom
Next I ran INSTALL.EXE from the disk to start the installer. It's actually very simple and looks amazing! For the keyboard layout I have chosen British and hit Enter.
Next I was asked about installation type and I've chosen the Full (92Mb) one, to enjoy the movie clips and the CD audio tracks.
For the destination directory I've kept the default one, and that's c:\rallyc\
The installation will begin after pressing Enter, and you will see the progress bar filling up and eventually reaching 100%. It will even tell you that the installation has been completed. All nice and good until now.
The installer will now run the sound setup program and this is where the problem will begin. I haven't pressed any button when I got the Installation completed message. I waited until SETSOUND.EXE was launched automatically. It will eventually launch and you will be stuck on the following screen:
Nothing will show up and I can't do anything other than moving the cursor. The menus will simply refuse to show up to configure the sound card until I quit DOSBox, running it again, remounting the same drives and running SETSOUND.BAT or MSS\SETSOUND.EXE from the game directory. That's the only workaround I found, but that still leaves the installer broken. While I was looking in the debugger I get different results almost every time.
Here's what I get if I don't press anything and wait for the sound setup utility:
42938756: FILES:file open command 0 file C:\RALLYC\MSS\SETSOUND.EXE42938761: DOSMISC:DOS:Multiplex Unhandled call 168742938765: DOSMISC:Get SDA, Let's hope for the best!42943920: FILES:file open command 0 file C:\RALLYC\MSS\SETSOUND.EXE42944085: FILES:file open command 0 file C:\RALLYC\MSS\SETSOUND.EXE42945888: FILES:file open command 0 file C:\RALLYC\MSS\SETSOUND.EXE42950111: DOSMISC:DOS:Multiplex Unhandled call 168442950132: PIT:PIT 0 Timer at 18.2065 Hz mode 242950708: MOUSE:New video is the same as the old42950919: FILES:file open command 0 file ADRV688.DIG42951052: FILES:file open command 0 file IWAV.DIG42951168: FILES:file open command 0 file JAMMER.DIG42951284: FILES:file open command 0 file NVDIG.DIG42951400: FILES:file open command 0 file PROAUDIO.DIG42952193: FILES:file open command 0 file RAP10.DIG42952309: FILES:file open command 0 file SB16.DIG42952425: FILES:file open command 0 file SBLASTER.DIG42952541: FILES:file open command 0 file SBPRO.DIG42952657: FILES:file open command 0 file SNDSCAPE.DIG42952773: FILES:file open command 0 file SNDSYS.DIG42952889: FILES:file open command 0 file ULTRA.DIG42953849: FILES:file open command 0 file ADLIB.MDI42953982: FILES:file open command 0 file ADLIBG.MDI42955033: FILES:file open command 0 file ESFM.MDI42955166: FILES:file open command 0 file IWAV.MDI42955282: FILES:file open command 0 file MPU401.MDI42955398: FILES:file open command 0 file MT32MPU.MDI42955530: FILES:file open command 0 file NULL.MDI42955646: FILES:file open command 0 file NVMPU.MDI42956663: FILES:file open command 0 file OPL3.MDI42956813: FILES:file open command 0 file PAS.MDI42957877: FILES:file open command 0 file PASPLUS.MDI42958606: FILES:file open command 0 file PCSPKR.MDI42958722: FILES:file open command 0 file SBAWE32.MDI42959451: FILES:file open command 0 file SBLASTER.MDI42960196: FILES:file open command 0 file SBPRO1.MDI42960925: FILES:file open command 0 file SBPRO2.MDI42961654: FILES:file open command 0 file SNDSCAPE.MDI42961770: FILES:file open command 0 file TANDY.MDI42962499: FILES:file open command 0 file ULTRA.MDI42963228: FILES:file open command 0 file MSSDRVR.LST43284617: IO:Writing 00 to port 324643284619: IO:Writing 00 to port 324743284620: IO:Read from port 324643284620: IO:Read from port 324743284622: CPU:CPU:GRP5:Illegal opcode 0xff43284623: CPU:CPU:GRP5:Illegal Call 743284623: CPU:Illegal/Unhandled opcode FFFF43284624: CPU:CPU:GRP5:Illegal opcode 0xff43284625: CPU:CPU:GRP5:Illegal Call 743284625: CPU:Illegal/Unhandled opcode FFFF43284627: CPU:CPU:GRP5:Illegal Call 743284627: CPU:Illegal/Unhandled opcode FFFF43284629: CPU:CPU:GRP5:Illegal Call 743284629: CPU:Illegal/Unhandled opcode FFFF
Great, now here's the same thing, I did the same thing and after FILES:file open command 0 file MSSDRVR.LST shows me this instead and it just spits out stuff like these:
42494491: CPU:Illegal/Unhandled opcode 0F0042494494: CPU:Illegal/Unhandled opcode 0F0042494497: CPU:Illegal/Unhandled opcode 0F0042494500: CPU:Illegal/Unhandled opcode 0F0042494503: CPU:Illegal/Unhandled opcode 0F0042494506: CPU:Illegal/Unhandled opcode 0F0042494509: CPU:Illegal/Unhandled opcode 0F0042494512: CPU:Illegal/Unhandled opcode 0F0042494513: DMA_CONTROL:Trying to read undefined DMA port 942494514: DMA_CONTROL:Trying to read undefined DMA port 942494515: CPU:Illegal/Unhandled opcode 0F0042494516: DMA_CONTROL:Trying to read undefined DMA port a42494517: DMA_CONTROL:Trying to read undefined DMA port a42494518: CPU:Illegal/Unhandled opcode 0F0042494519: DMA_CONTROL:Trying to read undefined DMA port b42494520: DMA_CONTROL:Trying to read undefined DMA port b42494521: CPU:Illegal/Unhandled opcode 0F0042494522: DMA_CONTROL:Trying to read undefined DMA port c42494523: DMA_CONTROL:Trying to read undefined DMA port c42494524: CPU:Illegal/Unhandled opcode 0F0042494525: DMA_CONTROL:Trying to read undefined DMA port d42494526: DMA_CONTROL:Trying to read undefined DMA port d42494527: CPU:Illegal/Unhandled opcode 0F0042494528: DMA_CONTROL:Trying to read undefined DMA port e42494529: DMA_CONTROL:Trying to read undefined DMA port e42494530: CPU:Illegal/Unhandled opcode 0F0042494531: DMA_CONTROL:Trying to read undefined DMA port f42494532: DMA_CONTROL:Trying to read undefined DMA port f42494533: CPU:Illegal/Unhandled opcode 0F0042494534: IO:Read from port 001042494536: CPU:Illegal/Unhandled opcode 0F0042494537: IO:Read from port 001142494539: CPU:Illegal/Unhandled opcode 0F0042494540: IO:Read from port 001242494542: CPU:Illegal/Unhandled opcode 0F0042494543: IO:Read from port 001342494545: CPU:Illegal/Unhandled opcode 0F0042494546: IO:Read from port 001442494548: CPU:Illegal/Unhandled opcode 0F0042494549: IO:Read from port 001542494551: CPU:Illegal/Unhandled opcode 0F0042494552: IO:Read from port 001642494554: CPU:Illegal/Unhandled opcode 0F0042494555: IO:Read from port 001742494557: CPU:Illegal/Unhandled opcode 0F0042494558: IO:Read from port 001842494560: CPU:Illegal/Unhandled opcode 0F0042494561: IO:Read from port 001942494563: CPU:Illegal/Unhandled opcode 0F0042494564: IO:Read from port 001A42494566: CPU:Illegal/Unhandled opcode 0F0042494567: IO:Read from port 001B42494569: CPU:Illegal/Unhandled opcode 0F0042494570: IO:Read from port 001C
Tried it again and I got the following, and nothing else. The only stuff the debugger showed me was the following:
33452793: CPU:Illegal/Unhandled opcode 63
I even got DOSBox to crash on me without any useful debug information. And this one is new to me, because I haven't got this one in my tests:
27267707: CPU:Illegal/Unhandled opcode 63Illegal read from 2b742566, CS:IP 494d: 206eIllegal read from 2b742567, CS:IP 494d: 206e27267712: CPU:CPU:GRP5:Illegal opcode 0xff27267713: CPU:CPU:GRP5:Illegal Call 727267713: CPU:Illegal/Unhandled opcode FFFFIllegal read from 4317a366, CS:IP 0:4317a366DYNX86:Can't run code in this page!Illegal read from 4317a366, CS:IP 0:4317a366Illegal read from 4317a367, CS:IP 0:4317a366Illegal read from 4317a368, CS:IP 0:4317a368Illegal read from 4317a369, CS:IP 0:4317a368Illegal read from 4317a36a, CS:IP 0:4317a36aIllegal read from 4317a36b, CS:IP 0:4317a36aIllegal read from 4317a36c, CS:IP 0:4317a36cIllegal read from 4317a36d, CS:IP 0:4317a36cIllegal read from 4317a36e, CS:IP 0:4317a36eIllegal read from 4317a36f, CS:IP 0:4317a36eIllegal read from 4317a370, CS:IP 0:4317a370Illegal read from 4317a371, CS:IP 0:4317a370Illegal read from 4317a372, CS:IP 0:4317a372Illegal read from 4317a373, CS:IP 0:4317a372Illegal read from 4317a374, CS:IP 0:4317a374Illegal read from 4317a375, CS:IP 0:4317a374Illegal read from 4317a376, CS:IP 0:4317a376Illegal read from 4317a377, CS:IP 0:4317a376
Tried loadfix, setting the core to dynamic and normal. Also fixed cycles doesn't do anything really. So I'm not entirely sure if this is a DOSBox bug or simply this is how the installer was designed. The game works as I said before, and thought I might mention it just in case it doesn't gets fixed. I could try messing in the config file but I'm sure it doesn't have any effect on this. Feel free to ask if you have any more questions!