ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
#include <stdio.h>
#include <kernel.h>
#include <sifrpc.h>
#include <string.h>
#include <iopcontrol.h>
#include <loadfile.h>
#include <sbv_patches.h>
#include <debug.h>
#include <librm.h>
Go to the source code of this file.
Functions | |
static s32 | VblankStartHandler (s32 cause) |
static s32 | VblankEndHandler (s32 cause) |
static const char * | getRmStatus (u32 status) |
static const char * | getRmButton (u32 button) |
int | main (int argc, char *argv[]) |
Variables | |
unsigned char | SIO2MAN_irx [] |
unsigned int | size_SIO2MAN_irx |
unsigned char | RMMAN_irx [] |
unsigned int | size_RMMAN_irx |
static int | VblankStartSema |
static int | VblankEndSema |
|
static |
Definition at line 70 of file remote.c.
References RM_ANGLE, RM_ATOB, RM_AUDIO, RM_CIRCLE, RM_CLEAR, RM_CROSS, RM_DISPLAY, RM_DOWN, RM_EIGHT, RM_EJECT, RM_ENTER, RM_FIVE, RM_FOUR, RM_L1, RM_L2, RM_L3, RM_LEFT, RM_MENU, RM_NEXT, RM_NINE, RM_NONE, RM_ONE, RM_PAUSE, RM_PLAY, RM_PREV, RM_PROGRAM, RM_R1, RM_R2, RM_REPEAT, RM_RESET, RM_RETURN, RM_RIGHT, RM_SCAN_BACK, RM_SCAN_FORW, RM_SELECT, RM_SEVEN, RM_SHUFFLE, RM_SIX, RM_SLOW_BACK, RM_SLOW_FORW, RM_SQUARE, RM_START, RM_STOP, RM_SUBTITLE, RM_THREE, RM_TIME, RM_TITLE, RM_TRIANGLE, RM_TWO, RM_UP, and RM_ZERO.
Referenced by main().
|
static |
Definition at line 53 of file remote.c.
References RM_INIT, RM_KEYPRESSED, RM_NOREMOTE, and RM_READY.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 181 of file remote.c.
References _DisableIntc(), _EnableIntc(), AddIntcHandler(), ee_sema_t::attr, remote_data::button, ee_sema_t::count, CreateSema(), data, DeleteSema(), getRmButton(), getRmStatus(), init_scr(), INTC_VBLANK_E, INTC_VBLANK_S, ee_sema_t::max_count, NULL, RMMan_Close(), RMMan_End(), RMMan_GetModuleVersion(), RMMan_Init(), RMMAN_irx, RMMan_Open(), RMMan_Read(), sbv_patch_enable_lmb(), scr_getY(), scr_printf(), scr_setXY(), SifExecModuleBuffer(), SifExitRpc(), SifInitRpc(), SifIopReset(), SifIopSync(), SifLoadFileExit(), SifLoadFileInit(), SifLoadModule(), SIO2MAN_irx, size_RMMAN_irx, size_SIO2MAN_irx, SleepThread(), remote_data::status, VblankEndHandler(), VblankEndSema, VblankStartHandler(), VblankStartSema, and WaitSema().
Definition at line 44 of file remote.c.
References ExitHandler, iSignalSema(), and VblankEndSema.
Referenced by main().
Definition at line 35 of file remote.c.
References ExitHandler, iSignalSema(), and VblankStartSema.
Referenced by main().
|
extern |
Referenced by main().
|
extern |
Referenced by main().
|
extern |
Referenced by main().
|
extern |
Referenced by main().
|
static |
Definition at line 33 of file remote.c.
Referenced by main(), and VblankEndHandler().
|
static |
Definition at line 33 of file remote.c.
Referenced by main(), and VblankStartHandler().