Clear terminal screen and scrollback on emulator startup
authorRobert Pengelly <robertapengelly@hotmail.com>
Sun, 18 Oct 2026 12:29:01 +0000 (13:29 +0100)
committerRobert Pengelly <robertapengelly@hotmail.com>
Sun, 18 Oct 2026 12:29:01 +0000 (13:29 +0100)
interrupts.c

index 8ceabe53e6586a5b01daa2365984e1ffdfb090de..9c4ed280b7192ad7c324abcc853d617fa20ee3a0 100644 (file)
@@ -6080,8 +6080,8 @@ static void bios_video_initialize (void) {
 
     bios_video_initialized = 1;
     
-    /* The BIOS text screen starts blank; remove any previous host output. */
-    fputs ("\033[2J\033[H", stdout);
+    /* Start with a clean DOS text screen instead of retaining host scrollback. */
+    fputs ("\033[2J\033[3J\033[H", stdout);
     fflush (stdout);
 
 }