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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: sys-boot/syslinux/files/syslinux-3.83-disable_cursor.patch
diff --git a/sys-boot/syslinux/files/syslinux-3.83-disable_cursor.patch b/sys-boot/syslinux/files/syslinux-3.83-disable_cursor.patch
new file mode 100644
index 0000000000000000000000000000000000000000..8297f0becc9bb133b168016d325c0aa1e2159800
--- /dev/null
+++ b/sys-boot/syslinux/files/syslinux-3.83-disable_cursor.patch
@@ -0,0 +1,31 @@
+diff --git syslinux-3.82-orig/core/diskstart.inc syslinux-3.82-new/core/diskstart.inc
+index f7ae1da..25b7131 100644
+--- syslinux-3.82-orig/core/diskstart.inc
++++ syslinux-3.82-new/core/diskstart.inc
+@@ -510,6 +510,7 @@ ldlinux_ent:
+ ;
+ ;mov si,syslinux_banner
+ ;call writestr_early
++ call disable_cursor
+
+ ;
+ ; Tell the user if we're using EBIOS or CBIOS
+@@ -593,6 +594,18 @@ verify_checksum:
+
+ ;
+ ;
++; disable_cursor: Disable cursor emulation.
++; This assumes we're on page 0.
++;
++disable_cursor:
++ pushad
++ mov ch, 020h ; Set bit 5 to disable cursor
++ mov ah, 01h ; Set text-mode cursor shape
++ int 10h ; Video BIOS services
++ popad
++ ret
++
++;
+ ; writestr_early: write a null-terminated string to the console
+ ; This assumes we're on page 0. This is only used for early
+ ; messages, so it should be OK.
« 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