1 |
<html> |
<html><head><title>Gavare's eXperimental Emulator: Introduction</title> |
2 |
<head><title>GXemul documentation: Introduction</title> |
<meta name="robots" content="noarchive,nofollow,noindex"></head> |
3 |
</head> |
<body bgcolor="#f8f8f8" text="#000000" link="#4040f0" vlink="#404040" alink="#ff0000"> |
4 |
<body bgcolor="#ffffff" text="#000000" link="#4040f0" vlink="#404040" alink="#ff0000"> |
<table border=0 width=100% bgcolor="#d0d0d0"><tr> |
5 |
<p> |
<td width=100% align=center valign=center><table border=0 width=100%><tr> |
6 |
<table width="100%"> |
<td align="left" valign=center bgcolor="#d0efff"><font color="#6060e0" size="6"> |
7 |
<tr><td width="100%" bgcolor="#808070"><font color="#ffffe0" size="6"> |
<b>Gavare's eXperimental Emulator:</b></font><br> |
8 |
<b>GXemul documentation: Introduction</b></font></td></tr> |
<font color="#000000" size="6"><b>Introduction</b> |
9 |
</table> |
</font></td></tr></table></td></tr></table><p> |
|
<p> |
|
|
<!-- The first 10 lines are cut away by the homepage updating script. --> |
|
|
|
|
10 |
|
|
11 |
<!-- |
<!-- |
12 |
|
|
13 |
$Id: intro.html,v 1.30 2005/04/07 15:43:15 debug Exp $ |
$Id: intro.html,v 1.73 2006/02/18 14:02:19 debug Exp $ |
14 |
|
|
15 |
Copyright (C) 2003-2005 Anders Gavare. All rights reserved. |
Copyright (C) 2003-2006 Anders Gavare. All rights reserved. |
16 |
|
|
17 |
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
18 |
modification, are permitted provided that the following conditions are met: |
modification, are permitted provided that the following conditions are met: |
45 |
<h2>Introduction</h2> |
<h2>Introduction</h2> |
46 |
|
|
47 |
<p> |
<p> |
48 |
|
<table border="0" width="99%"><tr><td valign="top" align="left"> |
49 |
<ul> |
<ul> |
50 |
<li><a href="#overview">Overview</a> |
<li><a href="#overview">Overview</a> |
51 |
<li><a href="#free">Is GXemul free software?</a> |
<li><a href="#free">Is GXemul Free software?</a> |
52 |
<li><a href="#build">How to compile/build the emulator</a> |
<li><a href="#build">How to compile/build the emulator</a> |
53 |
<li><a href="#cpus">Which CPU types does GXemul emulate?</a> |
<li><a href="#run">How to run the emulator</a> |
54 |
|
<li><a href="#cpus">Which processor architectures does GXemul emulate?</a> |
55 |
<li><a href="#accuracy">Emulation accuracy</a> |
<li><a href="#accuracy">Emulation accuracy</a> |
56 |
<li><a href="#emulmodes">Which machines does GXemul emulate?</a> |
<li><a href="#emulmodes">Which machines does GXemul emulate?</a> |
|
<li><a href="#guestos">Which guest OSes are possible to run?</a> |
|
57 |
</ul> |
</ul> |
58 |
|
</td><td valign="center" align="center"> |
59 |
|
<a href="20050317-example.png"><img src="20050317-example_small.png"></a> |
60 |
|
<p>NetBSD/pmax 1.6.2 with X11<br>running in GXemul</td></tr></table> |
61 |
|
|
62 |
|
|
63 |
|
|
66 |
<a name="overview"></a> |
<a name="overview"></a> |
67 |
<h3>Overview:</h3> |
<h3>Overview:</h3> |
68 |
|
|
69 |
GXemul is a machine emulator, which can be used to experiment with |
GXemul is an experimental instruction-level machine emulator. Several |
70 |
binary code for (among others) MIPS-based machines. Several emulation |
emulation modes are available. In some modes, processors and surrounding |
|
modes are available. For some emulation modes, processors and surrounding |
|
71 |
hardware components are emulated well enough to let unmodified operating |
hardware components are emulated well enough to let unmodified operating |
72 |
systems run as if they were running on a real machine. |
systems (e.g. NetBSD) run as if they were running on a real machine. |
73 |
|
|
74 |
<p> |
<p>The processor architecture best emulated by GXemul is MIPS, but other |
75 |
It is important to keep in mind that devices and CPUs are not really |
architectures such as ARM and PowerPC are also partially emulated. |
|
emulated correctly, they are only "faked" well enough to make eg. NetBSD |
|
|
run. Still, the emulator could be of interest for academic research and |
|
|
experiments, such as when learning how to write an OS for a real machine, |
|
|
or profiling SMP, memory, or system call usage. |
|
|
|
|
|
<p> |
|
|
The emulator is written in C, does not depend on external libraries (except |
|
|
X11, but that is optional), and should compile and run on most Unix-like |
|
|
systems. If it doesn't, then that is a bug. |
|
76 |
|
|
77 |
<p> |
<p>Devices and CPUs are not simulated with 100% accuracy. They are only |
78 |
The emulator contains code which tries to emulate the workings of CPUs and |
``faked'' well enough to allow guest operating systems run without |
79 |
surrounding hardware found in real machines, but it does not contain any |
complaining too much. Still, the emulator could be of interest for |
80 |
ROM code. You will need some form of program (in binary form) to run in |
academic research and experiments, such as when learning how to write |
81 |
the emulator. For many emulation modes, PROM calls are handled by the |
operating system code. |
82 |
|
|
83 |
|
<p>The emulator is written in C, does not depend on third-party libraries, |
84 |
|
and should compile and run on most 64-bit and 32-bit Unix-like systems. |
85 |
|
|
86 |
|
<p>The emulator contains code which tries to emulate the workings of CPUs |
87 |
|
and surrounding hardware found in real machines, but it does not contain |
88 |
|
any ROM code. You will need some form of program (in binary form) to run |
89 |
|
in the emulator. For many emulation modes, PROM calls are handled by the |
90 |
emulator itself, so you do not need to use any ROM image at all. |
emulator itself, so you do not need to use any ROM image at all. |
91 |
|
|
92 |
<p> |
<p>You can use pre-compiled kernels (for example NetBSD kernels, or |
93 |
You can use pre-compiled kernels (for example NetBSD kernels, or Linux), |
Linux), or other programs that are in binary format, and in some cases |
94 |
or other programs that are in binary format, and in some cases even actual |
even actual ROM images. A couple of different file formats are supported |
95 |
ROM images. A couple of different file formats are supported (ELF, a.out, |
(ELF, a.out, ECOFF, SREC, and raw binaries). |
96 |
ECOFF, SREC, raw binaries). |
|
97 |
|
<p>If you do not have a kernel as a separate file, but you have a bootable |
98 |
|
disk image, then it is sometimes possible to boot directly from that |
99 |
|
image. (This works for example with DECstation emulation, or when booting |
100 |
|
from ISO9660 CDROM images.) |
101 |
|
|
|
<p> |
|
|
(You do not need any MIPS compiler toolchain to build or use GXemul. |
|
|
If you need to compile MIPS binaries from sources, then of course you need |
|
|
such a toolchain, but that is completely separate from GXemul. There |
|
|
is a <a href="technical.html#regtest">regression testing</a> framework, |
|
|
which requires that a GNU CC for mips64-unknown-elf or similar is available. |
|
|
For simply building and using the emulator, it is not required.) |
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
|
|
<p><br> |
|
|
<a name="free"></a> |
|
|
<h3>Is GXemul free software?</h3> |
|
107 |
|
|
|
Yes. I have released GXemul under a free license. |
|
|
(For a definitions of the four freedoms associated with free software, |
|
|
please read <a href="http://www.gnu.org/philosophy/free-sw.html"> |
|
|
http://www.gnu.org/philosophy/free-sw.html</a>.) |
|
108 |
|
|
109 |
<p> |
<p><br> |
110 |
The code I have written is released under a 3-clause BSD-style license |
<a name="free"></a> |
111 |
(or "revised BSD-style" if one wants to use |
<h3>Is GXemul Free software?</h3> |
|
<a href="http://www.gnu.org/philosophy/bsd.html">GNU jargon</a>.) |
|
|
Apart from the code I have written, some files are copied from other sources |
|
|
such as NetBSD, for example header files containing symbolic names of |
|
|
bitfields in device registers. They are also covered by similar licenses, |
|
|
but with some additional clauses. If you plan to redistribute GXemul |
|
|
(for example as a binary package), or reuse code from GXemul, |
|
|
then you should check those files for their license terms. |
|
112 |
|
|
113 |
<p> |
Yes. I have released GXemul under a Free license. The code in GXemul is |
114 |
(The licenses usually require that the original Copyright and license |
Copyrighted software, it is <i>not</i> public domain. (If this is |
115 |
terms are included when you make a copy or modification. The "easiest way |
confusing to you, you might want to read up on the definitions of the |
116 |
out" if you plan to redistribute code from GXemul is to simply supply |
four freedoms associated with Free software, <a |
117 |
the source code. You should however check individual files for details.) |
href="http://www.gnu.org/philosophy/free-sw.html">http://www.gnu.org/philosophy/free-sw.html</a>.) |
118 |
|
|
119 |
|
<p>The code I have written is released under a 3-clause BSD-style license |
120 |
|
(or "revised BSD-style" if one wants to use <a |
121 |
|
href="http://www.gnu.org/philosophy/bsd.html">GNU jargon</a>). Apart from |
122 |
|
the code I have written, some files are copied from other sources such as |
123 |
|
NetBSD, for example header files containing symbolic names of bitfields in |
124 |
|
device registers. They are also covered by similar licenses, but with some |
125 |
|
additional clauses. The main point, however, is that the licenses require |
126 |
|
that the original Copyright and license terms are included when you make a |
127 |
|
copy or modification. |
128 |
|
|
129 |
|
<p>If you plan to redistribute GXemul <i>without</i> supplying the source |
130 |
|
code, then you need to comply with each individual source file some other |
131 |
|
way, for example by writing additional documentation containing copyright |
132 |
|
notes. I have not done this, since I do not plan on making distributions |
133 |
|
without source code. You need to check all individual files for details. |
134 |
|
The "easiest way out" if you plan to redistribute code from GXemul is, of |
135 |
|
course, to let it remain open source and simply supply the source code. |
136 |
|
|
137 |
|
<p>In case you want to reuse parts of GXemul, but you need to do that |
138 |
|
under a different license (e.g. the GPL), then contact me and I might |
139 |
|
re-license/dual-license files on a case-by-case basis. |
140 |
|
|
141 |
|
|
142 |
|
|
152 |
$ <b>make</b> |
$ <b>make</b> |
153 |
</pre> |
</pre> |
154 |
|
|
155 |
<p> |
<p>This should work on most Unix-like systems. GXemul does not require any |
156 |
This should work on most Unix-like systems. If it doesn't, then please |
specific libraries to build, however, if you build on a system which does |
157 |
mail me a bug report. |
not have X11 libraries installed, some functionality will be lost. |
|
|
|
|
<p> |
|
|
(Note for Windows users: there is a possibility that some releases |
|
|
and/or snapshots will also work with Cygwin, but I can't promise that.) |
|
158 |
|
|
159 |
<p> |
<p>The emulator's performance is highly dependent on both runtime settings |
|
The emulator's performance is highly dependent on both runtime settings |
|
160 |
and on compiler settings, so you might want to experiment with different |
and on compiler settings, so you might want to experiment with different |
161 |
CC and CFLAGS environment variable values. For example, on a modern PC, |
CC and CFLAGS environment variable values. For example, on an AMD Athlon |
162 |
you could try the following: |
host, you might want to try setting <tt>CFLAGS</tt> to <tt>-march=athlon |
163 |
<p> |
-O3</tt> before running <tt>configure</tt>. |
|
<pre> |
|
|
$ <b>CFLAGS="-mcpu=pentium4 -O3" ./configure</b> |
|
|
$ <b>make</b> |
|
|
</pre> |
|
|
|
|
|
<p> |
|
|
Run <b>./configure --help</b> to get a list of configure options. (The |
|
|
possible options differ between different releases and snapshots.) |
|
164 |
|
|
|
<p> |
|
|
Once you have built GXemul, running it should be rather straight-forward. |
|
|
To exit the emulator, type CTRL-C to enter the |
|
|
single-step debugger, and then type <b>quit</b>. By typing CTRL-B instead, |
|
|
a CTRL-C is sent to the emulated program. |
|
165 |
|
|
166 |
|
|
167 |
|
|
169 |
|
|
170 |
|
|
171 |
<p><br> |
<p><br> |
172 |
<a name="cpus"></a> |
<a name="run"></a> |
173 |
<h3>Which CPU types does GXemul emulate?</h3> |
<h3>How to run the emulator:</h3> |
174 |
|
|
175 |
<h4>MIPS:</h4> |
Once you have built GXemul, running it should be rather straight-forward. |
176 |
|
Running <tt><b>gxemul</b></tt> without arguments (or with the |
177 |
|
<b><tt>-h</tt></b> or <b><tt>-H</tt></b> command line options) will |
178 |
|
display a help message. |
179 |
|
|
180 |
|
<p> |
181 |
|
To get some ideas about what is possible to run in the emulator, please |
182 |
|
read the section about <a href="guestoses.html">installing "guest" |
183 |
|
operating systems</a>. If you are interested in using the emulator to |
184 |
|
develop code on your own, then you should also read the section about |
185 |
|
<a href="experiments.html#hello">Hello World</a>. |
186 |
|
|
187 |
Emulation of R4000, which is a 64-bit CPU, was my initial goal. Right |
<p> |
188 |
now, R2000/R3000-like CPUs are also emulated (32-bit), and emulation of |
To exit the emulator, type CTRL-C to enter the |
189 |
R1x000 (at least the parts that are similar to R4000) is beginning to work |
single-step debugger, and then type <tt><b>quit</b></tt>. |
|
as expected. Code targeted for MIPS32 and MIPS64 also often work. |
|
190 |
|
|
191 |
<p> |
<p> |
192 |
I have written an experimental dynamic binary translation subsystem. |
If you are starting an emulation by entering settings directly on the |
193 |
This gives higher total performance than interpreting one instruction at a |
command line, and you are not using the <tt><b>-x</b></tt> option, then all |
194 |
time and executing it. (If you wish to enable bintrans, add <b>-b</b> to |
terminal input and output will go to the main controlling terminal. |
195 |
the command line, but keep in mind that it is still experimental.) |
CTRL-C is used to break into the debugger, so in order to send CTRL-C to |
196 |
|
the running (emulated) program, you may use CTRL-B. |
197 |
|
(This should be a reasonable compromise to allow the emulator to be usable |
198 |
|
even on systems without X Windows.) |
199 |
|
|
200 |
|
<p> |
201 |
|
There is no way to send an actual CTRL-B to the emulated program, when |
202 |
|
typing in the main controlling terminal window. The solution is to either |
203 |
|
use <a href="configfiles.html">configuration files</a>, or use |
204 |
|
<tt><b>-x</b></tt>. Both these solutions cause new xterms to be opened for |
205 |
|
each emulated serial port that is written to. CTRL-B and CTRL-C both have |
206 |
|
their original meaning in those xterm windows. |
207 |
|
|
208 |
|
|
209 |
|
|
210 |
|
|
|
<h4>URISC:</h4> |
|
211 |
|
|
212 |
I have implemented an <a href="http://en.wikipedia.org/wiki/URISC">URISC</a> |
<p><br> |
213 |
emulation mode, just for fun. The only instruction available in an URISC |
<a name="cpus"></a> |
214 |
machine is "reverse subtract and skip on borrow". (It is probably not |
<h3>Which processor architectures does GXemul emulate?</h3> |
|
worth trying to do bintrans with URISC, because any reasonable URISC |
|
|
program relies on self-modifying code, which is bad for bintrans |
|
|
performance.) |
|
215 |
|
|
216 |
|
<h4>MIPS:</h4> |
217 |
|
|
218 |
|
Emulation of R4000, which is a 64-bit CPU, was my initial goal. |
219 |
|
R2000/R3000-like CPUs (32-bit), R1x000, and generic MIPS32/MIPS64-style |
220 |
|
CPUs are also emulated, and are hopefully almost as stable as the R4000 |
221 |
|
emulation. Several guest operating systems for MIPS can run inside |
222 |
|
the emulator. |
223 |
|
|
224 |
|
<p>(For MIPS emulation, I have written an experimental dynamic binary |
225 |
|
translation subsystem, for Alpha and i386 hosts. This gives higher total |
226 |
|
performance than interpreting one instruction at a time and executing it. |
227 |
|
If you wish to disable bintrans, add <b>-B</b> to the command line.) |
228 |
|
|
229 |
|
<h4>ARM:</h4> |
230 |
|
|
231 |
|
ARM emulation is good enough to run NetBSD/cats, OpenBSD/cats, and |
232 |
|
NetBSD/evbarm, but it is not as tested or fine-tuned as the MIPS emulation |
233 |
|
mode. |
234 |
|
|
235 |
|
<h4>PowerPC:</h4> |
236 |
|
|
237 |
<h4>Other CPU types:</h4> |
PowerPC emulation is still in its beginning stages, but good enough |
238 |
|
to run NetBSD/prep 2.1. |
239 |
|
|
240 |
There is some code for 64-bit (and 32-bit) POWER/PowerPC emulation too, |
<p>Non-MIPS emulation modes use dynamic translation, but not recompilation |
241 |
but it only works for "Hello World" and similarly trivial programs. (There |
into native code. This makes it possible to run on any host platform. |
|
are some other CPU modes too, but they are working even less.) |
|
242 |
|
|
243 |
|
|
244 |
|
|
248 |
<a name="accuracy"></a> |
<a name="accuracy"></a> |
249 |
<h3>Emulation accuracy:</h3> |
<h3>Emulation accuracy:</h3> |
250 |
|
|
251 |
GXemul is an instruction-level simulator; things that would happen in |
GXemul is an instruction-level emulator; things that would happen in |
252 |
several steps within a real CPU are not taken into account (eg. pipe-line |
several steps within a real CPU are not taken into account (eg. pipe-line |
253 |
stages or out-of-order execution). Still, instruction-level accuracy seems |
stalls or out-of-order execution). Still, instruction-level accuracy seems |
254 |
to be enough to be able to run complete guest operating systems inside the |
to be enough to be able to run complete guest operating systems inside the |
255 |
emulator. |
emulator. |
256 |
|
|
257 |
|
<p>Caches are by default not emulated. In some cases, the existance of |
258 |
|
caches is "faked" to let operating systems think that they are there. |
259 |
|
(There is some old code for R2000/R3000 caches, but it has probably |
260 |
|
suffered from bitrot by now.) |
261 |
|
|
262 |
|
<p>The emulator is <i>not</i> timing-accurate. It can be run in a |
263 |
|
"deterministic" mode, <tt><b>-D</b></tt>. The meaning of deterministic is |
264 |
|
simply that running two emulations with the same settings will result in |
265 |
|
identical runs. Obviously, this requires that no user interaction is |
266 |
|
taking place, and that clock speeds are fixed with the <tt><b>-I</b></tt> |
267 |
|
option. (Deterministic in this case does <i>not</i> mean that the |
268 |
|
emulation will be identical to some actual real-world machine.) |
269 |
|
|
270 |
|
<p><font color="#ff0000">(Oops/TODO: User interaction means <i>both</i> |
271 |
|
input to the emulated program/OS, and interacting with the emulator |
272 |
|
itself. Breaking into the debugger and then continuing execution may |
273 |
|
affect when/how interrupts occur.)</font> |
274 |
|
|
275 |
|
|
276 |
|
|
277 |
|
|
278 |
|
|
281 |
<a name="emulmodes"></a> |
<a name="emulmodes"></a> |
282 |
<h3>Which machines does GXemul emulate?</h3> |
<h3>Which machines does GXemul emulate?</h3> |
283 |
|
|
284 |
A few different machine types are emulated. The machine types that are |
A few different machine types are emulated. The following machine types |
285 |
emulated best at the moment are: |
are emulated well enough to run at least one "guest OS": |
286 |
|
|
287 |
<p> |
<p> |
288 |
<ul> |
<ul> |
289 |
<li><b>DECstation 5000/200</b> ("pmax") |
<li><b><u>MIPS</u></b> |
290 |
<br>(Serial controller (including keyboard and mouse), ethernet, |
<ul> |
291 |
SCSI, and graphical framebuffers.) |
<li><b>DECstation 5000/200</b> ("3max") |
292 |
|
<li><b>Acer Pica-61</b> (an ARC machine) |
293 |
|
<li><b>NEC MobilePro 770, 780, 800, and 880</b> (HPCmips machines) |
294 |
|
<li><b>Cobalt</b> |
295 |
|
<li><b>Malta</b> (evbmips) |
296 |
|
<li><b>SGI O2 ("IP32")</b> <font color="#0000e0">(<super>*</super>)</font> |
297 |
|
</ul> |
298 |
<p> |
<p> |
299 |
<li><b>Acer Pica-61</b> (an ARC machine) |
<li><b><u>ARM</u></b> |
300 |
<br>(Serial controller, "VGA" text console, and SCSI.) |
<ul> |
301 |
|
<li><b>CATS</b> |
302 |
|
<li><b>IQ80321</b> (evbarm) |
303 |
|
</ul> |
304 |
<p> |
<p> |
305 |
<li><b>NEC MobilePro 770, 780, 800, and 880</b> (HPCmips machines) |
<li><b><u>PowerPC</u></b> |
306 |
<br>(Framebuffer, keyboard, and a PCMCIA IDE controller.) |
<ul> |
307 |
|
<li><b>PReP (PowerPC Reference Platform)</b> |
308 |
|
</ul> |
309 |
</ul> |
</ul> |
310 |
|
|
311 |
<p> |
<p><small><font color="#0000e0">(<super>*</super>)</font> = |
312 |
There is code in GXemul for emulation of many other machine types; |
Enough for root-on-nfs, but not for disk boot.)</small> |
|
the degree to which these work range from "almost" being able to run |
|
|
a complete OS, to almost completely unsupported (perhaps just enough |
|
|
support to output a few boot messages via serial console). |
|
313 |
|
|
314 |
<p> |
<p>There is code in GXemul for emulation of many other machine types; the |
315 |
In addition to specific machine types, a "test-machine" can be emulated. |
degree to which these work range from almost being able to run a complete |
316 |
A test-machine consists of one or more CPUs and a few experimental |
OS, to almost completely unsupported (perhaps just enough support to |
317 |
devices such as: |
output a few boot messages via serial console). |
318 |
|
|
319 |
|
<p>In addition to emulating real machines, there is also a "test-machine". |
320 |
|
A test-machine consists of one or more CPUs and a few experimental devices |
321 |
|
such as: |
322 |
|
|
323 |
<p> |
<p> |
324 |
<ul> |
<ul> |
325 |
<li>a console I/O device (putchar() and getchar()...) |
<li>a console I/O device (putchar() and getchar()...) |
326 |
<li>an inter-processor communication device, for SMP experiments |
<li>an inter-processor communication device, for SMP experiments |
327 |
<li>a very simple linear framebuffer device (for graphics output) |
<li>a very simple linear framebuffer device (for graphics output) |
328 |
|
<li>a simple SCSI disk controller |
329 |
|
<li>a simple ethernet controller |
330 |
</ul> |
</ul> |
331 |
|
|
332 |
<p> |
<p>This mode is useful if you wish to run experimental code, but do not |
|
This mode is useful if you wish to run experimental code, but do not |
|
333 |
wish to target any specific real-world machine type, for example for |
wish to target any specific real-world machine type, for example for |
334 |
educational purposes. |
educational purposes. |
335 |
|
|
336 |
<p> |
<p>You can read more about these experimental devices <a |
337 |
You can read more about these experimental devices |
href="experiments.html#expdevices">here</a>. |
|
<a href="experiments.html#expdevices">here</a>. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p><br> |
|
|
<a name="guestos"></a> |
|
|
<h3>Which guest OSes are possible to run?</h3> |
|
|
|
|
|
This table sums up the guest OSes that run well enough to be considered |
|
|
working in the emulator. They can boot from a harddisk image and be |
|
|
interacted with similar to a real machine: |
|
|
|
|
|
<p><br> |
|
|
<center> |
|
|
<table border="0"> |
|
|
<tr><td> |
|
|
<table border="0"> |
|
|
<tr><td align="center"> |
|
|
<table border="0"> |
|
|
<tr> |
|
|
<td valign="top"><b><u>Guest OS:</u></b></td> |
|
|
<td width="15"> </td> |
|
|
<td valign="top"><b><u>Emulation mode:</u></b></td> |
|
|
<td width="35"> </td> |
|
|
<td valign="top"><b><u>Guest OS:</u></b></td> |
|
|
<td width="15"> </td> |
|
|
<td valign="top"><b><u>Emulation mode:</u></b></td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td height="1"></td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td valign="top"><a href="http://www.netbsd.org/Ports/pmax/">NetBSD/pmax</a></td> |
|
|
<td></td> |
|
|
<td valign="top">DECstation</td> |
|
|
<td></td> |
|
|
<td valign="top"><a href="http://www.netbsd.org/Ports/arc/">NetBSD/arc</a></td> |
|
|
<td></td> |
|
|
<td valign="top">ARC (Acer Pica)</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td valign="top"><a href="http://www.openbsd.org/pmax.html">OpenBSD/pmax</a></td> |
|
|
<td></td> |
|
|
<td valign="top">DECstation</td> |
|
|
<td></td> |
|
|
<td valign="top"><a href="http://www.openbsd.org/arc.html">OpenBSD/arc</a></td> |
|
|
<td></td> |
|
|
<td valign="top">ARC (Acer Pica)</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td valign="top">Ultrix/RISC</td> |
|
|
<td></td> |
|
|
<td valign="top">DECstation</td> |
|
|
<td></td> |
|
|
<td valign="top"><a href="http://www.cs.berkeley.edu/projects/sprite/retrospective.html">Sprite</a></td> |
|
|
<td></td> |
|
|
<td valign="top">DECstation</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td valign="top">Redhat Linux<super>*</super></td> |
|
|
<td></td> |
|
|
<td valign="top">DECstation</td> |
|
|
<td></td> |
|
|
<td valign="top"><a href="http://www.debian.org/">Debian GNU/Linux</a><super>*</super></td> |
|
|
<td></td> |
|
|
<td valign="top">DECstation</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td valign="top"><a href="http://www.netbsd.org/Ports/hpcmips/">NetBSD/hpcmips</a></td> |
|
|
<td></td> |
|
|
<td valign="top">NEC MobilePro</td> |
|
|
</tr> |
|
|
</table> |
|
|
</td></tr> |
|
|
|
|
|
<tr><td height="15"> </td></tr> |
|
|
|
|
|
<tr><td> |
|
|
<center> |
|
|
<table border="0"> |
|
|
<tr> |
|
|
<td width=160 align=center><a href="netbsd-pmax-20040630.png"><img src="netbsd-pmax-20040630_small.png"></a></td> |
|
|
<td width=160 align=center><a href="openbsd-pmax-20040710.png"><img src="openbsd-pmax-20040710_small.png"></a></td> |
|
|
<td width=160 align=center><a href="ultrix4.5-20040706.png"><img src="ultrix4.5-20040706_small.gif"></a></td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td align=center>NetBSD/pmax 1.6.2</td> |
|
|
<td align=center>OpenBSD/pmax 2.8</td> |
|
|
<td align=center>Ultrix 4.5</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td height=10> </td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td width=160 align=center><a href="20041024-netbsd-arc-installed.gif"><img src="20041024-netbsd-arc-installed_small.gif"></a></td> |
|
|
<td width=160 align=center><a href="20041024-openbsd-arc-installed.gif"><img src="20041024-openbsd-arc-installed_small.gif"></a></td> |
|
|
<td width=160 align=center><a href="sprite-20040711.png"><img src="sprite-20040711_small.png"></a></td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td align=center>NetBSD/arc 1.6.2</td> |
|
|
<td align=center>OpenBSD/arc 2.3</td> |
|
|
<td align=center>Sprite</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td height=10> </td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td width=160 align=center><a href="20041129-redhat_mips.png"><img src="20041129-redhat_mips_small.png"></a></td> |
|
|
<td width=160 align=center><a href="20041213-debian_4.png"><img src="20041213-debian_4_small.gif"></a></td> |
|
|
<td width=160 align=center><a href="20050331-netbsd-hpcmips.png"><img src="20050331-netbsd-hpcmips_small.png"></a></td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td align=center>Redhat Linux<super>*</super></td> |
|
|
<td align=center>Debian GNU/Linux<super>*</super></td> |
|
|
<td align=center>NetBSD/hpcmips</td> |
|
|
</tr> |
|
|
</table> |
|
|
</center> |
|
|
</td></tr> |
|
|
</table> |
|
|
</td></tr> |
|
|
</table> |
|
|
</center> |
|
|
|
|
|
<p><br> |
|
|
|
|
|
(<super>*</super> Although Linux runs under DECstation emulation, the |
|
|
default kernel in Debian GNU/Linux does not support keyboards on the 5000/200 |
|
|
(the specific DECstation model being emulated), so when the login prompt |
|
|
is reached you cannot interact with the system. |
|
|
Kaj-Michael Lang has compiled and made available a newer kernel from the |
|
|
current mips-linux development tree. You can find it here: |
|
|
<a href="http://home.tal.org/~milang/o2/kernels/">http://home.tal.org/~milang/o2/kernels</a>/<a href="http://home.tal.org/~milang/o2/kernels/vmlinux-2.4.29-rc2-r3k-mipsel-decstation">vmlinux-2.4.29-rc2-r3k-mipsel-decstation</a> |
|
|
This newer kernel supports keyboard input, but it does not have Debian's |
|
|
ethernet patches, so you will not be able to use keyboard/framebuffer |
|
|
<i>and</i> networking at the same time.) |
|
|
|
|
|
|
|
|
<p> |
|
|
It is non-trivial to get a specific operating system or OS kernel to |
|
|
run in the emulator, so don't expect the list above to grow too quickly. |
|
|
|
|
|
<p> |
|
|
There is no guarantee that anything specific will run in the emulator, but |
|
|
NetBSD is a good starting point for someone who wants to experiment. |
|
338 |
|
|
339 |
|
|
340 |
|
|
341 |
|
|
342 |
|
|
|
</p> |
|
343 |
|
|
344 |
</body> |
</body> |
345 |
</html> |
</html> |