Wack0 / maciNTosh

PowerPC Windows NT ported to Power Macintosh systems
GNU General Public License v2.0
522 stars 16 forks source link

HAL Selection Fails due to no floppy on a B&W G3 #5

Open Compgeke opened 2 months ago

Compgeke commented 2 months ago

Another fun issue moving over to the B&W G3 is I can't actually select the HAL (or likely subsequent drivers) due to the lack of a floppy controller on the machine.

Selecting other returns "An unexpected error (0) occurred at line 913 in D:\nt\private\ntos\boot\setup\oemdisk.c." Being as there is some information available, tenox over on the virtually fun discord noticed this is related to floppy drives. With no floppy, it'll return an error. The section relevant is below.

It may be posible to patch this one file to NOT return the error and add it back to the CD. Another may be to add the requesite drivers/HALs into the CD image itself. I tried adding to layout/txtsetup but had no luck getting it to pull. I'm probably doing it wrong.

G3_NT4_ErrorFloppy Screenshot 2024-07-13 192849

Wack0 commented 2 months ago

This would be because loading drivers.img from cd failed for some reason.

During arc firmware init, it tries to load drivers.img from cd, and if that succeeds it will set up a ramdisk device as a "floppy" (one of the drivers provides the same support under NT so text setup can actually copy the files).

Wack0 commented 2 months ago

Can you try this build?

nt_arcfw_grackle_fwonly_test20240714_1536.zip

It mentions with the other devices if the ramdisk loaded, and there's also a menu entry in firmware setup to try loading it again.