Editing LV2 Functions and Syscalls
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2,527: | Line 2,527: | ||
| {{Root}} | | {{Root}} | ||
| sys_game_get_temperature | | sys_game_get_temperature | ||
| int sys_game_get_temperature( | | int sys_game_get_temperature(0=CELL/1=RSX,uint32_t *temperature) ( HV System Manager access - ServiceID 13 (TEMPERATURE)) | ||
2nd Byte conversion: r.shift (second_byte * 0x64 ) by 8<br> | 2nd Byte conversion: r.shift (second_byte * 0x64 ) by 8<br> | ||
Example: 195 = 0xC3 -> 0xC3 * 0x64 -> 0x4C2C ->> shift -> 0x4C -> XX.76°C | Example: 195 = 0xC3 -> 0xC3 * 0x64 -> 0x4C2C ->> shift -> 0x4C -> XX.76°C | ||
|- | |- | ||
| 384 | | 384 | ||
Line 2,542: | Line 2,536: | ||
| {{Root}} | | {{Root}} | ||
| sys_sm_get_tzpb | | sys_sm_get_tzpb | ||
| 1 Param: syscall(384,uint64_t *tzpb); (uint8_t [0x20]) Get | | 1 Param: syscall(384,uint64_t *tzpb); (uint8_t [0x20]) Get TimeZone Presence <br> HV System Manager access - ServiceID 15 | ||
|- | |- | ||
| 385 | | 385 | ||
Line 2,694: | Line 2,688: | ||
| 2 Params: uint64_t param,uint8_t * st (status?/state?) | | 2 Params: uint64_t param,uint8_t * st (status?/state?) | ||
HV System Manager access - ServiceID 40 (BOOT_PARAMETER) | HV System Manager access - ServiceID 40 (BOOT_PARAMETER) | ||
also sends the param to syscon | |||
related to 404 | |||
|- | |- | ||
! colspan="6" id="sys_tty Syscalls"|[[#sys_tty Syscalls]] (402-403) | ! colspan="6" id="sys_tty Syscalls"|[[#sys_tty Syscalls]] (402-403) | ||
Line 2,720: | Line 2,715: | ||
HV System Manager access - ServiceID 42 (BOOT_PARAMETER) | HV System Manager access - ServiceID 42 (BOOT_PARAMETER) | ||
[Network Settings for Debug] related, returns single/dual setting flag? | [Network Settings for Debug] related, returns single/dual setting flag? | ||
See | See [[SC_EEPROM|syscon EEPROM]] "boot param" and [[Factory_Service_Mode#Game_OS|this]] | ||
|- | |- | ||
| 405 | | 405 | ||
Line 3,508: | Line 3,503: | ||
| {{DECR}} {{DEX}} {{CEX}} | | {{DECR}} {{DEX}} {{CEX}} | ||
| | | | ||
| | | | ||
| 3 Params | | 3 Params | ||
|- | |- | ||
| 559 | | 559 | ||
Line 3,640: | Line 3,635: | ||
| sys_pad_manager_.... | | sys_pad_manager_.... | ||
| int sys_pad_manager_.... (int8_t device_number?) | | int sys_pad_manager_.... (int8_t device_number?) | ||
|- | |- | ||
! colspan="6" id="sys_bluetooth Syscalls"|[[#sys_bluetooth Syscalls]] | ! colspan="6" id="sys_bluetooth Syscalls"|[[#sys_bluetooth Syscalls]] | ||
Line 6,049: | Line 6,043: | ||
!Name | !Name | ||
!Value | !Value | ||
|- | |- | ||
|BluRayEmuOff | |BluRayEmuOff | ||
|0x04L | |0x04L | ||
|- | |- | ||
| | |BluRayEmuUSB | ||
| | |0x20L | ||
|- | |- | ||
|DebugMode | |DebugMode | ||
|0x10L | |0x10L | ||
|- | |- | ||
| | |Default | ||
| | |0x00L | ||
|- | |||
|DualNIC | |||
|0x80L | |||
|- | |- | ||
| | |HDDSpeedBluRayEmu | ||
| | |0x08L | ||
|- | |- | ||
|HostFSTarget | |HostFSTarget | ||
|0x40L | |0x40L | ||
|- | |- | ||
| | |MemSizeConsole | ||
| | |0x02L | ||
|- | |||
|ReleaseMode | |||
|0x01L | |||
|- | |||
|SystemMode | |||
|0x11L | |||
|- | |- | ||
|} | |} | ||
Line 6,390: | Line 6,384: | ||
|- | |- | ||
| 8 | | 8 | ||
| lv2_lv1_peek - graf_chokolo / (4.3x peek) | | lv2_lv1_peek - graf_chokolo / (4.3x peek) | ||
| r3 is a 64 bit address to read. A 64 bit value will be returned in r3 | | r3 is a 64 bit address to read. A 64 bit value will be returned in r3 | ||
|- | |- | ||
Line 6,396: | Line 6,390: | ||
| Peek - ps3cobra | | Peek - ps3cobra | ||
| r3 is a 64 bit address to read. A 64 bit value will be returned in r3 | | r3 is a 64 bit address to read. A 64 bit value will be returned in r3 | ||
|- | |- | ||
| 8 | | 8 |