bios interrupt and dos interuppt
what is the difference between dos i开发者_如何学Gonteruppt and bios interuppt
In 16-bit 80x86 programming, user programs communicate with system service using interrupts. Typically this takes the form of:
- Loading a register (often AH) with a numeric function code
- Loading any other registers with parameters as required by the function
- Executing the
INT
instruction with an interrupt vector number
The BIOS offers its own services under a few different interrupt vector numbers, for example:
- INT 10h - video services
- INT 13h - disk services
DOS, since it is a separate component from the BIOS, offers its services under INT 21h.
精彩评论