; The IF + SING_STEP toggle feature allows switching among boot scripts,
; so reset simulator in case we're switching from one script to another.
reset

; Standard PDP-8 config for all scripts.
set cpu 32k
set cpu noidle
set df disabled

; Standard CPU throttling behavior.  See README-throttle.md.
deposit int-throttle THROT_DELAY 3
@SET_THROTTLE@

@if SIMH_PASS_LOWERCASE
; The software was configured with either --lowercase=auto or =pass,
; so send all text input to the simulator as 7-bit ASCII, including
; lowercase.  Lowercase output from the simulator will be sent to the
; console unchanged, as will non-printing chars.
set tti 7b
@else
; The software was configured with --lowercase=upper, meaning the user
; wants lowercase text to be forced to uppercase.  This is bidirectional,
; affecting both input to the simulated PDP-8 and output from it.
set tti ksr
@endif

; Common shutdown behavior
set on
on SIGTERM exit
