From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97Jul13.001254edt.32258@brickwall.ceddec.com> Date: Sun, 13 Jul 1997 00:13:08 -0400 From: tzeruch@ceddec.com Subject: Re: Multia 166 TGA Console Size - UDB 80x60 patches - cursor autosize 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