overlay tidbits

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7890 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2004-06-10 10:41:30 +00:00
parent 32b500e5c9
commit 9f54384777
@@ -5,7 +5,7 @@
Other authors: Other authors:
Mark Watson; Mark Watson;
Apsed; Apsed;
Rudolf Cornelissen 5/2002-4/2004. Rudolf Cornelissen 5/2002-6/2004.
*/ */
/* standard kernel driver stuff */ /* standard kernel driver stuff */
@@ -953,12 +953,12 @@ void drv_program_bes_ISA(nm_bes_data *bes)
KISAGRPHW(BUF1ORGL, (bes->a1orgv & 0xff)); KISAGRPHW(BUF1ORGL, (bes->a1orgv & 0xff));
KISAGRPHW(BUF1ORGM, ((bes->a1orgv >> 8) & 0xff)); KISAGRPHW(BUF1ORGM, ((bes->a1orgv >> 8) & 0xff));
KISAGRPHW(BUF1ORGH, ((bes->a1orgv >> 16) & 0xff)); KISAGRPHW(BUF1ORGH, ((bes->a1orgv >> 16) & 0xff));
/* b2 = 0: don't use horizontal mirroring (NM2160) */
/* other bits do ??? */
KISAGRPHW(0xbf, 0x02);
/* ??? */ /* ??? */
KISAGRPHW(0xbd, 0x02); KISAGRPHW(0xbd, 0x02);
KISAGRPHW(0xbe, 0x00); KISAGRPHW(0xbe, 0x00);
/* b2 = 0: don't use horizontal mirroring (NM2160) */
/* other bits do ??? */
KISAGRPHW(0xbf, 0x02);
/* (subpixel precise) source rect clipping is not supported on NeoMagic cards; /* (subpixel precise) source rect clipping is not supported on NeoMagic cards;
* so we do 'pixel precise' left clipping via modification of buffer * so we do 'pixel precise' left clipping via modification of buffer
* startadress above instead. * startadress above instead.