Anyone knows what Windows 95 is doing during this step in the BOOTLOG.TXT file? This is the last thing that's logged by the boot process before it throws a BSOD(at segment 117, so a program/driver in User mode is executing).
Well, afaik Windows itself(on the emulated harddisk) isn't the issue. There's some CPU emulation issue in UniPCemu that's causing it. It's booting fine when loading the disk image in the Bochs emulator.
But afaik the CPU instructions have all been tested and verified(except some remaining Protected Mode systems instructions) in the test386.asm CPU testsuite.
The only unverified instructions that are left untested in the testsuite are the instructions that have to do with protected mode itself.
I've reinstalled Windows 95 many times when finding CPU bugs, but that error (BSOD in safe mode) won't go away? Normal mode boot is even worse, loading what seems to be a ATA(PI) driver(esdi_506.pdr) twice, crashing when initing the second one.
The ATA(PI) driver crash results in a black screen with a message that Windows failed to load(or something comparible) and reinstall Windows if it persists. Nothing more is printed on the screen.
Afaik it isn't supposed to init it twice? Or is that because of two IDE controllers(Primary Master/Slave are harddisks, Secondary Master/Slave are ATAPI CD-ROM drives)?