1
0
mirror of synced 2026-01-11 23:42:44 +00:00
andrastantos.cray-sim/unicos_ramfs.cfg
Andras Tantos dc11ecf6a5 Followed up with latest changes on Windows:
- Updated to boost 1.82
- Fixed TAP driver enumeration change
- Added .bat files to start simulator
- Updated to platform tolset v143
- Removed NuGET boost dependency
- Added gitignore to hide most stuff that we don't want to track
- Removed profile from putty command line
- Changed TAP driver name to what is the default with OpenVPN install
2023-01-29 11:11:22 -08:00

181 lines
4.7 KiB
INI

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; J-90 with UNICOS configuration
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Setting up memory and loading image files
MachineType SV1
CpuMemorySize 0x2000000 ; We have 32MWords (64-bits each) of memory
StartupCpuIdx 0 ; This will set up the first CPU to come out of reset (on instructions from the IOP)
MemoryDumpFile dump/ramfs.mem ; If we get terminated, dump mainframe memory to this file
SingleThreadCpus no
MultiThreaded no
UseThreadAffinity yes
WindowWidth 120
WindowHeight 40
DefaultLogLevel None
EnableTimeStamp yes
LogFileName dump/ramfs.log
SysCallTableBase 0x000C528F
SysCallTableEnd 0x000C5A57
;SysCallTableBase 0x000FE420
;SysCallTableEnd 0x000FEBF0
ProcTableBase 0x000357B7
ProcTableLength 650 ; NPROC from config.h
;SystemClockPeriod 10 ; Clock period in ns.
;UseHostRealTimeClock false
RealTimeClockIncrement 90 ; By how much should the real time clock increment for every instruction burst
OsType UNICOS ; Controls how syscalls are decoded for the logger
BreakPoints {
; 0x000F42CF:p1 { Type LogOn }
}
EventPoints {
}
WatchPoints {
}
ImageFiles {
}
ChannelCount 256
LogUnusedChannels no
DefaultChannel {
}
ClusterCount 3
CpuCount 1
Cpus {
Default {
}
}
WebServer {
Port 8080
; Address localhost
Address *
Docroot httpd
ResourcePatterns {
".*" ok
}
}
IopClusters {
SimIopCluster {
DontTouchExchangePacket no
IopRevision IOSE ; Controls communication standard. Possible values are IOSD and IOSE
MasterCluster Yes
KernelFileName unicos.generic
KernelPreamble 0x40
ParameterFileName unicos_ramfs.param
RamFsFileName ram_fs
; RunLevel 2
I2C {
Channel 16
}
C2I {
Channel 17
}
EthInterfaces {
en0 {
InterfaceNameLinux tap1 ; Tap interface name to connect to on Linux
InterfaceNameWindows "OpenVPN TAP-Windows6" ; WinTap interface name to connect to on Windows
SimMacAddr 0x020143524159
Channel 020
IopNumber 0
}
}
Disks { ; Disc configuration must precisely match that in install.param. Best not to touch unless you know what you're doing
swap {
PysicalDeviceId 021
IopNumber 0
Unit 0
ImageFileName swap.img
DeviceType DD_U
}
dump {
PysicalDeviceId 022
IopNumber 0
Unit 0
ImageFileName dump.img
DeviceType DD_U
}
core {
PysicalDeviceId 023
IopNumber 0
Unit 0
ImageFileName core.img
DeviceType DD_U
}
root {
PysicalDeviceId 024
IopNumber 0
Unit 0
ImageFileName root.img
DeviceType DD_U
}
usr {
PysicalDeviceId 025
IopNumber 0
Unit 0
ImageFileName usr.img
DeviceType DD_U
}
src {
PysicalDeviceId 026
IopNumber 0
Unit 0
ImageFileName src.img
DeviceType DD_U
}
usr_tmp {
PysicalDeviceId 027
IopNumber 0
Unit 0
ImageFileName usr_tmp.img
DeviceType DD_U
}
tmp {
PysicalDeviceId 030
IopNumber 0
Unit 0
ImageFileName tmp.img
DeviceType DD_U
}
}
Consoles {
Default {
NewTerminalCommand "xterm -e {cmd}&"
; NewTerminalCommand "tmux split-window {cmd}&"
ConsoleCommandLinux "telnet {host} {port}"
ConsoleCommandWindows "putty.exe -telnet -P {port} {host}"
MapBackspace no
LogFile auto
}
}
Peripherals {
PrinterFileName lp.txt
DiskDir disk
TapeDir tape
}
}
}