Search found 31 matches

by snow
Fri Feb 01, 2008 12:42 am
Forum: PSP Development
Topic: Reading the depthbuffer - Problem with format?
Replies: 6
Views: 4045

Ah, cool. So an image can be extracted from it. Can I ask what you're doing with it by any chance?
by snow
Thu Jan 31, 2008 12:04 pm
Forum: PSP Development
Topic: Reading the depthbuffer - Problem with format?
Replies: 6
Views: 4045

I'm still being educated but if I'm not mistaken the zbuffer isn't any sort of image. It's meta data about the depth of the pixels and their color values. Also the order of the meta data is not a contiguous array of pixels as the color(draw) buffer is. Rendering it will give you garbage.
by snow
Tue Jan 29, 2008 1:59 pm
Forum: PSP Development
Topic: Popstation questions
Replies: 4
Views: 1848

I've been wondering recently how they managed to produce a full speed PSOne emulator for the PSP. I found an early thread on this forum discussing the many pitfalls and issues to create such a thing (and PacMan's PSOne emulator). There was talk of running the native PSOne code directly against the A...
by snow
Sun Jan 27, 2008 12:58 am
Forum: PSP Development
Topic: 2D image failing to display
Replies: 1
Views: 1414

2D image failing to display

I've been toying around with the snes emulator and this is simply me attempting to display a rendered frame. I've borrowed the rendering code from snes9xtyl. The native resolution of the snes is 256x224 (normally). I tried just writing to the VRAM directly which ended up at least showing me pixels b...
by snow
Fri Jan 25, 2008 1:33 pm
Forum: PSP Development
Topic: Grid Layout
Replies: 5
Views: 1645

I just took a trip to Borders today and they have truckloads of game programming books. Look for something that's easy for beginners and isn't 2 meters thick. I picked up a programming primer on OpenGL myself so I could get some insight into how the PSP GU functions (due to their stark similarities ...
by snow
Thu Jan 24, 2008 3:28 am
Forum: PSP Development
Topic: Welcome to the PSP development forum!
Replies: 14
Views: 69033

My favorite link of all time Anyone new here should try the above ^ first always. Since the search seems to be returning the same results all the time I found google is even better these days. Enter any query words you want and then add "site:forums.ps2dev.org" to the search. This signals...
by snow
Wed Jan 23, 2008 7:03 am
Forum: PSP Development
Topic: new psp profiling tutorial
Replies: 5
Views: 3060

This is excellent, thanks. The more documentation the better. I needed info on profiling and this fits the bill.
by snow
Mon Jan 21, 2008 6:37 am
Forum: PSP Development
Topic: Any gotchas with developing on a 64 bit OS?
Replies: 12
Views: 4975

Sorry, been gone for a week on vacation and I had started this thread to deal with an issue before I went away (and lacked internet access). The error had nothing to do with having a 64 bit OS. I had copied the following line from snes9xTYL into the snes9x 1.51 source that I'm trying upgrade to: uns...
by snow
Mon Jan 14, 2008 1:30 pm
Forum: PSP Development
Topic: Any gotchas with developing on a 64 bit OS?
Replies: 12
Views: 4975

I haven't had a lot of time to tool around with it but I'll see if I can't jam something out. I'm still trying to figure out why some malloc calls succeed while others fail. Also this is a port of snes9x so I'm still learning the ins and outs. Once I can isolate and repeat this issue I'll post back....
by snow
Mon Jan 14, 2008 12:31 pm
Forum: PSP Development
Topic: Any gotchas with developing on a 64 bit OS?
Replies: 12
Views: 4975

J.F., Good point. Having a 64 bit architecture is having a 64 bit address space. Pointers being an address in memory and all it just follows that it would need to be wider than the 32 bit I've been on for a decade or more. cheriff, Yeah, that's what the case is. I'm compiling a 32 bit PSP app on 64 ...
by snow
Mon Jan 14, 2008 3:52 am
Forum: PSP Development
Topic: Any gotchas with developing on a 64 bit OS?
Replies: 12
Views: 4975

That's exactly what I was seeing. When the program starts up it's allocating blocks of memory and that fails so it makes calls to free the memory and croaks there as well. I'm hoping I'm just missing a define or something similar. I'll debug and see where things are going haywaire.
by snow
Sun Jan 13, 2008 6:13 pm
Forum: PSP Development
Topic: Any gotchas with developing on a 64 bit OS?
Replies: 12
Views: 4975

Any gotchas with developing on a 64 bit OS?

My laptop died the other day and I replaced it with a new dual core AMD Turion laptop which is 64 bit. I rebuilt my psp development environment and managed to compile my snes9x port project fine. When debugging I'm getting errors in memory allocation where I had none before. I'll be digging into it ...
by snow
Sun Jan 13, 2008 4:24 pm
Forum: General Discussion
Topic: Tips from Captain Obvious
Replies: 3
Views: 3366

Linux FTW!

I popped my hard drive into my buddy's laptop and Ubuntu started up without a hiccup. Got all my stuff back and even made a copy this time :-P
by snow
Sat Jan 12, 2008 1:22 pm
Forum: General Discussion
Topic: Tips from Captain Obvious
Replies: 3
Views: 3366

Tips from Captain Obvious

Always back up your work.

My laptop just committed suicide and brought my PSP dev work with it.

That is all.
by snow
Sun Jan 06, 2008 4:10 pm
Forum: PSP Development
Topic: questions about debug with psplink[solved]
Replies: 11
Views: 5096

Do a clean and build (if you haven't already). That's how I'm debugging and it works fine.
by snow
Sun Jan 06, 2008 3:57 pm
Forum: PSP Development
Topic: questions about debug with psplink[solved]
Replies: 11
Views: 5096

Sorry, I'm somewhat newb material but I think I remember reading that you debug PRX files not ELFs? Put BUILD_PRX=1 into your makefile and rebuild. Try debugging against the PRX file that's generated.
by snow
Tue Jan 01, 2008 10:42 am
Forum: PSP Development
Topic: Debugging with Eclipse
Replies: 3
Views: 1877

Actually, that was it. I did a clean/build once and it didn't work but strangely enough after I did it again it took. Thanks again.
by snow
Tue Jan 01, 2008 7:22 am
Forum: PSP Development
Topic: Assembly Language
Replies: 15
Views: 4677

You can read all about the MIPS32 ISA here:

http://www.csl.cornell.edu/courses/ece3 ... S_Vol2.pdf

The PSP main processor, Allegrex, is a custom MIPS R4000 32 bit. There's lots of good stuff on the wiki of this website:

http://wiki.ps2dev.org/
by snow
Tue Jan 01, 2008 1:06 am
Forum: PSP Development
Topic: Debugging with Eclipse
Replies: 3
Views: 1877

Hmmm good advice but that wasn't it. I'll keep poking around or maybe actually create a serious main entry point and try again.
by snow
Mon Dec 31, 2007 3:29 pm
Forum: PSP Development
Topic: Debugging with Eclipse
Replies: 3
Views: 1877

Debugging with Eclipse

Useful info: PSPLINK 3.0 via USB (latest) Eclipse 3.3 (Europa) using CDT plugin PSP Slim 3.71 M33-2 PSPSDK (latest as of a few days ago) So a debugging session begins in Eclipse and I can begin to step through the code (code listed at the bottom of this post). I step into the InitSnes9x() function a...
by snow
Thu Dec 27, 2007 6:32 am
Forum: PSP Development
Topic: Begin with PSP development.
Replies: 7
Views: 2989

Give us some insight as to what you'd like to do so we don't wax on about libraries you have no need for. I think the source code is pretty well documented and the examples provided with the SDK give you a good start in all areas. If you narrow down the scope of your question I think we could give y...
by snow
Thu Dec 27, 2007 6:18 am
Forum: PSP Development
Topic: compile DaX Mac Spoofer - psppacker error
Replies: 7
Views: 2235

Can you call it from the command line? Is this an issue with the script not recognizing the PSP path?
by snow
Tue Dec 25, 2007 4:14 pm
Forum: PSP Development
Topic: PSP Quake 3 server
Replies: 5
Views: 3942

That is a riot (i.e. awesome). Good for you, sir. My hat is off to you.

Merry Christmas,
snow
by snow
Tue Dec 25, 2007 4:09 pm
Forum: PSP Development
Topic: Directory navigation?
Replies: 2
Views: 1605

Awesome, thanks. I just ran into the Dirent a minute after my post. Didn't know that the unix directory access API was available though.

Thanks again,
snow
by snow
Tue Dec 25, 2007 12:27 pm
Forum: PSP Development
Topic: Directory navigation?
Replies: 2
Views: 1605

Directory navigation?

I've seen the functions and samples of opening/closing, reading/writing but I wanted to know what libraries are available to navigate directories, query files, etc.
by snow
Tue Dec 25, 2007 10:38 am
Forum: PSP Development
Topic: Some starting point on PSP Development...
Replies: 6
Views: 2798

There're a lot of great threads here that outline a lot of what you're looking for. Your best friend is the http://forums.ps2dev.org/search.php (search). I just typed in "visual studio" and found this: http://forums.ps2dev.org/viewtopic.php?t=2493&highlight=visual+studio Looks to be ex...
by snow
Tue Dec 18, 2007 5:01 am
Forum: PSP Development
Topic: Profiling, optimizing and general education
Replies: 11
Views: 4258

I haven't dug into the internals yet but I think it's a static binary. I've put dynarec on the table as an option but I'm going to try to avoid redesigning any of the core as my understanding of the SNES and its many sub processors is nothing beyond 40-50 white papers and technical specs. In another...
by snow
Sun Dec 16, 2007 4:21 pm
Forum: PSP Development
Topic: Profiling, optimizing and general education
Replies: 11
Views: 4258

Nice. Looking at the latest code highlights the fact that the snes9x PSP port is working off of a 5 year old build (1.39 as opposed to 1.51). I'm wondering if I should bring it up to the latest build. Probably would do a lot with my education. Definitely won't be easy given that diffs show these fil...
by snow
Sun Dec 16, 2007 11:47 am
Forum: PSP Development
Topic: Profiling, optimizing and general education
Replies: 11
Views: 4258

Ah, my apologies. That's exactly what I wrote and it's not what I had meant. Didn't mean to crush anyone's hopes. That would be impressive if I was only modifying one of my many PSP emulators ;-P I got so wound up in framing my question to elicit the best response that I did the exact opposite. I'm ...
by snow
Sun Dec 16, 2007 6:10 am
Forum: PSP Development
Topic: Profiling, optimizing and general education
Replies: 11
Views: 4258

I have written a videogame in x86 before but the MIPS32 ISA (while similar to other assembly languages) is a different creature. I think MMX and SSE are extensions available on x86 but not necessarily MIPS although I appreciate the suggestions. I haven't had a chance to poke around with gprof but th...