Global Information Lookup Global Information

BIOS interrupt call information


BIOS implementations provide interrupts that can be invoked by operating systems and application programs to use the facilities of the firmware on IBM PC compatible[a] computers. Traditionally, BIOS calls are mainly used by DOS programs and some other software such as boot loaders (including, mostly historically, relatively simple application software that boots directly and runs without an operating system—especially game software). BIOS runs in the real address mode (Real Mode) of the x86 CPU, so programs that call BIOS either must also run in real mode or must switch from protected mode to real mode before calling BIOS and then switching back again. For this reason, modern operating systems that use the CPU in Protected mode or Long mode generally do not use the BIOS interrupt calls to support system functions, although they use the BIOS interrupt calls to probe and initialize hardware during booting.[1] Real mode has the 1MB memory limitation, modern boot loaders (e.g. GRUB2, Windows Boot Manager) use the unreal mode or protected mode (and execute the BIOS interrupt calls in the Virtual 8086 mode, but only for OS booting) to access up to 4GB memory.[2]

In all computers, software instructions control the physical hardware (screen, disk, keyboard, etc.) from the moment the power is switched on. In a PC, the BIOS, pre-loaded in ROM on the motherboard, takes control immediately after the CPU is reset, including during power-up, when a hardware reset button is pressed, or when a critical software failure (a triple fault) causes the mainboard circuitry to automatically trigger a hardware reset. The BIOS tests the hardware and initializes its state; finds, loads, and runs the boot program (usually, an OS boot loader, and historical ROM BASIC); and provides basic hardware control to the software running on the machine, which is usually an operating system (with application programs) but may be a directly booting single software application.

For IBM's part, they provided all the information needed to use their BIOS fully or to directly utilize the hardware and avoid BIOS completely, when programming the early IBM PC models (prior to the PS/2). From the beginning, programmers had the choice of using BIOS or not, on a per-hardware-peripheral basis. IBM did strongly encourage the authorship of "well-behaved" programs that accessed hardware only through BIOS INT calls (and DOS service calls), to support compatibility of software with current and future PC models having dissimilar peripheral hardware, but IBM understood that for some software developers and hardware customers, a capability for user software to directly control the hardware was a requirement. In part, this was because a significant subset of all the hardware features and functions was not exposed by the BIOS services. For two examples (among many), the MDA and CGA adapters are capable of hardware scrolling, and the PC serial adapter is capable of interrupt-driven data transfer, but the IBM BIOS supports neither of these useful technical features.

Today, the BIOS in a new PC still supports most, if not all, of the BIOS interrupt function calls defined by IBM for the IBM AT (introduced in 1984), along with many more newer ones, plus extensions to some of the originals (e.g. expanded parameter ranges) promulgated by various other organizations and collaborative industry groups. This, combined with a similar degree of hardware compatibility, means that most programs written for an IBM AT can still run correctly on a new PC today, assuming that the faster speed of execution is acceptable (which it typically is for all but games that use CPU-based timing). Despite the considerable limitations of the services accessed through the BIOS interrupts, they have proven extremely useful and durable to technological change.


Cite error: There are <ref group=lower-alpha> tags or {{efn}} templates on this page, but the references will not show without a {{reflist|group=lower-alpha}} template or {{notelist}} template (see the help page).

  1. ^ "Booting · Linux Inside". 0xax.gitbooks.io. Retrieved 2020-11-10.
  2. ^ "Grub2 Booting Process". 21 June 2016.

and 23 Related for: BIOS interrupt call information

Request time (Page generated in 1.2332 seconds.)

BIOS interrupt call

Last Update:

mode generally do not use the BIOS interrupt calls to support system functions, although they use the BIOS interrupt calls to probe and initialize hardware...

Word Count : 3354

BIOS

Last Update:

device which then initializes a kernel. In the era of DOS, the BIOS provided BIOS interrupt calls for the keyboard, display, storage, and other input/output...

Word Count : 8798

INT 13H

Last Update:

is shorthand for BIOS interrupt call 13hex, the 20th interrupt vector in an x86-based (IBM PC-descended) computer system. The BIOS typically sets up...

Word Count : 1929

INT 10H

Last Update:

shorthand for BIOS interrupt call 10hex, the 17th interrupt vector in an x86-based computer system. The BIOS typically sets up a real mode interrupt handler...

Word Count : 406

INT 16H

Last Update:

shorthand for BIOS interrupt call 16hex, the 23rd interrupt vector in an x86-based computer system. The BIOS typically sets up a real mode interrupt handler...

Word Count : 175

Interrupt

Last Update:

Programmable Interrupt Controller (APIC) BIOS interrupt call Event-driven programming Exception handling INT (x86 instruction) Interrupt coalescing Interrupt handler...

Word Count : 5481

VESA BIOS Extensions

Last Update:

less. VBE is made available through the video card's BIOS, which installs during boot up some interrupt vectors that point to itself. Most newer cards implement...

Word Count : 2060

Memory map

Last Update:

layout. Some of the available routines are: BIOS Function: INT 0x15, AX=0xE801: This BIOS interrupt call is used to get the memory size for 64MB+ configurations...

Word Count : 429

Video mode

Last Update:

buffer display modes IBM PC compatible video display mode set by BIOS interrupt call INT 10H This disambiguation page lists articles associated with the...

Word Count : 72

Option ROM

Last Update:

with the main system BIOS), which gets executed to initialize the device and (optionally) add support for the device to the BIOS. In its usual use, it...

Word Count : 2580

Master boot record

Last Update:

end of the first 640 KB‍—‌is available in real mode. The INT 12h BIOS interrupt call may help in determining how much memory can be allocated safely (by...

Word Count : 8699

DOS API

Last Update:

NTVDM for Windows NT DOSEMU for Linux DOSBox ReactOS BIOS interrupt call Ralf Brown's Interrupt List (RBIL) Comparison of DOS operating systems DOS Protected...

Word Count : 1223

Interrupt descriptor table

Last Update:

BIOS provides simple real-mode access to a subset of hardware facilities by registering interrupt handlers. They are invoked as software interrupts with...

Word Count : 767

UEFI

Last Update:

disks is commonly called BIOS-MBR, regardless of it being performed on UEFI or legacy BIOS-based systems. Furthermore, booting legacy BIOS-based systems from...

Word Count : 9773

System Management Mode

Last Update:

designed and insufficiently tested SMM BIOS code can make the wrong assumptions and not work properly when interrupting some other x86 operating modes like...

Word Count : 1402

Bus mouse

Last Update:

lived on in the NEC PC-98 family of personal computers in Japan. BIOS interrupt call PS/2 port USB Paul, Matthias R. (2002-04-06). "Re: [fd-dev] ANNOUNCE:...

Word Count : 283

Booting

Last Update:

issue an INT 18h BIOS interrupt call (followed by an INT 19h just in case INT 18h would return) in order to give back control to the BIOS, which would then...

Word Count : 10320

Intel microcode

Last Update:

the Pentium Pro BIOS Update Feature. It was intended that user-mode applications should make a BIOS interrupt call to supply a new "BIOS Update Data Block"...

Word Count : 5111

Virtual 8086 mode

Last Update:

boot loaders (e.g. GRUB) use the protected mode, and execute the BIOS interrupt calls in Virtual 8086 mode. The most common problem by running 8086 code...

Word Count : 1994

IBM cassette tape

Last Update:

software could have been written by the user to provide support. BIOS interrupt call 15h routines were documented in the technical reference manual that...

Word Count : 726

Intel 8259

Last Update:

a handler is installed by the BIOS for IRQ9 that redirects interrupts to the original IRQ2 handler. On the PC, the BIOS (and thus also DOS) traditionally...

Word Count : 1475

X86 virtualization

Last Update:

cards, and hard-drive controllers, through DMA and interrupt remapping. This is sometimes called PCI passthrough. An IOMMU also allows operating systems...

Word Count : 3717

Rootkit

Last Update:

sophisticated. Advanced techniques included hooking low-level disk INT 13H BIOS interrupt calls to hide unauthorized modifications to files. The first malicious...

Word Count : 7087

PDF Search Engine © AllGlobal.net