#8739 closed defect (fixed)
Checksum error in BIOS function int 13h, ah=48h (extended get drive parameters) => Fixed in SVN
回報者: | madanra | 負責人: | |
---|---|---|---|
元件: | virtual disk | 版本: | VirtualBox 4.0.4 |
關鍵字: | bios drive parameters checksum | 副本: | |
Guest type: | other | Host type: | other |
描述
I've started writing an OS, and noticed that the BIOS function 13h, ah=48h (extended get drive parameters, see http://www.ctyme.com/intr/rb-0715.htm for Ralf Brown's description) appears to give an incorrect checksum. In the description of the function, Ralf Brown says "checksum of bytes 1Eh-40h (two's complement of sum, which makes the 8-bit sum of bytes 1Eh-41h equal 00h)". On Bochs and VirtualPC, this is the case, but on VirtualBox the byte sum is FFh.
更動歷史 (3)
注意:
瀏覽 TracTickets
來幫助您使用待辦事項功能
Ah, should have looked in the source. Line 5936 of /trunk/src/VBox/Devices/PC/BIOS/rombios.c has:
checksum = ~checksum;
when I believe, from the description in Ralf Brown, it should be:
checksum = -checksum;