siulmagic wrote:hmm my text is unreadable i got in 8 bit mode 640x480 60hz
using mac os 7.5
edit btw no matter what color deph it always looks black and white with every version iv tested
edit2: ok nvm i had to change setting inside mac in order to make it readable all is good now =D
:D
Yeah, there's a "color" button on the control panel. For some bizarre reason, Apple defaulted the Mac to grayscale.
jas0nuk wrote:
Oh wow, just installed 8.1... works a charm :D
Could you add a button to accelerate the mouse movement?
Actually, I made the "slow" zone of the mouse larger because the Mac defaults to a REALLY slow mouse speed. Go into the control panel and set the mouse speed higher. Small movements of the stick will stay slow (needed to get to the point you want), while large movements of the stick will zip around the screen. Play with that a bit more and then we'll talk about how to adjust the mouse speed. :)
edit: Meh, in fact I will if I can get it to compile.
Oh! One thing I forgot since it wasn't my code... PUT
Code: Select all
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#endif
around the damn SDK includes from D_A!! For example, kubridge.h should be
Code: Select all
#ifndef __KULIBRARY__
#define __KULIBRARY__
#include <pspsdk.h>
#include <pspkernel.h>
#include <pspsysmem_kernel.h>
#include <pspctrl.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* Functions to let user mode access certain functions only available in
* kernel mode
*/
/**
* Load a module using ModuleMgrForKernel.
*
* @param path - The path to the module to load.
* @param flags - Unused, always 0 .
* @param option - Pointer to a mod_param_t structure. Can be NULL.
*
* @returns The UID of the loaded module on success, otherwise one of ::PspKernelErrorCodes.
*/
SceUID kuKernelLoadModule(const char *path, int flags, SceKernelLMOption *option);
/**
* Load a module with a specific apitype
*
* @param apìtype - The apitype
* @param path - The path to the module to load.
* @param flags - Unused, always 0 .
* @param option - Pointer to a mod_param_t structure. Can be NULL.
*
* @returns The UID of the loaded module on success, otherwise one of ::PspKernelErrorCodes.
*/
SceUID kuKernelLoadModuleWithApitype2(int apitype, const char *path, int flags, SceKernelLMOption *option);
/**
* Gets the api type
*
* @returns the api type in which the system has booted
*/
int kuKernelInitApitype();
/**
* Gets the filename of the executable to be launched after all modules of the api.
*
* @param initfilename - String where copy the initfilename
* @returns 0 on success
*/
int kuKernelInitFileName(char *initfilename);
/**
*
* Gets the device in which the application was launched.
*
* @returns the device code, one of PSPBootFrom values.
*/
int kuKernelBootFrom();
/**
* Get the key configuration in which the system has booted.
*
* @returns the key configuration code, one of PSPKeyConfig values
*/
int kuKernelInitKeyConfig();
/**
* Get the user level of the current thread
*
* @return The user level, < 0 on error
*/
int kuKernelGetUserLevel(void);
/**
* Set the protection of a block of ddr memory
*
* @param addr - Address to set protection on
* @param size - Size of block
* @param prot - Protection bitmask
*
* @return < 0 on error
*/
int kuKernelSetDdrMemoryProtection(void *addr, int size, int prot);
/**
* Gets the model of the PSP from user mode.
* This function is available since 3.60 M33.
* In previous version, use the kernel function sceKernelGetModel
*
* @return one of PspModel values
*/
int kuKernelGetModel(void);
#ifdef __cplusplus
}
#endif
#endif
Guess moonlight hates C++ as much as I do. ;)
edit 2: Wow, that was painful. xD Finally got it to compile then I ended up with an 80020148 error, probably because of the stuff I had to comment out. I really need to update my SDK.
Yes, I use the latest SDK, but part of the problem may be the issue above.
edit 3: Installed the win32 SDK from
http://forums.ps2dev.org/viewtopic.php?t=9812, and copied over the 4.01 M33-2 SDK. Now it compiles fine until the end, where I get the error
Quote:
main_psp.cpp:(.text+0x11dc): undefined reference to `kuKernelGetModel()'
which makes no sense as -lpspkubridge is in the makefile, and in the libs directory. kuKernelGetModel is present inside it. :/
That's the DAMN C++... see above about the includes. Need to wrap them in C specifiers.