mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Restore the 80x50 mode in VGAResetDevice().
svn path=/trunk/; revision=2627
This commit is contained in:
parent
409ce02fa7
commit
3ea1b601d2
1 changed files with 4 additions and 0 deletions
|
@ -108,8 +108,12 @@ VOID VGAResetDevice(OUT PSTATUS_BLOCK StatusBlock)
|
||||||
CHECKPOINT;
|
CHECKPOINT;
|
||||||
Event = 0;
|
Event = 0;
|
||||||
|
|
||||||
|
memset(&vxba, 0, sizeof(vxba));
|
||||||
vxba.Eax = 0x0003;
|
vxba.Eax = 0x0003;
|
||||||
vps = VideoPortInt10(NULL, &vxba);
|
vps = VideoPortInt10(NULL, &vxba);
|
||||||
|
memset(&vxba, 0, sizeof(vxba));
|
||||||
|
vxba.Eax = 0x1112;
|
||||||
|
vps = VideoPortInt10(NULL, &vxba);
|
||||||
RtlInitUnicodeString( &Name, L"\\TextConsoleRefreshEvent" );
|
RtlInitUnicodeString( &Name, L"\\TextConsoleRefreshEvent" );
|
||||||
InitializeObjectAttributes( &Attr, &Name, 0, 0, 0 );
|
InitializeObjectAttributes( &Attr, &Name, 0, 0, 0 );
|
||||||
Status = NtOpenEvent( &Event, STANDARD_RIGHTS_ALL, &Attr );
|
Status = NtOpenEvent( &Event, STANDARD_RIGHTS_ALL, &Attr );
|
||||||
|
|
Loading…
Reference in a new issue