MadDog
Member
Re: My 3d engine.
I've got a 'c' version of my software renderer on the PC going, running on two seperate threads to simulate the two CPU's of the gp2x. I'm doing this for two reasons, speed of development and easy testing of API ideas.
Now, i'm still in my prof of concept stage. (been delayed as i've started a new job, but now have more time on my hands) The first part is done, now i'm ready to move to the next stage. Getting down and dirty with the hardware. I've read the docs and have had previous experiance coding this low. But i've got little Linux experiance so when I tried to mess with the HW regs as expected linux told me off and shut the app down.
After searching the best I came up with was something about a needing a 'driver' that will kill of the OS and give me the system in an 'virgin' state. IE the MMU turned off and no TLB. From there i'll be able to config the mem and move to my prototype stage of the project.
The idea is to have a system with one chunk of memory + reserved 'protected' bits used by my virtual GPU. ( the 940 chip ) A few peaple have ditched the chip for its low cache but I think its top. As its got no MMU you don't get the cache miss cost when a TLB misses the cache. Also rendering tends to be data in data out process. So the small cache size to me does not seem an issue. ( but then I could be wrong )
I've got a 'c' version of my software renderer on the PC going, running on two seperate threads to simulate the two CPU's of the gp2x. I'm doing this for two reasons, speed of development and easy testing of API ideas.
Now, i'm still in my prof of concept stage. (been delayed as i've started a new job, but now have more time on my hands) The first part is done, now i'm ready to move to the next stage. Getting down and dirty with the hardware. I've read the docs and have had previous experiance coding this low. But i've got little Linux experiance so when I tried to mess with the HW regs as expected linux told me off and shut the app down.
After searching the best I came up with was something about a needing a 'driver' that will kill of the OS and give me the system in an 'virgin' state. IE the MMU turned off and no TLB. From there i'll be able to config the mem and move to my prototype stage of the project.
The idea is to have a system with one chunk of memory + reserved 'protected' bits used by my virtual GPU. ( the 940 chip ) A few peaple have ditched the chip for its low cache but I think its top. As its got no MMU you don't get the cache miss cost when a TLB misses the cache. Also rendering tends to be data in data out process. So the small cache size to me does not seem an issue. ( but then I could be wrong )