Input:: / AH 0 - Set Video Mode
Input:: / AH 0 - Set Video Mode
input:
AL = desired video mode.
these video modes are supported:
00h - text mode. 40x25. 16 colors. 8 pages.
03h - text mode. 80x25. 16 colors. 8 pages.
13h - graphical mode. 40x25. 256 colors. 320x200 pixels. 1 page.
example:
mov al, 13h
mov ah, 0
int 10h
dh,
dl,
bh,
ah,
10h
10
20
0
2
mov
mov
int
mov
mov
mov
mov
int
al,
ah,
10h
al,
cx,
dx,
ah,
10h
13h
0
int 21h
100h
dx, offset msg
ah, 9
21h
db "hello world $"
the function does not allow to enter more characters than the
specified buffer size.
see also int21.asm in c:\emu8086\examples