ts-7000
[Top] [All Lists]

[ts-7000] Re: Trying to understand TS7KV

To:
Subject: [ts-7000] Re: Trying to understand TS7KV
From: "PeterElliot" <>
Date: Sun, 23 Dec 2007 18:59:28 -0000
Hi Martin,

I've not used the TS-7KV (I'm using a TS-7300).

The 7300 uses a 15-bit color scheme - RRRRRGGGGTBBBB - packed into a 
16-bit value. The 'T' bit is optionally used a transparent toggle bit 
when using some blit operations. I'm fairly sure the color is the 
same for the 7KV, but I'm not sure about the transparent bit.

>From memory (for the TS-7300), I had to map the VIDCTRL and screen 
map as two different locations. The screen is simply a 800x600 or 
640x480 array of 16-bit values.

With regard to the VIDCTRL offsets, I'd have to look at my code. But 
you have to be careful about the size of the register allocated by 
mmap Reg[4] would move depending on the assigned size.

I'll see if I can dig out another example and post it in the files 
section - I have a couple of weeks off but no board to test it on...

Regards,

PJE


--- In  "naturalwatt" <> wrote:
>
> Is there any more documentation on the TS7KV than provided in 
gs_ts7kv.pdf, Getting 
> Started with TS-7KV?
> 
> I have read the example programs, circles-7kv.c and gradients-7kv.c 
and they seem to 
> conflict with the documentation.
> 
> Firstly, is it a 16 bit or 15 bit colour device?  Are the lower 6 
bits for blue?  Or is bit 6 
> (counting from 0) not used?
> 
> The circles program maps both regs and fb to the same address, 
0x2180_0000.  It then uses 
> regs to set VIDCTRL, I think, and fb as a raw area of memory to 
address pixels.
> 
> According to the document, VIDCTRL is BASE+8, or 0x2180_0008, but 
the program sets regs 
> to 0x2180_0000 + 0x30 then references it as regs[4], which would be 
0x2180_0038.  Whilst 
> using the same addresses as a frame buffer.
> 
> What am I missing?
> 
> Martin
>




 
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