Hello,
> any idea where its documented that 0x21800000 is the video base addr?
After looking at the manual I realized the address I gave you is for the
video memory on the TS-7KV. Sorry about that. The address for video
memory on the TS-7300 is 0x72200000. Try commenting out the getty running
on the virtual console before running the bitblit demo...
//Eddie
> ----- Original Message ----
> From: Eddie Dawydiuk <>
> To:
> Sent: Friday, 4 August, 2006 6:06:29 PM
> Subject: Re: [ts-7000] Frame Buffer Programming ?
>
> Hello,
>
>> If so why wont ;
>>
>> int fd = open("/dev/mem" , O_RDWR|O_SYNC) ;
>>
>> regs = (unsigned short *)mmap(0, 4096,PROT_READ| PROT_WRITE,
>> MAP_SHARED, fd, 0x72000000);
>>
>> fb = (unsigned short *)mmap(0, 640 * 480 * 2, PROT_READ|PROT_ WRITE,
>> MAP_SHARED, fd, 0x72200000);
>>
>> allow me access?
>
> It looks like you are using the wrong address, try using 0x21800000.
>
> There is a program that paints all shades of red, green and blue to
> video memory. You can find it here
> ftp://oz.embeddedar m.com/tmp/ gradients. c.
>
> //Eddie
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|