Hercules+RC+file

=Hercules RC file=

Hercules supports the ability to have console commands automatically executed at startup via the 'run-commands' file. If the run-commands file is found to exist when Hercules starts then each line of the file is read and interpreted as a console command, exactly as if the command were entered from the HMC sys-tem console.

Here is a sample hercules.rc file that will be useful for the program examples in the wiki:

-- snip --- hao tgt "l" hao cmd u 2000.20 psw cmwp=8 # set PSW EC mode psw ia=2000 # set PSW instruction address to x'2000' r 0=00 08 00 00 00 00 20 00 # set restart PSW script hello.txt b 200e # set a breakpoint at 200e
 * 1) create a shortcut key "l" (ell) to unassemble x'2000'
 * 1) load 'hello_world' program
 * 1) load 'hello_world' program

-- snip --