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. --- extlinux.asm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'extlinux.asm') diff --git a/extlinux.asm b/extlinux.asm index 9577d310..78496bd5 100644 --- a/extlinux.asm +++ b/extlinux.asm @@ -6,7 +6,7 @@ ; ; A program to boot Linux kernels off an ext2/ext3 filesystem. ; -; Copyright (C) 1994-2004 H. Peter Anvin +; Copyright (C) 1994-2005 H. Peter Anvin ; ; This program is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by @@ -1151,12 +1151,15 @@ unmangle_name: call strcpy 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