diff options
Diffstat (limited to 'src/ativga.c')
-rw-r--r-- | src/ativga.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ativga.c b/src/ativga.c index f9e57d1..649c7dd 100644 --- a/src/ativga.c +++ b/src/ativga.c @@ -64,8 +64,6 @@ ATIVGAPreInit pATIHW->seq[2] = 0x0FU; if (pATI->depth <= 4) pATIHW->seq[4] = 0x06U; - else if (pATI->Adapter == ATI_ADAPTER_VGA) - pATIHW->seq[4] = 0x0EU; else pATIHW->seq[4] = 0x0AU; @@ -78,10 +76,8 @@ ATIVGAPreInit pATIHW->crt[19] = pATI->displayWidth >> 3; else pATIHW->crt[19] = pATI->displayWidth >> 4; - if ((pATI->depth >= 8) && (pATI->Adapter == ATI_ADAPTER_VGA)) - pATIHW->crt[23] = 0xC3U; - else - pATIHW->crt[23] = 0xE3U; + + pATIHW->crt[23] = 0xE3U; pATIHW->crt[24] = 0xFFU; /* Initialise attribute controller register values */ @@ -103,8 +99,6 @@ ATIVGAPreInit pATIHW->attr[Index] = Index; if (pATI->depth <= 4) pATIHW->attr[16] = 0x81U; - else if (pATI->Adapter == ATI_ADAPTER_VGA) - pATIHW->attr[16] = 0x41U; else pATIHW->attr[16] = 0x01U; pATIHW->attr[17] = 0xFFU; |