Restore the 80x50 mode in VGAResetDevice().

svn path=/trunk/; revision=2627
This commit is contained in:
Hartmut Birr 2002-02-15 20:17:10 +00:00
parent 409ce02fa7
commit 3ea1b601d2

View file

@ -108,8 +108,12 @@ VOID VGAResetDevice(OUT PSTATUS_BLOCK StatusBlock)
CHECKPOINT;
Event = 0;
memset(&vxba, 0, sizeof(vxba));
vxba.Eax = 0x0003;
vps = VideoPortInt10(NULL, &vxba);
memset(&vxba, 0, sizeof(vxba));
vxba.Eax = 0x1112;
vps = VideoPortInt10(NULL, &vxba);
RtlInitUnicodeString( &Name, L"\\TextConsoleRefreshEvent" );
InitializeObjectAttributes( &Attr, &Name, 0, 0, 0 );
Status = NtOpenEvent( &Event, STANDARD_RIGHTS_ALL, &Attr );