Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:docs:dos:api [2018/09/07 03:13] – prokushev | en:docs:dos:api [2018/09/07 06:00] – prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{page> | ||
+ | |||
====== DOS API ====== | ====== DOS API ====== | ||
- | Most of DOS API are invoked using software interrupt INT 21H. In most cases AH register | + | Most of DOS API calls are invoked using software interrupt INT 21H. In most cases AH register |
===== DOS Interrupts ===== | ===== DOS Interrupts ===== | ||
Line 7: | Line 9: | ||
^ Interrupt vector ^ Description ^ Version ^ Notes ^ | ^ Interrupt vector ^ Description ^ Version ^ Notes ^ | ||
| [[en: | | [[en: | ||
- | | [[en: | + | | [[en: |
- | | 22h | Program terminate address | 1.0+ | Return address in calling program | | + | | [[en: |
- | | 23h | Control-C handler address | 1.0+ | Default handler is in the command shell (usually COMMAND.COM) | | + | | [[en: |
- | | 24h | Critical error handler address | 1.0+ | Default handler is in the command shell (usually COMMAND.COM) | | + | | [[en: |
- | | 25h | Absolute disk read | 1.0+ | Implemented in DOS kernel, enhanced in DOS 3.31 to support up to 2 GB partitions | | + | | [[en: |
- | | 26h | Absolute disk write | 1.0+ | Implemented in DOS kernel, enhanced in DOS 3.31 to support up to 2 GB partitions | | + | | [[en: |
- | | 27h | Terminate and stay resident | 1.0+ | Implemented in COMMAND.COM in DOS 1.0, DOS kernel in DOS 2.0+ | | + | | [[en: |
- | | 28h | Idle callout | 2.0+ | Called by DOS kernel when waiting for input | | + | | [[en: |
- | | 29h | Fast console output | 2.0+ | Implemented by the builtin console device driver or a replacement driver like ANSI.SYS | | + | | [[en: |
- | | 2Ah | Networking and critical section | 3.0+ | Called by DOS kernel to interface with networking software | | + | | [[en: |
- | | 2Eh | Reload transient | 2.0+ | Implemented in COMMAND.COM | | + | | [[en: |
- | | 2Fh | Multiplex | 3.0+ | Implemented in DOS kernel and various programs (PRINT, MSCDEX, DOSKEY, APPEND, etc.) depending on subfunction number | | + | | [[en: |
+ | {{page> |