Hi,
as a newbie ive been trying my TS-7200 using cygwin on my pc to
compile helloworld ok.
Ive got the Video card too and would like to make some use of it but
im stuck. The TS support helped me by sending the bitblt.c source
code that mmaps the fb and has a bitblt() function.
However, if i compile it i get nothing - well i do see the login
prompt still.
I assume that the frame buffer is a (640x480) * 2 byte buffer and
that code can simply write and read once mapped?
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?
And wheres all the other 7592KB gone i.e wont this be linear video
space?
All help appreciated,
Matt
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/
|