2 ; writechr: Write a single character in AL to the console without
3 ; mangling any registers. This does raw console writes,
4 ; since some PXE BIOSes seem to interfere regular console I/O.
14 call write_serial ; write to serial port if needed
19 mov ah,03h ; Read cursor position
30 mov bl,07h ; White on black
32 mov ah,09h ; Write char and attribute
42 .curxyok: mov bh,[BIOS_page]
43 mov ah,02h ; Set cursor position
53 mov ax,0601h ; Scroll up one line
54 mov bh,[ScrollAttribute]
56 mov dx,[ScreenSize] ; The whole screen