Make "PS2 Invaders v1.6" by "InPulSe Team" work.
Posted on 2005-10-16 00:00:00
Implemented some basic support for pad input handling. Nothing really fancy there... A class that wraps the input API (DirectInput in this case) processes keyboard input messages, translates the key to PS2 pad buttons and sends those messages to the PadMan IOP module.

Fixed some problems too with uninitialized variables in the PadMan module.

Implemented instruction NOR in the MIPSIV core.

With those things done, the game is now playable. Except that it's running really slow:


Screenshot #000036


I know why it's running slow: It's because this demo abuses texture uploading. It'll upload a texture for every "sprite" in this image, except maybe for the font which it does one time. I don't really know how I could make go faster though... Maybe implementing texture caching at the DMA level would work, but it would probably be risky. Maybe the DMA copy loop could be improved too. But besides that, there's not much I can do...

All that remains now is just to make sure that the demo can succesfully write its high score file to the memory card. I'm not planning on making the sound work for now. After this, I'll be able to move to another demo.