- SYNOPSIS OF psx-run
--quiet,-q be quiet
--help,-h print this text
--verbose,-v be verbose
--version,-V print binary version
--device=x,-d use this device (default: /dev/pccl)
--task=x,-t number of tasks allowed (default: 4)
--event=x,-e number of events allowed (default: 16)
--stack=x,-s initial stack address (default: 0x801ffff0)
--server,-S run with full stdio and file server
--console,-C run without server, but with console mode activated
--normal,-n normal start
--reset,-R reset PSX before upload
--break,-b break execution at main() function
--poll,-p poll until the game stops
--argvbase=x,-B where to place argv/argc arguments in memory
- DESCRIPTION OF psx-run
psx-run uploads and runs a PSX executable binary on the remote target. It can also attach a file server and an I/O redirection to the application. The --break option switch allows you to break the execution before it begins (by using a temporary breakpoint on the entry point). The attached server will detach automatically if it becomes idle, that is right after the program start. You can use the --poll option switch to poll until the main() function returns. To start with a defined state, you should use the --reset option switch to software-reset the PSX before upload and execution. The --normal option switch will unhook all CAETLA functions, you probably don't won't to use this switch.
- EXAMPLES FOR psx-run
psx-run --reset --server --poll file.psx will upload and start file.psx with an attached file server and I/O redirection until the program terminates. All redirected I/O messages are written to the current terminal emulation.
- NOTES ON psx-run
The --break option switch is only useful in combination with psxdebug.
| |