Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
en:docs:dos:api [2018/09/07 03:10] – created prokushev | en:docs:dos:api [2018/09/07 03:33] – prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{logos: | ||
+ | |||
====== DOS API ====== | ====== DOS API ====== | ||
- | Most of DOS API are invoked using software interrupt INT 21H. In most cases AH register sets to function number. | + | Most of DOS API calls are invoked using software interrupt INT 21H. In most cases AH register sets to function number. |
===== DOS Interrupts ===== | ===== DOS Interrupts ===== | ||
^ Interrupt vector ^ Description ^ Version ^ Notes ^ | ^ Interrupt vector ^ Description ^ Version ^ Notes ^ | ||
- | | 20h | Terminate program | 1.0+ | Implemented in DOS kernel | | + | | [[en: |
- | | 21h | Main DOS API | 1.0+ | Implemented in DOS kernel | | + | | [[en: |
| 22h | Program terminate address | 1.0+ | Return address in calling program | | | 22h | Program terminate address | 1.0+ | Return address in calling program | | ||
| 23h | Control-C handler address | 1.0+ | Default handler is in the command shell (usually COMMAND.COM) | | | 23h | Control-C handler address | 1.0+ | Default handler is in the command shell (usually COMMAND.COM) | |