summaryrefslogtreecommitdiff
path: root/ldlinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-04 22:17:17 +0000
committerhpa <hpa>2005-01-04 22:17:17 +0000
commit0f5815800c602279e8a764441a16fd5478c0f387 (patch)
treec920ee4220350d5f721f34241a0cf002c32e94d1 /ldlinux.asm
parent10ae4b4ddda70fd165620864591886a8810d4be0 (diff)
downloadsyslinux-3.02-pre3.tar.gz
New CONSOLE directive to enable/disable the video console.syslinux-3.02-pre3
Diffstat (limited to 'ldlinux.asm')
-rw-r--r--ldlinux.asm3
1 files changed, 3 insertions, 0 deletions
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