Monthly Archives: January 2007

RemaPSP Source code

mafia1ft kept hassling me for the code, so here it is.

http://OFFLINEZIP.wpsho/remapsp/remapspsrc.zip

Copy/pasta of the README_DEV:

RemaPSP is released under GPL. (other than blit.c which is under the BSD license)
The code is well documented.

RemaPSP is a good example of function hooking, I’m not sure if this works much different in 3.03OE but I suspect it doesn’t.

Check main.h there are lots of things that can be configured in there, including the wifi play.

What is wifi play you ask? Well, when I made RemaPSP I added some functionality to control your psp over the wifi, however it would only work through the 1.5 BootstrapLoader and I couldn’t be bothered writing a good windows client for it so I never released it.
The protocol is really simple, send a 4 byte udp packet to port 14567 on the PSP and it will be or’d into the pressed buttons value.
There is an example client in the client dir, it is incredibly simple however (only sends one button press)

Enjoy.
danzel – danzelatlocalhostdotgeekdotnz

CHIP8 Emulator

I decided I’d learn a bit more on how emulators work, and what better way to do so than to write one.

So I wrote a CHIP8 Emulator, it took about 3 evenings of coding to get it all working 100%, I had a few mix ups along the way but in the end I managed to get all of the standard CHIP8 games working, with blinky being the last and maze being the first.

If you are planning to make your own chip8 emulator I recommend you read the documentation included with David Winters CHIP8 Emulator: http://www.pong-story.com/chip8/
The first game you are likely to get running correctly is maze, it definitely requires the least working opcodes.
I’ve used SDL to implement my emulator, it provides easy to use framebuffer access and input.
And lets round off with a pic:

Screenshot

Oh yeah, if anyone wants the code I could upload it, bit of a mess tho 🙂