qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] bios and win98 cd boot


From: Magnus Damm
Subject: [Qemu-devel] [PATCH] bios and win98 cd boot
Date: Sun, 23 Jan 2005 16:51:26 +0100

Hello,

This patch makes it possible to install win98 from cdrom. Without the
patch the installer would ask the user to insert the installation cd
even though that cd is present. The workaround has been booting from
floppy.

The actual bug that is fixed is the int 13h eltorito code that without
this patch decrements the DL register and returns the modified DL
value back to the caller, but with the patch the DL value is
incremented internally and never exposed to the caller. This fix
required some rearranging of the code and resulted in a small cleanup.
People interested in the win98 installer and this problem should
objdump D:\WIN98\OEMSETUP.EXE and search for int...

I have tested the patch on a x86 host by installing win98 from cdrom
and booting xp sp2 from cdrom, together with booting of two linux live
cd:s. It is also still possible to install win95 from floppy and
cdrom. I do not have access to bootable win98se/winme/win2k isos, feel
free to test and report back!

And yeah, with some fuzz the patch applies to both rombios.c version
1.125 and the qemu-patched 1.110. This patch should of course be
pushed upstream to bochs.

/ magnus

Attachment: rombios-eltorito.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]