[BOOTVID:PC98][PC98VID] Disable the text layer when setting mode (#8539)

The previous approach was causing the contents of TVRAM to be visible after boot:
https://github.com/user-attachments/assets/df6d2782-4d54-41ab-b4c9-caeb170c4e1e

Fixes a regression introduced in 0fa49018cd.

CORE-17977
This commit is contained in:
Dmitry Borisov
2025-12-28 17:40:17 +06:00
committed by GitHub
parent b6ae4e1296
commit c8e1772109
2 changed files with 6 additions and 0 deletions

View File

@@ -219,6 +219,9 @@ InitializeDisplay(VOID)
TextSync();
TextSync();
/* Turn off the text layer */
WRITE_GDC1_COMMAND(GDC_COMMAND_STOP2);
/* START */
WRITE_GDC2_COMMAND(GDC_COMMAND_BCTRL_START);

View File

@@ -227,6 +227,9 @@ Pc98VidSetCurrentMode(
TextSync();
TextSync();
/* Turn off the text layer */
WRITE_GDC1_COMMAND(GDC_COMMAND_STOP2);
/* START */
WRITE_GDC2_COMMAND(GDC_COMMAND_BCTRL_START);