aboutsummaryrefslogtreecommitdiffstats
path: root/rawcon.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-08-25 17:16:49 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-08-25 17:16:49 -0700
commit9a05eeb88d20f3f3713ed9af0ef3d15c5d334c52 (patch)
tree12ef6cb751bb971efc4c7f19ee18062ec7b66da8 /rawcon.inc
parent7642960212dfd1e18e2dbea65f30d7d186e5ff0b (diff)
downloadsyslinux.git-9a05eeb88d20f3f3713ed9af0ef3d15c5d334c52.tar.gz
syslinux.git-9a05eeb88d20f3f3713ed9af0ef3d15c5d334c52.tar.xz
syslinux.git-9a05eeb88d20f3f3713ed9af0ef3d15c5d334c52.zip
Support sending information from the comboot module to the syslinux core
as to what the graphics mode is set to.
Diffstat (limited to 'rawcon.inc')
-rw-r--r--rawcon.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rawcon.inc b/rawcon.inc
index 34bb60ba..10d7a764 100644
--- a/rawcon.inc
+++ b/rawcon.inc
@@ -11,6 +11,10 @@ writechr:
push ds
push cs
pop ds
+ test byte [UsingVGA], 08h
+ jz .videook
+ call vgaclearmode
+.videook:
call write_serial ; write to serial port if needed
pushfd
test byte [DisplayCon],01h ; Write to screen?