Search found 739 matches

by hlide
Sat Jan 31, 2009 1:59 am
Forum: PSP Development
Topic: Psp Basic (a stupid version)
Replies: 9
Views: 4182

PosX100, while you being a jackass, I said LibertyBasic, and I said that I never completed it because it was DUMB. So how about you just lay off. mesounds that stuff is so... basic as your way to think is weird. Didn't it occur to you that if your... basic is so "DUMB", it may not make it...
by hlide
Tue Jan 20, 2009 7:03 am
Forum: PSP Development
Topic: Media Engine?
Replies: 165
Views: 146122

me_stub: li k0, 0xbc100000 li t0, 7 sw t0, 80(k0) li t0, 2 sw t0, 64(k0) Is there anything else in that reg I should worry about? You mentioned setting particular bits, but I'm just overwriting the whole thing. It DOES work though. You can now write to the se...
by hlide
Mon Jan 19, 2009 2:40 am
Forum: PSP Development
Topic: Media Engine?
Replies: 165
Views: 146122

what about setting bit0-1 of 0xbc100040 to 2 ? (0 = 16 MB, 1 = 32 MB, 2 = 64 MB, 3 = 128 MB) ? dunno if it works and can have an effect on bus exception.
by hlide
Sun Jan 18, 2009 11:31 pm
Forum: PSP Development
Topic: Media Engine?
Replies: 165
Views: 146122

or there is a new mmio register to unlock access on the upper 32 MB we don't know about. Or the same mmio register may be written with a different value to do so. Did you ever try different values like 15 instead of 7 ? I guess you already did : "I tried modifying the code above a few ways to s...
by hlide
Wed Jan 14, 2009 6:04 am
Forum: PSP Development
Topic: Profiler for PSPLink
Replies: 7
Views: 2767

Code: Select all

sceKernelRegisterSubIntrHandler(30 /*VSYNC*/, 0,  &your_handler, ...); 
sceKernelEnableSubIntr(30, 0);
should be enough to install your own VSYNC handler.
by hlide
Sat Jan 10, 2009 6:33 am
Forum: PSP Development
Topic: [SOLVED] [MIPS] undefined reference $a3
Replies: 7
Views: 2196

such an instruction doesn't exist...
by hlide
Sat Jan 10, 2009 2:19 am
Forum: PSP Development
Topic: [SOLVED] [MIPS] undefined reference $a3
Replies: 7
Views: 2196

no wonder... just have a look on a MIPS assembly instructions manual : there are something wrong in :

Code: Select all

lw      $a2, $a3($a1)

Code: Select all

sw      $a0, $a3($a1)
I'm letting you to guess what is wrong as an exercise.
by hlide
Fri Jan 09, 2009 11:35 pm
Forum: PSP Development
Topic: Any benchmarks between LLVM vs GCC on Allegrex code?
Replies: 2
Views: 1211

MIPS LLVM is still experimental and incomplete. I wouldn't expect too much about LLVM for MIPS.

But, yes, if it could be complete, it would be interesting to add VFPU. But i'm quite sceptical as it is a long time ago MIPS LLVM was started and it still doesn't seem to progress.
by hlide
Thu Jan 08, 2009 6:26 am
Forum: PSP Development
Topic: Using Mips (without pspsdk)
Replies: 14
Views: 5483

Dariusc123456 wrote:I made a programming language.
Wouaouh ! if you are so proficient in making programming languages, may I suggest for you to improve your proficiency in natural languages first ?
by hlide
Mon Dec 22, 2008 6:39 am
Forum: PSP Development
Topic: Installing psptoolchain mingw & msys
Replies: 13
Views: 4888

heimdall's pspsdk may be a good start too.

it uses mingw but i'm not sure about msys.

and there is probably Heimdall's SVN source as well if i'm not wrong too to build it.
by hlide
Tue Nov 18, 2008 11:37 pm
Forum: PSP Development
Topic: purpose of pspSdkSetK1
Replies: 10
Views: 3505

technically, $k1 is used a flag. No hardware involved. We could use instead a memory placeholder (a global variable), it would be the same. They use this register as it cannot be used by gcc (unless you really want to mess with firmware) and is fast to write/read. There is no hardware memory proctec...
by hlide
Sun Nov 09, 2008 7:25 am
Forum: PSP Development
Topic: Returning data from a exported function...
Replies: 22
Views: 5970

no wonder.

you don't need the malloc stuff. Just be sure the pointer is a user address.
by hlide
Sun Nov 09, 2008 3:41 am
Forum: PSP Development
Topic: Returning data from a exported function...
Replies: 22
Views: 5970

Look at BadVAddr values they are abnormal...
by hlide
Sun Nov 09, 2008 2:58 am
Forum: PSP Development
Topic: Returning data from a exported function...
Replies: 22
Views: 5970

Code: Select all

char const * GetBarraInf(void)
{
    return (char const *)(((int)"blahblah")&~0x80000000));
}
by hlide
Sun Nov 09, 2008 2:31 am
Forum: PSP Development
Topic: Returning data from a exported function...
Replies: 22
Views: 5970

replace 0x40000000 into 0x80000000 of course...
by hlide
Sun Nov 09, 2008 2:29 am
Forum: PSP Development
Topic: Returning data from a exported function...
Replies: 22
Views: 5970

just look at registers, some registers have kernel addresses when you are running a user code...
by hlide
Sun Nov 09, 2008 2:19 am
Forum: PSP Development
Topic: Returning data from a exported function...
Replies: 22
Views: 5970

*sigh*, noobish question again... do you think making a local string in a function is making this string to be... local to this function, don't you ? didn't it ever occur to you that adding "static" before the local string would turn it into a permanent static string you can return from yo...
by hlide
Fri Nov 07, 2008 9:35 pm
Forum: PSP Development
Topic: MyPSP Robotics wit Touchscreen
Replies: 2
Views: 1621

Re: MyPSP Robotics wit Touchscreen

and pspgen has also picked-up the same work done by me: http://www.pspgen.com/modules.php?name=News&file=article&sid=8405 what do you mean by "picking up the same work" ? they are just making a French news about your work because the large majority of french people reading pspsgen...
by hlide
Mon Nov 03, 2008 4:47 am
Forum: PSP Development
Topic: C++ compilation problem
Replies: 15
Views: 4794

Singleton.h: class Singleton { friend void __unique_singleton() __attribute__((constructor)) { extern Singleton *singleton; static Singleton unique; singleton = &unique; } public: // your public methods v...
by hlide
Mon Nov 03, 2008 3:44 am
Forum: PSP Development
Topic: C++ compilation problem
Replies: 15
Views: 4794

don't worry PosX100 is probably a C++ hater or likes to code piggy code :P. I prefer this way : Singleton.h: class Singleton { public: Singleton *instance() { static Singleton singleton; return &singleton; } private: Singleton&am...
by hlide
Sun Nov 02, 2008 7:02 am
Forum: PSP Development
Topic: C++ compilation problem
Replies: 15
Views: 4794

Code: Select all

PSPSDK = $(shell psp-config --pspsdk-path)
PSPLIBSDIR = $(PSPSDK)/..
TARGET = test
OBJS = test.o XXX.o
LIBS = -lstdc++

CFLAGS = -O2 -G0 -Wall
ASFLAGS = $(CFLAGS)

include $(PSPSDK)/lib/build.mak
by hlide
Sun Nov 02, 2008 6:30 am
Forum: PSP Development
Topic: C++ compilation problem
Replies: 15
Views: 4794

Re: C++ compilation problem

make output psp-gcc -I. -I/opt/toolchains/psp//psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -L. -L/opt/toolchains/psp//psp/sdk/lib test.o -lstdc++ -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel...
by hlide
Sat Nov 01, 2008 2:47 am
Forum: PSP Development
Topic: A new port of uClinux on PSP (with accessibility to ms0)
Replies: 284
Views: 206374

looks like the emulator is a no go... "nope, we are not emulate any hardware through their mmio addresses and we don't even emulate kernel mode." Using the emulator to run linuxonpsp won't work. (At least that's what one of the devs said) well, I guess it's me :). This emulator uses an HL...
by hlide
Sat Oct 18, 2008 1:44 am
Forum: PSP Development
Topic: Need help on hooking
Replies: 6
Views: 2836

No i'm not sure, but since i can hook it from a kernel module does it mean it's a kernel function? The hook is successfull, when the hooked function is called, the sound is off because i'm returning 0. The only problem is when i try to call the original function in my hooked function :/ if your hoo...
by hlide
Thu Oct 02, 2008 5:06 am
Forum: PSP Development
Topic: C++ library files not compiling with pspsdk
Replies: 11
Views: 3122

jojojoris wrote:
a_noob wrote:it can be .cpp .C .cc or .c++ all are valid C++ files
that's not true.
the toolchain compiles .C files with psp-gcc and .cpp/.c++ with psp-g++
you're wrong or are using a cygwin/mingw32 gcc which doesn't handle case matching.
by hlide
Sat Sep 27, 2008 5:33 am
Forum: PSP Development
Topic: 3D on the PSP
Replies: 21
Views: 16472

too shameful that you prefer to delete your question ?
by hlide
Tue Sep 23, 2008 2:50 am
Forum: PSP Development
Topic: Nintendo DS emulator for PSP
Replies: 8
Views: 5466

@climb-gui

sometimes i wonder if you are an Autist(ic) geek...
by hlide
Sun Sep 21, 2008 9:24 pm
Forum: PSP Development
Topic: Media Engine?
Replies: 165
Views: 146122

does it make sense to double this ME local EDRAM ? I wonder why... could the latest 2 MB for VRAM fit the first 2MB of ME EDRAM and the latest 2MB for ME EDRAM the first 2MB of VRAM ? It would be awesome but probably wrong.

EDIT: "couldn't" !? sometimes i should reread my sentences :/
by hlide
Sat Sep 20, 2008 3:51 am
Forum: PSP Development
Topic: DS Emulator For Psp!?!?!?!
Replies: 10
Views: 3656

Re: ds emulator for psp

but you wanted to put the link to download the program that I am saying? because I have not asked for psp emulation of a PC but ds emulator for psp .. Any DS emulator on PSP is either a fake or a too slow one to be playable. THAT is my answer. And WITHOUT a touchscreen, most DS games are not playab...
by hlide
Fri Sep 19, 2008 11:38 pm
Forum: PSP Development
Topic: DS Emulator For Psp!?!?!?!
Replies: 10
Views: 3656

just buy a DS instead of a PSP. There is no way to play a DS emulator for PSP with no touchscreen. Why are most people so nuts ?