OLD | NEW |
(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. |
OLD | NEW |