1The loadrun command loads and executes NITRO srl files associated with IS-NITRO-EMULATOR. 2It can be run from the command line without starting the debugger, and can be forcibly terminated with specified conditions. 3---------------------------------------------------------------- 4How to use: 5Specify the srl filename after loadrun. 6At that time, options can be specified between loadrun and the srl filename. See the following for options. 7---------------------------------------------------------------- 8Explanation of options. 9--version 10 Displays the version. 11-h, --help 12 Displays help. 13-q, --quiet 14 Runs in Quiet mode. 15 OS_Printf() from the DS is not displayed. 16-v, --verbose 17 Runs in Verbose mode. 18 Displays various information. 19-L, --list 20 Displays a list of connected devices. 21 For example, a list such as the following is displayed. 22 ---- Connected devices: 23 0: [NITROUSB] IS-NITRO-EMULATOR serial:04070680 24 1: [NITROUSB] IS-NITRO-EMULATOR serial:04070682 25 2: [NITROUSB] IS-NITRO-EMULATOR serial:04070683 26 3 device(s) found. 27 The [NITROUSB] portion is one of the device types specified with the –d option. serial is the serial number specified with the –s option. 28When IS-NITRO-DEBUGGER is run, already-connected devices are not displayed on this list. 29-l, --lap 30 Displays the elapsed time since startup on each row when OS_Printf() data is displayed. Internally, operations are processed in units of seconds, so there may be slight errors of a few tenths of a second. 31 The example below shows what is displayed. The {x:xx} portion is the portion added by this option. 32 {0:01}Program started 33 {0:01}--- heap init 34 {0:02}x=14 y=50 35 {0:04}x=15 y=20 36 {0:04} 37-d, --type=DEVICE 38 Specifies device types. CGBUSB, CGBSCSI, NITROUSB, or NITROUIC can be specified. 39The first machine found with the device specified here becomes the target for that action. 40-s, --serial=SERIAL 41 Specifies device serial numbers. The specified value is a 10-digit number, and is the same as the serial number displayed with the –L option. 42 When the number 04070680 is displayed in a list, the first 0 can be omitted as in 4070680. 43The first machine found with the serial number specified here becomes the target for that action. 44 It is okay to specify only one of either –d or –s. 45It is also okay to specify both, or neither. 46If no specification is made, the first machine found becomes the target. 47-t, --timeout=SECOND 48 Specifies a display timeout. 49 After receiving the last OS_Printf() data, if the next display does not happen for the specified time, the operation is forcibly terminated. 50-T, --exec-timeout=SECOND 51 Specifies an execution timeout. 52 Forcibly terminates after the specified period of time passes from when debugger loads and executes an srl file. 53-a, --abort-string=STRING 54 Specifies a termination character string. 55 -a=ABORT -a="ABORT" -a ABORT -a "ABORT" 56--abort-string=ABORT --abort-string "ABORT" 57are all examples of possible specifications. 58 Matching checks the beginning of the displayed character string. No determination will be made until a line feed is encountered. Gaps between displays are fine. 59 For example, if the termination character string is “ABORT," any of the following 60 OS_Printf(" ABORT\n") 61 OS_Printf("ABORTING\n") 62 OS_Printf("ABOR");OS_Sleep(1000);OS_Printf("T\n"); 63 will result in termination, but the following: 64 OS_Printf(" ABORT\n") 65 OS_Printf("ABO\nRT\n") 66 OS_Printf("A B O R T\n") 67 ...will not cause termination. In addition, 68 OS_Printf("ABORT") 69 will not immediately terminate because a line break has not been added. 70 If a line break code such as OS_Printf(“\n”) or OS_Printf(“ SOON\n”) comes afterward, it will terminate. 71-c, --card-slot=SWITCH 72 Specify the lock setting of the card slot to ON or OFF. 73 OFF is used if unspecified. 74-C, --cartridge-slot=SWITCH 75 Specify the lock setting of the cartridge to ON or OFF. 76 OFF is used if unspecified. 77 78