VOGONS


First post, by nzoomed

User metadata
Rank Member
Rank
Member

Does anyone have any idea what could be going on with my computer?
Ive spent hours, testing memory, trying different RAM, running diagnostics only to find im having the same problem!

Basically ive noticed with a handful of games (but not everything I copy over) is causing issues. At first I thought it was EMM386 to blame, but its not.

I originally had loaded a bunch of various games on to my recently built 386.
I burnt a CD after extracting a bunch of games from their ZIP archives and then put it into my 386.

I thought it must have been some sort of error copying the games on the CD or trouble reading it with a fault with the drive.
I also thought that perhaps there was a problem with the multi I/O card and/or HDD.

But ive now eliminated these as a fault as ive just installed a CF card and got the games on that and having the same problem when running the games.
The main problems are the games typically have garbled sprites or sound during gameplay and/or hang with a blank screen either when loading, restarting the game or when you die.

Rockford for instance was hanging with a blank screen after you die, where it should normally return to the home screen, its sprites are also garbled on the characters.
With Crystal caves, it would simply hang on startup. Duke nukem 1 would give garbled sound.

Now, i was given a CF card from another person with a bunch of games and his copy of rockford works perfectly.
Comparing the two copies, they all report the same file sizes, but is there any program I can run on windows that can compare the two copies of files and see if there is any difference?
Im so confused with what is going on here, but it looks like the stuff im copying to floppies, CF cards and CD's on my machine is not working properly on the 386.
To make matters worse, its only doing it with some games, and ive tried downloading the same game from various sources to make sure my copy is not a one off corrupt download.

Reply 1 of 16, by Oetker

User metadata
Rank Oldbie
Rank
Oldbie

You can use a tools such as KDiff3 to check for file differences, for a game's binary files the differences themselves won't be interesting, but you can just give it two directories and it'll say which files are different.

Reply 2 of 16, by CrossBow777

User metadata
Rank Member
Rank
Member

I also use HxD to compare individual files all the time. When it finds a difference it will display them side by side so you can visually see them in Hex format. I actually use it to make configuration changes internally within files for one of the POS systems we support at my work.

g883j7-2.png
Midi Modules: MT-32 (OLD), MT-200, MT-300, MT-90S, MT-90U, SD-20

Reply 3 of 16, by MAZter

User metadata
Rank Member
Rank
Member

First of all, check for viruses.

I recommend free Dr.Web "CureIt" tool for Windows and native Dos Dr.Web version for MS-Dos, because modern antiviruses like Nod32 can't catch some old viruses for Dos. After you run exe first time on machine with virus, it make file corrupted.

https://free.drweb.com/cureit/

Doom is what you want (c) MAZter

Reply 4 of 16, by nzoomed

User metadata
Rank Member
Rank
Member

I had initially suspected some sort of boot virus like ANTI CMOS A, but ive found no evidence. If it was a virus, it only could have already been on the boot sector and/or floppies ive used, all which I formatted on a modern computer anyway.

Ive actually made some progress, and some things have put me off track.

So far, I appear to have it sorted, but want to replicate the problem again to be sure.
What I know so far:

Booting off a basic DOS floppy with no config.sys or autoexec.bat entries, the game works fine.

Some of the games such as rockford appear to have the glitch sprites and must be corrupted, I tested this in DOSBOX and the game has the same garbled sprites.

This "corrupted game" actually works fine too on the DOS machine as it turns out.

I disabled himem.sys and the game ran fine on my (fresh) DOS install.

My mate gave me a CF card that boots into DOS and uses himem.sys, and the game ran fine from booted off that.

I thought perhaps my system was corrupt, so I replaced my DOS files with his and still had the problem.

Only thing I had not changed was the Autoexec.bat and config.sys files.

Then the game ran fine off my system.

I will grab the "working files soon so you can see what Ive got.

I dont know what is so different with his entries than mine, but clearly there must be a difference with a switch for himem.sys? I need to take a closer look, but honestly ive never ran into so many problems like this before.
Ive ran this same game on other 386 machines with no problems, so not sure whats wrong here.

Reply 5 of 16, by nzoomed

User metadata
Rank Member
Rank
Member

Here is the "working" autoexec.bat and config.sys files.

If anyone can shed any light on why the config on these files would work, I'd be keen to know!

Autoexec.bat

LH /L:0;1,43920 /S C:\WINDOWS\SMARTDRV.EXE
LH /L:1,27952 MSCDEX.EXE /D:CD001 /L:W
SET TEMP=C:\TEMP
SET BLASTER=A220 I5 D1 T4
PATH=C:\NET;C:\;C:\WINDOWS;%PATH%
LH /L:0 c:\dos\mouse.exe
menu

config.sys

DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE RAM
BUFFERS=33,0
FILES=90
DOS=UMB
LASTDRIVE=Z
FCBS=4,0
DEVICEHIGH /L:1,40800 =C:\COMMAND\OAKCDROM.SYS /D:CD001
DOS=HIGH
STACKS=9,256
rem C:\NET\IFSHLP.SYS

Below are the "faulty" files from the original setup I had.
I was getting the same results from a fresh DOS install after a format and everything

DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE RAM
BUFFERS=33,0
FILES=90
STACKS=9,256
DOS=UMB
LASTDRIVE=E
FCBS=4,0
DEVICE=C:\SB16\DRV\CTSB16.SYS /UNIT=0 /BLASTER=A:220 I:5 D:1 H:5
DEVICEHIGH /L:1,10416 =C:\SB16\DRV\CTMMSYS.SYS
DEVICEHIGH /L:1,12048 =C:\DOS\SETVER.EXE
DOS=HIGH
DEVICEHIGH /L:1,40800 =C:\DOS\OAKCDROM.SYS /D:MSCD001
DEVICE=C:\WINDOWS\IFSHLP.SYS

SET SOUND=C:\SB16
SET BLASTER=A220 I5 D1 H5 P330 T6
SET MIDI=SYNTH:1 MAP:E
C:\SB16\DIAGNOSE /S
C:\SB16\SB16SET /P /Q
LH /L:0 C:\DOS\SMARTDRV.EXE /X
@ECHO OFF
PROMPT $p$g
PATH C:\WINDOWS;C:\DOS
SET TEMP=C:\DOS
LH /L:1,29472 c:\MOUSE\MOUSE.COM
LOADHIGH=C:\DOS\MSCDEX.EXE /D:MSCD001

Reply 6 of 16, by TheMobRules

User metadata
Rank Oldbie
Rank
Oldbie

Well, I see that the working files are not loading the IFSHLP.SYS driver, that may be somehow related to your problem. If I recall correctly WFW3.11 is the one who adds that line, it's a 32-bit filesystem driver.

Now, I'm not sure if that is indeed the direct cause of your issues, or maybe it conflicts with SMARTDRV? I never use WFW or IFSHLP.SYS so I am just speculating.

Reply 7 of 16, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
nzoomed wrote on 2020-08-15, 00:27:

Comparing the two copies, they all report the same file sizes, but is there any program I can run on windows that can compare the two copies of files and see if there is any difference?

If you just want to determine whether the files are different, you can compress them with PKZIP. PKZIP automatically calculates and stores the CRC32 for each file in the archive. Files that differ by even a single byte will have a different CRC32. Most other archiving programs have similar functionlity - or you can just find a standalone utility for calculating CRC32 values.

In fact, if you want to be sure your files are not being corrupted when they are copied to your 386, just copy the original .zip file and decompress it on your 386. If the .zip file is corrupt, PKUNZIP will tell you.

Reply 8 of 16, by pentiumspeed

User metadata
Rank l33t
Rank
l33t

Caution:

Many times I had few old programs vanish (no alerts) even they were not infected as windows 10 deletes the 16bits and early 32bit programs deemed not compatible with windows 10 (!!). One of them was Paint Shop Pro 5.0 by JASC which I had legally on optical disc and the box for years as it was very decent to use. Oh well, was forced to use what I can get with microsoft's and i don't like their interface.

And yes, this happens with some payware software especially from China. I paid and got license for ZXW schematic for my work repairing phones and they were infected, only way is find clean one indirectly from different websites, and use the license on it. Now no body have the clean one and the ZXW website also is infected, I quit and refused to pay again as long as ZXW developers say disable your malware scanner to use ZXW. No no!! No way in chance! Biggest problem with this is ZXW is the best one out there that has each component in detail when hovered over each. Others don't have this all important detail.

Cheers,

Great Northern aka Canada.

Reply 9 of 16, by nzoomed

User metadata
Rank Member
Rank
Member

Turns out smartdrv in autoexec.bat is the problem.
The other autoexec had a different path to smartdrv.exe and was not even loading.
When fixing it and pointing to the correct path, my problem returns.

Any idea why disk caching would be an issue?

Reply 11 of 16, by nzoomed

User metadata
Rank Member
Rank
Member
held wrote on 2020-08-24, 08:27:

It could not be syncing to disk properly

Would a hardware fault cause that or just dome sort of incompatibility?
I'm pretty sure I've had Rockford working on another machine with smartdrv going.

I dont have much experience with DOS other than when I played games as a kid 🤣

Reply 13 of 16, by nzoomed

User metadata
Rank Member
Rank
Member
held wrote on 2020-08-24, 11:37:

Reading from the wiki it keeps frequently used data in upper memory.
So I would suggest running a memcheck, it may be faulty memory.

I had earlier suspected faulty memory and have not only run several memtest86 tests, but also swapped out different RAM to try and all tests fine.
Not too sure what it is at fault, but im not sure if its necessary to use on a 386 or not but would like to work out if its a fault or not.

Reply 15 of 16, by held

User metadata
Rank Newbie
Rank
Newbie
nzoomed wrote on 2020-08-24, 21:40:

I had earlier suspected faulty memory and have not only run several memtest86 tests, but also swapped out different RAM to try and all tests fine.
Not too sure what it is at fault, but im not sure if its necessary to use on a 386 or not but would like to work out if its a fault or not.

nzoomed wrote on 2020-08-19, 05:44:
[…]
Show full quote
LH /L:0;1,43920 /S C:\WINDOWS\SMARTDRV.EXE
LH /L:0 C:\DOS\SMARTDRV.EXE /X

Now this could be me, but if SMARTDRV uses upper memory to cache frequently used data,
loading itself into that same upper memory region could be a reason.

Try loading SMARTDRV without the LH.

Reply 16 of 16, by nzoomed

User metadata
Rank Member
Rank
Member
held wrote on 2020-08-26, 05:16:
Now this could be me, but if SMARTDRV uses upper memory to cache frequently used data, loading itself into that same upper memor […]
Show full quote
nzoomed wrote on 2020-08-24, 21:40:

I had earlier suspected faulty memory and have not only run several memtest86 tests, but also swapped out different RAM to try and all tests fine.
Not too sure what it is at fault, but im not sure if its necessary to use on a 386 or not but would like to work out if its a fault or not.

nzoomed wrote on 2020-08-19, 05:44:
[…]
Show full quote
LH /L:0;1,43920 /S C:\WINDOWS\SMARTDRV.EXE
LH /L:0 C:\DOS\SMARTDRV.EXE /X

Now this could be me, but if SMARTDRV uses upper memory to cache frequently used data,
loading itself into that same upper memory region could be a reason.

Try loading SMARTDRV without the LH.

OK, ill try that. I know that if i load SMARTDRV simply by typing it as a command, it causes the same issue.