Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法可以在 DosBOX 中使用 x86 程序集找到 BIOS 的版本和其他信息?
要获取 BIOS 信息,请使用 int 15h, AH = C0h 调用。例如:
mov ah, C0h int 15h ;Use info here
这是有关表格格式的一些文档。
在 dosbox 中,您只能访问模拟的 bios。如果您需要有关真实硬件的信息,请使用一些依赖于操作系统的方式。例如,在 linux 上,您可以使用该程序dmidecode。它通过读取 BIOS/dev/mem等方式收集信息。
dmidecode
/dev/mem