Ahh I see... so setting it to the data of the screen buffer is implied... I thought you had to tell it.
Thanks for clearing that up!
Search found 20 matches
- Thu Aug 24, 2006 6:11 am
- Forum: PSP Development
- Topic: Framerate
- Replies: 13
- Views: 4403
- Thu Aug 24, 2006 4:49 am
- Forum: PSP Development
- Topic: Framerate
- Replies: 13
- Views: 4403
- Wed Aug 23, 2006 12:54 pm
- Forum: PSP Development
- Topic: SDL Initialization / Issues
- Replies: 5
- Views: 2393
Not really sure on what flags to pass through, In AFKIM I'm passing 0. Based on the readme I don't think passing SDL_HWSURFACE will do anything Video - yes, single 32-bit ABGR framebuffer surface only; SDL will emulate other formats as necessary. No HW accel. No 3D. Looking at the sdl-psp source, i...
- Wed Aug 23, 2006 6:54 am
- Forum: PSP Development
- Topic: SDL Initialization / Issues
- Replies: 5
- Views: 2393
It really makes that big of a difference, eh?. Also, you're recommending SWSURFACE over HWSURFACE and don't think DOUBLEBUF makes that big of a diff? Or just correcting my code? :)danzel wrote:Go to 16 bit color to get a big speed increase:
screen = SDL_SetVideoMode(480, 272, 16,SDL_SWSURFACE|SDL_NOFRAME);
- Tue Aug 22, 2006 11:03 pm
- Forum: PSP Development
- Topic: SDL Initialization / Issues
- Replies: 5
- Views: 2393
SDL Initialization / Issues
So I wrote my recent RPG engine on my Macbook pro using SDL (for faster compilation and testing) and began running it on the PSP last week. I'm noticing some definitely issues and lag when running on the handheld. - The first issue was my fading screen code was "flickering" when using doub...
- Wed Apr 19, 2006 6:47 am
- Forum: PSP Development
- Topic: Preparing Mac OS X for PSPSDK
- Replies: 29
- Views: 25247
- Wed Mar 22, 2006 7:14 am
- Forum: PSP Development
- Topic: utimes() usage.. does it work?
- Replies: 9
- Views: 3069
- Wed Mar 08, 2006 4:45 am
- Forum: PSP Development
- Topic: utimes() usage.. does it work?
- Replies: 9
- Views: 3069
I believe that you can't change the mod time of a folder by changing its contents, at least on the PSP. Well I did it by connecting it to my G5 and changing the last modified that way, and the file is STILL not at the top of my list. (Top is still the last one I dragged over...) A simple, kludgy wa...
- Tue Mar 07, 2006 8:09 am
- Forum: PSP Development
- Topic: utimes() usage.. does it work?
- Replies: 9
- Views: 3069
I don't think utimes is actually implemented cause noone worked out how to use chstat to do it, maybe I will do it at some point in the future :) Of course if you want use sceIoChstat directly, I think you create a SceIoStat structures with the times in it, then call sceIoChstat(file, bitmask) wher...
- Tue Mar 07, 2006 5:43 am
- Forum: PSP Development
- Topic: utimes() usage.. does it work?
- Replies: 9
- Views: 3069
- Sun Mar 05, 2006 3:31 pm
- Forum: PSP Development
- Topic: utimes() usage.. does it work?
- Replies: 9
- Views: 3069
I keep thinking it has to be something simple... maybe a typo since I was coding the whole app in one sitting... My dev machine is in my office, so I can't work on it tonight... I'm hoping it's just something simple... I took a look at the psp headers and maybe utimes isn't set up for use on the PSP...
- Sun Mar 05, 2006 2:58 pm
- Forum: PSP Development
- Topic: Reading an ENTIRE file and feeding it into a buffer/string??
- Replies: 8
- Views: 3478
Re: Reading an ENTIRE file and feeding it into a buffer/stri
but I cant find a call that will read more than one line of the text, I have only gotten it to flash the entire text, but only 1 char by 1 char, at the position i set it at, does anyone think they can help? fread()? Or am I mis-understanding the problem? Yeah, I wasn't 100% on what his problem was ...
- Sun Mar 05, 2006 2:27 pm
- Forum: PSP Development
- Topic: Reading an ENTIRE file and feeding it into a buffer/string??
- Replies: 8
- Views: 3478
- Sun Mar 05, 2006 1:28 pm
- Forum: PSP Development
- Topic: utimes() usage.. does it work?
- Replies: 9
- Views: 3069
- Sun Mar 05, 2006 10:24 am
- Forum: PSP Development
- Topic: utimes() usage.. does it work?
- Replies: 9
- Views: 3069
utimes() usage.. does it work?
I was trying to use utimes() to set the last modified date on a file, does this command not work on the PSP? I see we have times.h in the SDK but I keep getting an undefined reference to utimes() even though I'm including the proper headers... Does anyone else have any advice on using utimes() for t...
- Fri Feb 17, 2006 10:40 am
- Forum: PSP Development
- Topic: Using libpng.. max file size?
- Replies: 1
- Views: 996
Using libpng.. max file size?
I tried loading in an image at about 1MB for testing and crashed the PSP.
Is there just a limit on file sizes someplace in libpng? Or would this be an individual limitation within my graphics engine?
Thanks in advance!
Is there just a limit on file sizes someplace in libpng? Or would this be an individual limitation within my graphics engine?
Thanks in advance!
- Fri Feb 17, 2006 5:11 am
- Forum: PSP Development
- Topic: Which IDE to use for developing for the PSP
- Replies: 8
- Views: 3449
- Thu Nov 17, 2005 1:33 pm
- Forum: PSP Development
- Topic: need help
- Replies: 4
- Views: 1618
Re: need help
In linux it would probably be "source ~/.bash_profilepspwill wrote:i ran the toolchain but i had an error at the nd and now when i type make it says
- Fri Aug 19, 2005 2:52 pm
- Forum: PSP Development
- Topic: Image Flickering using double buffer(very annoying).
- Replies: 9
- Views: 3457
Could someone point me in a good direction for setting up some simple double buffering using pg.c? If it's easier to write my own graphics library for double buffering, feel free to point me that way too.. email is framerate AT gmail.com. My project is coming along nicely, so you know I'm not just a...
- Sun Aug 14, 2005 2:32 am
- Forum: PSP Development
- Topic: simple button question..
- Replies: 4
- Views: 2103
What is the scrn() command? I haven't seen that yet. Also, as to your question, I learned from reading the docs, asking questions like this, and most importantly, reading other people's code. I've been uploading my code as I work, so if you want to check it out: www.framerate.info/psp/test.zip - sim...