-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathes40.cfg
More file actions
345 lines (307 loc) · 10.1 KB
/
es40.cfg
File metadata and controls
345 lines (307 loc) · 10.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
/*
* ES40 emulator.
* Copyright (C) 2007-2008 by the ES40 Emulator Project
*
* Website: http://sourceforge.net/projects/es40
* E-mail : camiel@camicom.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Although this is not required, the author would appreciate being notified of,
* and receiving any modifications you may make to the source code that might serve
* the general public.
*/
/**
* \file
* Sample configuration file.
*
* $Id: es40.cfg,v 1.21 2008/03/02 09:42:52 iamcamiel Exp $
*
* X-1.21 Camiel Vanderhoeven 02-MAR-2008
* Natural way to specify large numeric values ("10M").
*
* X-1.20 Camiel Vanderhoeven 16-FEB-2008
* Added Symbios 53C810 controller.
*
* X-1.19 Camiel Vanderhoeven 13-FEB-2008
* Put SCSI controller on a different PCI ID, and clarified PCI
* configuration rules. Thanks to Eduardo Marcelo Serrat.
*
* X-1.18 Camiel Vanderhoeven 25-JAN-2008
* Added autocreate_size option for disk-images.
*
* X-1.17 Camiel Vanderhoeven 25-JAN-2008
* Added option to disable the icache.
*
* X-1.16 Camiel Vanderhoeven 23-JAN-2008
* Added comments for win32 and X11 gui's.
*
* X-1.15 Camiel Vanderhoeven 05-JAN-2008
* Added device as a disk.
*
* X-1.14 David Hittner 04-JAN-2008
* Replaced decnet variable with mac variable.
*
* X-1.13 Camiel Vanderhoeven 12-DEC-2007
* Changed the way disks work.
*
* X-1.12 Camiel Vanderhoeven 10-DEC-2007
* Added vga_console parameter.
*
* X-1.11 Camiel Vanderhoeven 10-DEC-2007
* New structure for configuration file.
*
* X-1.10 Camiel Vanderhoeven 10-DEC-2007
* Unintended version # increase.
*
* X-1.9 Brian Wheeler 22-NOV-2007
* Added nic0.disabled configuration option.
*
* X-1.8 Camiel Vanderhoeven 17-NOV-2007
* Clarified nic0.adapter syntax.
*
* X-1.7 Camiel Vanderhoeven 17-NOV-2007
* Added configuration lines for the network interface.
*
* X-1.6 Camiel Vanderhoeven 16-APR-2007
* Added configuration lines to start PuTTy for each serial port.
*
* X-1.5 Camiel Vanderhoeven 10-APR-2007
* a) Added rom.decompressed variable.
* b) Fixed some of the documentation mistakes.
*
* X-1.4 Camiel Vanderhoeven 1-APR-2007
* Documented, and added old changelog comments.
*
* X-1.3 Brian wheeler 7-FEB-2007
* Added memory.bits variable.
*
* X-1.2 Brian Wheeler 3-FEB-2007
* Added serial.base variable.
*
* X-1.1 Brian Wheeler 3-FEB-2007
* Created this file.
**/
// Specifying values
//
// Numeric values can be specified as a number ("500"), as a number with a
// suffix ("100K" = 102400), or as a fancy combination ("2G512M" = 2.5 G).
//
// Boolean values can be specified as "true"/"false", "yes"/"no", or "1"/"0".
//
// String-constants are best specified in double quotes ("string"). If the
// string needs to contain double quotes, double the double quotes.
// ("One ""word"" in this string is quoted")
// GUI
//
// If you want to use an emulated graphics card, the emulator needs to interface
// with the OS'es user interface. There are three ways to do this:
//
// On systems that have the SDL (simple directmedia layer) run-time libraries
// installed, you can use SDL. (gui=sdl) The emulator needs to be compiled with
// -DHAVE_SDL.
//
// On MS Windows-systems, you can use Win32 API calls. (gui=win32)
//
// On many Linux, BSD and UNIX systems, you can use X11. (gui=X11)
gui = sdl
{
keyboard.use_mapping = false;
keyboard.map = "keys.map";
}
sys0 = tsunami
{
// VARIABLE: rom.srm
//
// Specify the filename of the original (compressed) ROM image. This file is
// essential to the functioning of the emulator. This file an be obtained from HP
// (it's on the firmware-update CD-ROM for Alpha ES40 systems).
//
rom.srm = "rom\cl67srmrom.exe";
// VARIABLE: rom.decompressed
//
// Specify the filename of the decompressed ROM image. If possible, it will be
// created the first time the emulator is run. When it exists, it allows the
// emulator to start quicker by skipping the ROM decompression.
//
rom.decompressed = "rom\decompressed.rom";
// VARIABLES: rom.flash and rom.dpr
//
// Specify the filenames of Flash and DPR ROM images. These files are not required,
// but will be created he first time the emulator runs.
// Contents of Flash and DPR ROM will be put in these files after successful
// termination of the emulator. This allows setting SRM variables such as auto_action
// and boot_osflags.
//
rom.flash = "rom\flash.rom";
rom.dpr = "rom\dpr.rom";
// VARIABLE: memory.bits
//
// Only amounts of memory that are a power of 2 are supported. This number
// determines the amount of memory, by setting the number of bits in the address
// (and thus which power of 2).
//
// 26 = 64 MB
// 27 = 128MB
// 28 = 256 MB
// 29 = 512 MB
// 30 = 1GB
// 31 = 2GB
//
memory.bits = 30;
cpu0 = ev68cb
{
// VARIABLE: icache
//
// enables or disables the onchip-cache. The emulator runs faster
// when this is disabled, but that might lead to problems with some
// OS'es, so here is the option to enable it.
icache = false;
}
// System Internal PCI Devices: ali, ali_ide, ali_usb
//
// The following PCI-devices are built into the system, and should
// always be at the PCI-id's they are on in this sample configuration
// file for compatibility.
pci0.7 = ali{
mouse.enabled = true;
lpt.outfile = "lpt.out";
vga_console = true;
}
pci0.15 = ali_ide
{
// sub-components: disk<x>.<y>
//
// Here, up to 4 IDE disks can be defined (0.0, 0.1, 1.0 and 1.1).
//
// file: create a disk using a file on the host filesystem as a disk image
disk0.0 = file
{
file = "img\disk0.img";
serial_number = "VMS";
rev_number = "8.3";
model_number = "OpenVMS8.3";
read_only = false;
cdrom = false;
// if the file does not exist, it will be created if autocreate_size is set
// to the desired size of the disk.
autocreate_size = 600M;
}
disk1.0 = file
{
file = "img\vms83.iso";
read_only = true;
cdrom = true;
}
// device: create a disk using a physical device
//
// WARNING: making a physical disk device writeable here may
// seriously jeopardize the contents of that disk.
//
// Windows syntax for device: \\.\CDRom0, \\.\PhysicalDrive0
//
// UNIX-like syntax for device: /dev/sda
disk1.0 = device
{
device = "\\.\CDRom0";
read_only = true;
cdrom = true;
}
// ramdisk: create a disk using a portion of host RAM
disk1.1 = ramdisk
{
size = 10M;
}
}
pci0.19 = ali_usb {}
// "Free" PCI Devices
//
// These can occupy pci0.1 .. pci0.4 and pci1.1 .. pci1.6
//
// AFAIK, VGA should always be on pci0.x.
pci0.2 = cirrus
{
rom = "rom\vgabios-0.6a.debug.bin";
}
//pci0.2 = s3
//{
// rom = "rom\vgabios-0.6a.debug.bin";
//}
// Symbios SCSI controller
//
// There are two flavors of SCSI controllers on the emulator; 53c810
// and 53c895. The 53c810 supports 7 disks (0.0..0.6), the 53c895
// supports 15 disks (0.0..0.6 and 0.8..0.15).
//
// Right now, the 53c810 is the only controller that works with OpenVMS.
pci0.3 = sym53c810
{
disk0.0 = file
{
file = "img\dka0.img";
read_only = false;
cdrom = false;
}
disk0.4 = file
{
file = "img\scsi_cd.iso";
read_only = true;
cdrom = true;
}
disk0.5 = ramdisk
{
size = 10M;
}
}
pci0.4 = dec21143 {
// VARIABLE: adapter
//
// Defines the host computer's adapter to use for the emulated NIC. If you're unsure
// of this, start the emulator without this variable set, and you will be presented
// with a list of adapters to choose from. You can enter the name indicated on this
// line.
//
// Windows syntax:
// adapter = "\Device\NPF_{F266CDC2-6BA2-43D8-8B00-1C468F737ED7}"
//
// Linux syntax:
//adapter = "eth0"
//adapter = "\Device\NPF_{F266CDC2-6BA2-43D8-8B00-1C468F737ED7}";
// VARIABLE: mac
//
// Defines the ethernet MAC address to be used by the virtual nic.
// The variable format is: xx-xx-xx-xx-xx-xx, where all values are in hex.
// This value should be unique on your network, or Bad Things Will Happen.
//
// The default value is: 08-00-2B-E5-40-<nic#>
//mac = "08-00-2B-E5-40-00";
}
serial0 = serial {
// VARIABLE: port
//
// Determines which Telnet port is opened to receive connections for the emulated
// serial port. The default is 8000 + the port number.
port = 21264;
// VARIABLE: action
//
// Defines the action to take for each serial port (= a telnet client). If you want
// to connect manually, leave this out.
action = """c:\Program Files\PuTTY\putty.exe"" telnet://localhost:21264";
}
serial1 = serial {
port = 21265;
action = """c:\Program Files\PuTTY\putty.exe"" telnet://localhost:21265";
}
}