1 ;;; Display the ASCIIZ string at ds:si via BIOS VIDEO call (real mode only)
3 lodsb ; load char to al, increment si
4 or al, al ; see if it's null
5 jz .DONE ; if so, we're finished
6 mov ah, 0x0E ; service 0x0E: output one char
7 mov bh, 0x00 ; display page 0
8 mov bl, 0x07 ; char text attrib (white on black)
14 ;;; Probe the video system of the machine via BIOS VIDEO calls, populate
15 ;;; the HARDWARE_INFO buffer (real mode only).
17 ;; identify the display type
19 mov [bDisplayType], al
21 ;; determine the font size
26 ;;; Determine the font size (width in pixels) of the current display.
50 ;;; Determine the video type via BIOS VIDEO call