set step silent set language macro cancel display src cancel display inst cancel display reg cancel display out set window w_prm at (22,2,1,80) display prompt at w_prm set window w_src at (1,5,1,80) set window w_asm at (6,5,1,80) set window w_out at (11,3,1,80) set window w_reg at (15,6,1,80) set display d_src at w_src source (ex/source .%SOURCE_SCOPE\%PC) set display d_asm at w_asm instruction (ex/inst .0\%PC) set display d_out at w_out output set display d_reg at w_reg register sel/err/out d_out sel/inst d_asm sel/scroll d_src sel/sour d_src set step inst set modu /all define/key/terminate/noecho/nolog do "go" define/key/terminate/noecho/nolog F20 "spawn" define/key/terminate/noecho/nolog enter "step/into" define/key/terminate/noecho/nolog e2 "br .pc" define/key/terminate/noecho/nolog e3 "nb .pc" define/key/terminate/noecho/nolog e1 "set exception break" define/key/terminate/noecho/nolog/if_state=gold e1 "cancel exception break" define/command br = "set break" define/command nb = "cancel break" define/command desc = "ex/ascid " define/command asciz = "ex/asciz " define/command hex = "set rad h" define/command dec = "set rad d" define/command src = "set step line ; set step source" define/command csrc = "set lang c ; set step line ; set step source ; set rad h" define/command mac = "set lang macro ; set step line ; set step source ; set rad h" define/command inst = "set step inst" set exc br set mode screen