PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

mips owners

how many of you own a mips machine? I have a couple games i made along with my own graphics lib, and was wondering if anyone still uses this type of device.
I do have a E-125 and I am not going to change it until more powerfull devices are available then the current offerings.

I look forward to xscale, but until then I will most definitely stay with my E-125 which I love (stable, reliable, great screen, etc).
I have a E-125 too, but I only use it to test my apps on MIPS. Other than that I use my E200.

Personally, I create a completely seperate project for legacy PocketPC support, and just have it point to the cpp/h files. This way I don't polute my nice clean PPC2002 projects. ;)
what hoops do i have to jump through to get arm support? so far the only thing i have read that i would need to work with are the keys for older ipaqs and something to do with the fact GXEndDraw() isnt recognized. screen color isnt a big deal either.. other then that is it a fairly straight port?
ARM is the most forgiving of the 3 processors (as far as alignment, etc). If it will run on MIPS, it will most likely run on ARM right off (assuming you don't have any MIPS inline assembly).

On the older iPaqs GXEndDraw doesn't need to do anything, since GXBeginDraw returns a pointer to the real hardware screen buffer. Other devices (MIPS, etc) expose a back buffer, so you have to call GXEndDraw to force it to blit from the DRAM buffer to the hardware. Again, ARM is the most forgiving in this area as well.

Dan East
Trying to think back...but I seem to remember my E125 being RGB565, but in reverse order. like the blue and the green where flipped.
RICoder: no, the E-125 display doesn't have the red and blue channels reversed... It is accessed by software as r-g-b. It is possible though that the actual physical layout is b-g-r...
really. See this is the thing. I was writing GAPIx for a while, and it was an extension for graphics, sound and stuff. I still use it.
It works on every device, totally fine and totally fast. However, on my E-125, the colors are messed up. Reversed B and R. Maybe it was just me :)
Well this is the thing... The only device I own is a E-125 and it uses r-g-b...
I have an E-125 :)
kzinti, I'm not being a smart ass here, but if you take a 24 bit rgb color DDFFEE and do a straight shift to make it 16 (565) 371F3B, then plug that into the GX screen buffer, you get a color match?
RICoder: that's right, it works with simple shifts. I dunno... Is is possible that different E-125 have different screens? (Unlikely imo)
I have two different ways to draw to the casio screen, through a backbuffer then i memcpy/gxenddraw or open the display write to it then enddraw.

now if enddraw does nothing on the ipaq wont you see what is being drawn in realtime?
Casio's E-125 display is already buffered, so you shouln't add another rendering buffer / memcpy overhead.

GXIsDisplayVRAMBuffer == true? -> Don't buffer
GXIsDisplayVRAMBuffer == false? -> Use a buffer
hmm thats what that command was for. hell and all this time i was doing all this extra work.. well at least i have DB support in case i need it. anyway on the ipaq when does the screen actually update?

second.. if you use windows messages to catch key presses and not use gapi for input, would i still be affected by the one key press bug?
Yes, when you write to the Display buffer on an iPaq it updates immediately. That is the reason you should copy your backbuffer along the true orientation of the display (to prevent diagonal tearing). The 38xx iPaqs expose a backbuffer, which is blitted out when GXEndDraw is called. However, the performance is poor, so most game programmers revert to accessing the hardware display buffer directly using a hardcoded address. Look through this forum, because there are examples on how to determine if a device is a 38xx iPaq, and how to directly access the hardware display.

You have to use the standard Windows API for accessing keypresses whether or not you're using GAPI. Basically all GAPI does is give your app exclusive access to all the hardware keys, instead of letting the OS handle them to launch apps, etc. You still have to respond to WM_KEYDOWN / WM_KEYUP or poll key states to process input.

Dan East
I have a mips cassiopwotsit, which I use for mips testing, as this processor is becoming redundant and is less powerfull than arm, I shall be fazing out of developing for it. Simple games that were working on will support mips using a hacked version of easyce, but this is not going to be feasible for advanced projects as assembler will be necessary (plus specific display code). Already decided not to release sh3 for last project because it was not economical (1% of market!?).

Maybe we could support mips, suppose we duplicate various functions and code them in asm, but is there really a market?
What do the sales figures say (any links would be great)?

When is xscale gonna be implemented?
What about the new arm chips with integrated T&L processing, surely that would be better than xscale (for us anyway).

The display is actually very good on my mips device, as it has true 16 colour, you can definately see the difference compared to my ipaq's.
Fuzzajakka · 16 Apr 2002, 17:42 UTC — gfdg
err.... i got a cassiopeia E-115
I got an e115, too.

Just remember that you WILL be pummeled by BE-300 fans asking for you to support it, as long as your software is impressive. They are even more annoying than PPC 2k Cassiopeia fans (which I used to be, but I still revert to my former ways sometimes, even though I have an iPAQ as well).