I'm having a bit of trouble with the VIDCTRL register, i want to check if a
bitblt is in operation,
but if read VIDCTRL, the hardware locks up solid, i can blitter images from any
page to another
page, set it to a clear colour instead etc, so i've at least got that part
right, but if i read
VIDCTRL, it'll die after a few reads, perhaps i'm getting some contention/race
with the console
driver, or is there something else i've missed ?
Even if i just do a loop with and a page flip
volatile unsigned short VIDCTRL = VGARegs[4];
where VGAREGS is setup with
VGAregs = (unsigned short *)mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_SHARED,
mem_fd, 0x72000000);
if (VGAregs == MAP_FAILED) {
perror("VGAregs:");
return 0;
}
VGAregs += (0x30/sizeof(unsigned short));
It'll die after a few iterations, i may have answered my own question above and
it is some sort of
conflict with the console driver, but it seems odd that it would only effect a
read, so i'll go,
i've already disabled the getty on the console, but i'm not entirely sure if
theres some other
driver i need to disable to allow me unfettered access to the vidcore.
Also still interested in bit 12 of VIDCTRL(Base+8)
-----------
Anyone know what bit 12 is for in VIDCTRL ( Base + 8 ) ?
Is there a newer doc than http://www.embeddedarm.com/Manuals/gs_7kv.pdf ?
Also is the transparency bit thats talked about in the 800x600 driver available
in the standard
640x480 and if so, any info on it?
cheers
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|