ts-7000
[Top] [All Lists]

Re: [ts-7000] Frame Buffer Programming ?

To:
Subject: Re: [ts-7000] Frame Buffer Programming ?
From: Matthew Saint <>
Date: Fri, 4 Aug 2006 21:16:33 +0000 (GMT)
Great, will try on Monday
 
any idea where its documented that 0x21800000 is the video base addr?
Matt

 
----- 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


__._,_.___


SPONSORED LINKS
Linux os Hardware Arms
Computer internet Computer security


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



__,_._,___
<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