Functions | |
NIL | os.debug () |
Enables the editor in the error screen (Debugger), to edit the script. More... | |
NIL | os.modetv (NUMBER quality) |
Enables TV out. More... | |
NIL | os.modetv () |
Disables TV out. More... | |
NUMBER | os.cabletv () |
Allows it to recognize video cable type connected. More... | |
NIL | os.delay (NUMBER milliseconds) |
Allows a system delay. More... | |
STRING | os.cfw () |
Identifies the Custom Firmware (CFW) or HEN installed. More... | |
STRING | os.versiontxt () |
The version.txt obtained of the file flash0:/etc/version.txt. More... | |
STRING | os.nick () |
User Nick. More... | |
STRING | os.mac () |
Obtains the MAC adress of the console. More... | |
STRING | os.language () |
The Language set in the PSP. More... | |
STRING | os.password () |
Gets the console password. More... | |
NUMBER | os.ram () |
Obtains the free RAM. More... | |
NUMBER | os.totalram () |
Obtains the total amount of RAM. More... | |
NUMBER | os.cpu () |
The actual CPU velocity. More... | |
NIL | os.cpu (NUMBER speed) |
Change or set up the CPU velocity to the specified velocity. More... | |
NUMBER | os.bus () |
Actual CPU frequency. More... | |
STRING | os.getdate () |
Current date and time. More... | |
TABLE | os.infoms0 () |
Gets the information of the storage capacity of the memory stick (ms0). More... | |
TABLE | os.infoef0 () |
Gets the information of the storage capacity of the internal memory of the PSP Go(ef0). More... | |
NIL | os.message (STRING mje) |
Show a message. More... | |
NUMBER | os.message (STRING mje, NUMBER mode) |
Show a message. More... | |
NUMBER | os.messagebox (STRING title, STRING mje) |
Displays a message box-shaped screen. More... | |
NUMBER | os.messagebox (STRING title, STRING mje, NUMBER button1, NUMBER assigned1) |
Displays a message box-shaped screen. More... | |
NUMBER | os.messagebox (STRING title, STRING mje, NUMBER button1, NUMBER assigned1, NUMBER button2, NUMBER assigned2) |
Displays a message box-shaped screen. More... | |
NUMBER | os.messagebox (STRING title, STRING mje, NUMBER button1, NUMBER assigned1, NUMBER button2, NUMBER assigned2, NUMBER button3, NUMBER assigned3) |
Displays a message box-shaped screen. More... | |
NIL | os.restart () |
Restart the homebrew. More... | |
NIL | os.exit () |
Closes the homebrew. More... | |
NUMBER | os.initprx (STRING path, STRING argv) |
Allows to load and start an external prx module. More... | |
BOOLEAN | os.stopprx (NUMBER id) |
Allows you to download and complete a module external prx. More... | |
NUMBER | os.requiere (STRING path) |
Allows to use ONELua API to add external modules. More... | |
OS functions.
NIL os.debug | ( | ) |
Enables the editor in the error screen (Debugger), to edit the script.
NIL os.modetv | ( | NUMBER | quality | ) |
Enables TV out.
quality | The pixels quality.
|
NIL os.modetv | ( | ) |
Disables TV out.
NUMBER os.cabletv | ( | ) |
Allows it to recognize video cable type connected.
NIL os.delay | ( | NUMBER | milliseconds | ) |
Allows a system delay.
milliseconds | Delay duration (in milliseconds). |
STRING os.cfw | ( | ) |
Identifies the Custom Firmware (CFW) or HEN installed.
STRING os.versiontxt | ( | ) |
The version.txt obtained of the file flash0:/etc/version.txt.
STRING os.nick | ( | ) |
User Nick.
STRING os.mac | ( | ) |
Obtains the MAC adress of the console.
STRING os.language | ( | ) |
The Language set in the PSP.
STRING os.password | ( | ) |
Gets the console password.
NUMBER os.ram | ( | ) |
Obtains the free RAM.
NUMBER os.totalram | ( | ) |
Obtains the total amount of RAM.
NUMBER os.cpu | ( | ) |
The actual CPU velocity.
NIL os.cpu | ( | NUMBER | speed | ) |
Change or set up the CPU velocity to the specified velocity.
speed | New CPU clock velocity, from 1 to 333. |
NUMBER os.bus | ( | ) |
Actual CPU frequency.
STRING os.getdate | ( | ) |
Current date and time.
TABLE os.infoms0 | ( | ) |
Gets the information of the storage capacity of the memory stick (ms0).
TABLE os.infoef0 | ( | ) |
Gets the information of the storage capacity of the internal memory of the PSP Go(ef0).
NIL os.message | ( | STRING | mje | ) |
Show a message.
mje | The message to show. |
NUMBER os.message | ( | STRING | mje, |
NUMBER | mode | ||
) |
Show a message.
mje | The message to show. |
mode | Numeric value: 1 for advanced message (with YES or NO options). |
NUMBER os.messagebox | ( | STRING | title, |
STRING | mje | ||
) |
Displays a message box-shaped screen.
title | It is the title bar text box. |
mje | The message text to display. |
NUMBER os.messagebox | ( | STRING | title, |
STRING | mje, | ||
NUMBER | button1, | ||
NUMBER | assigned1 | ||
) |
Displays a message box-shaped screen.
title | It is the title bar text box. |
mje | The message text to display. |
button1 | Button to show. |
assigned1 | Allocation Button to show (button1). |
See the following sample for more details.
NUMBER os.messagebox | ( | STRING | title, |
STRING | mje, | ||
NUMBER | button1, | ||
NUMBER | assigned1, | ||
NUMBER | button2, | ||
NUMBER | assigned2 | ||
) |
Displays a message box-shaped screen.
title | It is the title bar text box. |
mje | The message text to display. |
button1 | Button to show. |
assigned1 | Allocation Button to show (button1). |
button2 | Button to show. |
assigned2 | Allocation Button to show (button2). |
See the following sample for more details.
NUMBER os.messagebox | ( | STRING | title, |
STRING | mje, | ||
NUMBER | button1, | ||
NUMBER | assigned1, | ||
NUMBER | button2, | ||
NUMBER | assigned2, | ||
NUMBER | button3, | ||
NUMBER | assigned3 | ||
) |
Displays a message box-shaped screen.
title | It is the title bar text box. |
mje | The message text to display. |
button1 | Button to show. |
assigned1 | Allocation Button to show (button1). |
button2 | Button to show. |
assigned2 | Allocation Button to show (button2). |
button3 | Button to show. |
assigned3 | Allocation Button to show (button3). |
See the following sample for more details.
NIL os.restart | ( | ) |
Restart the homebrew.
NIL os.exit | ( | ) |
Closes the homebrew.
NUMBER os.initprx | ( | STRING | path, |
STRING | argv | ||
) |
Allows to load and start an external prx module.
path | Path to the prx. |
argv | Optionally, you can send a string as an argument to the module. |
BOOLEAN os.stopprx | ( | NUMBER | id | ) |
Allows you to download and complete a module external prx.
id | id of the prx. |
NUMBER os.requiere | ( | STRING | path | ) |
Allows to use ONELua API to add external modules.
path | Path to the prx. |