Skip to content

Commit c8e1772

Browse files
authored
[BOOTVID:PC98][PC98VID] Disable the text layer when setting mode (reactos#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 0fa4901. CORE-17977
1 parent b6ae4e1 commit c8e1772

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

drivers/base/bootvid/i386/pc98/bootvid.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ InitializeDisplay(VOID)
219219
TextSync();
220220
TextSync();
221221

222+
/* Turn off the text layer */
223+
WRITE_GDC1_COMMAND(GDC_COMMAND_STOP2);
224+
222225
/* START */
223226
WRITE_GDC2_COMMAND(GDC_COMMAND_BCTRL_START);
224227

win32ss/drivers/miniport/pc98vid/hardware.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ Pc98VidSetCurrentMode(
227227
TextSync();
228228
TextSync();
229229

230+
/* Turn off the text layer */
231+
WRITE_GDC1_COMMAND(GDC_COMMAND_STOP2);
232+
230233
/* START */
231234
WRITE_GDC2_COMMAND(GDC_COMMAND_BCTRL_START);
232235

0 commit comments

Comments
 (0)