| 1 |
libmikmod for Playstation Portable: |
| 2 |
|
| 3 |
The PSP driver was written by sweetlilmre <[email protected]> for |
| 4 |
libmikmod-3.1.11 based on the one from Jim Shaw's original mikmod-3.0.3 |
| 5 |
port, with code borrowed from pspaudiolib. The driver and the Makefiles |
| 6 |
and the example code here are adapted from the ps2dev.org svn versions. |
| 7 |
|
| 8 |
|
| 9 |
BUILDING libmikmod for PSP: |
| 10 |
|
| 11 |
You need pspsdk installed, and psp-config must be on your $PATH. |
| 12 |
See http://sourceforge.net/projects/minpspw/ |
| 13 |
as well as http://sourceforge.net/projects/devkitpro/ for toolchains. |
| 14 |
Run 'make -f Makefile.psp' to build the library. |
| 15 |
|
| 16 |
|
| 17 |
NOTE taken from original README.PSP: |
| 18 |
|
| 19 |
Be aware: if you are calling MikMod_Update() from another thread on the |
| 20 |
PSP, you MUST yeild after the call to MikMod_Update(): |
| 21 |
sceKernelDelayThread(1); |
| 22 |
will be sufficient. From what I understand, the PSP uses co-operative |
| 23 |
multitasking and as the MikMod_Update() call effectively becomes a busy |
| 24 |
wait loop after MikMod_DisableOutput() is called, your main thread will |
| 25 |
be starved if you don't do this. example.c contains the code for this: |
| 26 |
PSP example code was originally written by Nevyn, further changed and |
| 27 |
updated by sweetlilmre. To compile it, run: 'make -f Makefile.example' |