Set Video Mode
Call
AH = 00h
AL = Video Mode
Return
N/A
--------------------------------------------------------------------------------
Set Cursor Size
Call
AH = 01h
CH = Start scan line
CL = End scan line
Return
N/A
--------------------------------------------------------------------------------
Set Cursor Position
Call
AH = 02h
BH = Display Page
DH = Row
DL = Column
Return
N/A
--------------------------------------------------------------------------------
Get Cursor
Call
AH = 03h
BH = Display Page
Return
CH = Start scan line
CL = End scan line
DH = Row
DL = Column
--------------------------------------------------------------------------------
Get Pen Position
Call
AH = 04h
Return
AH = Pen trigger type
00 = Switch off
01 = Coordinate values
BX = Pixel column
CH = Pixel row (may be CX in higher res modes)
DH = Text row
DL = Text column
--------------------------------------------------------------------------------
Select Display Page
Call
AH = 05h
AL = Page number
Return
N/A
--------------------------------------------------------------------------------
Scroll Up
Call
AH = 06h
AL = Lines to scroll (0 = Clear screen)
BH = Blank line attribute
CH = Upper row
CL = Left column
DH = Lower row
DL = Right column
Return
N/A
--------------------------------------------------------------------------------
Scroll Down
Call
AH = 07h
AL = Lines to scroll (0 = Clear screen)
BH = Blank line attribute
CH = Upper row
CL = Left column
DH = Lower row
DL = Right column
Return
N/A
--------------------------------------------------------------------------------
Read Character and Attribute
Call
AH = 08h
BH = Page Number
Return
AH = Attribute
AL = Character
--------------------------------------------------------------------------------
Write Character and Attribute
Call
AH = 09h
AL = Character
BH = Page Number
BL = Attribute
CX = Repetitions
Return
N/A
--------------------------------------------------------------------------------
Write Character only at Cursor
Call
AH = 0Ah
AL = Character
BH = Page Number
CX = Repetitions
Return
N/A
--------------------------------------------------------------------------------
Set Border/Palette
Call
AH = 0Bh
BH = Mode
0 = Set Border Color
1 = Set Palette
BL = Palette/Color
Return
N/A
--------------------------------------------------------------------------------
Set Pixel
Call
AH = 0Ch
AL = Pixel Value
If bit 7 is set, then value is XOR-ed (not in 256 color mode)
BH = Page Number
CX = Pixel Column
DX = Pixel Row
Return
N/A
--------------------------------------------------------------------------------
Get Pixel
Call
AH = 0Dh
BH = Page Number
CX = Pixel Column
DX = Pixel Row
Return
AL = Pixel Value
댓글 없음:
댓글 쓰기