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
16 test byte [DisplayCon],01h ; Write to screen?
22 mov ah,03h ; Read cursor position
33 mov bl,07h ; White on black
35 mov ah,09h ; Write char and attribute
45 .curxyok: mov bh,[BIOS_page]
46 mov ah,02h ; Set cursor position
57 mov ax,0601h ; Scroll up one line
58 mov bh,[ScrollAttribute]
60 mov dx,[ScreenSize] ; The whole screen