开发者

bios interrupt and dos interuppt

开发者 https://www.devze.com 2023-01-29 02:46 出处:网络
what is the difference between dos i开发者_如何学Gonteruppt and bios interupptIn 16-bit 80x86 programming, user programs communicate with system service using interrupts. Typically this takes the form

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

精彩评论

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