I've had to resort to using my serial connection, although as soon as the USB connection dies I can't update the my exe. Also don't look as good on my desk as having just the power and usb cord connected.
Any ideas when running some of my code on the 940 will kill the USB? ( excluding a daft...
This is the same place i'm at with mine, all in C/C++ at the mo. I'm about to drop the windows version for a bit, its getting i the way. May get it working again when the GPU is sorted but before the hand rolled asm stage. Yours sounds like its going for higher quality, and that web page is far...
Thats a good idea but I think like me most are coding the gp2x for fun, and writing a 3d engine is really good fun. :)
The last software render I wrote was for the 486 and did not do textures. So I got the gp2x for two reasons. One to get back to the old school coding I did on the Amiga and to...
I've got the 940 running some code of mine thanks to the excellent demo article by Dzz. But when the app shuts down the 940 is still running its code, which makes the system a bit unstable, kills my putty session and the frontend challanging to navigate with bouncing balls on screen. ;)
I'm...
I'm going to be using the 940 to do my rendering, so I was wondering if for that chip it would be better to have the FB cached and flush the cache no the vsync when you change the displayed FB's? I'm not a ARM guru, so I was wondering what issues there maybe? Would there be time?
I've been putting this code into my engine and I had an idea of a simple way to make the 940 code a bit more robust using the protection unit. You say you've marked the first meg as code, vars and stack. But there is the possibility of the stack dropping down into your vars and if its a real bad...
Sounds like its a pain, I may just go for C now as for what I want c++ classes are not that important. Does mean I can't use my fixed point math classes. (matrix and vector) But i'm not looking to do much of that.
BTW, i've just created a rule for 2005 peaple, add the following to your rules...
Is there a reason you've used a .c file and not a cpp file? I've been doing some code that i've been hoping to run on the second chip, for now I call it at the end of the frame. But its in cpp files as i've used name spaces and a few classes. Would not be too hard to move it to c if there is an...
This don't cover the source, just the rights to distro the version for sale. The best your get is some iso's
So if you buy Wetrix for gba then your only be allowed to sell Wetrix for gba. Your not be allowed change or port it to anything else.
The bad bit, the 'if', is my addition. Whoops, the bit I nabbed was the correct part with the shift. I did not know about the shift, where you get that little nugget from? Seems a bit of a hidden gotcha. ;)
Mmmmm, could I have got that code any more wrong? LoL :P
Thats a very good point, I just nicked that line from the demo tut. Mmm, I need to go and get the magnifying glass out and 'read' the docs, looks like I may have made a pigs ear of it. Its working, but how though? :lol:
I changed it to 0x2804 and it stopped working, had to change the if to " if( (reg.hw.regs16[0x2804]&1) )" instead of the typo " if( (reg.hw.regs16[0x2805]&1) == 0 )" to make it work. Although its untested on the 1.4 FW.
But yes, should have bombed from reading a 16bit value on an odd address...
No but I will. Have to say when I saw the method I used in a doc on the net I did think to my self it did not look right. Its the way MS do it. The second way is what i've seen with ps2 and SN compilers (based on gcc) and what I expected when I checked the gcc docs. I'll go give it a go. Have to...
I can't get -fpack-struct=1 or #pragma pack(push,1) to work on some structs that I need to be byte packed. They all seem to be rounded upto to multiples for 4. Not checked to see what the spacing between the members is but on other compilers when you pack to a byte no rounding up is done.
Best...
I've just been bitten by this, took some of the code from the tut on demos and sat here for an hour reading the docs thinking that the wrong register had been used. Anyway i've done the following and works on my 2.0 Firmware. Is this what you meant?
if( pWait_for_vbl )
{
if(...
I cut and paste the text into a file and used that nothing more. Prob better to say what I did to break it. I had a lib that had a 'link' file as well as a 'ar' file in it. Also my link order was incorrect.
Here is the cmd line to my app, so you can check it against yours.
This one is for the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.