[Top][All Lists]

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

[Qemu-discuss] response to BIOS int 0x13 calls

From: bilsch
Subject: [Qemu-discuss] response to BIOS int 0x13 calls
Date: Thu, 10 Mar 2016 21:06:13 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

I'm a low energy QEMU user. I use it for running a 'hobby' OS that is little more than a boot sector. It has a program that calls int 0x13 ah=0x48 to get the number of sectors on the hard drive. If the call returns CF=1 it means the call was unsuccessful (and presumably the # of sectors info is invalid). If I copy the 'OS' containing this BIOS call to a partition on the actual hard drive and boot it, it returns CF=0 and # sectors = (a reasonable number). If I run this OS in QEMU it returns CF=1 and # sectors = 0. How do I get correct BIOS response in QEMU?

Thanks.    Bill S.

reply via email to

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