From: tzeruch@ceddec.com <tzeruch@ceddec.com>
Subject: Re: Multia 166 TGA Console Size - UDB 80x60 patches - cursor autosize
Date: Sun, 13 Jul 1997 00:13:08 -0400 [thread overview]
Message-ID: <97Jul13.001254edt.32258@brickwall.ceddec.com> (raw)
In-Reply-To: <97Jul12.210631edt.32258@brickwall.ceddec.com>
For the cursor autosizing:
/* initialize RAMDAC cursor RAM */
BT485_WRITE(0x00, BT485_ADDR_PAL_WRITE);
#if 1
for (i = 0; i < TGA_F_HEIGHT_PADDED; i++) {
cbp = (unsigned char *)bt485_cursor_source;
for (j = 0; j < 8; j++) {
BT485_WRITE(*cbp++, BT485_CUR_RAM);
}
}
for (i = TGA_F_HEIGHT_PADDED; i < 64; i++) {
cbp = (unsigned char *)bt485_cursor_source;
for (j = 0; j < 8; j++) {
BT485_WRITE(0, BT485_CUR_RAM);
}
}
#else
cbp = (unsigned char *)bt485_cursor_source;
for (i = 0; i < 512; i++) {
BT485_WRITE(*cbp++, BT485_CUR_RAM);
}
#endif
for (i = 0; i < 512; i++) {
BT485_WRITE(0xff, BT485_CUR_RAM);
}
And I should really reduce bt485_cursor_source to a single long long
integer.
--- reply to tzeruch - at - ceddec - dot - com ---
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
prev parent reply other threads:[~1997-07-13 4:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.94.970710093108.24458C-100000@localhost>
1997-07-10 17:32 ` Multia 166 TGA Console Size Benoit E. Donnette
1997-07-13 1:07 ` Multia 166 TGA Console Size - UDB 80x60 patches tzeruch
1997-07-13 3:46 ` Multia 166 TGA Console Size - UDB 160x128 patches tzeruch
1997-07-13 4:13 ` tzeruch [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox