<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://osfree.su/doku/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://osfree.su/doku/feed.php">
        <title>osFree wiki - en:docs:dos:api</title>
        <description></description>
        <link>http://osfree.su/doku/</link>
        <image rdf:resource="http://osfree.su/doku/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-04-04T06:09:11+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int2e&amp;rev=1628236177&amp;do=diff"/>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int2f&amp;rev=1712502116&amp;do=diff"/>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int20&amp;rev=1607406455&amp;do=diff"/>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int21&amp;rev=1772688260&amp;do=diff"/>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int22&amp;rev=1773630730&amp;do=diff"/>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int23&amp;rev=1628234376&amp;do=diff"/>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int24&amp;rev=1628234539&amp;do=diff"/>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int25&amp;rev=1716113654&amp;do=diff"/>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int26&amp;rev=1628235582&amp;do=diff"/>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int27&amp;rev=1628235723&amp;do=diff"/>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int28&amp;rev=1640176556&amp;do=diff"/>
                <rdf:li rdf:resource="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int29&amp;rev=1630319716&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://osfree.su/doku/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>osFree wiki</title>
        <link>http://osfree.su/doku/</link>
        <url>http://osfree.su/doku/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int2e&amp;rev=1628236177&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-08-06T07:49:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int2e</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int2e&amp;rev=1628236177&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

Int 2EH

Version

2 and higher

Brief

 PASS COMMAND TO COMMAND INTERPRETER FOR EXECUTION

Family API

Input
DS:SI -&gt; commandline to execute (see #02585)

Return
 all registers except CS:IP destroyed
AX = status (4DOS v4.0)
   0000h successful
   FFFFh error before processing command (not enough memory, etc)
   other error number returned by command</description>
    </item>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int2f&amp;rev=1712502116&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-07T15:01:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int2f</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int2f&amp;rev=1712502116&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

INT 2FH
 AH  Description  06H   ASSIGN  4AH  Task list      4BH  Task switcher  16H      DPMI  43H   XMS  B0H   GRAFTABL  B7H   APPEND  DOS API  Process manager  INT 20H, INT 21H: 00H, 25H, 26H, 31H, 34H, 35H, 4BH, 4CH, 4DH, 50H, 51H, 52H, 55H, 62H,</description>
    </item>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int20&amp;rev=1607406455&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-12-08T05:47:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int20</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int20&amp;rev=1607406455&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

Int 20H

Version

1 and higher

Brief

TERMINATE PROGRAM

Family API

DosExit

Input
CS = PSP segment
Return

Never return

Macro


INCLUDE DOS.INC

TERMINATE


Notes

Function is obsolete. Use</description>
    </item>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int21&amp;rev=1772688260&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-05T05:24:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int21</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int21&amp;rev=1772688260&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

INT 21H

Version

1 and higher

Brief

DOS API Dispatcher

Family API

Family API functions

Win16 API

Dos3Call, NoHookDosCall

Input
 AH  Description  Version  Implemented in DOSKRNL  osFree MacroLib API</description>
    </item>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int22&amp;rev=1773630730&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-16T03:12:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int22</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int22&amp;rev=1773630730&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

PROGRAM TERMINATION ADDRESS

Desc

This vector specifies the address of the routine which is to be given control after a program is terminated; it should never be called directly, since it does not point at an interrupt handler</description>
    </item>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int23&amp;rev=1628234376&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-08-06T07:19:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int23</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int23&amp;rev=1628234376&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

Int 23H

Version

1 and higher

Brief

CONTROL-C/CONTROL-BREAK HANDLER

Family API

Input
none
Return

	* --DOS 1.x---

  AH = 00h abort program
if all registers preserved, restart DOS call
---DOS 2+---
CF clear
  all registers preserved
return via RETF with CF set or (MS-DOS 1,DR DOS) RETF 2 with CF set
    DOS will abort program with errorlevel 0
else (RETF/RETF 2 with CF clear or IRET with CF ignored)
…</description>
    </item>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int24&amp;rev=1628234539&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-08-06T07:22:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int24</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int24&amp;rev=1628234539&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

Int 24H

Version

1 and higher

Brief

CRITICAL ERROR HANDLER

Family API

Input
none
Return
none
Macro

Notes
   invoked when a critical (usually hardware) error is encountered by DOS
  (see #02543); should never be called directly
when DOS terminates a program, it copies the previous value of the
  INT 24 vector out of the PSP (see #01378) and into the interrupt
  vector table</description>
    </item>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int25&amp;rev=1716113654&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-19T10:14:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int25</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int25&amp;rev=1716113654&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

Int 25H

Version

1 and higher

Brief

Absolute disk read

Family API

Input

	*  AL = drive number (00h = A:, 01h = B:, etc)
	*  CX = number of sectors to read (not FFFFh)</description>
    </item>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int26&amp;rev=1628235582&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-08-06T07:39:42+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int26</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int26&amp;rev=1628235582&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

Int 26H

Version

1 and higher

Brief

ABSOLUTE DISK WRITE (except partitions &gt; 32M)

Family API

Input
AL = drive number (00h = A:, 01h = B:, etc)
CX = number of sectors to write (not FFFFh)
DX = starting logical sector number (0000h - highest sector on drive)
DS:BX -&gt; data to write</description>
    </item>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int27&amp;rev=1628235723&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-08-06T07:42:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int27</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int27&amp;rev=1628235723&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

Int 27H

Version

1 and higher

Brief

TERMINATE AND STAY RESIDENT

Family API

Input
DX = number of bytes to keep resident (max FFF0h)
CS = segment of PSP
Return
 never</description>
    </item>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int28&amp;rev=1640176556&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-12-22T12:35:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int28</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int28&amp;rev=1640176556&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

Int 28H

Version

2 and higher

Brief

DOS IDLE INTERRUPT

Family API

Input

SS:SP = top of MS-DOS stack for I/O functions

Return

all registers preserved

Macro

Notes</description>
    </item>
    <item rdf:about="http://osfree.su/doku/doku.php?id=en:docs:dos:api:int29&amp;rev=1630319716&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-08-30T10:35:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>int29</title>
        <link>http://osfree.su/doku/doku.php?id=en:docs:dos:api:int29&amp;rev=1630319716&amp;do=diff</link>
        <description>Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

Int 29H

Version

2 and higher

Brief

 FAST CONSOLE OUTPUT

Family API

VioWrtTty

Input

	*  AL = character to display

Return

	*  nothing

Macro

Notes

BX may be destroyed by some versions of DOS 3.3</description>
    </item>
</rdf:RDF>
