开发者

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:

  1. Loading a register (often AH) with a numeric function code
  2. Loading any other registers with parameters as required by the function
  3. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜