|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
Go to the source code of this file.
Classes | |
| struct | ConfigParam |
| struct | Config2Param |
Enumerations | |
| enum | OSD_LANGUAGES { LANGUAGE_JAPANESE = 0 , LANGUAGE_ENGLISH , LANGUAGE_FRENCH , LANGUAGE_SPANISH , LANGUAGE_GERMAN , LANGUAGE_ITALIAN , LANGUAGE_DUTCH , LANGUAGE_PORTUGUESE , LANGUAGE_RUSSIAN , LANGUAGE_KOREAN , LANGUAGE_TRAD_CHINESE , LANGUAGE_SIMPL_CHINESE } |
| enum | TV_SCREEN_TYPES { TV_SCREEN_43 = 0 , TV_SCREEN_FULL , TV_SCREEN_169 } |
| enum | VIDEO_OUTPUT_TYPES { VIDEO_OUTPUT_RGB = 0 , VIDEO_OUTPUT_COMPONENT } |
| enum | DATE_FORMAT_TYPES { DATE_YYYYMMDD = 0 , DATE_MMDDYYYY , DATE_DDMMYYYY } |
| enum | TIME_FORMAT_TYPES { TIME_24H = 0 , TIME_12H } |
Functions | |
| int | configGetLanguage (void) |
| void | configSetLanguage (int language) |
| int | configGetTvScreenType (void) |
| void | configSetTvScreenType (int screenType) |
| int | configGetDateFormat (void) |
| void | configSetDateFormat (int dateFormat) |
| int | configGetTimeFormat (void) |
| void | configSetTimeFormat (int timeFormat) |
| int | configGetTimezone (void) |
| void | configSetTimezone (int offset) |
| int | configIsSpdifEnabled (void) |
| void | configSetSpdifEnabled (int enabled) |
| int | configIsDaylightSavingEnabled (void) |
| void | configSetDaylightSavingEnabled (int enabled) |
| void | configConvertToGmtTime (sceCdCLOCK *time) |
| void | configConvertToLocalTime (sceCdCLOCK *time) |
| int | IsEarlyJap (ConfigParam config) |
PS2 Configuration settings Note: the 'set' methods are only valid till the ps2 gets turned off or reset!
Note 2: Early Japanese consoles (The SCPH-10000 and SCPH-15000) have kernels based on older specifications. The SCPH-18000 has the same kernel as the first expansion bay model (SCPH-30000). The early kernels can be modernized if patched. Newer games will automatically patch ExecPS2 of such a kernel when they detect one, although only HDDOSDs will fully patch kernel completely (causes the kernel to appear as a newer kernel to everything).
Definition in file osd_config.h.
| enum DATE_FORMAT_TYPES |
date format values returned by: int getDateFormat(void)
Definition at line 70 of file osd_config.h.
| enum OSD_LANGUAGES |
language values returned and used by: configGetLanguage() and configSetLanguage()
Definition at line 35 of file osd_config.h.
| enum TIME_FORMAT_TYPES |
Time format values returned by: int getTimeFormat(void)
Definition at line 77 of file osd_config.h.
| enum TV_SCREEN_TYPES |
tv screen values returned by: int getTvScreenType(void)
Definition at line 57 of file osd_config.h.
| enum VIDEO_OUTPUT_TYPES |
Video output type values
Definition at line 64 of file osd_config.h.
|
extern |
converts the time returned from the ps2's clock into GMT time (ps2 clock is in JST time)
Definition at line 439 of file osd_config.c.
|
extern |
converts the time returned from the ps2's clock into local time (ps2 clock is in JST time)
Definition at line 444 of file osd_config.c.
|
extern |
gets the date display format
Definition at line 244 of file osd_config.c.
|
extern |
get the language the ps2 is currently set to
Definition at line 185 of file osd_config.c.
|
extern |
gets the time display format (whether 24hour time or not)
Definition at line 279 of file osd_config.c.
|
extern |
|
extern |
get the tv screen type the ps2 is setup for
Definition at line 217 of file osd_config.c.
|
extern |
checks whether daylight saving is currently set
Definition at line 407 of file osd_config.c.
|
extern |
checks whether the spdif is enabled or not
Definition at line 384 of file osd_config.c.
|
extern |
sets the date display format
| dateFormat | 0 = yyyy/mm/dd; 1 = mm/dd/yyyy; 2 = dd/mm/yyyy |
Definition at line 259 of file osd_config.c.
|
extern |
|
extern |
sets the default language of the ps2
| language | Language value (See OSD_LANGUAGES above) |
Definition at line 198 of file osd_config.c.
|
extern |
sets whether the spdif is enabled or not
| enabled | 1 = on; 0 = off |
Definition at line 395 of file osd_config.c.
|
extern |
sets the time display format (whether 24hour time or not)
| timeFormat | 0 = 24hour; 1 = 12hour |
Definition at line 294 of file osd_config.c.
|
extern |
set timezone
| offset | offset in minutes from GMT |
Definition at line 348 of file osd_config.c.
|
extern |
set the tv screen type
| screenType | 0 = 4:3; 1 = fullscreen; 2 = 16:9 |
Definition at line 228 of file osd_config.c.
|
extern |
check if ps2 has a 'Protokernel' (Really early Japanese models)
| config | unsigned int config value from GetOsdConfigParam() syscall |
Definition at line 180 of file osd_config.c.