BIOS: Difference between revisions

188 bytes added ,  5 years ago
m
Add a link to the IBM BIOS manual, which is a great reference for the arguments to the BIOS interrupt routines.
[unchecked revision][unchecked revision]
m (Added to BIOS category)
m (Add a link to the IBM BIOS manual, which is a great reference for the arguments to the BIOS interrupt routines.)
 
(7 intermediate revisions by 5 users not shown)
Line 8:
==BIOS functions==
 
To access a BIOS function, you generally set the AH [[CPU Registers x86|CPU register]] (or AX, or EAX) to a particular value, and then do
an INT opcode. The value in AH (or AX, or EAX), combined with the particular interrupt number selected requests a specific
BIOS function. (Other CPU registers hold any "arguments" to the function, and often the return values from the function, also.)
Line 102:
Try to always test these error returns, because in many circumstances the BIOS functions might appear to be returning valid
(but very wrong) data -- rather than an error code.
 
 
==BIOS in Protected Mode==
Line 137 ⟶ 136:
 
=== Articles ===
* [[Real Mode OS Warning]]
* [[DMI]]
 
=== Threads ===
* [http[Topic://forum.osdev.org/viewtopic.php?f=1&t=23125 |ASM example code] about how to call BIOS function from Long Mode (by switching into RM and back again)]]
 
=== External Links ===
* [[wikipedia:BIOS | BIOS]] on Wikipedia]]
* [http://www.ctyme.com/intr/int.htm http://www.ctyme.com/intr/int.htm]
* [http://classiccomputers.info/down/IBM_PS2/documents/PS2_and_PC_BIOS_Interface_Technical_Reference_Apr87.pdf 1987 IBM BIOS Technical Reference]
 
[[Category:X86]]
[[Category:BIOS]]
[[Category:Firmware]]
[[de:Basic Input Output System]]
Anonymous user