Download presentation
Presentation is loading. Please wait.
Published byAmelia Patterson Modified over 9 years ago
1
Functions available for Writing to the Video Display Three different ways to write to the display –Irvine library functions –DOS Video Functions (Interrupt 21h) –BIOS Video Functions (Interrupt 10h)
2
Irvine32 Library Video Function Clrscr Crlf DumpMem DumpRegs GotoXY SetTextColor WriteBin WriteChar WriteDec WriteHex WriteInt WriteString
3
DOS Video Functions (INT 21h) Place function number in ah before calling INT21h 02- Display char in DL 06- Direct console I/O If DL = FF, read a waiting character from standard input If DL = any other value, write the character in DL to standard output. 09- Display string pointed to by DS:DX
4
BIOS Functions (INT 10h) Place function number in ah before calling INT10h 00- Set video mode 0F- Get current video mode 02- Set Cursor Position 03- Get Cursor Position 05- Select video page 06- Scroll window up 07- Scroll window down 08- Read char at current cursor position 09- Display char and attribute at current position 0A- Display char-no attribute 0E- Display char-advance cursor 0B- Set color palette 0C-Write graphics pixel 0D- Read graphics pixel
5
Where to Find the Details Irvine32 library functions –Table 5.1 (page 140 – details listed after table) – Slide with listings DOS Video Functions –Table C-2 (page 652) –Slides with listings BIOS Video Functions –Table C-3 (page 657) –Section 15.3 of Irvine book
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.