Set default video mode to 3 (80x25 color).
This commit is contained in:
parent
b247ab3061
commit
6877411688
|
@ -13,6 +13,7 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "ldt.h"
|
#include "ldt.h"
|
||||||
#include "miscemu.h"
|
#include "miscemu.h"
|
||||||
|
#include "vga.h"
|
||||||
#include "module.h"
|
#include "module.h"
|
||||||
#include "task.h"
|
#include "task.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
@ -202,7 +203,7 @@ static void DOSMEM_FillBiosSegment(void)
|
||||||
pBiosData->MemSize = 640;
|
pBiosData->MemSize = 640;
|
||||||
pBiosData->NextKbdCharPtr = 0x1e;
|
pBiosData->NextKbdCharPtr = 0x1e;
|
||||||
pBiosData->FirstKbdCharPtr = 0x1e;
|
pBiosData->FirstKbdCharPtr = 0x1e;
|
||||||
pBiosData->VideoMode = 0;
|
pBiosData->VideoMode = 3;
|
||||||
pBiosData->VideoColumns = 80;
|
pBiosData->VideoColumns = 80;
|
||||||
pBiosData->VideoPageSize = 80 * 25 * 2;
|
pBiosData->VideoPageSize = 80 * 25 * 2;
|
||||||
pBiosData->VideoPageStartAddr = 0xb800;
|
pBiosData->VideoPageStartAddr = 0xb800;
|
||||||
|
|
Loading…
Reference in New Issue