aboutsummaryrefslogtreecommitdiffstats
path: root/core/bootsect.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/bootsect.inc')
-rw-r--r--core/bootsect.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/bootsect.inc b/core/bootsect.inc
index 200f00ad..0cf0c460 100644
--- a/core/bootsect.inc
+++ b/core/bootsect.inc
@@ -120,6 +120,12 @@ replace_bootstrap:
; Prepare for shutting down
;
call vgaclearmode
+
+;
+; We jump here when loading a kernel image, so that we don't reset
+; the screen mode in "quiet" mode
+;
+replace_bootstrap_noclearmode:
call cleanup_hardware
;