Search found 5 matches

by Samstag
Wed Aug 16, 2006 9:32 pm
Forum: PSP Development
Topic: Parity Check (odd/even)
Replies: 8
Views: 5206

Ah, well that's certainly true :)
by Samstag
Wed Aug 16, 2006 9:15 pm
Forum: PSP Development
Topic: Parity Check (odd/even)
Replies: 8
Views: 5206

if(value&1){ /* odd */ }else{ /* even */} That's not a parity check, though. You'd want something more like: byte parity = 0; for&#40;i = 0; i < 8; i++&#41; &#123; if&#40;value & 1&#41; parity = !parity; // toggle parity status value = value >> 1; // rotate bits right &a...
by Samstag
Sat Aug 05, 2006 12:12 am
Forum: PSP Development
Topic: Infrastructure PSP->PSP communication
Replies: 23
Views: 11421

What Fanjita said. Configure your router to forward port 66476 to the internal IP address of your PSP (192.168.X.X) and you should be in business. One of the problems with your method of connecting PSPs is that every end-user who wants to act as a server will have to learn the same thing. This also ...
by Samstag
Fri Jul 28, 2006 2:22 am
Forum: PSP Development
Topic: Video Playback Help...
Replies: 16
Views: 4002

ADePSP wrote:Not sure why I could load 5 screens in at the start with no problem but to load one big pic with all of them in causes a crash but nevermind...
Because you're dereferencing a NULL pointer in your calls to blitAlphaImageToScreen().

if(background == NULL) yourImageIsInvalid();
by Samstag
Sat Apr 22, 2006 9:59 pm
Forum: PSP Development
Topic: Mikmod make file?
Replies: 4
Views: 2207

What specific problem are you having with the example program? If it's a runtime "can't open" error it's most likely because sound.wav is expected to be in the root of the memory stick. Either put it there or change "ms0:/sound.wav" to just "sound.wav" and put the file ...