Search found 78 matches

by jason867
Tue Oct 10, 2006 4:23 am
Forum: PSP Development
Topic: mikmod & libmad
Replies: 0
Views: 795

mikmod & libmad

Hello again everyone. I have a few quick questions. First of all, can I use mikmod and libmad (wave & mp3 players) in the same program without running into conflicts? If not, what should I do to get them to co-exist? Secondly, can mikmod (the wave player) play multiple sound effects simultaneous...
by jason867
Sun Oct 08, 2006 12:03 am
Forum: PSP Development
Topic: Problems after updating cygwin/pspsdk
Replies: 3
Views: 1450

Well, somehow I fixed it. I looked into my .bashrc file, and under the pspdev export paths section, there was 3 different export path lines. I had copied them there from an earlier installation of pspsdk. However, this website, http://wiki.ps2dev.org/psp:programming_faq only listed one export path l...
by jason867
Sat Oct 07, 2006 11:09 pm
Forum: PSP Development
Topic: Problems after updating cygwin/pspsdk
Replies: 3
Views: 1450

would the updateing even touch that file? Here's the contents of that file @echo off C: chdir C:\cygwin\bin bash --login -i And I have a laptop that I installed cygwin/pspsdk into (which means it's the same up to date version as my pc) and it's cygwin.bat file shows the exact same thing as above, an...
by jason867
Fri Oct 06, 2006 12:16 pm
Forum: PSP Development
Topic: Problems after updating cygwin/pspsdk
Replies: 3
Views: 1450

Problems after updating cygwin/pspsdk

Hello everyone, long time no see! I just updated my cygwin installation, and I updated the pspsdk part of the most recent toolchain (20060120 I believe) But now the bash shell puts out this error when I try to compile : command not found Owner@Pavilion1200 ~ $ cd ../../usr/local/pspdev/psp/sdk/My_Ho...
by jason867
Wed Apr 19, 2006 11:32 am
Forum: PSP Development
Topic: Can't figure out what's wrong with tried & tested mp3 co
Replies: 3
Views: 1854

I'm not sure if I'm missing something or what... If I can't run the mp3 functions inside the title_screen function, then shouldn't the blitalphaimagetoscreen function screw up too? Because it works fine. Both the mp3 functions, and the graphics functions are contained within c files, with h files ho...
by jason867
Tue Apr 18, 2006 11:24 am
Forum: PSP Development
Topic: Can't figure out what's wrong with tried & tested mp3 co
Replies: 3
Views: 1854

I guess no one has any clue about what's going wrong?
by jason867
Fri Apr 14, 2006 3:16 am
Forum: PSP Development
Topic: Can't figure out what's wrong with tried & tested mp3 co
Replies: 3
Views: 1854

Can't figure out what's wrong with tried & tested mp3 co

I've searched these forums for the answer, to no avail... I'm using the mp3 samples from http://www.scriptscribbler.com/psp/ It worked fine when I followed the tutorial, or modified it slightly. But now I'm implementing it into a project, and I run into problems. I'm doing the all of the mp3 stuff i...
by jason867
Tue Oct 25, 2005 1:27 am
Forum: PSP Development
Topic: Need some more help with some graphics code
Replies: 13
Views: 3735

don't everybody reply at the same time now...
by jason867
Sat Oct 22, 2005 7:29 am
Forum: PSP Development
Topic: Need some more help with some graphics code
Replies: 13
Views: 3735

so can anyone explain to me the bit shifting I would need to do in 8888 mode?
by jason867
Fri Oct 21, 2005 6:46 am
Forum: PSP Development
Topic: Need some more help with some graphics code
Replies: 13
Views: 3735

ok, cool

so, how exactly do I change the bit shifting to for use in 8888? Also, does the starting address of vram change any? I just can't double buffer in 8888 right?
by jason867
Fri Oct 21, 2005 1:09 am
Forum: PSP Development
Topic: Need some more help with some graphics code
Replies: 13
Views: 3735

Ok, I understand that. What's the use of dividing rgb by 8 in that code? Why not leave that out and only use values from 0-31? Can someone explain why it was decided to have it divide by 8 and use 255 values?
by jason867
Thu Oct 20, 2005 10:18 pm
Forum: PSP Development
Topic: Need some more help with some graphics code
Replies: 13
Views: 3735

so does anyone know what exactly is wrong with the code above?
by jason867
Thu Oct 20, 2005 4:45 am
Forum: PSP Development
Topic: Need some more help with some graphics code
Replies: 13
Views: 3735

Someone else (from here) told me that it was 255 in 5551 mode, and it's been working fine all along...
by jason867
Thu Oct 20, 2005 1:55 am
Forum: PSP Development
Topic: Need some more help with some graphics code
Replies: 13
Views: 3735

Need some more help with some graphics code

First off, here is my code for setting up the video mode and what not. void InitializeGraphics(int mode) { sceDisplayGetFrameBuf((void**)&VRAM32, &BUF_WIDTH, &PIXEL_FORMAT, &UNKNOWN); VRAM16 = (u16*) VRAM32; sce...
by jason867
Fri Oct 07, 2005 3:34 am
Forum: PSP Development
Topic: A quick noob question...
Replies: 2
Views: 1261

A quick noob question...

I know that I probably already know the answer to this question, but unless I ask this question and recieve an educated answer, it's gonna bug me to no end.

I know that 2.0 PSPs can be downgraded to 1.5, is it possible to downgrade to 1.0 instead?
by jason867
Thu Sep 29, 2005 3:22 pm
Forum: PSP Development
Topic: How do I use the psptoolchain script?
Replies: 82
Views: 47074

I've finally gotten around to updating to the latest toolchain and updating the installation, and I got a few questions. I downloaded the psptoolchain version 20050906 and unziped the psptoolchain folder into the cygwin\home\owner\ directory Now, I haven't updated anything in quite a while. Do I nee...
by jason867
Thu Sep 29, 2005 4:30 am
Forum: PSP Development
Topic: 2D Spek of PSP
Replies: 6
Views: 3084

Most of what I know was also learned while programming on the GBA...

I always wondered if there were such things as hardware controlled layers and sprites on the psp, like on the gba. I would've asked but I feared it might make me look more like a n00b, lol...
by jason867
Wed Sep 28, 2005 11:27 pm
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 22407

did you include <png.h>
and <zlib.h> (im not sure if you actually need this one or not...)

i typed all of this in with my psp browser! lol
by jason867
Wed Sep 28, 2005 10:08 am
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 22407

Did you install libpng and zlib via svn?
by jason867
Sun Sep 11, 2005 10:22 am
Forum: PSP Development
Topic: 2d graphics
Replies: 1
Views: 1182

2d graphics

I've searched through these forums somewhat, but I haven't found anything to help me out.

What are my options to displaying sprites on the psp? And what about tiled graphics? Which sources or librarys should I look at to get started?

Thanks for everyone's help.
by jason867
Sun Sep 11, 2005 10:15 am
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 22407

I completely missed that! I just glanced at your makefile and thought it was the same as before. Yeah, that fixed it, thanks! By the way, how do you make comments in makefiles, it's the character '@' right? I had a couple more questions, but I can't think of them at the moment. Thanks again for all ...
by jason867
Sun Sep 11, 2005 4:06 am
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 22407

For others who might have trouble using Jason's code, I thought it might be useful to see as many working implementations of it as possible. I think one working implementation, which works with all pixel formats and all vram start adresses, is better: main.c Makefile I finally got around to impleme...
by jason867
Wed Aug 31, 2005 8:18 am
Forum: PSP Development
Topic: I've been meaning to ask this for a while now.
Replies: 3
Views: 1444

So do you mean that I should change the way I use sceDisplaySetFramBuf() to your way, and then instead of this; u16 *address=VRAM+&#40;&#40;&#40;&#40;512&#41;*PIXEL_SIZE&#41;*y&#41;+x&#41;; I should have this; u8 *address=VRAM+&#40;&#40;&#40;&#40;512&a...
by jason867
Wed Aug 31, 2005 4:09 am
Forum: PSP Development
Topic: I've been meaning to ask this for a while now.
Replies: 3
Views: 1444

I've been meaning to ask this for a while now.

Ok, I have my own set of simple graphics routines in C for the PSP. They work fine and everything, but there's one thing that completely baffles me. Everyone says that PIXEL_SIZE is always either 2 or 4, depending on the video mode being used. Well, I used 2 for PIXEL_SIZE because of the video mode ...
by jason867
Tue Aug 30, 2005 4:57 pm
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 22407

I could do that if I understood the bit shifting part. ( I do realize that bit shifting is simply rotating a series of bits in one direction or another, such as 00100 turning into 01000 or 00010, I just don't have any expierience in bit shifting)
by jason867
Tue Aug 30, 2005 4:49 pm
Forum: PSP Development
Topic: Which emulator is the fastest?
Replies: 2
Views: 1421

Which emulator is the fastest?

I was wondering, which of the 5 or so snes emulators released for the psp is the fastest? And is there any specific advantages or disadvantages to certain ones, other than speed?

If this is an inappropriate topic for this forum then tell me and I deeply apoligize.
by jason867
Tue Aug 30, 2005 4:26 pm
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 22407

lol, I told you he knew what he was talking about...lol
by jason867
Tue Aug 30, 2005 3:37 pm
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 22407

I've looked through your source, messed around and expieriemented with it. I even used some of my stuff and tried the same thing. And I confess, this has me dumbfounded as hell! No matter what I do, I can't get text to be saved in the screenshot without being distorted. I can save pixel-drawn images...
by jason867
Tue Aug 30, 2005 12:58 pm
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 22407

Let me see your source code in its current state?
by jason867
Tue Aug 30, 2005 10:15 am
Forum: PSP Development
Topic: Problems with screenshot code.
Replies: 90
Views: 22407

Try including this file.
#include <pspdisplay.h>

And then put this line somewhere at the beginning of main.c.
sceDisplaySetMode(1,SCR_WIDTH,SCR_HEIGHT);

Then do your thing and take the picture. I bet that fixes it.