VirtualBox

14 年 前 建立

13 年 前 結束

#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)

comment:1 14 年 前madanra 編輯

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;

comment:2 14 年 前Frank Mehnert 編輯

摘要: Checksum error in BIOS function int 13h, ah=48h (extended get drive parameters)Checksum error in BIOS function int 13h, ah=48h (extended get drive parameters) => Fixed in SVN

Thanks for the feedback. This bug will be fixed in the next major release.

comment:3 13 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed

Fixed in 4.1.0.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette