nitrorun

Description

nitrorun is a script for executing the following series of operations: starting buryarg and loadrun, passing arguments from the command line, rewriting the argument region of the srl file, downloading the data to the IS-NITRO-EMULATOR and such, and executing the code.

Specifically,

buryarg --stdout ... | loadrun --stdin

buryarg and loadrun are connected by a pipe, and buryarg writes to the standard output while loadrun reads from the standard input.

How to Use

Start Command

% nitrorun [OPTION]... [[NITROSRLFILE] [ARGUMENT]...]

NITROSRLFILE is the ROM file to execute. srl files can be specified.

The -h or --help options display simple instructions.

The --bopt option specifies options to be passed to the buryarg command. However, the --stdin option does not need to be described because it will be attached in advance.

The --lopt option specifies options to be passed to the loadrun command. However, the --stdin option does not need to be described because it will be attached in advance.

If the -v or --verbose option is specified, detailed descriptions of operations are displayed.

Specifying the -n or --noexec option does not execute the command. When used in conjunction with the -v option, you can check which type of command will be executed.

The --version option displays the command version.




(Example 1)

nitrorun main.srl 100 300
will cause the following command to execute.
buryarg --stdout main.srl 100 300 | loadrun --stdin

(Example 2)

nitrorun --bopt "-f rep.dat" --lopt "-t 300 -a \"ABORT\" " main.srl 100 300
will cause the following command to execute.
buryarg --stdout -f rep.dat main.srl 100 300 | loadrun --stdin -t 300 -a "ABORT"

Location

$NitroSDK/tools/bin/nitrorun

See Also

buryarg, loadrun

Revision History

08/31/2005 Initial version.