> But as this is from 1996, and we can not expect the INT 18 to work in all > cases, we should add a few safety nets: > > - Check if the INT 18 vector contains a sane value > - Display a message and wait a few seconds before issuing the INT 18 > - Expect that the INT 18 might return > - ... >
I made an initial implementation for this: https://github.com/FDOS/fdisk/commit/301ba27638ba9bb3e45a8a12de0f32045c87384c I tested it with an AWARD BIOS from 2001, the IPL installed to hard disk and the FreeDOS RC1 disk in the CD. BIOS boot order: C, CDROM, A. It seems to work as expected: IPL does not find (in this case) a valid VBR, waits three seconds, issues an INT 18, and the BIOS hands over to the CD-ROM boot sector. I will perform more tests on this since when this fallback method is reliably supported by different BIOS vendors... Bernd _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel