Content deleted Content added
When ah=2, the register which should contain the character to be written is dl, not al |
consistent capitalization, explanation |
||
Line 1:
The '''MS-DOS API''' is an [[API]] used originally in [[MS-DOS]]/[[PC-DOS]], and later by other [[DOS]] systems.
The [[DOS Protected Mode Interface]] extends the DOS API to 32-bits. The MS-DOS API is partially dependent on x86 code hence DOS cannot be ported to other architectures.
Line 10:
==Common DOS services==
Some basic int 21h function calls present since DOS version 1.0:
{|class="wikitable"
!Subfunction
Line 27 ⟶ 29:
|-
|AH=2h
|
|
|WRITE CHARACTER TO STDOUT
|-
|AH=9h
|
|
|WRITE STRING
|-
|AH=4Ch
|
|never
|TERMINATE PROGRAM
|