sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
rom0_info.c File Reference
#include <rom0_info.h>
#include <iopheap.h>
#include <string.h>
#include <sifrpc.h>
#include <kernel.h>
#include <syscallnr.h>

Go to the source code of this file.

Classes

struct  rom0_info_data

Functions

void SetupRomInfo (void)
char * GetRomName (char *romname)
int IsDESRMachine (void)
int IsT10K (void)

Variables

struct rom0_info_data g_rom0_info_data

Detailed Description

PS2 ROM0 Info. Some useful method for extracting info from ROM0

Definition in file rom0_info.c.

Function Documentation

◆ GetRomName()

char * GetRomName ( char * romname)

gets the romname from the current ps2 14 chars - doesnt set a null terminator

Parameters
romnamebuffer to hold romname (14 chars long)
Returns
pointer to buffer containing romname

Definition at line 67 of file rom0_info.c.

◆ IsDESRMachine()

int IsDESRMachine ( void )

check whether the PlayStation 2 is actually a DESR-XXXX machine

Returns
1 if DESR-XXXX machine; 0 if not

Definition at line 75 of file rom0_info.c.

◆ IsT10K()

int IsT10K ( void )

check whether the PlayStation 2 is actually a TOOL DTL-T10000(H)

Returns
1 if DTL-T10000(H); 0 if not

Definition at line 81 of file rom0_info.c.

◆ SetupRomInfo()

void SetupRomInfo ( void )

Definition at line 35 of file rom0_info.c.

Variable Documentation

◆ g_rom0_info_data

struct rom0_info_data g_rom0_info_data

Definition at line 33 of file rom0_info.c.