ts-7000
[Top] [All Lists]

Re: [ts-7000] Bit 12 in VIDCTRL (Base + 8) 7KV ,TS 7300

To: <>
Subject: Re: [ts-7000] Bit 12 in VIDCTRL (Base + 8) 7KV ,TS 7300
From: "Charlie Wallace" <>
Date: Thu, 20 Dec 2007 14:02:34 -0800
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU