From 0f5815800c602279e8a764441a16fd5478c0f387 Mon Sep 17 00:00:00 2001 From: hpa Date: Tue, 4 Jan 2005 22:17:17 +0000 Subject: New CONSOLE directive to enable/disable the video console. --- ldlinux.asm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ldlinux.asm') diff --git a/ldlinux.asm b/ldlinux.asm index 71428fb9..ceb079fe 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -1055,12 +1055,15 @@ searchdir: writechr: call write_serial ; write to serial port if needed pushfd + test byte [cs:DisplayCon], 01h + jz .nothing pushad mov ah,0Eh mov bl,07h ; attribute mov bh,[cs:BIOS_page] ; current page int 10h popad +.nothing: popfd ret -- cgit v1.2.1