Professional Documents
Culture Documents
Assembler P4a
Assembler P4a
Assembler P4a
http://ce.kashanu.ac.ir/sabaghian/assembly/8086 tutorial/In...
10h/00h
10h/01h
10h/02h
10h/03h
10h/05h
10h/06h
10h/07h
INT
INT
INT
INT
INT
INT
INT
10h/08h
10h/09h
10h/0Ah
10h/0Eh
10h/13h
10h/1003h
11h
INT
INT
INT
INT
INT
INT
INT
12h
13h/00h
13h/02h
13h/03h
15h/86h
16h/00h
16h/01h
INT 19h
INT 1Ah/00h
INT 21h
1 of 8
11/13/2015 08:18 AM
http://ce.kashanu.ac.ir/sabaghian/assembly/8086 tutorial/In...
11/13/2015 08:18 AM
http://ce.kashanu.ac.ir/sabaghian/assembly/8086 tutorial/In...
return:
AH = attribute.
AL = character.
11/13/2015 08:18 AM
http://ce.kashanu.ac.ir/sabaghian/assembly/8086 tutorial/In...
BIN
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
COLOR
black
blue
green
cyan
red
magenta
brown
light gray
dark gray
light blue
light green
light cyan
light red
light magenta
yellow
white
4 of 8
11/13/2015 08:18 AM
http://ce.kashanu.ac.ir/sabaghian/assembly/8086 tutorial/In...
return:
AX = BIOS equipment list word, actually this call
returns the contents of the word at 0040h:0010h.
Currently this function can be used to determine the
number of installed number of oppy disk drives.
Bit elds for BIOS-detected installed hardware:
Bit(s)
Description
15-14 number of parallel devices.
13
not supported.
12
game port installed.
11-9 number of serial devices.
8
reserved.
7-6 number of oppy disk drives (minus 1):
00 single oppy disk;
01 two oppy disks;
10 three oppy disks;
11 four oppy disks.
5-4 initial video mode:
00 EGA,VGA,PGA, or other with on-board video BIOS;
01 40x25 CGA color;
10 80x25 CGA color (emulator default);
11 80x25 mono text.
3 not supported.
2 not supported.
1 math coprocessor installed.
0 set when booted from oppy (always set by emulator).
5 of 8
11/13/2015 08:18 AM
http://ce.kashanu.ac.ir/sabaghian/assembly/8086 tutorial/In...
6 of 8
11/13/2015 08:18 AM
http://ce.kashanu.ac.ir/sabaghian/assembly/8086 tutorial/In...
11/13/2015 08:18 AM
http://ce.kashanu.ac.ir/sabaghian/assembly/8086 tutorial/In...
Notes:
There are approximately 18.20648 clock ticks per second,
and 1800B0h per 24 hours.
AL is not set by emulator yet!
8 of 8
11/13/2015 08:18 AM