Search found 47 matches

by dsn
Fri Jan 05, 2007 12:25 pm
Forum: PSP Development
Topic: Compiling Issues...
Replies: 5
Views: 2487

Add these to the LIBS variable in your makefile: -lpspwlan -lpspumd

sceWlanDevIsPowerOn doesn't take any arguments, so sceWlanDevIsPowerOn() is correct--not sceWlanDevIsPowerOn(0) or sceWlanDevIsPowerOn(1).
by dsn
Fri Jan 05, 2007 11:02 am
Forum: PSP Development
Topic: Compiling Issues...
Replies: 5
Views: 2487

Re: Compiling Issues...

Sleepy566 wrote:the compiler says the issue is that the 'sceWlanDevIsPowerOn' part
What exactly does the compiler say? An error message would be tremendously helpful.
by dsn
Wed Jan 03, 2007 12:58 am
Forum: PSP Development
Topic: Anyone knows how to audio sampling rate conversion?
Replies: 6
Views: 5009

You can approximate the conversion from 48kHz to 44.1kHz by skipping every 12th sample. This will introduce a small degree of inaccuracy though: a 5-minute track will be about 1.3 seconds shorter than normal, and the pitch will be increased by a vanishingly small (and probably imperceptible) amount....
by dsn
Tue Dec 26, 2006 3:53 am
Forum: PSP Development
Topic: invisible menu in psp/game/folder
Replies: 11
Views: 3919

hes talking about the psp/game/folder and psp/game/folder% thing... Holy crap, I'm an idiot. Is there a way to replace this default image with my own by using Cygwin? and how to set a fullscreen background image by selecting a menu entrie? In your Makefile, set PSP_EBOOT_PIC1 and PSP_EBOOT_ICON, li...
by dsn
Mon Dec 25, 2006 3:23 pm
Forum: PSP Development
Topic: invisible menu in psp/game/folder
Replies: 11
Views: 3919

Post your code. That'll make it much easier to help you.

Dein Englisch ist besser als mein Deutsch. :-)
by dsn
Thu Dec 07, 2006 11:05 am
Forum: General Discussion
Topic: SVN is not working
Replies: 7
Views: 7452

I updated my copy of the PSP SDK via SVN last night. Worked fine.
by dsn
Thu Dec 07, 2006 12:19 am
Forum: PSP Development
Topic: Please, please, please, please help me...
Replies: 5
Views: 4956

The module you're looking for is called Unicode::Transform.
by dsn
Wed Dec 06, 2006 9:48 am
Forum: General Discussion
Topic: PSP for DJs
Replies: 32
Views: 25691

I know it's been forever since I said I'd release the source code to Ruckus, but I finally got around to actually doing it. You can find it at the bottom of this page: http://captaindan.org/sw/ruckus/

Enjoy.
by dsn
Thu Nov 23, 2006 1:55 am
Forum: PSP Development
Topic: Making PSP into a Wii controller. Possible?
Replies: 5
Views: 5589

I might be wrong about this, but I'm pretty sure the Wiimote uses Bluetooth to connect to the console, not IR. The only IR used by the system is the series of IR LEDs in the "sensor bar" (which does not actually contain any sensors). The Wiimote has an IR sensor to determine its position b...
by dsn
Wed Nov 01, 2006 4:38 am
Forum: PSP Development
Topic: Problem Compiling on Mac Os X
Replies: 3
Views: 2070

The compiler on OS X is hardwired to interpret .m files as Objective-C. Look at this thread for help: http://forums.ps2dev.org/viewtopic.php?p=40365#40365
by dsn
Thu Oct 26, 2006 11:12 pm
Forum: General Discussion
Topic: PSP for DJs
Replies: 32
Views: 25691

djdumbbi:

I'm still working on it here and there. I'm planning on opening the source soon though because I'm bogged down with other stuff, and I feel bad making people wait so long for updates. I'll post a reply here when the source is available.
by dsn
Mon Sep 25, 2006 3:25 pm
Forum: PSP Development
Topic: Car OBD to Psp
Replies: 20
Views: 14341

Do not wire your PSP to that. You will destroy it. You need to figure out a way to convert the 12v signal to 5v. If I remember correctly, OBD is more than just a simple serial protocol, it's more like a network architecture where each device in the car has an address and can be queried directly. But...
by dsn
Sun Sep 24, 2006 11:56 am
Forum: PSP Development
Topic: libSpeex and playback
Replies: 4
Views: 3295

You can convert from 8000 Hz to 44100 Hz with something like this: u8 srcSamples&#91;320&#93;; u32 dstSamples&#91;1764&#93;; u32 srcIndex = 0; // fixed-point -- divide by 10000000 to get integer portion u32 dstIndex; for &#40;dstIndex = 0; dstIndex < 1764; dstIndex++&#41; &am...
by dsn
Tue Sep 19, 2006 11:27 am
Forum: General Discussion
Topic: PSP for DJs
Replies: 32
Views: 25691

danzel, The test MP3 I'm looking at only has ID3v1, which I didn't bother supporting because I assumed everyone was using ID3v2 by now. v1 is really simple though so I might as well add support for it. Though I'm not sure why you're getting weird titles on the playback screen like that. That's a lit...
by dsn
Sat Sep 16, 2006 5:11 am
Forum: General Discussion
Topic: PSP for DJs
Replies: 32
Views: 25691

Try this: Download Ruckus again, but before you install it, rename both folders.

Ruckus__________________________ ---> Ruckus
RUCKUS~1% ---> Ruckus%
by dsn
Wed Sep 13, 2006 3:43 pm
Forum: General Discussion
Topic: PSP for DJs
Replies: 32
Views: 25691

Actually, on second thought, I think it makes more sense to only reset the cue, not the pitch. A real CDJ or turntable wouldn't reset to ±0, only the cue point would be reset. Thoughts?
by dsn
Wed Sep 13, 2006 3:37 pm
Forum: General Discussion
Topic: PSP for DJs
Replies: 32
Views: 25691

I'm glad you guys like it! marty: - The pitch and cue not being reset is an oversight on my part. That will definitely be fixed. - I like the idea of a tap tempo, especially since (as you may have noticed on my site) I've already written one for Dashboard. Should be easy to port. - Key lock (or Mast...
by dsn
Sat Sep 09, 2006 11:40 pm
Forum: General Discussion
Topic: Ruckus
Replies: 1
Views: 3389

Ruckus

I've just finished version 1.0b1 of Ruckus, an MP3 player designed for DJs. Ruckus provides cueing and tempo adjustment to allow you to match beats with other audio sources. More information is available at http://captaindan.org/sw/ruckus/
by dsn
Sat Sep 09, 2006 11:38 pm
Forum: General Discussion
Topic: PSP for DJs
Replies: 32
Views: 25691

Beta 1 is done:

http://captaindan.org/sw/ruckus/

Enjoy.
by dsn
Sat Sep 09, 2006 1:25 pm
Forum: PSP Development
Topic: compiler error?
Replies: 1
Views: 1268

Usually an internal compiler error means one of three things: the compiler ran out of memory; your seemingly innocent code accidentally uses a preposterous amount of stack space; or there's a bug in the compiler. One way to narrow down what's happening is to recompile with less aggressive optimizati...
by dsn
Thu Sep 07, 2006 10:17 am
Forum: PSP Development
Topic: Error, could not fixup imports, stubs out of order.
Replies: 2
Views: 1575

How come you've got all that stuff in LIBS? Mine looks like this: LIBS = -lpspgum -lpspgu -lpsprtc -lmad -lpspaudio -lpsppower build.mak adds these to LIBS for you: -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -...
by dsn
Tue Sep 05, 2006 10:45 am
Forum: General Discussion
Topic: PSP for DJs
Replies: 32
Views: 25691

Marty, I'm still chugging away. I'm not quite finished yet but here's a screenshot of what I'm working on. http://captaindan.org/tmp/screenshot.gif The D-pad provides pitch adjustment (left/right) and momentary pitch bend (up/down). If the MP3 has a BPM tag, the adjusted BPM is displayed below the p...
by dsn
Tue Sep 05, 2006 2:13 am
Forum: PSP Development
Topic: Compile for psp from linux
Replies: 41
Views: 16201

He's on a Linux box. A batch file isn't going to be of much use.

To make the two folders: make kxploit
by dsn
Mon Sep 04, 2006 10:48 am
Forum: PSP Development
Topic: Compile for psp from linux
Replies: 41
Views: 16201

Have a look at the samples in /usr/local/pspdev/psp/sdk/samples. You can compile them with make.
by dsn
Sat Sep 02, 2006 2:55 am
Forum: General Discussion
Topic: PSP for DJs
Replies: 32
Views: 25691

Yep, that'd be a piece of cake. I have a pair of decks at home and I've considered playing around with this idea. Maybe the upcoming long weekend will give me a chance to put something together.
by dsn
Sun Aug 20, 2006 3:56 am
Forum: PSP Development
Topic: mp3 playback problem [resolved]
Replies: 2
Views: 1962

I get a 404 Not Found when I try to view your source. Can you post your code here in the forum?
by dsn
Thu Aug 17, 2006 4:46 am
Forum: PSP Development
Topic: Compile for psp from linux
Replies: 41
Views: 16201

You don't need to install Cygwin on Linux. That would be a little silly. :)

Do this:

svn export svn://svn.ps2dev.org/psp/trunk/psptoolchain/
cd psptoolchain
./toolchain.sh
by dsn
Sun Aug 13, 2006 3:33 pm
Forum: PSP Development
Topic: ASM in C program? Include it externally? Some info plz?
Replies: 27
Views: 17928

Modern compilers are better than most programmers at optimizing for speed. There's some debate on this of course--and a number of counter-examples--but the level of skill required to write faster assembly than a compiler is beyond the reach of most programmers. Learning assembly can give you a bette...
by dsn
Sat Aug 12, 2006 11:57 am
Forum: PSP Development
Topic: [Solved] Colorizing a texture
Replies: 1
Views: 2058

[Solved] Colorizing a texture

I'm playing around with bitmap fonts. So far I'm using the traditional method: one big image with all of the characters, drawing one quad for each letter. This works fine. The problem I have is that I want to be able to set the font color on the fly, but without using a different image. I've tried u...
by dsn
Tue Apr 11, 2006 9:05 pm
Forum: PSP Development
Topic: Serial cable for dummies :-)
Replies: 35
Views: 45402

This is all conjecture, but I think the HPRM driver is responsible for the power cycling; calling pspDebugSioInit unloads the HPRM driver. Are you testing this with actual code, or have you not gotten that far?