Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: sys-boot/syslinux/files/syslinux-3.83-disable_cursor.patch

Issue 1748010: Add syslinux patches to disable banner and blinking cursor. (Closed)
Patch Set: Force rebuild of all of syslinux. Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 diff --git syslinux-3.82-orig/core/diskstart.inc syslinux-3.82-new/core/diskstar t.inc
2 index f7ae1da..25b7131 100644
3 --- syslinux-3.82-orig/core/diskstart.inc
4 +++ syslinux-3.82-new/core/diskstart.inc
5 @@ -510,6 +510,7 @@ ldlinux_ent:
6 ;
7 ;mov si,syslinux_banner
8 ;call writestr_early
9 + call disable_cursor
10
11 ;
12 ; Tell the user if we're using EBIOS or CBIOS
13 @@ -593,6 +594,18 @@ verify_checksum:
14
15 ;
16 ;
17 +; disable_cursor: Disable cursor emulation.
18 +; This assumes we're on page 0.
19 +;
20 +disable_cursor:
21 + pushad
22 + mov ch, 020h ; Set bit 5 to disable cursor
23 + mov ah, 01h ; Set text-mode cursor shape
24 + int 10h ; Video BIOS services
25 + popad
26 + ret
27 +
28 +;
29 ; writestr_early: write a null-terminated string to the console
30 ; This assumes we're on page 0. This is only used for early
31 ; messages, so it should be OK.
OLDNEW
« no previous file with comments | « sys-boot/syslinux/files/syslinux-3.83-disable_banner.patch ('k') | sys-boot/syslinux/files/syslinux-3.83-disable_win32.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698