Page 1 of 1

A few questions...

PostPosted: Jul 4, 2002 @ 8:31pm
by gamefreaks
I was working on HPC Doom and after making a few changes it started performing illegal operations. Well, fair enough. I changed the code back to how it was previously. Same again. Bugger. After trying loads (and loads...) of things, as a last resort I deleted everything except the code and resources and re-built the project, complied it and bugger me, it worked fine. The project settings were identical. Anyone know why this happened?

Can someone tell me the video address of the Jornada 720. Will this be different on a French/German/Outer Mongolial/Martian device?

Whats the fasest way to draw 2 horizontally ajacent pixels (unsigned short,same source data).

A couple of people have mentioned that I should port HPC Doom to the PPC. Is Jimmy's buggy? What are the problems with it? Who would be interested in this project. It is a full port of Doom. Pure and simple (at the moment, at least 8) )

Is it worth bothering? Will it just become 'Yet another Doom port :cry: '.

Jornada Frame buffer

PostPosted: Jul 4, 2002 @ 10:32pm
by Conan
I searched all over a few weeks ago. here's what I found
I found various posts mentioning the same address:-
For 720, the framebuffer is located at physaddr 0x48200000
----------
framebuffer address: 0x48200000
----------
framebuffer: 640x240 type=5 linebytes=1280 addr=0x48200000
---------
+static struct map_desc jornada720_io_desc[] __initdata = {
+ /* virtual physical length domain r w c b */
+ { 0xe8000000, 0x00000000, 0x02000000, DOMAIN_IO, 1, 1, 0, 0 }, /* Flash bank 0 */
+ { 0xf0000000, 0x48000000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 }, /* Epson registers */
+ { 0xf1000000, 0x48200000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 }, /* Epson frame buffer */
+ { 0xf4000000, 0x40000000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 }, /* SA-1111 */
+ LAST_DESC
----------
The epson1356fb.c module depends on the following memory
map (set up near the bottom of arch/arm/jornada720.c):

static struct map_desc jornada720_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf0000000, 0x48000000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 },
/* Epson registers */
{ 0xf1000000, 0x48200000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 },
/* Epson frame buffer */
....
};
(The epson chip is at physical address 0x48000000, mapped
to kernel virtual 0xf0000000; the frame buffer for the epson
is at physical 0x48200000, mapped to kernel virtual 0xf1000000 )

Hopefully this information is accurate.