[RESOLVED] Windows NT 3.1 fails to install

Discussion of development and patch submission.
Post Reply
win2kgamer
Posts: 52
Joined: Sun 09 Nov, 2014 12:24 am

[RESOLVED] Windows NT 3.1 fails to install

Post by win2kgamer » Wed 25 Mar, 2020 4:31 am

In PCem-dev commit 6e158be (and I'm quite sure this happened in v14 as well), Windows NT 3.1 refuses to install on what should be a supported system (this OS is infamous for a very paranoid CPU detection routine that required workarounds to install the OS in Virtual PC.) This issue occurs in both the interpreter and the recompiler.
Screenshot from 2020-03-24 23-15-23.png
Screenshot from 2020-03-24 23-15-23.png (9.98 KiB) Viewed 270 times
Machine configuration:
Machine: [486] AMI 486 clone
CPU: Intel 486DX2/66
Memory: 16MB
Video: Tseng ET4000AX
HDD: Adaptec AHA-1542C with 504MB HDD
FDD: 3.5" 1.44MB
CD-ROM: 2x PCemCD
Mouse: Microsoft 2-button serial

Workaround: Alter INITIAL.INF and SETUP.INF so that the CPU type is hardcoded (STF_PROCESSOR variable).

EDIT: I tested Windows NT 3.5 (which has a similar CPU detection routine) on the same machine configuration and it was able to install without any issues and no workaround was needed.

EDIT2: Seems to be an issue with my Windows NT 3.1 Workstation CD image, the floppy version I tested and a known-good copy of Advanced Server worked fine.
Last edited by win2kgamer on Wed 25 Mar, 2020 5:07 pm, edited 4 times in total.

SA1988
Posts: 263
Joined: Wed 30 Apr, 2014 9:38 am

Re: [BUG] Windows NT 3.1 fails to install

Post by SA1988 » Wed 25 Mar, 2020 12:51 pm

You're likely using a tampered copy.

win2kgamer
Posts: 52
Joined: Sun 09 Nov, 2014 12:24 am

Re: [RESOLVED] Windows NT 3.1 fails to install

Post by win2kgamer » Wed 25 Mar, 2020 4:39 pm

I just tested my floppy version and it works correctly on the same machine configuration.

User avatar
omarsis81
Posts: 806
Joined: Thu 17 Dec, 2015 6:20 pm

Re: [RESOLVED] Windows NT 3.1 fails to install

Post by omarsis81 » Wed 25 Mar, 2020 4:49 pm

Did you try using that CD image on a real computer?

win2kgamer
Posts: 52
Joined: Sun 09 Nov, 2014 12:24 am

Re: [RESOLVED] Windows NT 3.1 fails to install

Post by win2kgamer » Wed 25 Mar, 2020 5:05 pm

@omarsis81 I did not as my real 386DX/33 (which has an Adaptec 1542 and a SCSI CD-ROM) is dedicated to games at the moment and my P166's video card is too new. I did figure out the image I was using (which I've had since the Virtual PC 5.x era) had SETUP and INITIAL INFs dated 2003 - hence the image was altered. A known-good Advanced Server image and the floppy version of Workstation I have do work.

Post Reply