Search found 476 matches

by Jim
Fri Apr 25, 2008 3:40 pm
Forum: PSP Development
Topic: Files in eboot for single file programs
Replies: 25
Views: 8900

int mystrp = *char; mystrp is a pointer that refers to the first byte of mystr char *mystrp = mystr; If it's hex then that would work even better because the size would be smaller No, there's no difference between char mystr="ABC"; and char mystr[]={0x41, 0x42, 0x43, 0x00}; char imagedata...
by Jim
Fri Apr 25, 2008 3:32 pm
Forum: PSP Development
Topic: Adjust alpha values in an image
Replies: 11
Views: 3688

Sorry to double but it's been a couple days. GU Lesson 1 - Things I don't understand: 1) There are some variables declared like so: u32 tickResolution; u64 fpsTickNow; Is this unsigned ints of 32 bits and 64 bits respectively? Yes. 2) The vertex structs are created with this thingy in the declarati...
by Jim
Wed Apr 23, 2008 11:12 pm
Forum: PSP Development
Topic: libpspsnd dependancies
Replies: 8
Views: 2621

libmikmod and mikmodlib can play a lot of different modules, and can also be used to play mono samples.

Jim
by Jim
Wed Apr 23, 2008 11:10 pm
Forum: PSP Development
Topic: CYGWIN psp-gcc: command not found
Replies: 8
Views: 3164

Either you're using Cygwin, in which case modifying the Windows environment variables is retarded - you need to add the paths to your Cygwin environment - or you've installed a Windows based PSP SDK in which case you're reading the wrong faqs.
Your sig is retarded too.

Jim
by Jim
Tue Apr 15, 2008 10:49 pm
Forum: PS3 Linux Development
Topic: PS3 Ubuntu/Yellowdog file handling issues
Replies: 10
Views: 7832

Now I just need to figure out why my app reports I'm out of memory
I suspect another endian problem, just a little further in.
Normally
malloc (0x00 00 00 01)
becomes
malloc (0x01 00 00 00)
and you run out of ram.

Jim
by Jim
Fri Apr 11, 2008 11:14 pm
Forum: PSP Development
Topic: serialization
Replies: 11
Views: 2992

serialization can be useful for other things like data transfer between 2 PSPs for multiplayer and whatnot I don't grok this either. Are you expecting the PSP on the other end of the connection to be running different-endian, different-ieee754, different CPU, different OS, different vendor, differe...
by Jim
Fri Apr 11, 2008 11:08 pm
Forum: General Discussion
Topic: Any recommendations???
Replies: 2
Views: 3425

Brasso? That worked on my mobile phone screen. It takes ages (hours) to knock the scratches out, but it works... You can also get even finer plastic polishes.

Jim
by Jim
Thu Apr 10, 2008 11:16 pm
Forum: PSP Development
Topic: serialization
Replies: 11
Views: 2992

Your high score tables have pointers in to other data structures?!
Come on, .net style serialization isn't necessary here.

Jim
by Jim
Wed Apr 09, 2008 9:34 pm
Forum: PSP Development
Topic: serialization
Replies: 11
Views: 2992

Just use fread/fwrite on the whole data structures. Way easier than writing out all the elements by hand.

Jim
by Jim
Thu Apr 03, 2008 10:10 pm
Forum: PSP Development
Topic: Slide image from x, y -> x2, y2
Replies: 17
Views: 3964

:-P

Jim
by Jim
Thu Apr 03, 2008 9:29 pm
Forum: PSP Development
Topic: Slide image from x, y -> x2, y2
Replies: 17
Views: 3964

pseudo code

Code: Select all

steps = 10

dx = (endx - startx) / steps
dy = (endy - starty) / steps

x = startx
y = starty

for c = 0 to steps
  draw(x,y)
  x += dx
  y += dy
next
Jim
by Jim
Thu Apr 03, 2008 7:01 am
Forum: PSP Development
Topic: Polygon Tessellation
Replies: 9
Views: 4537

I don't know how the PSP hardware works, but on PS1 the hardware could 'early out' of a 2d triangle that went over the right or bottom of the screen - it would just stop drawing spans at the right, and stop rasterizing at the bottom, so you got 2d clip for free. But at the left and top, the rasteriz...
by Jim
Wed Apr 02, 2008 10:47 pm
Forum: PSP Development
Topic: Polygon Tessellation
Replies: 9
Views: 4537

You don't clip vertices, you clip triangles. So each triangle which is 3 of those vertices gets clipped and might generate some extra vertices and some extra triangles. So, I guess, if you have 50 vertices, you can start adding extra vertices at the end of that space, 51, 52, etc - just make sure yo...
by Jim
Wed Apr 02, 2008 10:42 pm
Forum: General Discussion
Topic: PS Programmings need use C/C++?
Replies: 3
Views: 4106

Want to make 3d models and see them on the PS? Then use any of those 3d packages, but there's nothing in the SDKs that lets you use them directly - you'll need to write or borrow a loader and write your own renderer.

Jim
by Jim
Tue Apr 01, 2008 10:45 pm
Forum: PSP Development
Topic: C function problem
Replies: 10
Views: 3253

SceIoDirent dir;
You need to clear dir else it will sometimes crash
SceIoDirent dir = {0};
fixes that.

Jim
by Jim
Tue Mar 25, 2008 6:59 am
Forum: PSP Development
Topic: A few questions about pspGL.
Replies: 6
Views: 2550

Nothing weird about it. Noone uses them and would almost certainly roll their own if they needed one. If you come up with a drop-in replacement, why not add it to PSPGL in SVN? Then it'll always be there for everyone else.

Jim
by Jim
Sun Mar 16, 2008 8:43 am
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 263250

Either it can't find the C compiler (paths wrong) or some libs are missing, usually libc (paths wrong, or libc or something else didn't build).

Jim
by Jim
Wed Feb 20, 2008 8:50 pm
Forum: PSP Development
Topic: Hello, everyone, have you met the failure when fork process?
Replies: 5
Views: 2250

This is a cygwin error, right? It's a problem a number of people have and it's a bug in cygwin that doesn't seem to be being fixed. Possibly it happens when resources are low - low ram, overactive virus scanner, spyware etc.
Try updating your cygwin install first of all.

Jim
by Jim
Wed Feb 13, 2008 9:29 pm
Forum: PSP Development
Topic: NT-kernel on PSP
Replies: 11
Views: 4438

Android is based on Linux kernel 2.6 which, one assumes, requires an MMU which means PSP is out as a platform.

Jim
by Jim
Wed Feb 13, 2008 9:21 pm
Forum: PSP Development
Topic: Android on PSP
Replies: 2
Views: 1563

uclinux != linux
by Jim
Mon Jan 28, 2008 10:13 pm
Forum: PS3 Linux Development
Topic: How to get more RAM for the PS3 under Linux. My hypothesis.
Replies: 33
Views: 21226

You really are barking up the wrong tree without a paddle.
Jim
by Jim
Mon Jan 28, 2008 10:23 am
Forum: PSP Development
Topic: PS1 Save Checksum on PSP
Replies: 2
Views: 1579

It's either a hash or a signed hash. We don't know the hashing algorithm, the key for the signature or the signature algorithm, though we can take a stab at the first and last of those.
I doubt they're as simple as the ones on the Datel .xpo .xps files.

Jim
by Jim
Thu Jan 17, 2008 6:36 am
Forum: PSP Development
Topic: How to write a Hex value in a file...
Replies: 11
Views: 3148

It's the difference between
unsigned char i1 = 8;
and
unsigned char i1 = '8';

Jim
by Jim
Wed Jan 09, 2008 8:45 pm
Forum: PSP Development
Topic: Problems with SDL installation
Replies: 13
Views: 3728

pspsdk works fine under cygwin, on xp or vista. You don't need Linux.
Jim
by Jim
Wed Jan 09, 2008 8:41 pm
Forum: PSP Development
Topic: Libertas/WLAN hacking as done in DA's MacSpoofer
Replies: 66
Views: 36227

It's not a bad abstraction - store = xmit, retrieve = recv, etc. etc.
A bit peculiar though.

Jim
by Jim
Sun Jan 06, 2008 12:31 am
Forum: General Discussion
Topic: PSP scene & Noobs whats your thoughts?
Replies: 1
Views: 2384

You're right. It's dead tiresome. Why don't you PM me directly?

Jim
by Jim
Tue Jan 01, 2008 12:44 pm
Forum: PSP Development
Topic: Assembly Language
Replies: 15
Views: 4677

What JF is saying is that learning assembly is learning assembly, no matter the platform. Learning PSP programming is a separate task. You almost certainly won't find a tutorial that teaches you both in one step.

Jim
by Jim
Tue Jan 01, 2008 6:51 am
Forum: PSP Development
Topic: Psp and electronics project, need help
Replies: 31
Views: 10987

??? clearly the wires must be insulated from one another or the Sony gear wouldn't work. Admittedly they're very delicate, but, obviously, the copper in the sheath is isolated from the copper inside the core.

Jim
by Jim
Tue Jan 01, 2008 6:24 am
Forum: PSP Development
Topic: Is it possible to increase kernel memory ?
Replies: 9
Views: 4795

Allocate the memory in your user area and pass a pointer to the kernel code.

Jim
by Jim
Sat Dec 22, 2007 12:05 am
Forum: PSP Development
Topic: prx modification project for usb storage device
Replies: 11
Views: 4786

ffs