ldlinux: Move DISPLAY file handling out of the core syslinux-5.00-pre13
authorMatt Fleming <matt.fleming@intel.com>
Mon, 3 Dec 2012 13:30:36 +0000 (13:30 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 3 Dec 2012 13:54:46 +0000 (13:54 +0000)
commit82cbb1bd4133035fb37a753c15dfaa57e34db87f
treec76b33222850286a6fa5d379cdddad519a358e0a
parent0163d235652d2cc8f0564da7470983ee450a8a91
ldlinux: Move DISPLAY file handling out of the core

The code that handles the DISPLAY directive was writing directly to
the BIOS VGA page with __intcall(0x10). This caused corruption
problems on the screen because the ansi library code was also writing
to the screen.

The correct way to fix this is to always use the ansi library code
(via printf()) instead of going behind its back and using separate
code paths to write to the screen.

Reported-by: Ady <ady-sf@hotmail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/Makefile
com32/elflink/ldlinux/msg.c [new file with mode: 0644]
core/conio.c