Search found 376 matches

by Insert_witty_name
Sun Aug 10, 2008 12:19 am
Forum: PSP Development
Topic: How to make a config file?
Replies: 9
Views: 2483

See moonlight's config code in his 1.5 cfw proof of concept.
by Insert_witty_name
Fri Aug 08, 2008 4:37 am
Forum: PSP Development
Topic: HTMLViewer in Homebrew
Replies: 16
Views: 6176

Give the VPL 4MB.

Set your heap size to 8MB.

Experiment, it's hard to say otherwise.
by Insert_witty_name
Thu Aug 07, 2008 10:41 pm
Forum: PSP Development
Topic: HTMLViewer in Homebrew
Replies: 16
Views: 6176

You need the 10MB for the VPL and you need around ~6MB of space free for the cache too.

PSP_HEAP_SIZE_MAX() is no good.

You can get away with allocating about 3MB for the VPL, but you still need 6MB of space free for the cache.
by Insert_witty_name
Thu Aug 07, 2008 10:38 pm
Forum: PSP Development
Topic: Memory Sticks with capacity greater than 4Gb
Replies: 5
Views: 1965

An unsigned int (on PSP anyway) is limited to holding values between 0 - 4294967295 (4Gb).

Try changes your data type to something more suitable, u64?
by Insert_witty_name
Thu Aug 07, 2008 10:05 am
Forum: PSP Development
Topic: Trying to solve a game crash (crt0_prx.c)
Replies: 14
Views: 3682

I was informed previously that Cause - 0x1000003C is a division by zero.

Was I mis-informed?
by Insert_witty_name
Thu Aug 07, 2008 10:02 am
Forum: PSP Development
Topic: HTMLViewer in Homebrew
Replies: 16
Views: 6176

Hi Ooblik, welcome to the forums.

What heap size are you giving your program?
by Insert_witty_name
Wed Aug 06, 2008 5:28 am
Forum: PSP Development
Topic: Trying to solve a game crash (crt0_prx.c)
Replies: 14
Views: 3682

Oops missed that bit.

I saw the Apollonia_PSP.elf but totally missed the crt0_prx.c reference.
by Insert_witty_name
Tue Aug 05, 2008 10:39 pm
Forum: PSP Development
Topic: Trying to solve a game crash (crt0_prx.c)
Replies: 14
Views: 3682

Let's break it down.

Code: Select all

Exception - FPU Exception (IUV)
You're getting an FPU exception.

Code: Select all

Cause - 0x1000003C
The FPU exception is a division by zero.

Code: Select all

EPC - 0x08859A24
You should be putting the EPC value into psp-addr2line, not the Cause value.
by Insert_witty_name
Sat Aug 02, 2008 1:14 am
Forum: PSP Development
Topic: Utility Dialogs (netdialog) Status codes TOTALLY UNreliable
Replies: 3
Views: 1483

The PSP_UTILITY_DIALOG_QUIT case will match regardless of if the user cancelled or not, it's internal to how the dialog runs. To get the actual result from the dialog, access the data.base.result member. IIRC it's set as 0 for successfully connected, 1 if user cancelled and an error code if there wa...
by Insert_witty_name
Thu Jul 31, 2008 10:40 pm
Forum: PSP Development
Topic: Low-level font rendering
Replies: 4
Views: 1719

There are several options available, you'll have to decide on the best method to suit your own needs. In my pgeFont implementation I load a TTF font and generate a 4-bit swizzled texture from that, which can be stored in either VRAM or RAM. As jean mentioned, these are displayed by using a list for ...
by Insert_witty_name
Wed Jul 30, 2008 6:08 pm
Forum: PSP Development
Topic: problem running eboot template on 3.90
Replies: 14
Views: 3744

Because your original post (before you edited it) was as far wrong as you could get :)
by Insert_witty_name
Wed Jul 30, 2008 9:40 am
Forum: PSP Development
Topic: problem running eboot template on 3.90
Replies: 14
Views: 3744

If only you knew as much as you thought you do.
by Insert_witty_name
Tue Jul 29, 2008 7:43 pm
Forum: PSP Development
Topic: Getting to know GU
Replies: 2
Views: 1170

http://www.skistovel.com/index.php?page=tutorials

There are two links.

One for the wiki page with the tutorials.

One for the source code & binary download.
by Insert_witty_name
Mon Jul 28, 2008 6:46 pm
Forum: PSP Development
Topic: PSP equivalent for fsync?
Replies: 2
Views: 1277

sceIoSync() looks likely.
by Insert_witty_name
Tue Jul 22, 2008 9:34 pm
Forum: PSP Development
Topic: are socket newlib socket functions alias to sceNetInet*?
Replies: 4
Views: 1451

The newlib patch implements exactly this, whether you use the newlib functions or sceNetInet*, the sceNetInet* function will be called.
by Insert_witty_name
Mon Jul 21, 2008 8:48 am
Forum: PSP Development
Topic: localtime doesnt return the correct date/month/year
Replies: 21
Views: 8300

Exactly two hours before you posted.
by Insert_witty_name
Mon Jul 21, 2008 6:47 am
Forum: PSP Development
Topic: localtime doesnt return the correct date/month/year
Replies: 21
Views: 8300

Ok I've committed a change to the newlib patch. The problem was that gettimeofday() internally called sceKernelLibcGettimeofday() which was assumed to be the sce version of gettimeofday(). sceKernelLibcGettimeofday() actually returns sec and usec since 00:00 on that day only, not since the 1970 epoc...
by Insert_witty_name
Mon Jul 21, 2008 4:21 am
Forum: PSP Development
Topic: localtime doesnt return the correct date/month/year
Replies: 21
Views: 8300

It's easy to use sceKernelLibcTime() in place of time().

The point is that it doesn't work in newlib correctly so needs fixing :)
by Insert_witty_name
Mon Jul 21, 2008 3:15 am
Forum: PSP Development
Topic: localtime doesnt return the correct date/month/year
Replies: 21
Views: 8300

I looked at this today as I need some of the newlib time functions... It seems all the time functions from libcglue aren't being used, instead the functions from newlib-1.15.0/newlib/libc/time are used instead. As a hack test I edited the newlib-1.15.0/newlib/libc/time/time.c file and removed the: t...
by Insert_witty_name
Fri Jul 18, 2008 12:06 am
Forum: PSP Development
Topic: difference performance BTW usermode and kernelmode
Replies: 5
Views: 2349

Why do you need kernel mode for audio?
by Insert_witty_name
Thu Jul 17, 2008 7:39 am
Forum: PSP Development
Topic: Message Dialogs
Replies: 1
Views: 1003

No.
by Insert_witty_name
Wed Jul 16, 2008 1:51 am
Forum: PSP Development
Topic: Load Go!Cam Modules from an EBOOT?
Replies: 10
Views: 3774

Post your full code, makefile and the errors returned.

A statement like 'my compiler cannot compile it' isn't useful.
by Insert_witty_name
Tue Jul 15, 2008 8:22 pm
Forum: PSP Development
Topic: Load Go!Cam Modules from an EBOOT?
Replies: 10
Views: 3774

You need to link -lpsputility
by Insert_witty_name
Tue Jul 15, 2008 12:54 pm
Forum: PSP Development
Topic: Start button reassign plugin
Replies: 4
Views: 1502

remapsp in Google = win.
by Insert_witty_name
Mon Jul 14, 2008 10:28 am
Forum: PSP Development
Topic: Disabling the Idle Timeout.
Replies: 10
Views: 3015

I've commited some changes to the power library based on discussion in this thread to revision 2408.
by Insert_witty_name
Mon Jul 14, 2008 1:41 am
Forum: PSP Development
Topic: Load Go!Cam Modules from an EBOOT?
Replies: 10
Views: 3774

You'll need kernel mode for those under 1.5.

I'd recommend using the usermode equivalents in 3/4xx kernel.

See psputility_usbmodules.h.
by Insert_witty_name
Thu Jul 10, 2008 4:49 am
Forum: PSP Development
Topic: Disabling the Idle Timeout.
Replies: 10
Views: 3015

Ahh, I could be thinking about the scePowerTick() parameters, apologies.
by Insert_witty_name
Thu Jul 10, 2008 4:36 am
Forum: PSP Development
Topic: Disabling the Idle Timeout.
Replies: 10
Views: 3015

Nothing for all of them, if I recall correctly.

I've never seen them used either.
by Insert_witty_name
Thu Jul 10, 2008 2:30 am
Forum: PSP Development
Topic: Disabling the Idle Timeout.
Replies: 10
Views: 3015

If I remember rightly, 0 is all, 1 is suspend, 6 is display.
by Insert_witty_name
Wed Jul 09, 2008 7:20 am
Forum: PSP Development
Topic: netdialog trouble
Replies: 5
Views: 1577

It's possible to run the net dialog on a pure 1.5 firmware.

It's not possible to run it on the 1.5 subset that is available on custom firmware, as it is missing the dialog functionality.