Look at how the "sceIoAddDrv" function is used in gdb-userlib.c in the SDK
It is also used in stdio.c
Search found 15 matches
- Sun Feb 12, 2006 11:06 pm
- Forum: PSP Development
- Topic: [question] Ramdrive, with custom mapping?
- Replies: 2
- Views: 1666
- Mon Jan 30, 2006 2:10 am
- Forum: PSP Development
- Topic: Many function names extracted from IPL code
- Replies: 0
- Views: 1457
Many function names extracted from IPL code
Likely someone has already done this, but just in case.... I found many function names in the IPL string table after decrypting it, and perhaps some of them could be of use to figure out missing NID names (if this has not already been done with these strings coming from the IPL) . Here are the strin...
- Mon Jan 23, 2006 10:08 am
- Forum: PSP Development
- Topic: VFPU help
- Replies: 11
- Views: 4189
I see something that might be the cause of the crash, depending on how the compiler interprets the value... in the lv_q instruction, there is a numerical value that is the offset relative to the address int he register a0. For a 4x4 matrix, these offsets would be 0, 16, 32 and 48 bytes, yet in the c...
- Mon Jan 23, 2006 8:12 am
- Forum: PSP Development
- Topic: VFPU help
- Replies: 11
- Views: 4189
I don't see whats causing the crash. Can you try to use your DLog function just before loading the matrix? That way we can see if its the matrix load code that crashes or something before. If it crashes in the matrix code, try also to use DLog between each of the 4 lv.q and see at which one it crash...
- Sun Jan 22, 2006 11:45 pm
- Forum: PSP Development
- Topic: VFPU yummy goodness: instruction prefixes and rotation
- Replies: 9
- Views: 2971
- Sun Jan 22, 2006 11:34 pm
- Forum: PSP Development
- Topic: VFPU help
- Replies: 11
- Views: 4189
- Sun Jan 22, 2006 2:07 pm
- Forum: PSP Development
- Topic: VFPU help
- Replies: 11
- Views: 4189
- Sun Jan 22, 2006 1:31 pm
- Forum: PSP Development
- Topic: VFPU yummy goodness: instruction prefixes and rotation
- Replies: 9
- Views: 2971
Yeah, I was proposing that sequence as an experiment, but I didn't think it would be faster than two independent vrots. Is there some documentation about the latency/throughput of the VFPU instructions? Or even some documentation about what all the instructions do? Some are not obvious from the opc...
- Sun Jan 22, 2006 11:40 am
- Forum: PSP Development
- Topic: VFPU yummy goodness: instruction prefixes and rotation
- Replies: 9
- Views: 2971
For input registers, the VFPU also supports absolute values and negative absolute values. I don't know if the homebrew binutils supports the absolute values, but the hardware does. In the constants that can be used, 1/6 is also available. About the vrot functions, multiple sines are possible (but on...
- Fri Jan 20, 2006 10:23 pm
- Forum: PSP Development
- Topic: purpose of 0x89f80000~0x89f80040
- Replies: 5
- Views: 1976
Did you find anything of interest in that address range? This is in the nromal user main ram which is 24 megs between 0x88800000 - 0x89FFFFFF so I guess it could be just about anything... It's the user main ram, but from the cache kernel memory segment. The same physicaly memory is mapped at more th...
- Thu Jan 12, 2006 10:42 am
- Forum: PSP Development
- Topic: Little help here - allegrex specific opcode and memory map
- Replies: 11
- Views: 4453
I just wondering about the rest of bits. What they do for? Register? Imm? I think they're too much for registers. Any ideas? bitrev rd, rt Bits 0-10 are always 1010010000 (left = most significant) Bits 11-15 are the rs register (where the result is stored) Bits 16-20 are the rt register Bits 21-25 ...
- Wed Jan 11, 2006 10:43 pm
- Forum: PSP Development
- Topic: Little help here - allegrex specific opcode and memory map
- Replies: 11
- Views: 4453
bitrev: reverse the bits inside the word, so that bit 0 becomes 31, and bit 31 becomes bit 0, bit 1 becomes 30 and 30 becomes 1, and so on 7000003D: mfdr 7080003D: mtdr They are in the toolchain (homebrew) I don't know what they are, again move from/to registers but I don't know which ones. These ar...
- Wed Jan 11, 2006 2:50 pm
- Forum: PSP Development
- Topic: Little help here - allegrex specific opcode and memory map
- Replies: 11
- Views: 4453
- Sun Jan 01, 2006 1:06 am
- Forum: PSP Development
- Topic: Link error when using C++ exceptions (try-catch)
- Replies: 2
- Views: 1672
- Sun Jan 01, 2006 12:20 am
- Forum: PSP Development
- Topic: Link error when using C++ exceptions (try-catch)
- Replies: 2
- Views: 1672
Link error when using C++ exceptions (try-catch)
I read somewhere on this forums that try-catch was supported, but when I try to compile with C++ exceptions enabled, I get the following link errors: $ make psp-g++ -I. -I/c/devkitPro/devkitPSP/psp/sdk/include -O2 -G0 -Wall -I. -I/c/devkitPro/devkitPSP/psp/sdk/include -O2 -G0 -Wall -fexceptions -fno...