1
0
mirror of https://github.com/simh/simh.git synced 2026-02-13 11:25:51 +00:00

SCP: Extend hierarchical help for device type attach language insertion

This allows all devices across all simulators to avoid having identical
attach language which may have host platform specific language.
This commit is contained in:
Mark Pizzolato
2025-10-10 17:46:19 -10:00
parent d569493baf
commit 6825288a94
2 changed files with 71 additions and 7 deletions

View File

@@ -49,6 +49,15 @@
* * %S - Inserts the current simulator name (e.g. "PDP-10")
* * %C - Inserts the current value of the sim_vm_interval_units string
* * %I - Inserts the current value of the sim_vm_step_unit string
* * %{#}A - Inserts the internal device type ATTACH string based on the type of
* the device (DEV_DISK, DEV_TAPE, DEV_SCSI, DEV_MUX, DEV_CARD, DEV_ETHER,
* DEV_DISPLAY) for the device being processed. Each of these device types
* may or may not have an ATTACH string available. If none is available,
* then nothing is inserted. The insertion occurs BEFORE the whole input
* is processed for its hierarchical/structural sections. This allows
* the inserted string to add to the heirarchy when desired.
* The # is optional. When present, the number # is added to each
* hierarchy level indicated in the included ATTACH string inserted.
* * %#s - Inserts the string suppled in the "#"th optional argument to the help
* routine. # starts with 1. Any embedded newlines will cause following
* text to be indented.