functions available for writing to the video display three different ways to write to the display...
TRANSCRIPT
![Page 1: Functions available for Writing to the Video Display Three different ways to write to the display –Irvine library functions –DOS Video Functions (Interrupt](https://reader035.vdocument.in/reader035/viewer/2022072015/56649edc5503460f94bec03d/html5/thumbnails/1.jpg)
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)
![Page 2: Functions available for Writing to the Video Display Three different ways to write to the display –Irvine library functions –DOS Video Functions (Interrupt](https://reader035.vdocument.in/reader035/viewer/2022072015/56649edc5503460f94bec03d/html5/thumbnails/2.jpg)
Irvine32 Library Video Function
• Clrscr
• Crlf
• DumpMem
• DumpRegs
• GotoXY
• SetTextColor
• WriteBin
• WriteChar
• WriteDec
• WriteHex
• WriteInt
• WriteString
![Page 3: Functions available for Writing to the Video Display Three different ways to write to the display –Irvine library functions –DOS Video Functions (Interrupt](https://reader035.vdocument.in/reader035/viewer/2022072015/56649edc5503460f94bec03d/html5/thumbnails/3.jpg)
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
![Page 4: Functions available for Writing to the Video Display Three different ways to write to the display –Irvine library functions –DOS Video Functions (Interrupt](https://reader035.vdocument.in/reader035/viewer/2022072015/56649edc5503460f94bec03d/html5/thumbnails/4.jpg)
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
![Page 5: Functions available for Writing to the Video Display Three different ways to write to the display –Irvine library functions –DOS Video Functions (Interrupt](https://reader035.vdocument.in/reader035/viewer/2022072015/56649edc5503460f94bec03d/html5/thumbnails/5.jpg)
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