summaryrefslogtreecommitdiff
path: root/extlinux.asm
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 /extlinux.asm
parent7642960212dfd1e18e2dbea65f30d7d186e5ff0b (diff)
downloadsyslinux-9a05eeb88d20f3f3713ed9af0ef3d15c5d334c52.tar.gz
Support sending information from the comboot module to the syslinux core
as to what the graphics mode is set to.
Diffstat (limited to 'extlinux.asm')
-rw-r--r--extlinux.asm20
1 files changed, 1 insertions, 19 deletions
diff --git a/extlinux.asm b/extlinux.asm
index 123c4f68..7ddc278a 100644
--- a/extlinux.asm
+++ b/extlinux.asm
@@ -1314,25 +1314,6 @@ unmangle_name: call strcpy
ret
;
-; writechr: Write a single character in AL to the console without
-; mangling any registers; handle video pages correctly.
-;
-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
-
-;
;
; kaboom2: once everything is loaded, replace the part of kaboom
; starting with "kaboom.patch" with this part
@@ -1533,6 +1514,7 @@ getfssec:
%include "getc.inc" ; getc et al
%include "conio.inc" ; Console I/O
+%include "plaincon.inc" ; writechr
%include "writestr.inc" ; String output
%include "parseconfig.inc" ; High-level config file handling
%include "parsecmd.inc" ; Low-level config file handling