mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[NTVDM]
Make colors appearing in CGA mode 4, but still buggy concerning the computation of the resolution (either the X-dimension is twice big or the Y-dimension is twice small), and the position of the pixels... However the VGA registers are (almost) similar to http://www.brokenthorn.com/Resources/OSDevVid2.html and putting them equal to the settings given there don't change anything new... svn path=/branches/ntvdm/; revision=61435
This commit is contained in:
parent
2752c69839
commit
cc98f9be4f
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ static VGA_REGISTERS VideoMode_320x200_4color =
|
||||||
0x63,
|
0x63,
|
||||||
|
|
||||||
/* Sequencer Registers */
|
/* Sequencer Registers */
|
||||||
{0x00, 0x09, 0x00, 0x00, 0x02},
|
{0x00, 0x09, 0x03, 0x00, 0x02},
|
||||||
|
|
||||||
/* CRTC Registers */
|
/* CRTC Registers */
|
||||||
{0x2D, 0x27, 0x28, 0x90, 0x2B, 0x80, 0xBF, 0x1F, 0x00, 0xC1, 0x00, 0x00,
|
{0x2D, 0x27, 0x28, 0x90, 0x2B, 0x80, 0xBF, 0x1F, 0x00, 0xC1, 0x00, 0x00,
|
||||||
|
@ -99,7 +99,7 @@ static VGA_REGISTERS VideoMode_320x200_4color =
|
||||||
0xFF},
|
0xFF},
|
||||||
|
|
||||||
/* GC Registers */
|
/* GC Registers */
|
||||||
{0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x0F, 0x0F, 0xFF},
|
{0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0F, 0x0F, 0xFF},
|
||||||
|
|
||||||
/* AC Registers */
|
/* AC Registers */
|
||||||
{0x00, 0x13, 0x15, 0x17, 0x02, 0x04, 0x06, 0x07, 0x10, 0x11, 0x12, 0x13,
|
{0x00, 0x13, 0x15, 0x17, 0x02, 0x04, 0x06, 0x07, 0x10, 0x11, 0x12, 0x13,
|
||||||
|
|
Loading…
Reference in a new issue