#------------------------------------------------------------------------------
#         Sample configuration file for Hercules ESA/390 emulator
#------------------------------------------------------------------------------

  MSGLEVEL  VERBOSE                   # normal/verbose/debug
# MODPATH   /usr/local/lib/hercules   # Where to search for modules


#------------------------------------------------------------------------------
#                      Guest CPU Configuration
#------------------------------------------------------------------------------

  CPUSERIAL 002623              # CPU serial number
  CPUMODEL  3090                # CPU model number
  MODEL     EMULATOR            # STSI returned model
  PLANT     ZZ                  # STSI returned plant
  MANUFACTURER HRC              # STSI returned manufacturer
  LPARNAME  HERCULES            # DIAG 204 returned lparname
  CPUVERID  FD                  # CPU Version Identification
  MAINSIZE  64                  # Main storage size in megabytes
  XPNDSIZE  0                   # Expanded storage size in megabytes
  NUMCPU    1                   # Number of CPUs
# NUMVEC    1                   # Number of Vector Processors
  MAXCPU    8                   # Maximum number of CPUs
  ARCHLVL   z/Arch              # Architecture mode S/370, ESA/390 or z/Arch
  FACILITY  DISABLE 006_ASN_LX_REUSE   # ASN-and-LX-Reuse facility
# ECPSVM    DISABLE             # VM Assist : NO or Level (20 recommended)
  LOADPARM  0120....            # IPL parameter
  OSTAILOR  LINUX               # OS tailoring
  SYSEPOCH  1900                # Base year for initial TOD clock
  TZOFFSET  +0200               # Using UTC (GMT)


#------------------------------------------------------------------------------
#       Hercules Service Processor and Hercules Application Window
#------------------------------------------------------------------------------

  CODEPAGE  819/1047                    # CodePage conversion table
  SHCMDOPT  disable  nodiag8            # No shell commands from Herc cmdline
  DIAG8CMD  disable  noecho             # OS may not issue commands via DIAG 8

# HTTP      PORT  8081 noauth                 # HTTP server port
# HTTP      ROOT  /usr/local/share/hercules/  # HTTP root directory
# HTTP      START                             # HTTP Start Server

  PANOPT    MSGCOLOR=DARK RATE=FAST     # Panel options

#-------------------------------------------------------------------------------
#                   Integrated Hercules I/O Controller
#-------------------------------------------------------------------------------

# DEVTMAX      0                # Device threads, 8 on Windows, else unlimited
  CNSLPORT  3270                # TCP port number to which consoles connect
# SHRDPORT  3990                # TCP port number for sharing DASD images
                                # on this instance of Hercules (inactive)

#-------------------------------------------------------------------------------
#                             Devices
#-------------------------------------------------------------------------------


#   .-----------------------Device number
#   |     .-----------------Device type
#   |     |       .---------File name and parameters
#   |     |       |
#   V     V       V
# ----    ----    --------------------
  0009    3215-C  / noprompt
  000C    3505    ./util/zzsacard.bin
  000D    3525    punch00d.txt ascii
  000E    1403    print00e.txt crlf
  001F    3270
#         The following statements are examples. Some of them require
#         user tailoring before being used.
# 0580    3420    ickdsf.ipl
# 0120    3380    mvsv5r.120
# 0121    3380    mvsv5d.121
# 0122    3380    mvswk1.122
# 0140    9336    dosres.140
# 0141    9336    syswk1.141
#
#         The following statement defines 3 3270 devices starting
#             at address 0200
# 0200.3  3270
#
#         The following statement defines 3480 devices
#             at addresses 0280 to 028F
# 280-28F 3480
#
#         The following statement defines 3420 devices
#             at addresses 02C0 & 02C2
# 2C0,2C2 3420
# 0300    3370    sysres.300
#
#         The following statements define 3380 Devices
#             with the CUU substituted in the device file name
#             device file names will be
#                  400.3380, 401.3380, 402.3380 and 403.3380
# 400-403 3380   $(CUU).3380
#
#         CCUU may also be used to define a 4 digit device address
#                 in the name
#                 device file names will be
#                 0480.3380, 0481.3380, 0482.3380 and 0483.3380
# 480-483 3380   $(CCUU).3380
#
# 0A00.3  QETH  ipaddr 192.168.10.1
#
#               Where the virtual network looks as following:
#
#         +------------------+               +------------------+
#         | Linux Guest OS   |               | Hercules Host    |
#         |                  |   Virtual     |                  |
#         |          eth0 ---+---------------+--- tap0          |
#         | 192.168.10.99    |    Cable      |    192.168.10.1  |
#         | 255.255.255.0    |               |    255.255.255.0 |
#         |                  |               |                  |
#         +------------------+               +------------------+
#
#         Experimental fcp support
#         Device statement
# 0C00    ZFCP
#
#         Specify the location of the scsi bootstrap
#         to be used for an IPL of a FCP device
# HWLDR   SCSIBOOT /usr/local/share/hercules/scsiboot
#
#         Specify wwpn, lun and optional parameter for the FCP IPL
# LOADDEV PORTNAME 8001020304050607 LUN 08090a0b0c0d0e0f

