|
|
1.1.1.2 root 1: <!--
2: nono
3: Copyright (C) 2020 nono project
4: Licensed under nono-license.txt
5: -->
1.1.1.18 root 6: <html>
7: <head>
1.1 root 8: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
9: <style type="text/css">
10: /* https://jfly.uni-koeln.de/colorset/ */
11:
12: :root {
13: --blue: rgb( 0, 90, 255);
14: --brown: rgb(128, 64, 0);
15: --green: rgb( 3, 175, 122);
16: --grey: rgb(132, 145, 158);
1.1.1.13 root 17: --cream: rgb(255, 255, 128);
18: --yellow-green: rgb(216, 242, 85);
1.1.1.9 root 19: --light-pink: rgb(255, 202, 191);
1.1.1.13 root 20: --light-green: rgb(119, 217, 168);
1.1 root 21: --light-grey: rgb(200, 200, 203);
1.1.1.4 root 22:
23: --bg-grey: rgb(220, 220, 223);
1.1 root 24: }
25: body {
1.1.1.4 root 26: background-color: var(--bg-grey);
1.1 root 27: }
28: q {
29: color: var(--brown);
30: }
31: q:before {
32: content: "[";
33: }
34: q:after {
35: content: "]";
36: }
37: dt.dt-indent {
38: padding-left: 1ex;
39: }
1.1.1.15 root 40: .h4 {
41: font-weight: bold;
42: font-size: 110%;
43: }
44: .h5 {
45: font-weight: bold;
46: padding-left: 1ex;
47: }
1.1 root 48: .main {
1.1.1.15 root 49: margin-left: 2em;
50: }
51: .main1 {
1.1 root 52: margin-left: 1em;
53: }
54: .cons {
55: background-color: black;
56: color: white;
57: }
58: .file {
59: background-color: white;
60: color: black;
61: }
62: .strike {
63: color: var(--grey);
64: }
1.1.1.5 root 65: .strike > q {
66: color: var(--grey);
67: }
1.1.1.13 root 68: .new {
69: background-color: var(--light-green);
70: }
71: .new > q {
72: background-color: var(--light-green);
73: }
1.1 root 74: </style>
1.1.1.25! root 75: <title>nono document (1.7.0)</title>
1.1 root 76: </head>
77: <body>
1.1.1.25! root 78: <h3>nono 1.7.0 (2026/03/28)</h3>
1.1 root 79:
1.1.1.17 root 80: nono は NetBSD とかで動作する OMRON LUNA-I/LUNA-88K のエミュレータです。
1.1.1.18 root 81: 何故か SHARP X68030 と virt-m68k も動いたりするかも知れません。
1.1.1.17 root 82: <q>nono is OMRON LUNA-I/LUNA-88K emulator runs on NetBSD and etc.
1.1.1.18 root 83: It can also emulate SHARP X68030 and virt-m68k.</q>
1.1.1.9 root 84:
85: <hr>
86:
87: <h4>Index of this page:</h4>
1.1.1.8 root 88: <div class="main">
1.1.1.11 root 89: <a href="#build">1. ビルド方法 <q>How to build</q></a><br>
1.1.1.14 root 90: <a href="#execute">2. 実行方法 <q>How to execute</q></a><br>
1.1.1.11 root 91: <a href="#configuration">3. 設定 <q>Configuration</q></a><br>
92: <a href="#aboutvm">4. VM について <q>About VM</q></a><br>
93: <a href="#tryit">5. 実行してみる <q>Try it</q></a><br>
1.1.1.14 root 94: <a href="#network">6. ホストネットワーク設定例 <q>Example of host network setup</q></a><br>
1.1.1.13 root 95: <a href="#knownissues">7. 既知の問題 <q>Known Issues</q></a><br>
96: <a href="#migrate">8. 過去のバージョンからの移行方法
1.1.1.10 root 97: <q>How to migrate from old versions</q></a><br>
1.1.1.13 root 98: <a href="#changes">9. 変更履歴 <q>Changes</q></a><br>
99: <a href="#license">10. 連絡先、ライセンス等 <q>Contact, License, etc</q></a><br>
100: </div>
101: <p>
102: <div class="main">
103: <span class="new">緑背景</span>は新規または目立った更新のあった箇所です。
104: <q><span class="new">Green Background</span> is new or updated paragraph.</q>
1.1.1.8 root 105: </div>
1.1.1.4 root 106:
1.1.1.13 root 107:
1.1.1.8 root 108: <a name="build"></a>
1.1.1.15 root 109: <details open style="padding-top: 1em">
110: <summary><span class=h4>1. ビルド方法 <q>How to build</q></span></summary><div class="main">
1.1.1.5 root 111: ビルドには以下が必要です。
1.1.1.14 root 112: <q>The followings are required for build.</q>
1.1.1.5 root 113:
1.1 root 114: <ul>
1.1.1.2 root 115: <li>make (BSD make, not GNU make)
1.1.1.4 root 116: <li>C/C++ compiler which supports -std=c++14.
117: <br>
1.1.1.18 root 118: (For gcc, at least 7.4 or later.
119: For clang, at least 7.0 or later.)
120: <li>wxWidgets 3.2.x "stable" branch.
1.1.1.20 root 121: (3.0.x "old stable" branch would also work.)
1.1.1.2 root 122: <li>gettext
1.1.1.25! root 123: <li>libslirp (4.7.0 or later is comfirmed, 4.8.0 is preferred.)
1.1 root 124: </ul>
1.1.1.2 root 125:
1.1.1.5 root 126: <p>
1.1.1.20 root 127: NetBSD(pkgsrc) なら必要なパッケージは
1.1.1.21 root 128: x11/wxGTK32 と net/libslirp です。
1.1.1.20 root 129: wxGTK32 の代わりに wxGTK30 でも動くはずです。
1.1.1.14 root 130: <q>If you use NetBSD(pkgsrc),
1.1.1.21 root 131: x11/wxGTK32 and net/libslirp are needed.
132: wxGTK30 would also work.</q>
1.1.1.14 root 133:
134: <p>
1.1.1.5 root 135: (NetBSD 以外でのビルドはサポートしていませんが)
1.1.1.20 root 136: Ubuntu 24.04 ではたぶん以下のパッケージが必要です。
137: <q>You may need the following packages on Ubuntu 24.04
1.1.1.5 root 138: (though we won't support non-NetBSD platform).</q>
139: </p>
1.1.1.20 root 140: <dl>
141: <dd>
1.1.1.18 root 142: bmake,
143: build-essential,
144: gettext,
1.1.1.25! root 145: libasound2-dev,
1.1.1.18 root 146: libbsd-dev,
147: libkqueue-dev,
1.1.1.21 root 148: libslirp-dev,
1.1.1.18 root 149: libwxgtk3.2-dev,
1.1.1.5 root 150: zlib1g-dev
1.1.1.20 root 151: </dl>
1.1.1.5 root 152:
1.1.1.2 root 153: <p>
1.1.1.9 root 154: nono のソースアーカイブを展開したら以下のようにビルドします。
1.1.1.24 root 155: <tt>-DRELEASE</tt> がないとハードモードになるので必ず指定してください。
156: <q>Extract the nono's source archive and build as following.
157: If you don't specify <tt>-DRELEASE</tt>, it will be hard mode.</q>
1.1.1.17 root 158: </p>
1.1.1.13 root 159:
1.1 root 160: <blockquote class="cons"><pre>
1.1.1.17 root 161: % ./configure [<options>]
162: % make -DRELEASE depend
163: % make -DRELEASE
1.1.1.2 root 164: % su
165: # make install
1.1 root 166: </pre></blockquote>
1.1.1.2 root 167:
168: <p>
1.1.1.17 root 169: configure には環境変数 CC、CXX でコンパイラを指定することが出来ます。
170: wx-config が標準的な名前で提供されていないために見付けられない場合には
171: 環境変数 WX_CONFIG にパスを指定することが出来ます。
172: また configure のオプションとして以下が指定できます。
173: <q>You can specify C/C++ compiler using environment variable CC and CXX
174: if configure cannot find standard name suitable compiler.
175: You can specify wx-config path using environment variable WX_CONFIG
176: if configure cannot find wx-config.
177: Also, you can specify the following option for <tt>configure</tt>.
178: </q>
179: <p>
180: <ul>
1.1.1.18 root 181: <li><tt>--disable-avx2</tt> …
1.1.1.17 root 182: amd64(x86_64) で AVX2 対応コードを無効にします。
183: デフォルトでは、コンパイラが AVX2 に対応していることを
184: configure が検出できれば AVX2 対応コードを生成します。
185: <q>Disable AVX2 support on amd64(x86_64).
186: By the default, it will generate AVX2 supported binary
1.1.1.18 root 187: only if configure detects that compiler supports AVX2.</q>
188: <li><tt>--disable-neon</tt> …
189: aarch64 で NEON 対応コードを無効にします。
190: デフォルトでは、コンパイラが NEON に対応していることを
191: configure が検出できれば NEON 対応コードを生成します。
192: <q>Disable NEON support on aarch64.
193: By the default, it will generate NEON supported binary
194: only if configure detects that compiler supports NEON.</q>
1.1.1.17 root 195: </ul>
196: <p>
197: <tt>make install</tt> により2つの実行ファイルがインストールされます。
1.1.1.2 root 198: <tt>nono</tt> が GUI 版実行ファイル、
199: <tt>nono-cli</tt> がコマンドライン版です。
1.1.1.17 root 200: <q><tt>make install</tt> will install two executables.
1.1.1.8 root 201: <tt>nono</tt> is the GUI executable and <tt>nono-cli</tt> is
202: the command line executable.</q>
1.1.1.17 root 203: </p>
1.1 root 204: </div>
1.1.1.15 root 205: </details>
1.1 root 206:
207:
1.1.1.14 root 208: <a name="execute"></a>
1.1.1.15 root 209: <details open style="padding-top: 1em">
210: <summary><span class=h4>2. 実行方法 <q>How to execute</q></span></summary><div class="main">
211: nono は複数機種に対応しているため設定なしでは起動できません。
212: 設定は設定ファイルかコマンドラインオプションで指定します。
213: 詳細は以下の<a name="#configuration">設定</a>の章を参照してください。
214: <q>nono supports multiple architectures so that
215: it needs configuration.
216: See the following <a name="#configuration">Configuration</a> section for
217: details.</q>
1.1.1.14 root 218: </div>
219:
1.1.1.8 root 220: <a name="commandline"></a>
1.1.1.15 root 221: <details open style="padding-top: 1em">
222: <summary><span class=h5>2.1. コマンドラインオプション <q>Command Line Option</q></span></summary><div class="main">
1.1 root 223: <dl>
1.1.1.7 root 224: <dt class=dt-indent><tt>-c <i>vmpath</i></tt></dt>
225: <dd>VM ディレクトリ/設定ファイルを指定します。
226: <i>vmpath</i> がディレクトリならそのディレクトリの中の nono.cfg
227: を設定ファイルとします。
228: <i>vmpath</i> がファイルならそれを設定ファイルとします。
229: そしていずれの場合も
230: 設定ファイルがあるディレクトリを VM ディレクトリとします。
231: -c オプションを省略すると <i>vmpath</i> をカレントディレクトリとします。
232: <q>Specifies the VM directory/configuration file.
233: If <i>vmpath</i> is a directory,
234: make nono.cfg in that directory a configuration file.
235: Or if <i>vmpath</i> is a file,
236: make the specified file a configuration file.
237: And in both cases,
238: make the directory where that file is located a VM directory.
239: If <tt>-c</tt> option is omitted,
1.1.1.12 root 240: <i>vmpath</i> is considered as the current directory.</q></p></dd>
1.1 root 241: <dt class=dt-indent><tt>-f</tt></dt>
242: <dd>高速モードで起動します。
1.1.1.2 root 243: GUI なら起動後にもメニューから変更できますが、その初期値を変えるだけです。
1.1.1.16 root 244: 設定の <tt>fast-mode=1</tt> と等価です。
1.1.1.2 root 245: <q>Boot as the fast mode.
246: You can change this mode on GUI menu after boot,
1.1.1.15 root 247: and the option only changes its initial state.
1.1.1.16 root 248: This option is equivalent to <tt>fast-mode=1</tt> in configuration.</q></p></dd>
1.1.1.22 root 249: <dt class=dt-indent><tt>--fd0 <i>file</i><br>--fd1 <i>file</i></tt></dt>
250: <dd>(X68030 Only) フロッピーイメージを指定します。
1.1.1.21 root 251: <i>file</i> が相対パスの場合カレントディレクトリからのパスになります。
252: 設定の <tt>fd0-image</tt>、<tt>fd1-image</tt>
253: とは相対パスの起点の違いを除いて同一です。
254: <q>Specifies the floppy image.
255: If <tt><i>file</i></tt> is relative path,
256: it is path from the current directory.
257: This option is equivalent to <tt>fd0-image</tt>, <tt>fd1-image</tt>
1.1.1.22 root 258: in configuration except for base directory of the relative path.</q></p></dd>
1.1 root 259: <dt class=dt-indent><tt>--fontsize <i>height</i></tt></dt>
260: <dd>GUI 版のみ。
261: 全サブウインドウの起動時のフォントサイズを指定します。
1.1.1.3 root 262: 起動後にメニューから変更できます。
1.1.1.16 root 263: 設定の <tt>monitor-fontsize</tt> と等価です。
1.1.1.15 root 264: <q>GUI Only.
265: Specifies the initial fontsize of all sub windows.
266: You can change this value on GUI menu after boot.
1.1.1.16 root 267: This option is equivalent to <tt>monitor-fontsize</tt> in configuration.</q></p></dd>
1.1.1.18 root 268: <dt class=dt-indent><tt>--initrd <i>file</i></tt></dt>
1.1.1.21 root 269: <dd>(virt-m68k Only)
1.1.1.17 root 270: カーネルに渡す初期 RAM ディスクのパスを指定します。
271: <i>file</i> が相対パスの場合カレントディレクトリからのパスになります。
272: 設定の <tt>exec-initrd</tt> とは相対パスの起点の違いを除いて同一です。
1.1.1.18 root 273: <q>Specifies the initial ramdisk image passed to the kernel.
1.1.1.17 root 274: If <tt><i>file</i></tt> is relative path,
275: it is path from the current directory.
276: This option is equivalent to <tt>exec-initrd</tt> in configuration
1.1.1.18 root 277: except for base directory of the relative path.</q></p></dd>
1.1 root 278: <dt class=dt-indent><tt>-s <i>scale</i></tt></dt>
279: <dd>GUI 版のみ。
280: メインウィンドウの起動時のスケールを実数で指定します。
1.1.1.15 root 281: 設定の <tt>mainview-scale</tt> と等価です。
282: 起動後はメニューからプリセットされた倍率と
1.1.1.16 root 283: <tt>mainview-scale</tt> で指定された倍率には変更可能です。
1.1.1.15 root 284: <q>GUI Only.
1.1.1.2 root 285: Specifies the initial main window scale in real number.
1.1.1.16 root 286: This is equivalent to <tt>mainview-scale</tt> in configuration.
1.1.1.15 root 287: You can change this scale on GUI menu after boot.</q></p></dd>
1.1 root 288: <dt class=dt-indent><tt>--show-config</tt></dt>
1.1.1.2 root 289: <dd>設定ファイルと <tt>-V</tt> オプションを読み込んだ結果を表示します。
290: <q>Shows the result of reading configuration file and
291: parsing <tt>-V</tt> options.</q></p></dd>
1.1 root 292: <dt class=dt-indent><tt>-v</tt></dt>
1.1.1.2 root 293: <dd>バージョンを表示します。
294: <q>Shows the version.</q></p></dd>
1.1 root 295: <dt class=dt-indent><tt>-V <i>name</i>=<i>value</i></tt></dt>
1.1.1.3 root 296: <dd>設定ファイルで指定した <tt><i>name</i>=<i>configvalue</i></tt> の代わりに
1.1.1.2 root 297: このオプションの <tt><i>name</i>=<i>value</i></tt> を適用します。
1.1.1.13 root 298: <tt><i>name</i></tt> が正しくない場合はエラー終了します。
1.1.1.3 root 299: <q>Use this <i>name</i>=<i>value</i>
1.1.1.13 root 300: instead of <i>name</i>=<i>configvalue</i> specified in configuration file.
301: If <tt><i>name</i></tt> is not correct, it will exit on error.</q></p></dd>
1.1.1.10 root 302: <dt class=dt-indent><tt>-X <i>file</i></tt></dt>
303: <dd>ホストの <tt><i>file</i></tt> をロードして実行します。
304: <tt><i>file</i></tt> が相対パスの場合カレントディレクトリからのパスになります。
1.1.1.18 root 305: 設定の <tt>exec-file</tt> とは相対パスの起点の違いを除いて同一です。
1.1.1.10 root 306: ファイルが gzip 圧縮されていれば自動的に展開します。
1.1.1.15 root 307: (展開後の) ファイル形式は以下の通りですが、
1.1.1.10 root 308: 実際にはブートローダとカーネル程度しか想定していません。
1.1.1.15 root 309: また、いずれも起動元デバイスが取得できないなどの問題はあるかも知れません。
1.1.1.10 root 310: <q>Loads and executes host's <tt><i>file</i></tt>.
311: If <tt><i>file</i></tt> is relative path,
312: it is path from the current directory.
1.1.1.18 root 313: This option is equivalent to <tt>exec-file</tt> in configuration
314: except for base directory of the relative path.
1.1.1.10 root 315: If the file is gzip'd, it is automatically extracted.
1.1.1.15 root 316: The supported file format (after extracting) is the following.
1.1.1.10 root 317: Actually, it only assumes bootloaders or kernels.
1.1.1.15 root 318: And note that it may not obtain some information that where did I boot from,
319: for example.</q>
320: <ul>
321: <li>a.out (OMAGIC) 実行ファイル (おそらくブートローダのみサポート)
322: <q>a.out (OMAGIC) executable (It probably supports bootloaders only)</q>
323: <li>ELF 実行ファイル
324: (おそらくカーネルのみサポート。
325: NetBSD の実行ファイルのようであれば、
326: カーネルだと思ってシンボルテーブルも読み込みます)
327: <q>ELF executable
328: (It probably supports the kernel only.
329: If the file is assumed to be NetBSD executable,
330: it will also load symbol tables as the bootloader does to the kernel.)</q>
331: <li>ELF object (Experimental)
332: </ul>
1.1.1.17 root 333: LUNA では設定の <tt>prom-image</tt> (後述) によらず内蔵の互換 ROM で起動します。
334: <tt>luna-dipsw1</tt> の DIPSW 設定が
335: <tt>dipsw-autoboot=yes</tt> 相当の状態ならそのまま直ちにホストファイルを実行し、
336: そうでなければ互換 ROM のプロンプトで停止します。
337: 後者の場合でも LUNA-I なら "g" コマンド、LUNA-88K なら "b" コマンドによる
338: ロードはここで指定したホストファイルをロードします。
1.1.1.15 root 339: X68030 では、IPLROM 起動の後の起動デバイスに細工がしてあり、
340: そこからホストファイルを実行します。
1.1.1.18 root 341: virt-m68k (と NEWS) はこの方法でしか起動できませんので、
342: 実行ファイルの指定は必須になります。
343: <q>On LUNA,
1.1.1.17 root 344: regardless of <tt>prom-image</tt> configuration (see below),
345: it boots the internal emulated PROM.
346: If <tt>luna-dipsw1</tt> configuration meets <tt>dipsw-autoboot=yes</tt>,
347: it will immediately load and execute the host file.
348: Otherwise, it will wait in prompt.
349: Even in this case, "g" command (in LUNA-I) or "b" command (in LUNA-88K)
350: will load the host file that is specified by this option.
1.1.1.15 root 351: On X68030,
352: nono hacks the boot device after normal boot from IPLROM,
1.1.1.17 root 353: and loads and executes the host file.
1.1.1.18 root 354: On virt-m68k (and NEWS), this is the only way to boot.</q></p></dd>
1.1 root 355: </dl>
356:
1.1.1.2 root 357: 以下開発用。<q>For developers:</q>
1.1 root 358: <dl>
1.1.1.23 root 359: <dt class=dt-indent><tt>-b,--b <i>hexaddr</i>[,<i>skipcount</i>]</tt></dt>
1.1 root 360: <dd>デバッガのブレークポイントを 16進数で指定します。</dd>
1.1.1.23 root 361: <dt class=dt-indent><tt>--bi <i>inst</i>[:<i>mask</i>][,<i>skipcount</i>]</tt></dt>
362: <dd>デバッガの命令ブレークポイントを指定します。</dd>
363: <dt class=dt-indent><tt>--bv <i>vector</i>[,<i>skipcount</i>]</tt></dt>
364: <dd>デバッガの例外ブレークポイントを指定します。</dd>
1.1 root 365: <dt class=dt-indent><tt>-C</tt></dt>
366: <dd>ログをコンソールにも出力します。
367: 通常はログウィンドウにだけ出力されます。</dd>
368: <dt class=dt-indent><tt>-d</tt></dt>
369: <dd>起動時にデバッガプロンプトで停止します。</dd>
370: <dt class=dt-indent><tt>-D</tt></dt>
371: <dd>コンソールをデバッガとして使用します。
1.1.1.13 root 372: 過去との互換性のために存在していますが、
1.1.1.14 root 373: <tt>-V debugger-driver=stdio</tt> と等価です。</dd>
1.1.1.18 root 374: <dt class=dt-indent><tt>-H</tt></dt>
375: <dd>Human68k モードです。→ <a href="human.html">human.html</a></dd>
1.1 root 376: <dt class=dt-indent><tt>-L <i>name1</i>=<i>level1</i>[,<i>name2</i>=<i>level2</i>,...]</tt></dt>
377: <dd>ログレベルを指定します。
378: カンマで区切って複数指定することも出来ます。
379: <tt>-Lhelp</tt> で name の一覧を表示します。</dd>
380: <dt class=dt-indent><tt>-M <i>name</i>[,<i>name2</i>,...]</tt></dt>
381: <dd>起動時に表示するモニタウィンドウを指定します。
1.1.1.3 root 382: カンマで区切って複数指定することも出来ます。
383: <tt>-Mhelp</tt> で name の一覧を表示します。</dd>
1.1 root 384: </dl>
385: </div>
1.1.1.15 root 386: </details>
387: </details>
1.1 root 388:
1.1.1.8 root 389:
390: <a name="configuration"></a>
1.1.1.15 root 391: <details open style="padding-top: 1em">
392: <summary><span class=h4>3. 設定 <q>Configuration</q></span></summary><div class="main">
393: nono の設定はいずれも以下の順序で適用されます。
394: <q>nono's configurations are always applied in the following order.</q>
1.1.1.16 root 395: <ol>
1.1.1.15 root 396: <li>デフォルト値 <q>Default value</q>
397: <li>~/.nono.cfg があればその内容
398: <q>Contents of ~/.nono.cfg if exists</q>
399: <li>VM ディレクトリ内の nono.cfg (または -c で指定したファイル)
400: があればその内容
401: <q>Contents of nono.cfg in the VM directory (or the file specified by -c option) if exists</q>
402: <li>コマンドラインオプション <q>Command line option</q>
403: </ol>
404: ファイルの書式はどちらも <tt>key = value</tt> 形式で1行1項目ずつです。
1.1 root 405: <tt>key</tt> と <tt>value</tt> の前後の空白は取り除かれます。
406: また空行と "<tt>#</tt>" で始まる行は無視します。
1.1.1.13 root 407: 知らないキーは警告を出した上で無視します。
1.1.1.15 root 408: 同じキーが複数回現れた場合、
409: 上に列挙した順に後から書いたほうで上書きし、
410: 同じファイル内でも同様に後に書いたほうで上書きします。
411: コマンドラインオプション <tt>-V</tt> 等はこれをさらに上書きします。
412: コマンドラインオプションで同じキーが複数回現れた場合も後に書いたほうが上書きします。
413: <q>
414: The syntax of both files is <tt>key = value</tt> format, one per line.
1.1.1.2 root 415: White spaces before and after <tt>key</tt> and <tt>value</tt> are ignored.
1.1.1.13 root 416: Blank lines, lines beginning with "<tt>#</tt>" are also ignored.
1.1.1.15 root 417: The lines with unrecognized key are ignored with a warning.
418:
419: If the same key appears more than once,
420: the latter overwrites the former in the above order.
421: If the same key appears in a file,
422: the latter overwrites the former in the same manner.
1.1.1.17 root 423: Then, command line option <tt>-V</tt> etc. overwrites them.
1.1.1.15 root 424: If the same key appears more than once in the command line option,
425: do in the same manner.</q>
426: <p>
427: <tt>vmtype</tt> を除くすべての設定項目はそれぞれデフォルト値を持っています。
428: つまり少なくとも <tt>vmtype</tt> だけは設定ファイルかコマンドラインオプションで指定する必要があります。
429: <q>All configuration items except <tt>vmtype</tt> have default value.
1.1.1.18 root 430: It means, you need to specify at least only <tt>vmtype</tt>
1.1.1.15 root 431: by configuration file or commandline option.</q>
1.1 root 432: <p>
433: 設定項目は次の通りです。
1.1.1.2 root 434: <q>The configuration items are:</q>
1.1 root 435: <dl>
436: <dt class=dt-indent><tt>vmtype = <i>string</i></tt></dt>
1.1.1.4 root 437: <dd>VM 種別を以下のいずれかから指定します。
438: 省略不可です。
439: <q>Specifies the VM type from the following.
1.1.1.12 root 440: This field is mandatory.</q>
1.1.1.4 root 441: <table cellspacing=0 cellpadding=0>
1.1.1.18 root 442: <tr><td> <td><tt>luna</tt> <td> … LUNA-I
443: <tr><td><td><tt>luna88k</tt> <td> … LUNA-88K
444: <tr><td><td><tt>x68030</tt> <td> … X68030
445: <tr><td><td><tt>news</tt> <td> … NWS-1750 (Just a joke)
446: <tr><td><td><tt>virt-m68k</tt> (or <tt>virt68k</tt>) <td> … virt-m68k
1.1.1.4 root 447: </table></p></dd>
1.1.1.15 root 448: <dt class=dt-indent><tt>cgrom-image = <i>path</i></tt></dt>
449: <dd>(X68030 Only)
1.1.1.14 root 450: X68030 の外部 CGROM イメージファイルのパスを指定します。
451: CGROM は 768KB です。
452: <i>path</i> がファイル名のみなら VM ディレクトリとその親ディレクトリからこのファイル名を検索します。
453: <i>path</i> が相対パスなら VM ディレクトリからの相対パスになります (現在のディレクトリからではありません)。
454: 空にすると nono 内蔵の互換 CGROM を使用します。
455: デフォルトは空です。
456: <q>Specifies the X68030's external CGROM image file path.
457: This CGROM is 768KB.
458: If the <i>path</i> does not have any path delimiters,
459: the VM directory and then its parent directory will be searched.
460: If the <i>path</i> is a relative path,
461: it will be path from the VM directory, not from the current directory.
462: If the <i>path</i> is empty, nono's builtin compatible CGROM will be used.
1.1.1.15 root 463: The default value is empty.</q></p></dd>
1.1.1.9 root 464: <dt class=dt-indent><tt>clock-sync = <i>value</i></tt></dt>
465: <dd>仮想マシン内の時刻の同期方法を指定します。
466: <tt>real</tt> なら実時間に同期、<tt>virtual</tt> なら仮想時間に同期します。
1.1.1.21 root 467: <q>Specifies how to synchronize the time in the virtual machine.
1.1.1.25! root 468: <tt>real</tt> means synchronizing with the real time.
! 469: <tt>virtual</tt> means synchronizing with the virtual time.</q>
1.1.1.21 root 470: <ul>
471: <li>LUNA-I では 60Hz のシステムクロック割り込みと RTC(MK48T02) が対象で、
472: デフォルトは <tt>real</tt> です。
473: <q>On LUNA-I, 60Hz system clock interrupt and RTC(MK48T02) are the target.
474: The default is <tt>real</tt>.</q>
475: <li>LUNA-88K では 100Hz のシステムクロック割り込みと RTC(MK48T02) が対象で、
476: デフォルトは <tt>real</tt> です。
477: <q>On LUNA-88K, 100Hz system clock interrupt and RTC(MK48T02) are the target.
478: The default is <tt>real</tt>.</q>
479: <li>NWS-1750 ではシステムクロック割り込みと RTC(MK48T02) が対象で、
480: デフォルトは <tt>real</tt> です。
481: <q>On NWS-1750, system clock interrupt and RTC(MK48T02) are the target.
482: The default is <tt>real</tt>.</q>
483: <li>virt-m68k では Goldfish Timer の割り込みと Goldfish RTC が対象で、
484: デフォルトは <tt>real</tt> です。
485: <q>On virt-m68k, Goldfish Timer interrupt and Goldfish RTC are the target.
486: The default is <tt>real</tt>.</q>
1.1.1.22 root 487: <li>X68030 では MFP のタイマー割り込みと RTC(RP5C15) が対象で、
1.1.1.21 root 488: デフォルトは <tt>virtual</tt> です。
489: MFP の TxDR レジスタの読み出しは、
490: この指定に関わらず常に <tt>virtual</tt> 相当の動作しか出来ません。
491: <a href="#netbsd-x68k-timesync">NetBSD/x68k での時間同期</a> の項も参照してください。
492: <q>On X68030, MFP timer interrupts and RTC(RP5C15) are the target.
493: The default is <tt>virtual</tt>.
494: Note that reading from MFP TxDR register only works as <tt>virtual</tt>,
495: regardless of this setting.
496: See also <a href="#netbsd-x68k-timesync">Time Synchronization on NetBSD/x68k</a>.</q>
497: </ul></p></dd>
1.1.1.14 root 498: <dt class=dt-indent><tt>debugger-driver = <i>string</i></tt></dt>
499: <dd>デバッガのコンソールドライバを指定します。
1.1.1.13 root 500: <tt>stdio</tt>、<tt>tcp</tt>、<tt>none</tt> が選択可能です。
501: <tt>stdio</tt> は標準入出力を使用します。
502: <tt>tcp</tt> は TCP ポートで TELNET プロトコルで待ち受けます。
503: <tt>none</tt> ならホスト側とは一切通信を行いません。
504: デフォルトは <tt>none</tt> です。
505: <q>Specifies console driver of the debugger.
506: <tt>stdio</tt>, <tt>tcp</tt>, and <tt>none</tt> can be specified.
507: <tt>stdio</tt> uses the standard input/output.
508: <tt>tcp</tt> listens on TCP port using TELNET protocol.
509: <tt>none</tt> doesn't make any communication with the host.
1.1.1.14 root 510: The default is <tt>none</tt>.</q></p></dd>
511: <dt class=dt-indent><tt>debugger-tcp-port = <i>integer</i></tt></dt>
512: <dd>デバッガのコンソールドライバが tcp の時の TCP 待ち受けポート番号を指定します。
1.1.1.15 root 513: <q>Specifies the TCP port number that debugger console driver listens.</q></p></dd>
514: <a name="config-dipsw-autoboot"></a><dt class=dt-indent><tt>dipsw-autoboot = <i>yesno</i></tt></dt>
515: <dd>(LUNA and NEWS Only)
516: 機種に依存せず DIPSW を自動起動に設定するかどうか指定します。
517: "<tt>yes</tt>" なら自動起動するように、
518: "<tt>no</tt>" なら自動起動しないように DIPSW 設定を上書きします。
519: "" (空) なら何もしません。デフォルトは "" です。
520: このオプションは <tt>luna-dipsw1</tt> や <tt>news-dipsw</tt>
521: の状態が設定ファイルやコマンドラインオプションによって確定した後に
522: 該当のスイッチだけを変更します。
523: <q>Specifies whether to configure DIPSW to boot automatically,
524: regardless of the models.
525: "<tt>yes</tt>" overwrites DIPSW, to boot automatically.
526: "<tt>no</tt>" overwrites DIPSW, not to boot automatically.
527: "" (Empty) does nothing.
528: The default value is "".
529: This option only changes the appropriate switch(es)
530: after the <tt>luna-dipsw1</tt> or <tt>news-dipsw</tt> configuration
531: is determined by the configuration file or command line options.</q></p></dd>
532: <dt class=dt-indent><tt>dipsw-serial = <i>yesno</i></tt></dt>
533: <dd>(LUNA and NEWS Only)
534: 機種に依存せず DIPSW をシリアルコンソールを使うかどうか指定します。
535: "<tt>yes</tt>" ならシリアルコンソールを使うように、
536: "<tt>no</tt>" ならシリアルコンソールを使わないように DIPSW 設定を上書きします。
537: "" (空) なら何もしません。デフォルトは "" です。
538: <tt>luna-dipsw1</tt> もしくは <tt>news-dipsw</tt> (機種による)
539: の状態が設定ファイルやコマンドラインオプションによって確定した後に
540: このオプションによって該当のスイッチだけを変更します。
541: NEWS でシリアルコンソールを使わないを選択した場合、
542: SW1,2,3 は OFF, OFF, ON にセットされ、
543: NWB-512 モノクロコンソール(未実装) が選択されます。
544: <q>Specifies whether to configure DIPSW to use serial console,
545: regardless of the models.
546: "<tt>yes</tt>" overwrites DIPSW, to use serial console.
547: "<tt>no</tt>" overwrites DIPSW, not to use serial console.
548: "" (Empty) does nothing.
549: The default value is "".
550: This option only changes the appropriate switch(es)
551: after the <tt>luna-dipsw1</tt> or <tt>news-dipsw</tt> configuration
552: is determined by the configuration file or command line options.
553: If you choose not to use serial console on NEWS,
554: SW1,2,3 will be set OFF, OFF, ON respectively,
555: and NWB-512 monochrome console (not implemented) will be chosen.</q></p></dd>
1.1.1.17 root 556: <dt class=dt-indent><tt>ethernet-macaddr = <i>string</i><br>ethernet<i>N</i>-macaddr = <i>string</i><br></tt></dt>
557: <dd><i>N</i>
558: 番目のイーサネットデバイスの仮想マシン側の MAC アドレスを指定します。
1.1.1.9 root 559: <tt><i>XX</i>:<i>XX</i>:<i>XX</i>:<i>XX</i>:<i>XX</i>:<i>XX</i></tt>
560: 形式で指定します。
561: <tt>auto</tt> なら自動的に決定します。
1.1.1.16 root 562: デフォルトは <tt>auto</tt> です。
1.1.1.17 root 563: <tt>ethernet-macaddr</tt> は <tt>ethernet0-macaddr</tt> の別名です。</p></dd>
1.1.1.18 root 564: <dt class=dt-indent><tt>exec-file = <i>path</i></tt></dt>
565: <dd>起動時にロードするホストの実行ファイルを指定します。
1.1.1.17 root 566: -X オプションとほぼ同等ですが、相対パスは VM ディレクトリを起点にします。
567: <q>Specifiies the host file that will be loaded at startup.
568: This is mostly the same as -X option.
1.1.1.18 root 569: The only one difference is that relative path originates the VM directory.</q></p></dd>
1.1.1.20 root 570: <dt class=dt-indent><tt>exec-bootparam = <i>string</i></tt></dt>
571: <dd>(virt-m68k Only)
1.1.1.19 root 572: カーネルに渡すブートパラメータを指定します。
573: 内容はたぶん OS ごとに異なりますが、
574: NetBSD/virt68k では "<tt>root=ld0</tt>" (クォートを除く)
575: のようにしてカーネルにルートデバイスを指示します。
576: <q>Specifies the boot parameter that is passed to the kernel.
577: The syntax may differ depending on the OS, but in NetBSD/virt68k,
578: you can specify the root device to the kernel, like as
1.1.1.20 root 579: "<tt>root=ld0</tt>" (excluding quotes).</q></p></dd>
1.1.1.18 root 580: <dt class=dt-indent><tt>exec-initrd = <i>path</i></tt></dt>
581: <dd>(virt-m68k Only)
1.1.1.17 root 582: カーネルに渡す初期 RAM ディスクイメージのパスを指定します。
583: --initrd オプションとほぼ同等ですが、相対パスは VM ディレクトリを起点にします。
584: <q>Specifies the initial ramdisk image passed to the kernel.
585: This is mostly the same as --initrd option.
1.1.1.18 root 586: The only one difference is that relative path originates the VM directory.</q></p></dd>
1.1.1.16 root 587: <dt class=dt-indent><tt>extram-size = <i>integer</i></tt></dt>
588: <dd>(X68030 Only)
1.1.1.15 root 589: 拡張メモリのサイズを MB 単位で指定します。
590: 今の所以下だけが指定できます。
591: <q>Specifies the extended RAM size in MB.
592: For now, only the following can be specified.</q>
1.1.1.16 root 593: <ul>
1.1.1.15 root 594: <li><tt>0</tt> … 拡張メモリを使用しません。デフォルトです。
595: <q>No extended memory. It's default.</q>
596: <li><tt>16</tt> … TS-6BE16 互換モードで、
1.1.1.17 root 597: アドレス $0100'0000 からの 16MB です。
1.1.1.15 root 598: <q>TS-6BE16 compatible mode.
1.1.1.17 root 599: Its address is from $0100'0000 and the size is 16MB.</q>
600: <li><tt>128/256/512</tt> … 060turbo 互換モードで、
601: アドレス $1000'0000 からです。
602: <q>060turbo compatible mode. Its address is from $1000'0000.</q>
1.1.1.16 root 603: </ul></p></dd>
604: <dt class=dt-indent><tt>fast-mode = <i>integer</i></tt></dt>
605: <dd>起動時の動作モードを指定します。0 なら通常モード、1 なら高速モードです。
1.1.1.15 root 606: デフォルトは 0 です。
1.1.1.16 root 607: コマンドラインオプション <tt>-f</tt> でも高速モードへのみ指定可能です。</p></dd>
1.1.1.15 root 608: <dt class=dt-indent><tt>fd-drive = <i>integer</i></tt></dt>
609: <dd>(X68030 Only)
1.1.1.14 root 610: フロッピードライブの数を 0 から 4 で指定します。
611: デフォルトは 2 です。
1.1.1.15 root 612: <q>Specifies the number of floppy drives from <tt>0</tt> to <tt>4</tt>.
1.1.1.14 root 613: The default is <tt>2</tt>.</q></p></dd>
1.1.1.15 root 614: <dt class=dt-indent><tt>fd<i>N</i>-image = <i>path</i></tt></dt>
615: <dd>(X68030 Only)
1.1.1.25! root 616: フロッピードライブ <i>N</i> に起動時に挿入する
! 617: <a href="#diskimage">ディスクイメージ</a>を指定します。
1.1.1.14 root 618: イメージパスが相対パスなら VM ディレクトリからの相対パスになります。
619: 起動後はメニューから操作できます。
620: デフォルトは空です。
1.1.1.15 root 621: <q>Specifies a diskimage to be inserted to floppy drive <i>N</i> at startup.
1.1.1.14 root 622: If the <i>path</i> is relative path, it is from the VM directory.
623: You can also operate them from menu after startup.
624: The default is empty.</q></p></dd>
1.1.1.15 root 625: <dt class=dt-indent><tt>fpu-type = <i>value</i></tt></dt>
1.1.1.20 root 626: <dd>(X68030 and virt-m68k Only)
1.1.1.19 root 627: 68030 に FPU コプロセッサを装着するかどうか指定しています。
1.1.1.20 root 628: この設定は <tt>mpu-type</tt> が <tt>68030</tt> の時のみ有効です。
1.1.1.19 root 629: <tt>none</tt> なら FPU コプロセッサを装着しません。
630: <tt>68881</tt> なら FPU コプロセッサとして 68881 を装着します。
1.1.1.14 root 631: 現状 68882 はサポートしていません。
632: また <tt>none</tt> の代わりに <tt>0</tt>、
633: <tt>68881</tt> の代わりに <tt>1</tt> と書くこともできます。
634: デフォルトは <tt>68881</tt> です。
1.1.1.19 root 635: LUNA-I はたぶん 68881 搭載モデルのみのため変更できません。
636: <q>Specifies whether to install FPU co-processor or not.
1.1.1.20 root 637: This item is meaningful only if <tt>mpu-type</tt> is <tt>68030</tt>.
1.1.1.25! root 638: If set to <tt>none</tt>, FPU co-processor is not installed.
! 639: If set to <tt>68881</tt>, 68881 FPU co-processor is installed.
1.1.1.14 root 640: 68882 is not supported yet.
641: And, <tt>none</tt> can also be written as <tt>0</tt>,
642: <tt>68881</tt> can also be written as <tt>1</tt>.
643: The default is <tt>68881</tt>.
644: This item cannot be specified on LUNA-I
1.1.1.19 root 645: because (probably) all LUNA-I has 68881.</q></p></dd>
1.1.1.23 root 646: <dt class=dt-indent><tt>hostcom-driver = <i>string</i><br>hostcom-tcp-port = <i>integer</i><br>hostcom-fallback = <i>integer</i></tt></dt>
647: <dd>それぞれ <tt>hostcom0-*</tt> の別名です。
648: <q>These are aliases for <tt>hostcom0-*</tt> respectively.</q></p></dd>
1.1.1.22 root 649: <dt class=dt-indent><tt>hostcom<i>N</i>-driver = <i>string</i></tt></dt>
1.1.1.23 root 650: <dd>起動時のシリアルポート <i>N</i> のホスト側ドライバを指定します。
1.1.1.19 root 651: <tt>stdio</tt> なら標準入出力を使用します。
652: <tt>tcp</tt> なら TCP ポートで TELNET プロトコルで待ち受けます。
1.1.1.22 root 653: <tt>console</tt> (または <tt>cons</tt>)
654: ならメイン画面で端末エミュレーションを行います。
1.1.1.13 root 655: <tt>none</tt> ならホスト側とは一切通信を行いません。
1.1.1.23 root 656: <q>Specifies the host driver of serial port <i>N</i> on startup.
1.1.1.13 root 657: <tt>stdio</tt> uses the standard input/output.
658: <tt>tcp</tt> listens on TCP port using TELNET protocol.
1.1.1.22 root 659: <tt>console</tt> (or <tt>cons</tt>) does a terminal emulation in main panel.
660: <tt>none</tt> doesn't make any communication with the host.</q>
661: <p>
662: <tt>hostcom<i>N</i></tt> と
663: VM 内のデバイス(ポート)との対応は下表の通り VM 種別ごとに固定です。
664: <q>The correspondence between <tt>hostcom<i>N</i></tt> and
665: device (port) in the VM is fixed depending on the VM type
666: as the following table.</q>
667: <center>
668: <table cellspacing=0 border=1 rules=all>
669: <tr><th>hostcom\VM<th>LUNA-I/LUNA-88K<th>X68030<th>NWS-1750<th>virt-m68k
670: <tr><th>hostcom0
671: <td align=center>SIO(uPD7201) Ch.A
672: <td align=center>SCC(Z8530) Ch.A
673: <td align=center>SCC(Z8530) Ch.A
674: <td align=center>Goldfish TTY
1.1.1.23 root 675: <tr><th>hostcom1
676: <td align=center>HD647180 ASCI Ch.0
677: <td align=center>N/A
678: <td align=center>N/A
679: <td align=center>N/A
680: <tr><th>hostcom2
681: <td align=center>HD647180 ASCI Ch.1
682: <td align=center>N/A
683: <td align=center>N/A
684: <td align=center>N/A
1.1.1.22 root 685: </table>
686: </center>
687: <p>
688: また、VM 種別によって有効なホスト側ドライバの種類とデフォルト値も異なります。
689: <q>The choices and default value vary depending on the VM type.</q>
690: <center>
691: <table cellspacing=0 border=1 rules=all>
692: <tr><th>VM<th>LUNA-I/LUNA-88K<th>X68030<th>NWS-1750<th>virt-m68k
693: <tr><th>有効なドライバ<br><q>Available drivers</q>
694: <td align=center>stdio<br>tcp<br>none<br>
695: <td align=center>stdio<br>tcp<br>none<br>
696: <td align=center>stdio<br>tcp<br>console<br>none
697: <td align=center>stdio<br>tcp<br>console<br>none
698: <tr><th>hostcom0-driver のデフォルト値<br><q>Default value</q>
699: <td align=center>none
700: <td align=center>none
701: <td align=center>console
702: <td align=center>console
1.1.1.23 root 703: <tr><th>hostcom[12]-driver のデフォルト値<br><q>Default value</q>
704: <td align=center>none
705: <td align=center>N/A
706: <td align=center>N/A
707: <td align=center>N/A
1.1.1.22 root 708: </table>
709: </center>
710: <p>
711: 指定したドライバが使用出来なかった場合エラー終了します。
712: 起動後はメニューからドライバを変更できますが、パラメータは(まだ?)変更できません。
713: 実行中に変更に失敗した場合は none にフォールバックします。
714: <q>Terminate if the specified driver could not be used.
715: You can change the driver by menu at runtime,
716: but its parameters cannot be changed (yet?).
1.1.1.23 root 717: If changing at runtime fails, it will fallback to none.</q></p></dd>
1.1.1.22 root 718: <dt class=dt-indent><tt>hostcom<i>N</i>-tcp-port = <i>integer</i></tt></dt>
1.1.1.13 root 719: <dd>ホストドライバが tcp の時の TCP 待ち受けポート番号を指定します。
1.1.1.15 root 720: <q>Specifies the TCP port number that host driver listens.</q></p></dd>
1.1.1.25! root 721: <dt class=dt-indent><tt>hostcpu-avx2 = <i>string</i></tt></dt>
1.1.1.24 root 722: <dd>ホストが amd64(x86_64) の場合にレンダリングに AVX2
723: アクセラレーションを使うかどうかを指定します。
724: <tt>auto</tt> なら起動時にホスト CPU が AVX2 をサポートしているか確認し、
725: サポートしていれば使用します。
726: <tt>no</tt> なら AVX2 コードを実行しません。
727: デフォルトは <tt>auto</tt> です。
728: amd64(x86_64) 以外のホストではこの設定は無視されます。
729: <q>Specifies whether to use AVX2 acceleration for rendering
730: on amd64(x86_64) host.
1.1.1.25! root 731: If set to <tt>auto</tt>, nono checks whether the host CPU supports AVX2
1.1.1.24 root 732: on startup and use it if it does.
1.1.1.25! root 733: If set to <tt>no</tt>, nono will not execute AVX2 instructions.
1.1.1.24 root 734: The default is <tt>auto</tt>.
1.1.1.25! root 735: Note that this item is ignored if the host is not amd64(x86_64).</p></dd>
! 736: <dt class=dt-indent><tt>hostcpu-neon = <i>string</i></tt></dt>
1.1.1.24 root 737: <dd>ホストが aarch64 の場合にレンダリングに NEON
738: アクセラレーションを使うかどうかを指定します。
739: <tt>auto</tt> なら使用し、
740: <tt>no</tt> なら使用しません。
741: デフォルトは <tt>auto</tt> です。
742: aarch64 以外のホストではこの設定は無視されます。
743: <q>Specifies whether to use NEON acceleration for rendering
744: on aarch64 host.
1.1.1.25! root 745: If set to <tt>auto</tt>, nono uses NEON code.
! 746: If set to <tt>no</tt>, nono don't use NEON code.
1.1.1.24 root 747: The default is <tt>auto</tt>.
1.1.1.25! root 748: Note that this item is ignored if the host is not aarch64.</p></dd>
! 749: <dt class=dt-indent><tt>hostcpu-fastcore = <i>string</i></tt></dt>
! 750: <dd>ホストの CPU がヘテロジニアス構成の場合の高性能コアを列挙します。
1.1.1.24 root 751: コアの番号は <tt>0,1,2</tt> のようにカンマ区切りで指定します。
752: ハイフンで範囲指定も出来ます。
753: <tt>-2,3,4-7</tt> は <tt>0-7</tt> と等価です。
754: どのコアが高性能コアかは dmesg 等で調べてください。
755: どのスレッドを割り当てるかはユーザは指定できません。
756: コアが一つも指定されないかすべてのコアが指定された場合はホモジニアス構成とみなします。
757: <tt>auto</tt> と書くと自動判別ですが現状 Intel CPU のみ対応しています。
758: 対称構成の CPU なら指定不要です。
1.1.1.25! root 759: デフォルトは <tt>auto</tt> です。</p></dd>
1.1.1.11 root 760: <dt class=dt-indent><tt>hostkbd-input = <i>string</i></tt></dt>
1.1.1.21 root 761: <dd>(LUNA and X68030 Only)
1.1.1.15 root 762: ホストキーボードの入力モードを指定します。
1.1.1.11 root 763: <tt>char</tt> ならキャラクタ入力モード、
764: <tt>jp</tt> なら日本語キーボードモードです。
765: デフォルトは <tt>char</tt> です。
766: 詳細は <a href="#aboutvm">VM について</a> の章を参照してください。
767: <q>Specifies the input mode of the host keyboard.
768: <tt>char</tt> means the character mode,
769: <tt>jp</tt> means the Japanese keyboard mode.
770: The defualt is <tt>char</tt>.
771: See <a href="#aboutvm">About VM</a> for details.</q></p></dd>
1.1.1.21 root 772: <dt class=dt-indent><tt>hostnet-driver = <i>string</i><br>hostnet-afpacket-ifname = <i>ifname</i><br>hostnet-bpf-ifname = <i>ifname</i><br>hostnet-tap-devpath = <i>path</i><br>hostnet-usermode-hostfwd = <i>string</i><br>hostnet-usermode-net = <i>string</i><br>hostnet-usermode-net6 = <i>string</i><br>hostnet-fallback = <i>integer</i><br></tt></dt>
1.1.1.22 root 773: <dd>それぞれ <tt>hostnet0-*</tt> の別名です。
774: <q>These are aliases for <tt>hostnet0-*</tt> respectively.</q></p></dd>
1.1.1.17 root 775: <dt class=dt-indent><tt>hostnet<i>N</i>-driver = <i>string</i></tt></dt>
1.1.1.23 root 776: <dd>起動時の <i>N</i>
1.1.1.17 root 777: 番目のイーサネットデバイスのホスト側ドライバを指定します。
1.1.1.21 root 778: <tt>afpacket</tt>、<tt>bpf</tt>、<tt>tap</tt>、<tt>usermode</tt> のうち
1.1.1.20 root 779: configure で検出したものと <tt>auto</tt>、<tt>none</tt> が選択可能です。
1.1.1.23 root 780: <q>Specifies the host driver of <i>N</i>-th ethernet device on startup.
1.1.1.21 root 781: <tt>afpacket</tt>, <tt>bpf</tt>, <tt>tap</tt> and <tt>usermode</tt> can be specified
1.1.1.20 root 782: only if the configure detects them.
783: <tt>auto</tt> and <tt>none</tt> can always be specified.</q>
784: <ul>
785: <li><tt>afpacket</tt> は Linux の AF_PACKET ソケットを使用します。
786: ホスト自身とは通信できません。
787: <q><tt>afpacket</tt> uses Linux's AF_PACKET socket.
788: It cannot communicate with the host itself.</q>
789: <li><tt>bpf</tt> は bpf(4) デバイスを使用します。
790: ホスト自身とは通信できません。
791: <q><tt>bpf</tt> uses bpf(4) device.
792: It cannot communicate with the host itself.</q>
793: <li><tt>tap</tt> は tap(4) デバイスを使用します。
794: <q><tt>tap</tt> uses tap(4) device.</q>
1.1.1.21 root 795: <li><tt>usermode</tt> は libslirp を使用したユーザモードです。
1.1.1.20 root 796: nono 自身が NAT ルータ、DHCP サーバ、DNS サーバの機能を持ちます。
797: <q><tt>usermode</tt> is an usermode network using libslirp.
798: nono also acts as NAT router, DHCP server and DNS server.</q>
799: <li><tt>none</tt> ならホスト側とは一切通信を行いません。
800: <q><tt>none</tt> doesn't make any communication with the host.</q>
801: </ul>
802: <tt>auto</tt> は <tt>usermode</tt> と同義ですが、
1.1.1.21 root 803: configure で libslirp が無効になっている場合は <tt>none</tt> と同義になります。
1.1.1.20 root 804: <tt>hostnet0-driver</tt> のデフォルトは <tt>auto</tt>、
805: <tt>hostnet1-driver</tt> のデフォルトは <tt>none</tt> です。
1.1.1.21 root 806: <q><tt>auto</tt> is a synonym for <tt>usermode</tt>, but
807: when libslirp is disabled on configure, it is a synonym for <tt>none</tt>.
1.1.1.17 root 808: The default of <tt>hostnet0-driver</tt> is <tt>auto</tt>,
1.1.1.22 root 809: the default of <tt>hostnet1-driver</tt> is <tt>none</tt>.</q>
810: <p>
811: <tt>hostnet<i>N</i></tt> と
812: VM 内のデバイスとの対応は下表の通り VM 種別ごとに固定です。
813: <q>The correspondence between <tt>hostnet<i>N</i></tt> and
814: device in the VM is fixed depending on the VM type as the following table.</q>
815: <center>
816: <table cellspacing=0 border=1 rules=all>
817: <tr><th>hostnet\VM<th>LUNA-I/LUNA-88K<th>X68030<th>NWS-1750<th>virt-m68k
818: <tr><th>hostnet0
819: <td align=center>Lance(AM7990)
820: <td align=center>Nereid#0 (RTL8019AS)
821: <td align=center>Lance(AM7990)
822: <td align=center>VirtIO Network
823: <tr><th>hostnet1
824: <td align=center>N/A
825: <td align=center>Nereid#1 (RTL8019AS)
826: <td align=center>N/A
827: <td align=center>N/A
828: </table>
829: </center>
830: <p>
831: 指定したドライバが使用出来なかった場合エラー終了します。
832: 起動後はメニューからドライバを変更できますが、パラメータは(まだ?)変更できません。
833: 実行中に変更に失敗した場合は none にフォールバックします。
834: <q>Terminate if the specified driver could not be used.
835: You can change the driver by menu at runtime,
836: but its parameters cannot be changed (yet?).
1.1.1.23 root 837: If changing at runtime fails, it will fallback to none.</q></p></dd>
1.1.1.17 root 838: <dt class=dt-indent><tt>hostnet<i>N</i>-afpacket-ifname = <i>ifname</i></tt></dt>
1.1.1.16 root 839: <dd>ホストドライバが afpacket の時にバインドするインタフェースを1つ指定します。
1.1.1.9 root 840: <i>ifname</i> が <tt>auto</tt>
841: なら使用可能なインタフェースを1つ自動的に選択します。
842: デフォルトは <tt>auto</tt> です。
843: なお、このホストドライバではローカルホストとの通信は出来ません。
1.1.1.15 root 844: <q>Specifies an interface name to bind to, when the host driver is afpacket.
1.1.1.9 root 845: If <tt>auto</tt> is specified as <i>ifname</i>,
846: it selects an usable interface automatically.
847: The default is <tt>auto</tt>.
848: Note that this host driver cannot communicate with the localhost.</q></p></dd>
1.1.1.17 root 849: <dt class=dt-indent><tt>hostnet<i>N</i>-bpf-ifname = <i>ifname</i></tt></dt>
1.1.1.16 root 850: <dd>ホストドライバが bpf の時にバインドするインタフェースを1つ指定します。
1.1.1.9 root 851: <i>ifname</i> が <tt>auto</tt>
852: なら使用可能なインタフェースを1つ自動的に選択します。
853: デフォルトは <tt>auto</tt> です。
854: なお、このホストドライバではローカルホストとの通信は出来ません。
1.1.1.15 root 855: <q>Specifies an interface name to bind to, when the host driver is bpf.
1.1.1.9 root 856: If <tt>auto</tt> is specified as <i>ifname</i>,
857: it selects an usable interface automatically.
858: The default is <tt>auto</tt>.
859: Note that this host driver cannot communicate with the localhost.</q></p></dd>
1.1.1.17 root 860: <dt class=dt-indent><tt>hostnet<i>N</i>-tap-devpath = <i>path</i></tt></dt>
1.1.1.16 root 861: <dd>ホストドライバが tap の時に使用するデバイスを1つフルパスで指定します。
1.1.1.9 root 862: デフォルトは <tt>auto</tt> で、この場合は自動的にデバイスを選択します。
863: この時の探し方はホスト OS によって異なります。
864: Linux なら <tt>/dev/net/tun</tt> を指定したのと同じです。
1.1.1.7 root 865: OpenBSD なら <tt>/dev/tap0</tt> から <tt>/dev/tap9</tt> まで
866: 順番にオープンできるまで試します。
867: NetBSD (と FreeBSD) ならまず <tt>/dev/tap</tt> でクローニングを試み、
868: それが失敗すれば <tt>/dev/tap0</tt> から <tt>/dev/tap9</tt> までを
869: 順番にオープンできるまで試します。
1.1.1.9 root 870: いずれの場合も VM ディレクトリかその親ディレクトリに
871: <tt>nono-ifup</tt>, <tt>nono-ifdown</tt> という名前のシェルスクリプトが必要です。
872: 何もすることがない場合でも正常終了する空のシェルスクリプトを用意してください。
873: <q>
1.1.1.15 root 874: Specifies a device pathname, when the host driver is tap.
1.1.1.9 root 875: The default is <tt>auto</tt>.
1.1.1.7 root 876: The behavior in this case depends on the host OS.
877: On Linux, it's the same as <tt>/dev/net/tun</tt>.
878: On OpenBSD, it will try from <tt>/dev/tap0</tt> to <tt>/dev/tap9</tt>
879: until successful.
880: On NetBSD (and FreeBSD), it will try cloning by <tt>/dev/tap</tt> first.
881: If that fails, then try from <tt>/dev/tap0</tt> to <tt>/dev/tap9</tt>
882: until successful.
1.1.1.9 root 883: In all cases, you need to prepare two shell script files which names are
884: <tt>nono-ifup</tt> and <tt>nono-ifdown</tt> in the VM directory or
885: its parent directory.
886: Even if you don't have anything to do in these scripts,
1.1.1.12 root 887: you need to prepare empty scripts that will terminate successfully.</q></p></dd>
1.1.1.21 root 888: <dt class=dt-indent><tt>hostnet<i>N</i>-usermode-net = <i>network</i>/<i>netmask</i></tt></dt>
889: <dd>ホストドライバが usermode の時の、内部 IPv4 ネットワークのアドレスを指定します。
1.1.1.20 root 890: ネットワークアドレスは
891: <tt>192.0.2.0/255.255.255.0</tt> のようにネットマスクで指定するか
892: <tt>192.0.2.0/24</tt> のようにネットマスク長で指定することも出来ます。
1.1.1.21 root 893: デフォルトは <tt>10.8.0.0/24</tt> です。</p></dd>
894: <dt class=dt-indent><tt>hostnet<i>N</i>-usermode-net6 = <i>network</i>/<i>prefixlen</i></tt></dt>
895: <dd>ホストドライバが usermode の時の、内部 IPv6 ネットワークのアドレスを指定します。
1.1.1.20 root 896: ネットワークアドレスは <tt>2001:db8::/64</tt>
897: のようにアドレスとプレフィックス長で指定します。
1.1.1.21 root 898: デフォルトは <tt>fd08::/64</tt> です。</p></dd>
899: <dt class=dt-indent><tt>hostnet<i>N</i>-usermode-hostfwd = <i>entry</i>[<i>;entry</i>[<i>;…</i>]]</tt></dt>
900: <dd>ホストドライバが usermode の時の、外部から内部へのポートフォワーディングの設定を行います。
1.1.1.20 root 901: 1つの <i>entry</i> は
902: <dl>
903: <dd>
904: <tt><i>protocol</i>,[<i>hostaddr</i>:]<i>hostport</i>,[<i>guestaddr</i>:]<i>guestport</i></tt>
905: </dd>
906: のように '<tt>,</tt>'(カンマ) 3つで区切って表します。
907: <i>protocol</i> は <tt>tcp</tt> か <tt>udp</tt> です。
908: <i>hostaddr</i> はホストのバインドアドレスで省略すると 0.0.0.0 です。
909: <i>guestaddr</i> はゲストのアドレスで、
910: 省略すると DHCP でクライアントに配布したアドレスになります
911: (通常は省略します)。
912: 例えば、ホストの 10022/tcp へのコネクションをゲストの 22/tcp に転送したい場合は
913: <tt>tcp,10022,22</tt> となります。
914: 複数指定する場合は '<tt>;</tt>'(セミコロン) で区切って1行に並べます。
915: <p>
1.1.1.21 root 916: IPv6 には対応していません。</p></dd>
1.1.1.25! root 917: <dt class=dt-indent><tt>hostsound-driver = <i>string</i></tt></dt>
! 918: <dd>サウンドデバイスのホスト側ドライバを指定します。
1.1.1.24 root 919: <tt>alsa</tt>、<tt>netbsd</tt>、<tt>sndio</tt> のうち configure で検出したものと
920: <tt>wav</tt>、<tt>none</tt>、<tt>auto</tt> が選択可能です。
921: <q>Specifies the host sound driver.
922: <tt>alsa</tt>, <tt>netbsd</tt>, and <tt>sndio</tt> are
923: available only if detected by configure.
924: <tt>wav</tt>, <tt>none</tt>, and <tt>auto</tt> are always selectable.</q>
1.1.1.25! root 925: <ul>
1.1.1.24 root 926: <li><tt>alsa</tt> は Linux の ALSA ライブラリを使用します。
927: <q><tt>alsa</tt> uses Linux's ALSA library.</q>
928: <li><tt>netbsd</tt> は NetBSD の audio(4) デバイスを使用します。
929: <q><tt>netbsd</tt> uses NetBSD's audio(4) device.</q>
930: <li><tt>sndio</tt> は OpenBSD の sndio ライブラリを使用します。
931: <q><tt>sndio</tt> uses OpenBSD's sndio library.</q>
932: <li><tt>wav</tt> は VM ディレクトリに WAV ファイルを出力します。
933: この WAV ファイルには無音のブロックは出力されません。
934: <q><tt>wav</tt> outputs WAV file in the VM directory.
935: This WAV file doesn't contains any silent blocks.</q>
936: <li><tt>none</tt> はホスト側には一切出力しません。
937: <q><tt>none</tt> doesn't output anything.</q>
938: <li><tt>auto</tt> なら、configure で検出された一つが選択されます。
939: 検出されなければ <tt>none</tt> です。
940: <q><tt>auto</tt> selects the one detected by configure.
941: Or act as <tt>none</tt> if no drivers are detected.</q>
942: </ul>
943: デフォルトは <tt>auto</tt> です。
1.1.1.25! root 944: <q>The default is <tt>auto</tt>.</q></p></dd>
! 945: <dt class=dt-indent><tt>hostsound-alsa-device = <i>string</i></tt></dt>
! 946: <dd>ホストドライバが alsa の時のデバイス名を指定します。
! 947: デフォルトは <tt>default</tt> です。</p></dd>
! 948: <dt class=dt-indent><tt>hostsound-netbsd-device = <i>string</i></tt></dt>
! 949: <dd>ホストドライバが netbsd の時のデバイスパスを指定します。
! 950: デフォルトは <tt>/dev/sound</tt> です。</p></dd>
1.1.1.15 root 951: <dt class=dt-indent><tt>iplrom1-image = <i>path</i></tt></dt>
952: <dd>(X68030 Only)
1.1.1.14 root 953: X68030 の外部 IPLROM イメージファイルのパスを指定します。
954: こちらは 0xfe0000..0xffffff の 128KB の部分で、IPLROM30 と呼ばれているほうです。
955: <i>path</i> がファイル名のみなら VM ディレクトリとその親ディレクトリからこのファイル名を検索します。
956: <i>path</i> が相対パスなら VM ディレクトリからの相対パスになります (現在のディレクトリからではありません)。
957: 空にすると無償配布されている IPLROM30 を使用します。
958: デフォルトは空です。
959: <q>Specifies the X68030's external IPLROM image file path.
960: This one contains 128KB at 0xfe0000..0xffffff and is known as IPLROM30.
961: If the <i>path</i> does not have any path delimiters,
962: the VM directory and then its parent directory will be searched.
963: If the <i>path</i> is a relative path,
964: it will be path from the VM directory, not from the current directory.
965: If the <i>path</i> is empty, the public released IPLROM30 will be used.
1.1.1.15 root 966: The default value is empty.</q></p></dd>
967: <dt class=dt-indent><tt>iplrom2-image = <i>path</i></tt></dt>
968: <dd>(X68030 Only)
1.1.1.14 root 969: X68030 の外部 IPLROM イメージファイルのパスを指定します。
970: こちらは 0xfc0000..0xfdffff の 128KB の部分で、ROM30 と呼ばれているほうです。
971: <i>path</i> がファイル名のみなら VM ディレクトリとその親ディレクトリからこのファイル名を検索します。
972: <i>path</i> が相対パスなら VM ディレクトリからの相対パスになります (現在のディレクトリからではありません)。
973: 空にすると内蔵 ROM を使用します。
974: 内蔵 ROM は NetBSD/x68k が起動する程度の SCSI IOCS のみサポートしています。
975: デフォルトは空です。
976: <q>Specifies the X68030's external IPLROM image file path.
977: This one contains 128KB at 0xfc0000..0xfdffff and is known as ROM30.
978: If the <i>path</i> does not have any path delimiters,
979: the VM directory and then its parent directory will be searched.
980: If the <i>path</i> is a relative path,
981: it will be path from the VM directory, not from the current directory.
982: If the <i>path</i> is empty, internal emulated ROM will be used.
983: The ROM supports only enough SCSI IOCS to boot NetBSD/x68k.
1.1.1.15 root 984: The default value is empty.</q></p></dd>
1.1.1.13 root 985: <dt class=dt-indent><tt>keyboard-connect = <i>integer</i></tt></dt>
1.1.1.15 root 986: <dd>(LUNA and X68030 Only)
987: 起動時にキーボードを本体に接続するかどうかを指定します。
1.1.1.13 root 988: 1 なら接続し、0 なら接続しません。デフォルトは 1 です。
989: 起動後はメニューから変更可能です。
1.1.1.15 root 990: <q>Specifies whether to connect keyboard on boot.
1.1.1.13 root 991: If 1, it is connected; if 0, it isn't connected. The default is 1.
992: You can change it on GUI menu after boot.</q></p></dd>
1.1.1.10 root 993: <dt class=dt-indent><tt>luna-adjust-misused-epoch = <i>integer</i></tt></dt>
1.1.1.14 root 994: <dd>(LUNA Only)
995: LUNA で誤った RTC epoch を採用している OS 向けに RTC
1.1.1.10 root 996: エミュレーションを補正するかどうかを
997: 指定します。0 なら補正をしません(実機と同じ動作)、
998: 1 なら補正します(現実世界と同じ動作)。
999: デフォルトは 1 で、通常 1 のままで使用して問題ありません。
1000: <q>
1001: Specifies whether nono corrects RTC emulation for OSes
1002: that adopts wrong RTC epoch on LUNA.
1003: 0 means making no correction
1004: (this is the same behavior as the actual machine).
1005: 1 means making correction
1006: (this is the same behavior as the real world).
1007: The default is 1. Normally, leave it 1.</q>
1008: <p>
1009: LUNA で採用している RTC (MK48T02) は2桁で保持している年の値が
1010: 4 で割り切れる年をうるう年とする仕様です。
1.1.1.13 root 1011: ところが NetBSD/luna68k、OpenBSD/luna88k などはこの
1012: RTC の年の値を 1970年からの経過年として使用しています。
1.1.1.10 root 1013: 例えば1970年はうるう年ではないため 2月28日の翌日は 3月1日ですが、
1014: MK48T02 的には 00年であるためうるう年と認識し 2月28日の翌日が2月29日になります。
1.1.1.13 root 1015: このように、これらの OS を使っている場合実機の
1016: RTC は4年のうち約2年間、1日ずれた日付を指しているようです。
1.1.1.10 root 1017: しかしながら、RTC の時刻は OS 起動時に一度読んだ後は基本的に参照しない上、
1018: 今時必要なら NTP で時間を合わせるため、
1019: 実機でも問題が顕在化することはまずないと思います。
1020: nono の場合は実機と異なり、アプリケーション実行中しか RTC が進まないため、
1021: 補正がない場合の動作が問題になるのは
1022: nono を起動したまま偶数年の2月末日から日付をまたいで、
1023: かつ nono を起動したまま OS を再起動して NTP などで時刻修正を行わなかった時
1024: だけだと思います。
1025: このオプションはほぼ開発者向けの動作確認用です。</p></dd>
1.1 root 1026: <dt class=dt-indent><tt>luna-dipsw1 = <i>string</i></tt></dt>
1.1.1.14 root 1027: <dd>(LUNA Only)
1028: 本体前面 DIPSW#1-1..#1-8 の内容を指定します。
1.1 root 1029: "<tt>0</tt>" を DOWN、"<tt>1</tt>" を UP として、
1030: これを8つ並べた形式で、前から順に #1..#8 に対応します。
1.1.1.15 root 1031: <q>Specifies status of the front panel DIPSW#1-1..#1-8 using 8 digits.
1.1.1.2 root 1032: "<tt>0</tt>" means DOWN and "<tt>1</tt>" means UP.
1033: The first character corresponds to #1 and
1.1.1.3 root 1034: the eighth character corresponds to #8.</q>
1035: <p>
1036: LUNA-I でのデフォルトは <tt>11110111</tt> です。
1037: 各スイッチの内容は以下のリンクを参照してください。
1038: <q>On LUNA-I, the default value is <tt>11110111</tt>.
1.1.1.4 root 1039: See the following link about DIPSW.</q><br>
1.1.1.3 root 1040: → <a href="https://wiki.netbsd.org/ports/luna68k/luna68k_info/"
1041: >NetBSD/luna68k: Information</a>
1.1 root 1042: <br>
1.1.1.13 root 1043: LUNA-88K でのデフォルトは <tt>11111111</tt> です。
1.1.1.4 root 1044: 各スイッチの内容は以下のリンクを参照してください。
1.1.1.13 root 1045: <q>On LUNA-88K, the default value is <tt>11111111</tt>.
1.1.1.4 root 1046: See the following link about DIPSW.</q><br>
1047: → <a href="http://man.openbsd.org/boot_luna88k.8"
1.1.1.15 root 1048: >OpenBSD manual pages: boot_luna88k(8)</a>
1049: <p>
1050: 自動起動するかどうかとシリアルコンソールを使うかどうかを指定したい場合は
1051: こちらではなく
1052: <a href="#config-dipsw-autoboot">dipsw-autoboot、dipsw-serial</a>
1053: 設定を使うほうが便利です。
1054: <q>If you only want to specify whether to autoboot and/or
1055: to use serial console,
1056: <a href="#config-dipsw-autoboot">dipsw-autoboot, dipsw-serial</a>
1057: configurations are useful.</q></p></dd>
1.1 root 1058: <dt class=dt-indent><tt>luna-dipsw2 = <i>string</i></tt></dt>
1.1.1.14 root 1059: <dd>(LUNA Only)
1060: 本体前面 DIPSW#2-1..#2-8 の内容を指定します。
1.1 root 1061: 書式は <tt>luna-dipsw1</tt> と同じです。
1062: デフォルトは <tt>11111111</tt> です。
1.1.1.2 root 1063: <q>Specifies status of the front panel DIPSW#2-1..#2-8.
1064: The same syntax as <tt>luna-dipsw1</tt> is used.
1065: The default value is <tt>11111111</tt>.</q>
1.1.1.3 root 1066: <p>
1.1.1.4 root 1067: NetBSD/luna68k のブートローダは、
1068: DIPSW#2 が "<tt>11111111</tt>" なら自動的にカーネルをロードして実行し、
1069: どれかでも "<tt>0</tt>" にするとプロンプトで停止するようです。
1.1.1.2 root 1070: <span class=strike>(本当は #8 だけで制御するつもりだったんじゃないかという気がします)</span>
1.1.1.4 root 1071: <q>NetBSD/luna68k bootloader will automatically load and execute the kernel,
1072: if the DIPSW#2 is "<tt>11111111</tt>".
1.1.1.2 root 1073: Otherwise, the bootloader will enter interactive mode.
1074: <span class=strike>(I doubt that they actually wanted to switch with only #8)
1.1.1.12 root 1075: </span></q></p></dd>
1.1.1.13 root 1076: <dt class=dt-indent><tt>luna-video-plane = <i>integer</i></tt></dt>
1.1.1.14 root 1077: <dd>(LUNA Only)
1.1.1.15 root 1078: LUNA のビデオボードのプレーン数を 1、4、8 から指定します。
1.1.1.13 root 1079: 1 ならモノクロビデオボード、
1.1.1.15 root 1080: 4 なら16色 (4bpp) ビデオボード、
1081: 8 なら 256色 (8bpp) ビデオボードです。
1.1.1.16 root 1082: デフォルトは 4 です。
1.1.1.15 root 1083: <q>Specifies number of planes on LUNA video board.
1084: The valid values are 1, 4 or 8.
1.1.1.13 root 1085: 1 means a monochrome video board,
1.1.1.15 root 1086: 4 means 16-color (4bpp) video board,
1087: 8 means 256-color (8bpp) video board.
1.1.1.16 root 1088: The default value is 4.</q></p></dd>
1.1.1.18 root 1089: <dt class=dt-indent><tt>m88100-version = <i>integer</i><br>m88200-version = <i>integer</i></tt></dt>
1090: <dd>(LUNA-88K Only)
1091: MPU と CMMU のマスクバージョンを設定します。
1092: 今の所これによるエミュレータの動作の違いはありません。
1093: どちらかというとこれを参照しているゲスト OS の動作確認用です。
1094: デフォルトは <tt>m88100-version</tt> が 11、<tt>m88200-version</tt> が 9 です。
1095: <q>Specifies MPU and CMMU mask version.
1096: This item doesn't affect any MPU/CMMU emulations for now.
1097: But it may be useful for verifying the guest OS behaviors.
1098: The default value is 11 for <tt>m88100-version</tt>,
1099: 9 for <tt>m88200-version</tt>.</q></p></dd>
1.1.1.16 root 1100: <dt class=dt-indent><tt>mainview-scale = <i>double</i></tt></dt>
1101: <dd>メインウィンドウの起動時のスケールを実数で指定します。
1.1.1.15 root 1102: コマンドラインオプション <tt>-s</tt> で上書き可能です。
1103: 起動後はメニューから、
1104: プリセットされた倍率とここで指定した倍率には変更可能です。
1.1.1.16 root 1105: デフォルトは 1.0 です。</p></dd>
1106: <dt class=dt-indent><tt>monitor-fontsize = <i>integer</i></tt></dt>
1107: <dd>テキスト系モニタとステータスパネルのフォントサイズを
1.1.1.15 root 1108: 12, 16, 24 から指定します。
1109: コマンドラインオプション <tt>--fontsize</tt> で上書き可能です。
1110: 起動後はメニューから変更することができます。
1.1.1.16 root 1111: デフォルトは 12 です。</p></dd>
1.1.1.3 root 1112: <dt class=dt-indent><tt>monitor-rate = <i>integer</i></tt></dt>
1113: <dd>テキスト系モニタウィンドウの更新頻度を Hz 単位で指定します。
1114: 1 から 60 までの間で指定でき、デフォルトは 20Hz です。
1.1.1.16 root 1115: 起動後にメニューから、
1116: プリセットされた頻度とここで指定した頻度には変更可能です。
1.1.1.3 root 1117: <q>Specifies refresh rate of all text monitor windows in Hz.
1118: It ranges from 1 to 60. The default is 20Hz.
1.1.1.15 root 1119: You can choose this value on GUI menu after boot,
1.1.1.16 root 1120: from preset rate or rate specified here.</q></p></dd>
1.1 root 1121: <dt class=dt-indent><tt>mpu-clock = <i>value</i></tt></dt>
1122: <dd>MPU のクロック数を MHz 単位で指定します。
1.1.1.15 root 1123: デフォルトは LUNA-I なら 20MHz、LUNA-88K と X68030 なら 25MHz です。
1.1.1.18 root 1124: virt-m68k ではあまり意味はありませんが 25MHz です。
1.1.1.5 root 1125: <q>Specifies the MPU clock in MHz.
1.1.1.17 root 1126: The default value is 20MHz on LUNA-I, or 25MHz on LUNA-88K and X68030.
1.1.1.18 root 1127: On virt-m68k, it's less meaningful but 25MHz.</q></p></dd>
1.1.1.25! root 1128: <dt class=dt-indent><tt><span class=new>mpu-force-disable-dcahce = <i>integer</i><br>mpu-force-disable-icache = <i>integer</i></span></tt></dt>
! 1129: <dd><span class="new">
! 1130: MPU のデータキャッシュ(dcache)/命令キャッシュ(icache)
! 1131: を強制的に無効にすることが出来ます。
! 1132: <tt>0</tt> ならキャッシュを常に無効にします。<tt>1</tt> なら通常動作です。
! 1133: デフォルトは <tt>1</tt> です。
! 1134: MPU が 68030 の場合 CACR の EI, ED に 1 を書き込んでも 0 のままになるという意味です。
! 1135: m88k は未対応です。
! 1136: <q>You can forcibly disable MPU data cache (dcache)/instruction cache (icache).
! 1137: <tt>0</tt> means forcibly disable the cache.
! 1138: <tt>1</tt> means normal operation.
! 1139: The default is <tt>1</tt>.
! 1140: On 68030, forcibly disable means that even if
! 1141: you write 1 to EI, ED on CACR, it will remain 0.
! 1142: Not supported for m88k.</q>
! 1143: </span></p></dd>
1.1.1.20 root 1144: <dt class=dt-indent><tt>mpu-type = <i>value</i></tt></dt>
1145: <dd>(X68030, virt-m68k Only)
1.1.1.21 root 1146: MPU 種別を <tt>68030</tt> か <tt>68040</tt> で指定します。
1147: デフォルトは <tt>68030</tt> です。
1.1.1.19 root 1148: <q>Specifies the MPU type, <tt>68030</tt> or <tt>68040</tt>.
1.1.1.20 root 1149: The default is <tt>68030</tt>.</q></p></dd>
1.1.1.9 root 1150: <dt class=dt-indent><tt>mpu-pseudo-stop = <i>integer</i></tt></dt>
1.1.1.14 root 1151: <dd>(LUNA-88K Only)
1152: m88100 にて疑似 STOP 状態を有効にするかどうかを指定します。
1.1.1.9 root 1153: 0 なら無効(実機と同じ動作)、1 なら有効で、デフォルトは 1 です。
1154: m88100 には、m68k の STOP 命令 (割り込みが上がるまで何もせず待つ)
1155: に相当する命令がなく、
1156: 大抵ビジーウェイトループで割り込みが上がるのを待つことになります。
1157: これは実機では (消費電力を減らす手段がないという些細な問題以外には)
1158: 何のデメリットもないのですが、
1159: エミュレータで特に高速動作させている時には割り込みが上がるまで
1160: (例えば人間がキーを入力するまで) ホスト CPU パワーを使い潰してビジーウェイトループを実行し続けることになり、ホスト CPU があっつあつになります。
1161: それを防ぐための機能です。
1162: 特徴的な命令列を検出して実現しているので、すべての状況で動作するわけではありません。</p></dd>
1.1.1.17 root 1163: <dt class=dt-indent><tt>nereid0-enable = <i>integer</i><br>nereid1-enable = <i>integer</i><br></tt></dt>
1164: <dd>(X68030 Only)
1.1.1.16 root 1165: Nereid 拡張ボードを装着するかどうかを指定します。
1166: Nereid は同時に2枚まで使用することができます。
1167: 値は <tt>0</tt> なら装着せず、<tt>1</tt> なら装着します。
1168: デフォルトは <tt>0</tt> (装着しない) です。
1.1.1.25! root 1169: 詳細は <a href="#nereid">Nereid エミュレーション</a> の項を参照してください。
1.1.1.16 root 1170: <q>Specifies whether install Nereid expansion board or not.
1171: Up to two board can be operated at the same time.
1.1.1.25! root 1172: If set to <tt>0</tt>, the board is not installed.
! 1173: If set to <tt>1</tt>, the board is installed.
1.1.1.16 root 1174: The default value is <tt>0</tt>.
1.1.1.25! root 1175: See also <a href="#nereid">Nereid emulation</a> section below for details.</q></p></dd>
1.1.1.17 root 1176: <dt class=dt-indent><tt>nereid0-net = <i>integer</i><br>nereid1-net = <i>integer</i><br></tt></dt>
1177: <dd>(X68030 Only)
1.1.1.16 root 1178: Nereid ボードの NIC (RTL8019AS) のみを無効にすることが出来ます
1179: (実機では通常そのようなことは出来ません)。
1180: <tt>0</tt> なら無効、<tt>1</tt> なら有効です。デフォルトは <tt>1</tt> です。
1181: 通常は <tt>1</tt> のまま使用してください。
1182: この設定は対応する <tt>nereid<i>N</i>-enable</tt> が <tt>0</tt>
1183: (ボードを装着しない) の場合は意味を持ちません。
1184: <q>This can disable only NIC (RTL8019AS) of Nereid expansion board
1185: (although it's not possible normally in the real world).
1186: It's disabled if <tt>0</tt>, or enabled if <tt>1</tt>.
1187: The default is <tt>1</tt>. Normally, leave it <tt>1</tt>.
1188: This item will be ignored if the corresponding <tt>nereid<i>N</i>-enable</tt>
1.1.1.17 root 1189: is <tt>0</tt>.</q></p></dd>
1190: <dt class=dt-indent><tt>nereid0-ram-size = <i>integer</i><br>nereid1-ram-size = <i>integer</i><br></tt></dt>
1191: <dd>(X68030 Only)
1.1.1.16 root 1192: Nereid ボードのバンクメモリのサイズを MB 単位で指定します。
1193: 指定できるのは <tt>0</tt>, <tt>4</tt>, <tt>16</tt> です。
1194: <tt>0</tt> を指定するとバンクメモリを無効にします。
1195: デフォルトは <tt>16</tt> です。
1196: この設定は対応する <tt>nereid<i>N</i>-enable</tt> が <tt>0</tt>
1197: (ボードを装着しない) の場合は意味を持ちません。
1198: <q>Specifies bank memory size in MB of Nereid expansion board.
1199: The valid values are <tt>0</tt>, <tt>4</tt> or <tt>16</tt>.
1.1.1.25! root 1200: If set to <tt>0</tt>, disable the bank memory.
1.1.1.16 root 1201: The default is <tt>16</tt>.
1202: This item will be ignored if the corresponding <tt>nereid<i>N</i>-enable</tt>
1203: is <tt>0</tt>.</q>
1204: <br><br>
1205: また通常は必要ありませんが -4 または -16 を指定すると、
1206: バンクメモリは無効にした上で Nereid 制御ポートのビット6の読み出し値
1207: (バンクメモリの容量) を再現することが出来ます。
1.1.1.17 root 1208: -4 ならビット6は 0 (4MB)、0 か -16 なら 1(16MB) が読み出せます。</p></dd>
1.1.1.15 root 1209: <dt class=dt-indent><tt>news-dipsw = <i>string</i></tt></dt>
1210: <dd>(NEWS Only)
1211: DIPSW の内容を指定します。
1212: "<tt>0</tt>" を OFF、"<tt>1</tt>" を ON として、
1213: これを8つ並べた形式で、前から順に SW1..SW8 に対応します。
1214: デフォルトは <tt>00001000</tt> です。
1215: <q>Specifies status of the DIPSW using 8 digits.
1216: "<tt>0</tt>" means OFF and "<tt>1</tt>" is ON.
1217: The first character corresponds to SW1 and
1218: the eighth character corresponds to SW8.
1219: The default valus is <tt>00001000</tt>.</q>
1220: <br><br>
1221: 各スイッチの内容は以下のリンクを参照してください。
1222: <q>See the following link about DIPSW.</q><br>
1223: → <a href="https://www.netbsd.org/ports/news68k/faq.html#dip_sw"
1224: >NetBSD/news68k Frequently Asked Questions</a>
1225: <p>
1226: 自動起動するかどうかとシリアルコンソールを使うかどうかを指定したい場合は
1227: こちらではなく
1228: <a href="#config-dipsw-autoboot">dipsw-autoboot、dipsw-serial</a>
1229: 設定を使うほうが便利です。
1230: <q>If you only want to specify whether to autoboot and/or
1231: to use serial console,
1232: <a href="#config-dipsw-autoboot">dipsw-autoboot, dipsw-serial</a>
1233: configurations are useful.</q></p></dd>
1.1.1.2 root 1234: <dt class=dt-indent><tt>prom-image = <i>path</i></tt></dt>
1.1.1.14 root 1235: <dd>(LUNA Only)
1236: LUNA-I/LUNA-88K の外部 ROM イメージファイルのパスを指定します。
1.1.1.2 root 1237: <i>path</i> がファイル名のみなら VM ディレクトリとその親ディレクトリからこのファイル名を検索します。
1238: <i>path</i> が相対パスなら VM ディレクトリからの相対パスになります (現在のディレクトリからではありません)。
1239: 空にすると内蔵 ROM を使用します。
1240: デフォルトは空です。
1.1.1.13 root 1241: <q>Specifies the LUNA-I/LUNA-88K's external ROM image file path.
1.1.1.2 root 1242: If the <i>path</i> does not have any path delimiters,
1243: the VM directory and then its parent directory will be searched.
1244: If the <i>path</i> is a relative path,
1.1.1.14 root 1245: it will be path from the VM directory, not from the current directory.
1.1.1.2 root 1246: If the <i>path</i> is empty, internal emulated ROM will be used.
1247: The default value is empty.</q>
1.1 root 1248: <p>
1.1.1.2 root 1249: 実機を持っていない場合はこの値を空に (= デフォルトのままに) しておくと、
1.1.1.9 root 1250: nono 内蔵のなんちゃって下位互換 ROM で起動します。
1.1.1.2 root 1251: <q>If you does not have the real LUNA machines,
1252: you can boot with nono's internal downward compatible emulated ROM
1.1.1.12 root 1253: if you set this field empty (or leave it as the default).</q>
1.1 root 1254: <p>
1.1.1.4 root 1255: LUNA-I 実機を持っている場合は
1256: ROM ファイルを指定することで実機 ROM で起動できます。
1.1.1.2 root 1257: ROM ファイルは実機の 0x41000000-0x4101ffff (128KB) を保存したものです。
1.1.1.3 root 1258: 今のところ ROM は V4.22 (Thu Jul 27 11:45:42 1989) のみサポートしています。
1259: それ以外については何も分かりません。
1.1.1.4 root 1260: <q>If you have the real LUNA-I machine,
1.1.1.2 root 1261: you can boot with the real ROM spcifying the ROM file path.
1.1.1.4 root 1262: The ROM file is extracted from 0x41000000-0x4101ffff (128KB) of
1263: the real LUNA-I machine.
1.1.1.3 root 1264: For now, only V4.22 (Thu Jul 27 11:45:42 1989) is supported.
1.1.1.12 root 1265: I have no idea about other ROMs.</q>
1.1.1.4 root 1266: <p>
1.1.1.13 root 1267: LUNA-88K 実機の場合は 0x41000000-0x4103ffff (256KB) を保存したものです。
1.1.1.9 root 1268: 今のところ ROM は version 1.20 のみサポートしています。
1.1.1.4 root 1269: <q>
1.1.1.13 root 1270: For LUNA-88K,
1.1.1.4 root 1271: the ROM file is extracted from 0x41000000-0x4103ffff (256KB).
1.1.1.12 root 1272: For now, only version 1.20 is supported.</q></p></dd>
1.1.1.3 root 1273: <dt class=dt-indent><tt>ram-size = <i>integer</i></tt></dt>
1.1.1.14 root 1274: <dd>搭載する RAM サイズを MB 単位で指定します。<q>Specifies the RAM size in MB.</q>
1275: <ul>
1276: <li>LUNA-I のデフォルトは 16MB です。
1.1.1.7 root 1277: 16MB 未満は 4MB 単位で、
1.1.1.17 root 1278: 16MB 以上は 512MB まで 1MB 単位で指定できます。
1279: ただし <tt>prom-image</tt> で実機イメージを指定した場合は 255MB が上限になります。
1280: ちなみに NetBSD/luna68k の起動には最低でも 8MB 必要です。
1.1.1.14 root 1281: <q>On LUNA-I, the default is 16MB.
1.1.1.7 root 1282: If the size is less than 16MB, you can specify in 4MB unit.
1.1.1.17 root 1283: If larger, you can specify up to 512MB in 1MB unit.
1284: However, if you have <tt>prom-image</tt> with the real image,
1285: the maximum is limited to 255MB.
1.1.1.14 root 1286: By the way, NetBSD/luna68k needs at least 8MB to boot.</q>
1287: <li>LUNA-88K のデフォルトは 64MB です。
1288: 64MB 未満は 16MB 単位で、
1.1.1.17 root 1289: 64MB 以上は暫定で 512MB まで 1MB 単位で指定できます。
1290: ただし <tt>prom-image</tt> で実機イメージを指定した場合は
1291: 240MB が上限になります。
1.1.1.14 root 1292: <q>On LUNA-88K, the default is 64MB.
1.1.1.7 root 1293: If the size is less than 64MB, you can specify in 16MB unit.
1.1.1.17 root 1294: If larger, you can specify up to tentative 512MB in 1MB unit.
1295: However, if you have <tt>prom-image</tt> with the real image,
1.1.1.21 root 1296: the maximum is limited to 240MB.</q>
1.1.1.15 root 1297: <li>X68030 ではメイン RAM 容量を示し、デフォルトは 12MB です。
1.1.1.14 root 1298: 4MB から 12MB まで 1MB 単位で指定できます。
1.1.1.16 root 1299: 拡張メモリについては extram-size を参照してください。
1.1.1.15 root 1300: <q>On X68030, the default is 12MB.
1301: You can specify it in 1MB unit from 4MB to 12MB.
1.1.1.16 root 1302: See extram-size for extended memory.</q>
1.1.1.15 root 1303: <li>NWS-1750 では現状 16MB で変更できません。
1304: <q>On NWS-1750, This is 16MB fixed for now.</q>
1.1.1.18 root 1305: <li>virt-m68k のデフォルトは 128MB です。
1.1.1.21 root 1306: 16MB から 4080MB まで指定可能です。
1.1.1.17 root 1307: 指定された値が 16MB で割り切れない場合は 16MB 単位に切り上げになります。
1.1.1.18 root 1308: <q>On virt-m68k, the default is 128MB and
1.1.1.17 root 1309: the range is 16MB to 4080MB.
1310: If the specified size is not divisible by 16MB,
1.1.1.18 root 1311: it will be rounded up to 16MB.</q>
1.1.1.14 root 1312: </ul></p></dd>
1.1.1.13 root 1313: <dt class=dt-indent><tt>rtc-epoch-year = <i>integer</i></tt></dt>
1.1.1.14 root 1314: <dd>(LUNA Only)
1315: RTC (MK48T02) の基準年を指定します。
1.1.1.13 root 1316: デフォルトは 1970年です。
1317: NetBSD/luna68k、OpenBSD/luna88k はいずれも基準年を 1970年としていますので、
1318: デフォルトのままで構いません。
1319: ゲスト OS に 4.4BSD を使用する際は 1900 を指定します。
1.1.1.15 root 1320: NEWS では今の所 1900 固定で変更出来ません。
1.1.1.14 root 1321: <q>Specifies the RTC (MK48T02) epoch year.
1.1.1.13 root 1322: The default is 1970.
1323: Since both NetBSD/luna68k and OpenBSD/luna88k use 1970 as epoch year,
1324: there is no need to touch this value.
1.1.1.15 root 1325: If you boot 4.4BSD on LUNA-I as the guest OS, specify 1900.
1326: On NEWS, it is fixed at 1900.</q></p></dd>
1.1.1.8 root 1327: <dt class=dt-indent><tt>show-statuspanel = <i>integer</i></tt></dt>
1328: <dd>ステータスパネルを表示するかどうかを指定します。
1329: 0 なら非表示、1 なら表示です。
1.1.1.15 root 1330: デフォルトは 1(表示) です。
1.1.1.8 root 1331: 起動後はメニューから変更可能です。
1332: <q>Specifies whether to display the status panel or not.
1333: If 0, it is hidden; if 1, it is shown.
1.1.1.15 root 1334: The default is 1 (show).
1.1.1.12 root 1335: You can change it on GUI menu after boot.</q></p></dd>
1.1.1.10 root 1336: <dt class=dt-indent><tt>spc0-id<i>N</i>-image = <i>devtype</i>[,<i>path</i>]</tt></dt>
1.1.1.15 root 1337: <dd>(LUNA and X68030 Only)
1.1.1.25! root 1338: SCSI デバイス種別と<a href="#diskimage">ディスクイメージ</a>を指定します。
! 1339: キーの <i>N</i> には 0 から 7 が入ります。
1.1.1.10 root 1340: ただし ID 7 は本体が使用しますので指定しないでください。
1341: 値はデバイス種別 <i>devtype</i> とディスクイメージパス <i>path</i>
1342: を "<tt>,</tt>"(カンマ) で区切って並べた形式です。
1343: デバイス種別 <i>devtype</i> は以下のいずれかです。
1.1.1.21 root 1344: <q>Specifies SCSI device and image. <i>N</i> in the key is 0 to 7.
1.1.1.2 root 1345: But don't specify ID 7 because the host uses it.
1346: The value is in a form of device type <i>devtype</i> and
1.1.1.10 root 1347: the disk image path <i>path</i> separated by "<tt>,</tt>"(comma).
1.1.1.12 root 1348: <i>devtype</i> can be one of the following:</q>
1.1.1.10 root 1349: <ul>
1350: <li><tt>hd</tt> … HD drive
1351: <li><tt>cd</tt> … CD-ROM drive
1352: <li><tt>mo</tt> … MO drive
1353: </ul>
1354:
1355: <p>
1356: <i>devtype</i> が <tt>hd</tt> なら <i>path</i> は省略できません。
1357: <i>devtype</i> が <tt>cd</tt> か <tt>mo</tt> なら <i>path</i> は省略可能です。
1358: イメージパスが相対パスなら VM ディレクトリからの相対パスになります。
1.1.1.21 root 1359: <q>If <i>devtype</i> is <tt>hd</tt>, <i>path</i> cannot be ommitted.
1.1.1.10 root 1360: If <i>devtype</i> is <tt>cd</tt> or <tt>mo</tt>, <i>path</i> can be ommitted.
1.1.1.12 root 1361: If the <i>path</i> is relative path, it is from the VM directory.</q>
1.1.1.2 root 1362:
1.1 root 1363: <p>
1.1.1.25! root 1364: 例えば、nono.cfg と同じディレクトリに置いた sd0.qcow2 を
1.1.1.10 root 1365: 起動 HDD ディスクイメージとして使い
1366: (LUNA では通常 ID 6 をプライマリ HDD に割り当てます)、
1367: ID 5 に同じディレクトリの install.iso をセットした CD ドライブを、
1368: ID 4 に起動時メディアなしの MO ドライブを接続する場合は次のようになります。
1.1.1.25! root 1369: <q>For example, if you use a harddisk image sd0.qcow2 placed in the same
1.1.1.10 root 1370: directory as nono.cfg
1371: (LUNA usually assigns ID 6 to the primary HDD),
1372: ID 5 for CD-ROM drive that loads install.iso in the same directory,
1373: and ID 4 for MO drive without media on boot,
1.1.1.2 root 1374: write as following:</q>
1.1 root 1375: <blockquote><pre>
1.1.1.25! root 1376: spc0-id6-image = hd,sd0.qcow2
1.1.1.10 root 1377: spc0-id5-image = cd,install.iso
1378: spc0-id4-image = mo
1.1 root 1379: </pre></blockquote></p></dd>
1.1.1.4 root 1380: <dt class=dt-indent><tt>spc0-id<i>N</i>-seektime = <i>integer</i></tt></dt>
1.1.1.15 root 1381: <dd>(LUNA and X68030 Only)
1382: 指定の SCSI HDD の平均シークタイムを msec 単位で指定します。
1.1.1.4 root 1383: 現在のデフォルトは <tt>0</tt> です (S・S・D!! S・S・D!!)。
1384: 16 程度を指定すると幾分往時に思いを馳せることが出来るかもしれませんが、
1385: 今の所あまり安定していません。
1386: <q>Specifies the average seek time of specified SCSI HDD in msec.
1387: Currently, the default value is <tt>0</tt>
1388: (This may be something like SSD :-).
1389: If you specify about 16 or so, you can feel nostalgic,
1.1.1.12 root 1390: but this feature is still unstable.</q></p></dd>
1.1.1.10 root 1391: <dt class=dt-indent><tt>spc0-id<i>N</i>-writeignore = <i>integer</i></tt></dt>
1.1.1.15 root 1392: <dd>(LUNA and X68030 Only)
1393: 指定の SCSI HD デバイスへの書き込みをイメージに書き戻すかどうか指定します。
1.1 root 1394: <tt>0</tt> なら通常動作(書き込みを行う)です。
1.1.1.15 root 1395: <tt>1</tt> ならディスクイメージに一切書き戻しません。
1396: デバイスへ書き込んだはずのデータは Copy-On-Write の要領で、
1397: VM ディレクトリ内の一時ファイルに書き込みます。
1398: この一時ファイルはアプリケーション終了時に削除します。
1.1 root 1399: fsck を気にせずカーネルのデバッグとかを行いたい場合にはどうぞ。
1400: 何が起きるか意味が分からない人は指定しないでください。
1.1.1.2 root 1401: デフォルトは <tt>0</tt> です。
1.1.1.15 root 1402: <q>Specifies whether nono writes a writing to SCSI HD devices back
1403: to the diskimage.
1404: <tt>0</tt> means normal operation (writes to the diskimage).
1405: <tt>1</tt> means that nono will not write to the diskimage back.
1406: Data that the guest wrote to the device will be written to a temporary file
1407: in the VM directory,
1408: like Copy-On-Write.
1409: The temporary file will be removed when the application exits.
1.1.1.2 root 1410: This is useful for kernel debugging because it does not require fsck
1.1.1.15 root 1411: after the kernel hangs or reboots.
1412: Don't use this flag if you don't understand this paragraph.
1.1.1.10 root 1413: The default value is <tt>0</tt>.</q>
1414: <p>
1415: ちなみに、メディアを書き込み禁止にしたい場合はこれではなく、
1416: イメージファイルの書き込み権を落としてください。
1417: <q>By the way, if you want to make the media write-protected,
1418: clear the write permission from the image file
1419: (instead of this setting).</q></p></dd>
1.1.1.15 root 1420: <dt class=dt-indent><tt>sram-sync-ramsize = <i>integer</i></tt></dt>
1421: <dd>(X68030 Only)
1.1.1.14 root 1422: SRAM の RAM 容量欄を実際の RAM サイズに合わせるかどうかを指定します。
1423: <tt>0</tt> なら何もしません (実機と同じ)。
1424: <tt>1</tt> なら、アプリケーション起動時に
1425: SRAM の $ed0008.L (RAM 容量) を ram-size の設定値で更新します。
1426: この更新は、
1427: アプリケーション起動時に SRAM マジックが正しく書かれている場合のみ行われます。
1428: デフォルトは <tt>1</tt> です。
1.1.1.15 root 1429: <q>Specifies whether to synchronize a RAM size field in SRAM
1.1.1.14 root 1430: with real RAM size or not.
1.1.1.25! root 1431: If set to <tt>0</tt>, the application will do nothing (as same as the real).
! 1432: If set to <tt>1</tt>, the application updates(synchronizes)
1.1.1.14 root 1433: $ed0008.L (RAM size) in SRAM with configuration value of ram-size.
1434: This update is performed once only if
1435: the SRAM magic string is correct at the application startup.
1.1.1.15 root 1436: The default is <tt>1</tt>.</q></p></dd>
1.1.1.18 root 1437: <dt class=dt-indent><tt>virtio-block<i>N</i>-image = <i>path</i></tt></dt>
1.1.1.21 root 1438: <dd>(virt-m68k Only)
1.1.1.25! root 1439: VirtIO ブロックデバイスの<a href="#diskimage">ディスクイメージ</a>を指定します。
1.1.1.21 root 1440: キーの <i>N</i> は現状 0 から 7 が指定可能です。
1.1.1.17 root 1441: イメージパスが相対パスなら VM ディレクトリからの相対パスになります。
1.1.1.21 root 1442: <q>Specifies VirtIO block device's image.
1443: <i>N</i> in the key is 0 through 7 for now.
1.1.1.18 root 1444: If the path is relative path, it is from the VM directory.</q></p></dd>
1445: <dt class=dt-indent><tt>virtio-block<i>N</i>-writeignore = <i>integer</i></tt></dt>
1.1.1.21 root 1446: <dd>(virt-m68k Only)
1447: 指定の VirtIO ブロックデバイスへの書き込みをイメージに書き戻すかどうか指定します。
1448: 詳細は <tt>spc0-id<i>N</i>-writeignore</tt> を参照してください。
1449: <q>Specifies whether nono writes a writing to VirtIO block devices back
1.1.1.17 root 1450: to the diskimage.
1.1.1.21 root 1451: See <tt>spc0-id<i>N</i>-writeignore</tt> for details.</q></p></dd>
1.1.1.25! root 1452: <dt class=dt-indent><tt><span class=new>virtio-entropy = <i>integer</i></span></tt></dt>
! 1453: <dd><span class="new">
! 1454: VirtIO エントロピーデバイスを無効にすることが出来ます。
! 1455: <tt>0</tt> なら無効、<tt>1</tt> なら有効です。デフォルトは <tt>1</tt> です。
! 1456: <q>You can disable VirtIO entropy device.
! 1457: <tt>0</tt> means disabled, <tt>1</tt> means enabled.
! 1458: The default is <tt>1</tt>.</q>
! 1459: </span></p></dd>
! 1460: <dt class=dt-indent><tt><span class=new>virtio-net = <i>integer</i></span></tt></dt>
! 1461: <dd><span class="new">
! 1462: VirtIO ネットワークデバイスを無効にすることが出来ます。
! 1463: <tt>0</tt> なら無効、<tt>1</tt> なら有効です。デフォルトは <tt>1</tt> です。
! 1464: <q>You can disable VirtIO network device.
! 1465: <tt>0</tt> means disabled, <tt>1</tt> means enabled.
! 1466: The default is <tt>1</tt>.</q>
! 1467: </span></p></dd>
! 1468: <dt class=dt-indent><tt><span class=new>virtio-scsi = <i>integer</i></span></tt></dt>
! 1469: <dd><span class="new">
! 1470: VirtIO SCSI デバイスを無効にすることが出来ます。
! 1471: <tt>0</tt> なら無効、<tt>1</tt> なら有効です。デフォルトは <tt>1</tt> です。
! 1472: <q>You can disable VirtIO SCSI device.
! 1473: <tt>0</tt> means disabled, <tt>1</tt> means enabled.
! 1474: The default is <tt>1</tt>.</q>
! 1475: </span></p></dd>
1.1.1.22 root 1476: <dt class=dt-indent><tt>virtio-scsi-id<i>N</i>-image = <i>devtype</i>[,<i>path</i>]</tt></dt>
1477: <dd>(virt-m68k Only)
1.1.1.25! root 1478: VirtIO SCSI デバイス種別と<a href="#diskimage">ディスクイメージ</a>を指定します。
1.1.1.21 root 1479: イニシエータ ID が不要なため、
1480: キーの <i>N</i> には 0 から 7 が指定できます。
1481: 詳細は <tt>spc0-id<i>N</i>-image</tt> を参照してください。
1482: <q>Specifies VirtIO SCSI device and image.
1483: You can specify all of 0 thorugh 7 for the key <i>N</i>,
1484: because there is no initiator.
1.1.1.22 root 1485: See <tt>spc0-id<i>N</i>-image</tt> for more details.</q></p></dd>
1486: <dt class=dt-indent><tt>virtio-scsi-id<i>N</i>-writeignore = <i>integer</i></tt></dt>
1487: <dd>(virt-m68k Only)
1.1.1.21 root 1488: 指定の VirtIO SCSI デバイスへの書き込みをイメージに書き戻すかどうか指定します。
1489: 詳細は <tt>spc0-id<i>N</i>-writeignore</tt> を参照してください。
1490: <q>Specifies whether nono writes a writing to VirtIO SCSI devices back
1491: to the diskimage.
1.1.1.22 root 1492: See <tt>spc0-id<i>N</i>-writeignore</tt> for details.</q></p></dd>
1.1.1.17 root 1493: <dt class=dt-indent><tt>windrv-path = <i>path</i></tt></dt>
1494: <dd>(X68030 Only)
1495: Windrv でゲスト側に見せるホストディレクトリを指定します。
1496: 今の所指定できるディレクトリは1つだけです。
1497: 空なら Windrv デバイスが存在しないように振る舞います。
1498: デフォルトは空です。</p></dd>
1499: <dt class=dt-indent><tt>x68k-cut-fc2 = <i>integer</i></tt></dt>
1500: <dd>(X68030 Only)
1501: MPU (68030) の FC2 ピンを切断するかどうかを指定します。
1502: <tt>0</tt> なら切断しません (標準の状態)。
1503: <tt>1</tt> なら切断します。
1504: デフォルトは <tt>1</tt> です。
1505: NetBSD/x68k で X サーバを起動する場合のみ <tt>1</tt> にする必要があります。
1506: <q>Specifies whether to cut MPU(68030) FC2 pin.
1.1.1.25! root 1507: If set to <tt>0</tt>, no modification is applied
! 1508: (the original FC2 pin is kept).
! 1509: If set to <tt>1</tt>, the FC2 pin is cut.
1.1.1.17 root 1510: The default is <tt>1</tt>.
1511: Only if you run the X server on NetBSD/x68k, it needs to be <tt>1</tt>.</q></p></dd>
1.1.1.20 root 1512: <dt class=dt-indent><tt>xp-clock = <i>value</i></tt></dt>
1513: <dd>(LUNA Only)
1.1.1.19 root 1514: XP プロセッサのクロック数を MHz 単位で指定します。
1.1.1.25! root 1515: デフォルトは 6.144 [MHz] です。
! 1516: <q>Specifies the XP processor's clock in MHz.
! 1517: The default value is 6.144 MHz.</q></p></dd>
1.1 root 1518: </dl>
1519: </div>
1.1.1.15 root 1520: </details>
1.1 root 1521:
1522:
1.1.1.8 root 1523: <a name="aboutvm"></a>
1.1.1.15 root 1524: <details open style="padding-top: 1em">
1525: <summary><span class=h4>4. VM について <q>About VM</q></span></summary>
1526: <a name=""></a>
1527: <details open style="padding-top: 1em">
1528: <summary><span class=h5>4.1. 実装状況 <q>Implementation Status</q></span></summary><div class="main">
1.1.1.14 root 1529: <table cellpadding=0 cellspacing=0>
1530: <tr><td style="padding-right: 1em">◎ <td>: ほぼ実装済み <q>Mostly implemented</q>
1531: <tr><td>○ <td>: 困らない程度には実装済み <q>Works</q>
1532: <tr><td>△ <td>: とりあえず動いてる程度 <q>Works somehow</q>
1533: <tr><td>× <td>: 未実装 <q>Not implemented</q>
1534: <tr><td>— <td>: 実装予定なし <q>Not planned</q>
1535: </table>
1536: <style type="text/css">
1537: .pghd {
1538: border: 0px none;
1539: border-bottom: 1px solid black;
1540: padding-top: 1em;
1541: }
1542: .pgth {
1543: border-top: 0px none;
1544: border-left: 1px solid black;
1545: border-right: 1px solid black;
1546: border-bottom: 1px solid black;
1547: padding-right: 1ex;
1548: }
1549: .pgtd {
1550: border-top: 0px none;
1551: border-left: 0px none;
1552: border-right: 1px solid black;
1553: border-bottom: 1px solid black;
1554: }
1555: </style>
1556: <table cellspacing=0 cellpadding=0>
1557: <tr><td colspan=3 class=pghd>LUNA-I
1558: <tr><td class=pgth>MPU (68030)
1.1.1.19 root 1559: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1560: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.14 root 1561: <tr><td class=pgth>FPU (68881)
1562: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1563: <td class=pgtd style='padding-left: 0.5ex'>
1564: <tr><td class=pgth>BT454
1565: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1566: <td class=pgtd style='padding-left: 0.5ex'>
1567: <tr><td class=pgth>CRTC2
1568: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1569: <td class=pgtd style='padding-left: 0.5ex'>標準で使用する値のみサポート
1570: <tr><td class=pgth>Frame buffer
1571: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1572: <td class=pgtd style='padding-left: 0.5ex'>
1573: <tr><td class=pgth>Keyboard/Mouse
1574: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1575: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.15 root 1576: <tr><td class=pgth>SIO (uPD7201)
1.1.1.14 root 1577: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1578: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.15 root 1579: <tr><td class=pgth>PIO (8255)
1.1.1.14 root 1580: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1581: <td class=pgtd style='padding-left: 0.5ex'>
1582: <tr><td class=pgth>Ethernet (AM7990)
1583: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1.1.1.17 root 1584: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.14 root 1585: <tr><td class=pgth>NVRAM&RTC (MK48T02)
1586: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1587: <td class=pgtd style='padding-left: 0.5ex'>
1588: <tr><td class=pgth>Front LCD
1589: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1590: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.15 root 1591: <tr><td class=pgth>SPC (MB89352)
1.1.1.14 root 1592: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1593: <td class=pgtd style='padding-left: 0.5ex'>
1594: <tr><td class=pgth>SCSI HD/CD/MO Devices
1595: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1596: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.16 root 1597: <tr><td class=pgth>XP(HD647180) CPU
1598: <td class=pgtd style='padding: 0 1ex 0 1ex'>△
1.1.1.15 root 1599: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.16 root 1600: <tr><td class=pgth>XP(HD647180) Timer0/1
1601: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1.1.1.15 root 1602: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.23 root 1603: <tr><td class=pgth>XP(HD647180) ASCI
1604: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1.1.1.22 root 1605: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.16 root 1606: <tr><td class=pgth>XP(HD647180) その他の内蔵デバイス<br><q>Other internal devices</q>
1607: <td class=pgtd style='padding: 0 1ex 0 1ex'>×
1.1.1.15 root 1608: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.16 root 1609: <tr><td class=pgth>XP 周辺デバイス <q>Peripheral devices</q>
1610: <td class=pgtd style='padding: 0 1ex 0 1ex'>×
1.1.1.14 root 1611: <td class=pgtd style='padding-left: 0.5ex'>
1612: <tr><td class=pgth>電源 <q>Power Circuit</q>
1613: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1614: <td class=pgtd style='padding-left: 0.5ex'>
1615: <tr><td colspan=3 class=pghd>LUNA-88K specific
1616: <tr><td class=pgth>MPU (88100 part)
1617: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1618: <td class=pgtd style='padding-left: 0.5ex'>マルチプロセッサ未実装、バグも未実装? <wbr><q>MP (and bugs?) not implemented</q>
1619: <tr><td class=pgth>MPU (88200 part)
1620: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1621: <td class=pgtd style='padding-left: 0.5ex'>
1622: <tr><td class=pgth>MPU (88110)
1623: <td class=pgtd style='padding: 0 1ex 0 1ex'>—
1624: <td class=pgtd style='padding-left: 0.5ex'>実装予定なし <q>Not planned</q>
1625: <tr><td class=pgth>FUSEROM
1626: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1627: <td class=pgtd style='padding-left: 0.5ex'>
1628: <tr><td colspan=3 class=pghd>X68030
1629: <tr><td class=pgth>MPU (68030)
1.1.1.19 root 1630: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1631: <td class=pgtd style='padding-left: 0.5ex'>68EC030 は実装予定なし <q>68EC030 is not planned</q>
1.1.1.14 root 1632: <tr><td class=pgth>FPU (68881)
1633: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1634: <td class=pgtd style='padding-left: 0.5ex'>68882 は未実装 <q>68882 not implemented</q>
1.1.1.20 root 1635: <tr><td class=pgth>MPU (68040)
1636: <td class=pgtd style='padding: 0 1ex 0 1ex'>△
1637: <td class=pgtd style='padding-left: 0.5ex'>キャッシュ未実装、実行サイクル未考察
1.1.1.14 root 1638: <tr><td class=pgth>DMAC
1.1.1.17 root 1639: <td class=pgtd style='padding: 0 1ex 0 1ex'>△
1.1.1.14 root 1640: <td class=pgtd style='padding-left: 0.5ex'>
1641: <tr><td class=pgth>CRTC/VC
1642: <td class=pgtd style='padding: 0 1ex 0 1ex'>△
1.1.1.23 root 1643: <td class=pgtd style='padding-left: 0.5ex'>768x512 画面モードのみサポート <wbr><q>Only 768x512 screen mode is supported</q>
1.1.1.14 root 1644: <tr><td class=pgth>FDC/FDD
1645: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1646: <td class=pgtd style='padding-left: 0.5ex'>
1647: <tr><td class=pgth>標準・拡張エリアセット <q>Areaset</q>
1.1.1.17 root 1648: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1.1.1.14 root 1649: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.25! root 1650: <tr><td class=pgth>ADPCM
! 1651: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
! 1652: <td class=pgtd style='padding-left: 0.5ex'>フィルタ未実装、録音は実装予定なし <q>Filter is not implemented. Recording is not planned</q>
1.1.1.24 root 1653: <tr><td class=pgth>OPM
1.1.1.14 root 1654: <td class=pgtd style='padding: 0 1ex 0 1ex'>×
1655: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.17 root 1656: <tr><td class=pgth>テキスト画面<q>Text screen</q>
1657: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1658: <td class=pgtd style='padding-left: 0.5ex'>
1659: <tr><td class=pgth>コントラスト <wbr><q>Contrast</q>
1660: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1661: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.14 root 1662: <tr><td class=pgth>グラフィック機能全般 <wbr><q>All other graphics</q>
1.1.1.24 root 1663: <td class=pgtd style='padding: 0 1ex 0 1ex'>△
1664: <td class=pgtd style='padding-left: 0.5ex'>グラフィック画面(1024x1024 モード)、<wbr>画面間プライオリティ(合成を除く)、<wbr>個別画面オンオフのみ実装。これ以外は当面予定なし。
1.1.1.14 root 1665: <tr><td class=pgth>Keyboard
1666: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1667: <td class=pgtd style='padding-left: 0.5ex'>TVコントロールを除く <q>Except TV Control</q>
1668: <tr><td class=pgth>Mouse
1669: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1670: <td class=pgtd style='padding-left: 0.5ex'>本体接続のみ
1671: <tr><td class=pgth>MFP
1672: <td class=pgtd style='padding: 0 1ex 0 1ex'>△
1673: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.15 root 1674: <tr><td class=pgth>PPI (8255)
1.1.1.14 root 1675: <td class=pgtd style='padding: 0 1ex 0 1ex'>△
1676: <td class=pgtd style='padding-left: 0.5ex'>
1677: <tr><td class=pgth>Printer
1678: <td class=pgtd style='padding: 0 1ex 0 1ex'>×
1679: <td class=pgtd style='padding-left: 0.5ex'>
1680: <tr><td class=pgth>RTC
1681: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1682: <td class=pgtd style='padding-left: 0.5ex'>アラームを除く <q>Except Alarm</q>
1.1.1.15 root 1683: <tr><td class=pgth>SPC (MB89352)
1.1.1.14 root 1684: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1685: <td class=pgtd style='padding-left: 0.5ex'>
1686: <tr><td class=pgth>SCSI HD/CD/MO Devices
1687: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1688: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.15 root 1689: <tr><td class=pgth>SCC (Z8530)
1.1.1.14 root 1690: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1691: <td class=pgtd style='padding-left: 0.5ex'>
1692: <tr><td class=pgth>SRAM
1693: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1694: <td class=pgtd style='padding-left: 0.5ex'>
1695: <tr><td class=pgth>システムポート<q>System port</q>
1696: <td class=pgtd style='padding: 0 1ex 0 1ex'>△
1697: <td class=pgtd style='padding-left: 0.5ex'>
1698: <tr><td class=pgth>電源 <q>Power curcuit</q>
1699: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1700: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.17 root 1701: <tr><td class=pgth>Nereid Ethernet
1702: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1703: <td class=pgtd style='padding-left: 0.5ex'>
1704: <tr><td class=pgth>Nereid Bank memory
1705: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1.1.1.14 root 1706: <td class=pgtd style='padding-left: 0.5ex'>
1707: <tr><td class=pgth>Nereid USB
1708: <td class=pgtd style='padding: 0 1ex 0 1ex'>—
1709: <td class=pgtd style='padding-left: 0.5ex'>実装予定なし <q>Not planned</q>
1.1.1.16 root 1710: <tr><td class=pgth>拡張メモリ <q>Extended memory</q>
1711: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1.1.1.15 root 1712: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.17 root 1713: <tr><td class=pgth>Windrv
1714: <td class=pgtd style='padding: 0 1ex 0 1ex'>△
1715: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.15 root 1716: <tr><td colspan=3 class=pghd>NWS-1750
1717: <tr><td class=pgth>MPU (68030)
1.1.1.19 root 1718: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1719: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.15 root 1720: <tr><td class=pgth>FPU (68881)
1721: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1722: <td class=pgtd style='padding-left: 0.5ex'>68882 は未実装 <q>68882 not implemented</q>
1723: <tr><td class=pgth>PROM
1724: <td class=pgtd style='padding: 0 1ex 0 1ex'>×
1725: <td class=pgtd style='padding-left: 0.5ex'>
1726: <tr><td class=pgth>SCC (Z8530)
1727: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1728: <td class=pgtd style='padding-left: 0.5ex'>チャンネル A のみホストに接続 <wbr><q>Only channel A is connected to the host</q>
1729: <tr><td class=pgth>Ethernet (AM7990)
1730: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1.1.1.17 root 1731: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.15 root 1732: <tr><td class=pgth>NVRAM&RTC (MK48T02)
1733: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1734: <td class=pgtd style='padding-left: 0.5ex'>
1735: <tr><td class=pgth>Video Board
1736: <td class=pgtd style='padding: 0 1ex 0 1ex'>×
1737: <td class=pgtd style='padding-left: 0.5ex'>
1738: <tr><td class=pgth>Keyboard/Mouse
1739: <td class=pgtd style='padding: 0 1ex 0 1ex'>×
1740: <td class=pgtd style='padding-left: 0.5ex'>
1741: <tr><td class=pgth>SCSI Controller
1742: <td class=pgtd style='padding: 0 1ex 0 1ex'>×
1743: <td class=pgtd style='padding-left: 0.5ex'>
1744: <tr><td class=pgth>IDROM, DIP-SW, 100Hz Timer, 診断用LED
1745: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1746: <td class=pgtd style='padding-left: 0.5ex'>
1747: <tr><td class=pgth>AST, Lv2Intr
1748: <td class=pgtd style='padding: 0 1ex 0 1ex'>×
1749: <td class=pgtd style='padding-left: 0.5ex'>
1750: <tr><td class=pgth>電源 <q>Power Circuit</q>
1.1.1.14 root 1751: <td class=pgtd style='padding: 0 1ex 0 1ex'>×
1752: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.18 root 1753: <tr><td colspan=3 class=pghd>virt-m68k
1.1.1.17 root 1754: <tr><td class=pgth>MPU (68030)
1.1.1.19 root 1755: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1756: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.17 root 1757: <tr><td class=pgth>FPU (68881)
1758: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1759: <td class=pgtd style='padding-left: 0.5ex'>68882 は未実装 <q>68882 not implemented</q>
1.1.1.20 root 1760: <tr><td class=pgth>MPU (68040)
1761: <td class=pgtd style='padding: 0 1ex 0 1ex'>△
1762: <td class=pgtd style='padding-left: 0.5ex'>キャッシュ未実装、実行サイクル未考察
1.1.1.18 root 1763: <tr><td class=pgth>Goldfish PIC
1764: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1.1.1.17 root 1765: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.18 root 1766: <tr><td class=pgth>Goldfish RTC
1767: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1768: <td class=pgtd style='padding-left: 0.5ex'>
1769: <tr><td class=pgth>Goldfish Timer
1770: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1.1.1.17 root 1771: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.18 root 1772: <tr><td class=pgth>Goldfish TTY
1773: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1.1.1.17 root 1774: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.21 root 1775: <tr><td class=pgth>VirtIO Block
1.1.1.18 root 1776: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1.1.1.17 root 1777: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.21 root 1778: <tr><td class=pgth>VirtIO Network
1.1.1.18 root 1779: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1.1.1.17 root 1780: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.21 root 1781: <tr><td class=pgth>VirtIO Entropy
1.1.1.18 root 1782: <td class=pgtd style='padding: 0 1ex 0 1ex'>◎
1.1.1.17 root 1783: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.22 root 1784: <tr><td class=pgth>VirtIO SCSI
1785: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1.1.1.21 root 1786: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.18 root 1787: <tr><td class=pgth>Power Control
1788: <td class=pgtd style='padding: 0 1ex 0 1ex'>○
1.1.1.17 root 1789: <td class=pgtd style='padding-left: 0.5ex'>
1.1.1.14 root 1790: </table>
1791: </div>
1.1.1.15 root 1792: </details>
1.1.1.14 root 1793:
1.1.1.15 root 1794: <a name=""></a>
1795: <details open style="padding-top: 1em">
1796: <summary><span class=h5>4.2. MPU (68030)</span></summary><div class="main">
1.1.1.25! root 1797: MMU、キャッシュあたりはほぼ実装していると思います。
! 1798: 命令の実行サイクルについてはある程度似せているつもりですが、
! 1799: 68000 のようにサイクル数を正確に数えるのは困難です。
1.1.1.14 root 1800: </div>
1.1.1.15 root 1801: </details>
1.1.1.14 root 1802:
1.1.1.15 root 1803: <a name=""></a>
1804: <details open style="padding-top: 1em">
1.1.1.20 root 1805: <summary><span class=h5>4.3. MPU (68040)</span></summary><div class="main">
1.1.1.19 root 1806: いくつか未実装の命令があります。
1807: キャッシュは未実装で、
1808: それに伴いキャッシュ制御を行う新設命令 CINV*, CPUSH* も未実装です。
1.1.1.20 root 1809: MMU、ATC はまだ怪しいです。
1.1.1.19 root 1810: FPU はある程度動作すると思いますが
1811: 例外を起こす細かい条件は未検証のため、
1812: 本来は例外が起きてソフトウェア (FPSP) で処理するはずのものが
1813: 68881 相当のハードウェアエミュレーションで実行出来てしまうという
1814: 通常あまり困らないタイプの問題は存分にあります。
1815: <br>
1.1.1.21 root 1816: 命令の実行サイクルについてはある程度似せているつもりですが、
1.1.1.19 root 1817: そもそも 68040 はパイプライン方式なので 68000 時代のようにサイクル数を
1.1.1.22 root 1818: 正確にエミュレーションすることはおそらく不可能です。
1.1.1.19 root 1819: <br>
1.1.1.21 root 1820: 68040 は X68030 と virt-m68k でのみ選択可能です。
1.1.1.19 root 1821: NEWS に 68040 搭載モデルはなさそうなのと、
1822: LUNA では 68040 搭載モデルは LUNA-I ではなく LUNA-II になるからです。
1.1.1.20 root 1823: </div>
1.1.1.19 root 1824: </details>
1825:
1826: <a name=""></a>
1827: <details open style="padding-top: 1em">
1828: <summary><span class=h5>4.4. LUNA の ROM エミュレーション</span></summary><div class="main">
1.1.1.14 root 1829: LUNA-I、LUNA-88K で PROM の外部イメージを指定しない場合
1830: (<tt>prom-image</tt> が空の場合)、
1831: 内蔵の独自 ROM が動作し、コンソールモニタが起動します。
1832: このコンソールモニタの動作は実機のそれとよく似ていますが、
1833: これは実機確認の際に操作方法が違いすぎると(自分が)困るため仕方なく似せているもので、
1834: 忠実なコピーを作る目的ではありません。
1835: </div>
1.1.1.15 root 1836: </details>
1.1.1.14 root 1837:
1.1.1.15 root 1838: <a name=""></a>
1839: <details open style="padding-top: 1em">
1.1.1.19 root 1840: <summary><span class=h5>4.5. X68030 の ROM (ROM30) エミュレーション</span></summary><div class="main">
1.1.1.14 root 1841: X68030 で ROM30 の外部イメージを指定しない場合
1842: (<tt>iplrom2-image</tt> が空の場合)、内蔵の独自 ROM が組み込まれます。
1843: 本来の ROM30 には SCSIIOCS の他に ROM デバッガなどが含まれていますが、
1844: 内蔵 ROM はこのうち SCSIIOCS を NetBSD/x68k が起動するのに十分なだけしか
1845: 実装していません。
1846: Human68k を起動する場合はお手元の実機から ROM イメージを作成してください。
1847: </div>
1.1.1.15 root 1848: </details>
1.1.1.14 root 1849:
1.1.1.17 root 1850: <a name=""></a>
1851: <details open style="padding-top: 1em">
1.1.1.23 root 1852: <summary><span class=h5>4.6. X68030 のグラフィック画面</span></summary><div class="main">
1853: X68030 のグラフィック画面を一部実装しています。
1854: これにより NetBSD/x68k の標準設定の X サーバは起動します。
1855: グラフィック画面として実装しているのは 1024x1024 (16色) モードのみです。
1856: ビデオコントローラは、画面間プライオリティと画面オンオフを実装しており、
1857: テキスト画面とグラフィック画面の優先度を変更することは出来ます。
1858: ただし合成や半透明合成は未実装ですので実質切り替えられるだけです。
1859: スクロール等 CRTC の機能も未実装です。
1860: </div>
1861: </details>
1862:
1863: <a name=""></a>
1864: <details open style="padding-top: 1em">
1865: <summary><span class=h5>4.7. NEWS エミュレーション</span></summary><div class="main">
1.1.1.17 root 1866: NEWS エミュレーションは今の所
1867: <tt>-X</tt> オプションでカーネルを直接起動することしか出来ません。
1868: PROM も NetBSD/news68k
1869: の起動と終了に最低限必要な程度が誤魔化してあるだけです。
1870: また、デバイスの配置や、デバイスが存在しないアドレスへのアクセスが
1871: どうなるかなどは実機確認をしていないため分かりません。
1872: 従って、動くものは動く、程度のものでしかありません。
1873: というかネタです。
1874: </div>
1875: </details>
1876:
1877: <a name=""></a>
1878: <details open style="padding-top: 1em">
1.1.1.23 root 1879: <summary><span class=h5>4.8. virt-m68k エミュレーション</span></summary><div class="main">
1.1.1.17 root 1880: QEMU の "virt" (架空ハードウェア仕様)の互換機wをサポートしています。
1881: NetBSD/virt68k が動作します。
1882: <tt>-X</tt> オプション (または設定の <tt>exec-file</tt>)
1.1.1.19 root 1883: でカーネルを、
1.1.1.20 root 1884: 設定の <tt>exec-bootparam</tt> でルートデバイスを
1885: それぞれ指定してください。
1.1.1.17 root 1886: インストール時には <tt>--initrd</tt> (または設定の <tt>exec-initrd</tt>)
1887: で RAM ディスクイメージも指定します。
1888: <q>Supports QEMU "virt" virtual hardware's compatible machine and
1889: it can run NetBSD/virt68k.
1890: You need to specify the kernel by <tt>-X</tt> option
1891: (or <tt>exec-file</tt> in configuration).
1892: If you want to install, you also need to specify the ramdisk image by
1.1.1.19 root 1893: <tt>--initrd</tt> option (or <tt>exec-initrd</tt> in configuration).</q>
1894: </div>
1895: </details>
1896:
1.1.1.25! root 1897: <a name=""></a>
1.1.1.19 root 1898: <details open style="padding-top: 1em">
1.1.1.23 root 1899: <summary><span class=h5>4.9. シリアルコンソールの端末エミュレーション</span></summary><div class="main">
1.1.1.19 root 1900: virt-m68k (や NEWS) のようにシリアルコンソールしか持たない機種のために、
1901: メイン画面でシリアルコンソールの端末エミュレーションを実装してあります。
1.1.1.25! root 1902: <tt>hostcom-driver = console</tt> とすることで nono のメイン画面に
1.1.1.19 root 1903: シリアルコンソールの内容が表示されます。
1.1.1.25! root 1904: <span class="new">
! 1905: 概ね VT220 互換です。
! 1906: ただし倍角文字、背景色切り替え、タブ設定等サポートしてないものもあります。
! 1907: VT220 互換のためカラーはサポートしていません。
! 1908: 132 桁モードをサポートしました。
! 1909: ブリンクをサポートしました。
! 1910: VT220 にはないイタリックはサポートしています。
! 1911: </span>
1.1.1.19 root 1912: バックログはありませんので、バックログが必要なら
1913: <tt>stdio</tt> 等を使ってください。
1.1.1.17 root 1914: </div>
1915: </details>
1916:
1.1.1.25! root 1917: <a name="diskimage"></a>
! 1918: <details open style="padding-top: 1em">
! 1919: <summary><span class=h5>4.10. <span class=new>ディスクイメージ <q>Disk image</q></span></span></summary><div class="main">
! 1920: <span class="new">
! 1921: HD, CD, MO, FD 等のディスクイメージは QCOW2 形式と生イメージをサポート
! 1922: しています。
! 1923: QCOW2 形式かどうかはヘッダのマジックで自動判別しますが、
! 1924: 判別できないものはすべて生イメージとして扱います。
! 1925: <q>QCOW2 and raw format are supported for the disk images for
! 1926: HD, CD, MO and FDs.</q>
! 1927: </span>
! 1928: <p>
! 1929: <span class="new">
! 1930: QCOW2 形式のうち、外部バッキングファイル (CoW) を持つもの、
! 1931: zstd 圧縮されたもの、
! 1932: 暗号化されているもの
! 1933: は未対応です。
! 1934: また refcount が 16 ビットでないものも未対応ですが通常遭遇しないはず。
! 1935: イメージがスナップショットを持っている場合、
! 1936: スナップショットに関与せず最新の状態だけを読み書きします。
! 1937: イメージが zlib 圧縮されているものについては読み込み専用でのみ対応しています。
! 1938: 書き込みは技術的には可能ですが仕組みを考えると嬉しくないので対応しません。
! 1939: </span>
! 1940: </div>
! 1941: </details>
! 1942:
1.1.1.22 root 1943: <a name=""></a>
1944: <details open style="padding-top: 1em">
1.1.1.25! root 1945: <summary><span class=h5>4.11. usermode ネットワーク</span></summary><div class="main">
1.1.1.22 root 1946: usermode ネットワークでは nono 自身が
1947: NAT ルータ、DHCP サーバ、DNS サーバの機能を持ちます。
1948: ルータと DHCP サーバのアドレスはネットワークアドレス +1 (デフォルトでは 10.8.0.1)、
1949: DNS サーバのアドレスはネットワークアドレス +2 (デフォルトでは 10.8.0.2) です。
1950: IPv6 ルータのアドレスはネットワークアドレス +1 (デフォルトでは fd08::1)、
1951: DNS サーバのアドレスはネットワークアドレス +2 (デフォルトでは fd08::2) です。
1952: </div>
1953: </details>
1954:
1.1.1.16 root 1955: <a name="nereid"></a>
1956: <details open style="padding-top: 1em">
1.1.1.25! root 1957: <summary><span class=h5>4.12. X68030 の Nereid エミュレーション <q>Nereid emulation on X68030</q></span></summary><div class="main">
1.1.1.16 root 1958: 現実の Nereid はイーサネット/メモリ/USB の複合拡張ボードで、
1959: このうちメモリは、メインメモリの増設に使える他、
1960: メインメモリとして使わなかった領域をバンクメモリとして使うことも出来ます。
1961: nono ではこの Nereid の機能のうちイーサネット (RTL8019AS)
1962: とバンクメモリのみサポートします。
1963: メインメモリの増設機能はエミュレータでは意味がないので実装しません。また
1964: USB (SL811HS/T) の実装予定はありません。
1965: <q>Nereid in the real world is a combined Ethernet/memory/USB expansion board.
1966: Of these, the memory can be used to expand main memory,
1967: and areas not used for the main memory can be used as bank memory.
1968: nono supports only ethernet (RTL8019AS) and bank memory among
1969: the functions of the Nereid expansion board.
1970: Main memory expansion is not supported because it's meaningless on emulators.
1971: Also, USB (SL811HS/T) is not planned for implementation.</q>
1972: <br><br>
1973: Nereid は DIPSW6,7 によりアドレス・割り込みベクタの組を2通り指定できるため、
1974: 2枚まで同時に運用することが出来ます。
1975: 本来 SW6 と SW7 は (衝突さえしなければ) 任意に組み合わせることが可能ですが、
1976: nono では簡便のためボード #0 は SW6,7 が OFF、
1977: ボード #1 は SW6,7 が ON と固定しています。
1978: <q>Since Nereid can set to two different combinations of addresses and
1979: interrupt vectors by DIPSW,
1980: so up to two boards can be operated at the same time.
1981: Originally, SW6 and SW7 can be arbitrarily combined
1982: (as long as they don't collide), in nono however, for simpility,
1983: SW6 and SW7 are fixed to be OFF on board #0, and
1984: SW6 and SW7 are fixed to be ON on board #1.</q>
1985: <blockquote>
1.1.1.17 root 1986: <table border=1 rules=all>
1.1.1.16 root 1987: <tr><th><th>#0 (<tt>nereid0-*</tt>)<th>#1 (<tt>nereid1-*</tt>)
1988: <tr><td align=center>ベースアドレス・割り込みベクタ<br><q>Base address and interrupt vectors</q>
1989: <td>$ece300,$f9,$fb<br>(SW7=OFF)
1990: <td>$eceb00,$f8,$fa<br>(SW7=ON)
1991: <tr><td align=center>バンクメモリウィンドウ<br><q>Bank memory window</q>
1992: <td>$ee0000<br>(SW6=OFF)
1993: <td>$ef0000<br>(SW6=ON)
1994: </table>
1995: </blockquote>
1996: バンクメモリは、メインメモリとして使わなかった領域を使用します。
1997: そのため実機でもバンクメモリの容量は DIPSW のメインメモリ割り当て設定
1998: (SW1-5) に依存します。
1999: nono に関係する結論だけでいうと、
2000: メインメモリへの割り当てを一切行わない場合はバンクメモリは 16MB 確保でき、
2001: メインメモリへの割り当てをいくらかでも行うとバンクメモリは 4MB となります。
2002: 設定の <tt>nereid<i>N</i>-ram-size</tt> はこの部分を指定していることになります。
2003: またこの容量とは独立に SW8 でバンクメモリの有効・無効を指定できますので、
2004: <tt>nereid<i>N</i>-ram-size</tt> が 0 (以下) というのは SW8
2005: でバンクメモリを無効にしたことに相当します。
2006: <q>Bank memory uses memory areas not used as the main memory.
2007: So the bank memory size depends on the main memory settings (SW1-5).
2008: As a result,
2009: only if you don't allocate any memories to main memory,
2010: the bank memory can be allocated 16MB.
2011: Otherwise, the bank memory will be allocated 4MB.
2012: Thus, <tt>nereid<i>N</i>-ram-size</tt> specifies this value.
2013: Also, SW8 specifies enable/disable of the bank memory regardless of the size,
2014: <tt>nereid<i>N</i>-ram-size = 0</tt> (or less) means disabling the bank memory.</q>
1.1.1.17 root 2015: </div>
1.1.1.16 root 2016: </details>
2017:
1.1.1.21 root 2018: <a name="netbsd-x68k-timesync"></a>
2019: <details open style="padding-top: 1em">
1.1.1.25! root 2020: <summary><span class=h5>4.13. NetBSD/x68k での時間同期<q>Time Synchronization on NetBSD/x68k</q></span></summary><div class="main">
1.1.1.21 root 2021: X68030 でゲスト OS に NetBSD/x68k を使う場合、
2022: nono と NetBSD/x68k を次の通りに設定すれば
2023: nono をフルスピード動作にしてもゲスト OS の時間がずれなくなります。
2024: まず nono の設定ファイルに以下を追加します。
2025: <blockquote><pre class=file>
2026: clock-sync = real
2027: </pre></blockquote>
2028: ゲストの NetBSD/x68k を起動し、
2029: <tt>/etc/sysctl.conf</tt> に以下の1行を追加します。
2030: <blockquote><pre class=file>
2031: kern.timecounter.hardware=clockinterrupt
2032: </pre></blockquote>
2033: さらに <tt>/etc/rc.conf</tt> に
2034: <blockquote><pre class=file>
2035: ntpdate=YES
2036: ntpdate_hosts=ntp.nict.jp
2037: </pre></blockquote>
2038: などと設定します (NTP サーバはお好みで)。
2039: sysctl の設定によって、ゲスト OS の時計は「この設定が有効になった時点から」
2040: 実時間間隔を刻めますが、
2041: 電源オンからここまでにずれた分が解決できるわけではありませんので、
2042: 必然的に時計を合わせる必要もあるためです。
2043: これで再起動すると次回からはフルスピードでも実時間を刻めます。
2044: (再起動せずに有効にしたい場合はこの設定の後 root ユーザで
2045: <blockquote><pre class=cons>
2046: /etc/rc.d/sysctl start
2047: /etc/rc.d/ntpdate start
2048: </pre></blockquote>
2049: を実行してください)
1.1.1.20 root 2050: </div>
2051: </details>
2052:
2053: <a name=""></a>
2054: <details open style="padding-top: 1em">
1.1.1.25! root 2055: <summary><span class=h5>4.14. Windrv</span></summary><div class="main">
1.1.1.18 root 2056: X68030 で Windrv を一応サポートしています。
1.1.1.17 root 2057: Human68k からホストのファイルシステムをアクセスする機構です。
1.1.1.18 root 2058: 従来の Windrv とはホスト OS の前提が異なるため、
2059: 既存実装からの移植ではありませんし、
1.1.1.17 root 2060: そもそも Human68k とホスト(UNIX)ファイルシステムの差異による制約も多くあります。
2061: これらを把握してから使用してください。
2062: <ul>
2063: <li>ファイル名は21文字すべて認識します。
2064: 22文字以上(というか 18.3 形式以外)のファイル名はゲストからは見えません。
2065: <li>ファイル名中の ASCII 以外の文字には現状対応していません。
2066: これらの文字を含むファイルはゲストからは見えません。
2067: <li>マルチピリオドには対応していません。
2068: このようなファイルはゲストからは見えません。
2069: <li>大文字小文字は区別しません。
2070: 大文字小文字だけが違う同名のファイル (例えば a.BAK と a.bak) があると、
2071: 検索(FILES/NFILES) には現れません。
2072: この状況で a.Bak (大文字小文字を区別していれば違うファイル)
1.1.1.20 root 2073: を新規作成しようとすると (大文字小文字を区別しないゲスト OS からは
2074: a.Bak というエントリは存在しないように見えるにも関わらず)
2075: 作成できなくしてあります。
1.1.1.17 root 2076: <li>ファイルサイズが 2GB 以上のファイルはゲストからは見えません。
2077: <li>Human68k 側の属性は A(アーカイブ)/D(ディレクトリ)/R(読み込み専用)
2078: のみ対応しています。
2079: S(システム)/H(隠しファイル)属性は保存されません。
2080: <li>ホストのシンボリックリンクは、リンク先の
2081: ファイルもしくはディレクトリとして見えます。
2082: またリンク先が Windrv のルートパスの外側を指していても構いません。
2083: <li>ファイルのロックには対応していません。
2084: <li>WindrvXM.sys による拡張動作には対応していません。
2085: windrv 互換として動作します。
2086: <li>TwentyOne.x は現状 +T/-C/-P/-S (いずれもデフォルト) 相当だと思います。
2087: TwentyOne.x が常駐していないとか、
2088: これ以外のオプションの時にどうなるかは把握していません。
2089: <li>lndrv.x によるゲスト側のシンボリックリンク機能には未対応です。
2090: </ul>
2091: <p></p>
2092: Windrv を使用する場合、まず nono
2093: の設定ファイルに <tt>windrv-path</tt> を設定します。
2094: 次にゲストの Human68k の CONFIG.SYS に WINDRV.SYS (または WindrvXM.sys)
2095: を設定してください。
2096: <blockquote>
2097: <pre class=file>
2098: DEVICE = \SYS\WINDRV.SYS
2099: </pre>
2100: </blockquote>
1.1.1.15 root 2101: </div>
2102: </details>
2103:
2104: <a name=""></a>
2105: <details open style="padding-top: 1em">
1.1.1.25! root 2106: <summary><span class=h5>4.15. ステータスパネル <q>Status Panel</q></span></summary><div class="main">
1.1.1.8 root 2107: ステータスパネル中央にあるパフォーマンスメータのアイコンは
2108: 高速モードの状態を表示しています。
2109: ダブルクリックすると高速/等速モードの指定を切り替えることができます。
2110: <q>The performance meter's icon at the center of the status panel
2111: shows the VM speed status.
1.1.1.12 root 2112: You can switch full speed / syncronized mode by double-clicking
2113: on this icon.</q>
1.1.1.8 root 2114: <table>
2115: <tr><td valign=top>
2116: <image src="image/sp-ffmark0.png" style="padding:0.5ex; background-color:white">
2117: <td valign=top>…
2118: <td valign=top>
2119: マークなしの場合、ユーザが等速モードを指定していて、等速モードで実行中です。
2120: <q>When no icons are displayed,
2121: the user has specified syncronized mode and
2122: the VM is running in synchronized mode.</q>
2123: <tr><td valign=top>
1.1.1.12 root 2124: <image src="image/sp-ffmark2.png" style="padding:0.5ex; background-color:white">
1.1.1.8 root 2125: <td valign=top>…
2126: <td valign=top>
1.1.1.12 root 2127: 三角3つの場合、ユーザが高速モードを指定していて、高速モードで実行中です。
1.1.1.9 root 2128: 高速モード中はパーセントではなく何倍速で動作しているかを表します。
1.1.1.12 root 2129: <q>When an icon (three triangles) is displayed,
1.1.1.8 root 2130: the user has specified full speed mode and
1.1.1.12 root 2131: the VM is running in full speed mode.
1.1.1.8 root 2132: <tr><td valign=top>
1.1.1.12 root 2133: <image src="image/sp-ffmark1.png" style="padding:0.5ex; background-color:white">
1.1.1.8 root 2134: <td valign=top>…
2135: <td valign=top>
1.1.1.12 root 2136: 三角2つの場合、ユーザが高速モードを指定していて、等速モードで実行中です。
2137: 以下のいずれかの状態で起きます。
2138: <q>When an icon (two triangles) is displayed,
1.1.1.8 root 2139: the user has specified full speed mode and
1.1.1.12 root 2140: the VM is running in synchronized mode.
2141: This will happen when any of the following occurs:</q>
2142: <ul>
1.1.1.24 root 2143: <li>キー押下中(後述)あるいはキーボードブザー発声中
2144: <q>When any keys are pressed (see below),
1.1.1.12 root 2145: or the keyboard buzzer is sounding.
2146: <li>STOP instruction on m68k.
2147: <li>pseudo STOP state on m88k.
2148: </ul>
1.1.1.8 root 2149: </table>
2150: </div>
1.1.1.15 root 2151: </details>
1.1.1.8 root 2152:
1.1.1.15 root 2153: <a name=""></a>
2154: <details open style="padding-top: 1em">
1.1.1.25! root 2155: <summary><span class=h5>4.16. DIPSW 設定ウィンドウ</span></summary><div class="main">
1.1.1.15 root 2156: DIPSW 設定ウィンドウでの変更はアプリケーション起動中のみ有効です。
2157: またここでの設定は即 VM に反映されますが、
2158: LUNA の場合 DIPSW の状態を
2159: PIO(8255) がラッチするのが概ね起動時および再起動時のみとなっています
2160: (厳密には PROM と XP が云々ですが)。
2161: </div>
1.1.1.17 root 2162: </details>
1.1.1.15 root 2163:
2164: <a name=""></a>
2165: <details open style="padding-top: 1em">
1.1.1.25! root 2166: <summary><span class=h5>4.17. メモリダンプモニタ <q>Memory Dump Monitor</q></span></summary><div class="main">
1.1.1.15 root 2167: メモリダンプモニタの出力形式を、バイト、ワード、ロングワード
2168: (m88k ではそれぞれバイト、ハーフワード、ワードと表現します)
2169: から選択できます。
2170: また 68030/88200 の MMU ディスクリプタとして表示させることもできます
2171: (この位置が正しいディスクリプタかどうかは関係なく表示します)。
1.1.1.17 root 2172: 逆アセンブルは、
2173: LUNA-I なら m68k と HD64180 の逆アセンブルが、
2174: LUNA-88K なら m88k と HD64180 の逆アセンブルが、
1.1.1.18 root 2175: X68030/virt-m68k/NEWS なら m68k の逆アセンブルが選択できます。
1.1.1.15 root 2176: <q>On memory dump monitor,
1.1.1.24 root 2177: you can select the output format from byte, word and longword
1.1.1.15 root 2178: (In m88k, it is represented as byte, halfword and word respectively).
1.1.1.24 root 2179: Also you can select 68030/88200 MMU descriptor format
1.1.1.15 root 2180: (It displays regardless of whether this address is used as descriptor or not).
1.1.1.16 root 2181: Disassemble is now merged from disassemble monitor.
1.1.1.24 root 2182: On LUNA-I, you can select m68k and HD64180 disassemble.
2183: On LUNA-88K, you can select m88k and HD64180 disassemble.
1.1.1.18 root 2184: On X68030/virt-m68k/NEWS,
1.1.1.24 root 2185: you can select m68k disassemble.</q>
1.1.1.15 root 2186: <p>
2187: 表示されているダンプ値をダブルクリックすることでメモリの値を編集できます。
2188: 編集できるのはメモリと以下の部分のみです。
2189: <q>You can edit the memory value by double click.
1.1.1.16 root 2190: Only memory and the following areas are editable.</q>
1.1.1.15 root 2191: <ul>
2192: <li>NVRAM (LUNA and NEWS Only) …
2193: 編集するとただちにファイルも更新します。
1.1.1.17 root 2194: 後ろの8バイトのみ時計レジスタを兼ねているため編集不可です。
1.1.1.15 root 2195: <q>The backend file is also updated immediately when edited.
1.1.1.17 root 2196: The only last 8 bytes are not editable since there are the clock registers.</q>
1.1.1.15 root 2197: <li>Bitmap framebuffer (LUNA Only) … 共通プレーンは書き込み不可です。
2198: <q>The common plane is not editable.</q>
2199: <li>SRAM (X68030 Only) …
2200: 編集するとただちにファイルも更新します。
2201: <q>The backend file is also updated immediately when edited.</q>
1.1.1.24 root 2202: <li>TVRAM、GVRAM とパレット (X68030 Only) <q>Text VRAM, Graphic VRAM and palette</q>
1.1.1.15 root 2203: </ul>
2204: </div>
1.1.1.17 root 2205: </details>
1.1.1.15 root 2206:
2207: <a name=""></a>
2208: <details open style="padding-top: 1em">
1.1.1.25! root 2209: <summary><span class=h5>4.18. ページテーブルモニタ <q>Page Table Monitor</q></span></summary><div class="main">
! 2210: 68030 と 68040 のページテーブルを一覧できるモニタです。
! 2211: 88200 は未対応です。
! 2212: 68030 はバリエーションが多すぎるのですべてには対応していません。
! 2213: <q>This is a page table monitor on 68030 and 68040.
! 2214: It doesn't support 88200 yet.
! 2215: It doesn't support all variations of 68030 because it's too complex.</q>
! 2216: <ul>
! 2217: <li>現状、段数は TIC までの3段階まで、FCL には未対応です。
! 2218: <q>Up to 3-levels (From TIA to TIC). No FCL supported.</q>
! 2219: <li>アーリーターミネーションと間接ディスクリプタは表示で区別していませんので
! 2220: 自身で判断してください。
! 2221: <q>An early termination and indirect descriptor are not distinguished
! 2222: in the display.</q>
! 2223: <li>ルートポインタの切り替えは、68040 ではそのまま
! 2224: SRP/URP レジスタの切り替えです。
! 2225: 68030 では TC によって SRP/CRP の使い方が変わるため、
! 2226: SRP/CRP の切り替えではなく
! 2227: スーパーバイザ状態/ユーザ状態でのルートポインタを選択します。
! 2228: <q>The root pointer switching on 68040 is SRP/URP as is.
! 2229: On 68030, it switches supervisor-state/user-state.</q>
! 2230: </ul>
! 2231: </div>
! 2232: </details>
! 2233:
! 2234: <a name=""></a>
! 2235: <details open style="padding-top: 1em">
! 2236: <summary><span class=h5>4.19. デバイスマップモニタ <q>Device Map Monitor</q></span></summary><div class="main">
1.1.1.16 root 2237: m68k/m88k バスに接続されているデバイスを表示します。
2238: 32ビットアドレスのうち上位 8 ビット、256個分を表示しています。
2239: 1枠が 16MB になります。
2240: また、X68030 ではこのうち 24ビット空間を別モニタで表示します。
2241: こちらは 1枠 8KB x 2048個です。
2242: どちらも内部構造を表示しているだけなので名前に馴染みがない場合があるかもしれません。
1.1.1.17 root 2243: NEWS のデバイスマップは内部構造の都合上、
2244: 内部状態を正確に反映していないケースがあるかも知れません。
1.1.1.16 root 2245: </div>
1.1.1.17 root 2246: </details>
1.1.1.16 root 2247:
2248: <a name=""></a>
2249: <details open style="padding-top: 1em">
1.1.1.25! root 2250: <summary><span class=h5>4.20. キー入力モード <q>Key input mode</q></span></summary><div class="main">
1.1.1.14 root 2251: LUNA も X68030 もキーボードは通常日本語キーボードです
2252: (LUNA には英語キーボードも存在するようですが…)。
1.1.1.11 root 2253: そのため、ホストが日本語キーボードの場合とそうでない場合のために
2254: 2つの入力モードを用意しています。
2255: どちらも一長一短があります。
1.1.1.14 root 2256: <q>LUNA and X68030 has the Japanese keyboard
2257: (though I ever heard there are US keyboard for LUNA...).
1.1.1.11 root 2258: So nono provides two input modes
2259: for Japanese keyboard users and non Japanese keyboard users.
2260: Both have advantages and disadvantages.</q>
2261: <p>
2262: JP キーボードモードは、ホストが日本語キーボードであることを前提に
2263: 対応するキーの押下、開放をその都度 VM に入力します。
2264: メリットとしては動作が実機に近くなり、
2265: 特にキーリピート(をハードウェアが行わないこと)も忠実に再現可能です。
2266: デメリットは ALT + TAB やアクセラレータキーでメニューを開く場合などに
2267: キー入力が残ることがあることです
2268: (キーを押した後でフォーカスが外れるとキーを離したことが
2269: アプリケーションに通知されないため)。
2270: またホストが日本語キーボードでなければ使いづらいです。
2271: <q>JP keyboard mode assumes that the host uses the Japanese keyboard.
2272: Each time you presses and releases a key,
2273: nono sends the corresponding key-pressed or key-released to the VM.
2274: One advantage is that it's close to the real machine behavior,
2275: and another is that it can reproduce
2276: the LUNA keyboard itself does not perform a key repeat.
2277: On the other hand,
2278: one disadvantage is that key sometimes remains pressed,
2279: especially when you enter ALT + TAB to switch the application
2280: or enter accelerator key to open the menu
2281: (If the application loses the focus after the key is pressed,
2282: the application will not receive the subsequent key release).
2283: And another disadvantage is that
1.1.1.12 root 2284: it will be hard to use for non Japenese keyboard users.</q>
1.1.1.11 root 2285: <p>
2286: 一方、キャラクタ入力モードは、ホストから入力された「文字」を
1.1.1.14 root 2287: 再び LUNA/X68030 のキーコードに解釈し直して VM に入力するモードです。
1.1.1.11 root 2288: 例えばゲスト OS に "@" を入力したい場合、
2289: US キーボードなら [SHIFT] + [2] を、
2290: JP キーボードなら [@] キーを押しますが、
2291: どちらも VM には [@] キーの押下、[@] キーの開放が連続して送られます。
2292: US キーボードで [SHIFT] を押したことは通知されません。
2293: 逆に "=" を入力したい場合、
2294: US キーボードなら [=] キーを、
2295: JP キーボードなら [SHIFT] + [-] を押しますが、
2296: どちらも VM には
2297: [SHIFT]押下 → [-]押下 → [-]開放 → [SHIFT]開放のシーケンスが送られます。
2298: このようにホストキーボードのレイアウトによらず、
2299: 入力したい文字が入力できるようになり、
2300: 通常のタイピングで困ることはないと思います。
2301: デメリットは、通常の文字入力以外のタイピングはほぼ出来ないことです。
2302: [SHIFT] キーを押したままにすることや、
2303: 文字が入力できないキーの組み合わせは入力出来ません。
2304: もう一つのデメリットはキーリピート(をハードウェアが行わないこと)が再現できず、
2305: ホスト側のキーリピートが効いてしまうことです
2306: (本来キーリピートが動作しない ROM やブートローダでもキーリピートが効くことは
2307: 一般ユーザからはメリットに感じられるかも知れませんが)。
2308: <q>In contrast, in the character mode, when you type a character,
1.1.1.14 root 2309: nono re-converts it into the LUNA/X68030's key code and sends it to the VM.
1.1.1.11 root 2310: For example if you want to type "@" in the guest OS,
2311: you would press [SHIFT] + [2] on the US keyboard or [@] on the JP keyboard.
2312: In both cases, the sequence of
2313: [@]-pressed and [@]-released will be sent to the VM.
2314: Note that the fact that you pressed [SHIFT] key on the US keyboard
2315: will not be sent to the VM.
2316: Another example, if you want to type "=",
2317: you would press [=] on the US keyboard or [SHIFT] + [-] on the JP keyboard.
2318: In both cases, the sequence of
2319: [SHIFT]-pressed, [-]-pressed, [-]-released, and [SHIFT]-released
2320: will be sent to the VM.
2321: Thus, you can type what character you want to type,
2322: regardless of your keyboard layout.
2323: Of course there are some disadvantages.
2324: Firstly, it's hard to type any special characters,
2325: for example, you can not type any key conbinations
2326: that don't generate a character.
2327: Or you can not hold [SHIFT] key pressed.
2328: Secondly, the key repeat works (by the host),
2329: even though it should not work as a correct emulation
2330: (Although some of you may feel it an advantage).</q>
2331: </div>
1.1.1.15 root 2332: </details>
1.1.1.11 root 2333:
1.1.1.15 root 2334: <a name=""></a>
2335: <details open style="padding-top: 1em">
1.1.1.25! root 2336: <summary><span class=h5>4.21. キャラクタ入力モードのキーコード対応表 <q>Keycode table in the character mode</q></span></summary><div class="main">
1.1.1.11 root 2337: キャラクタ入力モードでの、ホストから入力した文字と
2338: VM に送信されるキーの対応は次の通りです。
2339: ファンクションキーとカーソルキーは文字ではありませんが
2340: 特別に対応しています。
1.1.1.14 root 2341: ここに記載のないゲストキーはソフトウェアキーボードからのみ入力できます。
1.1.1.11 root 2342: <q>The following table shows the correspondence between
2343: the character that typed from the host
2344: and the key that will be sent to the VM.
2345: nono can recognize the function keys and arrow keys.
1.1.1.14 root 2346: The keys that not listed in this table can
1.1.1.11 root 2347: only be typed from the software keyboard window.</q>
2348: <p>
2349: <center>
2350: <style type="text/css">
2351: .keytable-whole {
2352: display: inline-block;
2353: vertical-align: top;
1.1.1.17 root 2354: border-bottom: solid 1px;
1.1.1.11 root 2355: }
2356: .keytable-middle {
2357: margin-left: 1em;
2358: margin-right: 1em;
2359: }
2360:
2361: .keytable-head {
2362: text-align: left;
1.1.1.17 root 2363: border-top: solid 1px;
1.1.1.11 root 2364: border-bottom: solid 1px;
2365: }
2366: .keytable-headl {
2367: padding-right: 1em;
1.1.1.17 root 2368: border-left: solid 1px;
2369: border-right: solid 1px;
2370: }
2371: .keytable-headr {
2372: border-right: solid 1px;
1.1.1.11 root 2373: }
2374:
2375: .keytable-tdl {
2376: padding-right: 1em;
1.1.1.17 root 2377: border-left: solid 1px;
2378: border-right: solid 1px;
1.1.1.11 root 2379: }
2380: .keytable-tdr {
1.1.1.17 root 2381: border-right: solid 1px;
1.1.1.11 root 2382: }
2383: </style>
2384: <table class='keytable-whole keytable-left' cellspacing=0 cellpadding=1>
2385: <tr><th class='keytable-head keytable-headl'>HostChar<th class='keytable-head keytable-headr'>GuestKey
2386: <tr><td class='keytable-tdl'><tt>a</tt> 〜 <tt>z</tt><td class='keytable-tdr'>[A] 〜 [Z]
2387: <tr><td class='keytable-tdl'><tt>0</tt> 〜 <tt>9</tt><td class='keytable-tdr'>[0] 〜 [9]
2388: <tr><td class='keytable-tdl'>SPACE<td class='keytable-tdr'>[SPACE]
2389: <tr><td class='keytable-tdl'><tt>-</tt><td class='keytable-tdr'>[-]
2390: <tr><td class='keytable-tdl'><tt>^</tt><td class='keytable-tdr'>[^]
2391: <tr><td class='keytable-tdl'><tt>\</tt><td class='keytable-tdr'>[\]
2392: <tr><td class='keytable-tdl'><tt>@</tt><td class='keytable-tdr'>[@]
2393: <tr><td class='keytable-tdl'><tt>[</tt><td class='keytable-tdr'>[[]
2394: <tr><td class='keytable-tdl'><tt>;</tt><td class='keytable-tdr'>[;]
2395: <tr><td class='keytable-tdl'><tt>:</tt><td class='keytable-tdr'>[:]
2396: <tr><td class='keytable-tdl'><tt>]</tt><td class='keytable-tdr'>[]]
2397: <tr><td class='keytable-tdl'><tt>,</tt><td class='keytable-tdr'>[,]
2398: <tr><td class='keytable-tdl'><tt>.</tt><td class='keytable-tdr'>[.]
2399: <tr><td class='keytable-tdl'><tt>/</tt><td class='keytable-tdr'>[/]
2400: </table>
2401: <table class='keytable-whole keytable-middle' cellspacing=0 cellpadding=1>
2402: <tr><th class='keytable-head keytable-headl'>HostChar<th class='keytable-head keytable-headr'>GuestKey
2403: <tr><td class='keytable-tdl'><tt>A</tt> 〜 <tt>Z</tt><td class='keytable-tdr'>[SHIFT]+[A] 〜 [SHIFT]+[Z]
2404: <tr><td class='keytable-tdl'><tt>!</tt><td class='keytable-tdr'>[SHIFT]+[1]
2405: <tr><td class='keytable-tdl'><tt>"</tt><td class='keytable-tdr'>[SHIFT]+[2]
2406: <tr><td class='keytable-tdl'><tt>#</tt><td class='keytable-tdr'>[SHIFT]+[3]
2407: <tr><td class='keytable-tdl'><tt>$</tt><td class='keytable-tdr'>[SHIFT]+[4]
2408: <tr><td class='keytable-tdl'><tt>%</tt><td class='keytable-tdr'>[SHIFT]+[5]
2409: <tr><td class='keytable-tdl'><tt>&</tt><td class='keytable-tdr'>[SHIFT]+[6]
2410: <tr><td class='keytable-tdl'><tt>'</tt><td class='keytable-tdr'>[SHIFT]+[7]
2411: <tr><td class='keytable-tdl'><tt>(</tt><td class='keytable-tdr'>[SHIFT]+[8]
2412: <tr><td class='keytable-tdl'><tt>)</tt><td class='keytable-tdr'>[SHIFT]+[9]
2413: <tr><td class='keytable-tdl'><tt>=</tt><td class='keytable-tdr'>[SHIFT]+[-]
2414: <tr><td class='keytable-tdl'><tt>~</tt><td class='keytable-tdr'>[SHIFT]+[^]
2415: <tr><td class='keytable-tdl'><tt>|</tt><td class='keytable-tdr'>[SHIFT]+[\]
2416: <tr><td class='keytable-tdl'><tt>`</tt><td class='keytable-tdr'>[SHIFT]+[@]
2417: <tr><td class='keytable-tdl'><tt>{</tt><td class='keytable-tdr'>[SHIFT]+[[]
2418: <tr><td class='keytable-tdl'><tt>+</tt><td class='keytable-tdr'>[SHIFT]+[;]
2419: <tr><td class='keytable-tdl'><tt>*</tt><td class='keytable-tdr'>[SHIFT]+[:]
2420: <tr><td class='keytable-tdl'><tt>]</tt><td class='keytable-tdr'>[SHIFT]+[]]
2421: <tr><td class='keytable-tdl'><tt><</tt><td class='keytable-tdr'>[SHIFT]+[,]
2422: <tr><td class='keytable-tdl'><tt>></tt><td class='keytable-tdr'>[SHIFT]+[.]
2423: <tr><td class='keytable-tdl'><tt>?</tt><td class='keytable-tdr'>[SHIFT]+[/]
2424: <tr><td class='keytable-tdl'><tt>_</tt><td class='keytable-tdr'>[SHIFT]+[_]
2425: </table>
1.1.1.14 root 2426: <table class='keytable-whole keytable-middle' cellspacing=0 cellpadding=1>
1.1.1.11 root 2427: <tr><th class='keytable-head keytable-headl'>HostChar<th class='keytable-head keytable-headr'>GuestKey
2428: <tr><td class='keytable-tdl'>F1 〜 F10<td class='keytable-tdr'>[PF1] 〜 [PF10]
1.1.1.15 root 2429: <tr><td class='keytable-tdl'>F11<td class='keytable-tdr'>[PF10]
1.1.1.11 root 2430: <tr><td class='keytable-tdl'>↑<td class='keytable-tdr'>[↑]
2431: <tr><td class='keytable-tdl'>←<td class='keytable-tdr'>[←]
2432: <tr><td class='keytable-tdl'>→<td class='keytable-tdr'>[→]
2433: <tr><td class='keytable-tdl'>↓<td class='keytable-tdr'>[↓]
1.1.1.14 root 2434: <tr><td class='keytable-tdl'><tt>^@</tt><td class='keytable-tdr'>[CTRL]+[@]
2435: <tr><td class='keytable-tdl'><tt>^A</tt> 〜 <tt>^Z</tt><td class='keytable-tdr'>[CTRL]+[A] 〜 [CTRL]+[Z]
2436: <tr><td class='keytable-tdl'><tt>^[</tt><td class='keytable-tdr'>[ESC]
2437: <tr><td class='keytable-tdl'><tt>^\</tt><td class='keytable-tdr'>[CTRL]+[\]
2438: <tr><td class='keytable-tdl'><tt>^]</tt><td class='keytable-tdr'>[CTRL]+[]]
2439: <tr><td class='keytable-tdl'><tt>^^</tt><td class='keytable-tdr'>[CTRL]+[^]
2440: <tr><td class='keytable-tdl'><tt>^_</tt><td class='keytable-tdr'>[CTRL]+[_]
2441: <tr><td class='keytable-tdl'><tt>^H</tt><td class='keytable-tdr'>[BS]
2442: <tr><td class='keytable-tdl'><tt>^I</tt><td class='keytable-tdr'>[TAB]
2443: <tr><td class='keytable-tdl'><tt>^M</tt><td class='keytable-tdr'>[Enter]
1.1.1.11 root 2444: </table>
2445: </center>
2446: </div>
1.1.1.15 root 2447: </details>
1.1.1.11 root 2448:
1.1.1.15 root 2449: <a name=""></a>
2450: <details open style="padding-top: 1em">
1.1.1.25! root 2451: <summary><span class=h5>4.22. JP キーボードモードのキーコード対応表 <q>Keycode table in the JP keyboard mode</q></span></summary><div class="main">
1.1.1.11 root 2452: JP キーボードモードでの、ホストキーと VM に送信されるキーの対応は次の通りです。
1.1.1.14 root 2453: ここに記載のないキーはソフトウェアキーボードからのみ入力出来ます。
1.1.1.11 root 2454: <q>The following table shows the correspondence between
2455: the host key and the guest key.
1.1.1.17 root 2456: The keys that not listed in this table can only be entered from
1.1.1.11 root 2457: the software keyboard window.</q>
2458: <p>
2459: <center>
2460: <table class='keytable-whole keytable-left' cellspacing=0 cellpadding=0>
2461: <tr><th class='keytable-head keytable-headl'>HostKey<th class='keytable-head keytable-headr'>GuestKey
2462: <tr><td class='keytable-tdl'>[0] 〜 [9]<td class='keytable-tdr'>[0] 〜 [9]
2463: <tr><td class='keytable-tdl'>[A] 〜 [Z]<td class='keytable-tdr'>[A] 〜 [Z]
2464: <tr><td class='keytable-tdl'>[-]<td class='keytable-tdr'>[-]
2465: <tr><td class='keytable-tdl'>[^]<td class='keytable-tdr'>[^]
2466: <tr><td class='keytable-tdl'>[\]<td class='keytable-tdr'>[\]
2467: <tr><td class='keytable-tdl'>[@]<td class='keytable-tdr'>[@]
2468: <tr><td class='keytable-tdl'>[[]<td class='keytable-tdr'>[[]
2469: <tr><td class='keytable-tdl'>[;]<td class='keytable-tdr'>[;]
2470: <tr><td class='keytable-tdl'>[:]<td class='keytable-tdr'>[:]
2471: <tr><td class='keytable-tdl'>[]]<td class='keytable-tdr'>[]]
2472: <tr><td class='keytable-tdl'>[,]<td class='keytable-tdr'>[,]
2473: <tr><td class='keytable-tdl'>[.]<td class='keytable-tdr'>[.]
2474: </table>
2475: <table class='keytable-whole keytable-middle' cellspacing=0 cellpadding=0>
2476: <tr><th class='keytable-head keytable-headl'>HostKey<th class='keytable-head keytable-headr'>GuestKey
1.1.1.17 root 2477: <tr><td class='keytable-tdl'>[/]<td class='keytable-tdr'>[/]
2478: <tr><td class='keytable-tdl'>[_]<td class='keytable-tdr'>[_]
1.1.1.11 root 2479: <tr><td class='keytable-tdl'>[ESC]<td class='keytable-tdr'>[ESC]
2480: <tr><td class='keytable-tdl'>[TAB]<td class='keytable-tdr'>[TAB]
2481: <tr><td class='keytable-tdl'>[CTRL]<td class='keytable-tdr'>[CTRL]
1.1.1.14 root 2482: <tr><td class='keytable-tdl'>[SHIFT-L]<td class='keytable-tdr'>[SHIFT-L]
2483: <tr><td class='keytable-tdl'>[SHIFT-R]<td class='keytable-tdr'>[SHIFT-R]
1.1.1.17 root 2484: <tr><td class='keytable-tdl'>[Enter]<td class='keytable-tdr'>[Enter]
1.1.1.14 root 2485: <tr><td class='keytable-tdl'>[↑]<td class='keytable-tdr'>[↑]
2486: <tr><td class='keytable-tdl'>[←]<td class='keytable-tdr'>[←]
2487: <tr><td class='keytable-tdl'>[→]<td class='keytable-tdr'>[→]
2488: <tr><td class='keytable-tdl'>[↓]<td class='keytable-tdr'>[↓]
2489: </table>
2490: <table class='keytable-whole keytable-right' cellspacing=0 cellpadding=0>
2491: <tr><th class='keytable-head keytable-headl'>HostKey<th class='keytable-head keytable-headr'>GuestKey
1.1.1.17 root 2492: <tr><td class='keytable-tdl'>[BS]<td class='keytable-tdr'>[BS]
2493: <tr><td class='keytable-tdl'>[Delete]<td class='keytable-tdr'>[DEL]
2494: <tr><td class='keytable-tdl'>[F1] 〜 [F10]<td class='keytable-tdr'>[PF1] 〜 [PF10]
2495: <tr><td class='keytable-tdl'>[F11]<td class='keytable-tdr'>[PF10]
1.1.1.11 root 2496: <tr><td class='keytable-tdl'>Numpad[0]〜[9]<td class='keytable-tdr'>Numpad[0]〜[9]
2497: <tr><td class='keytable-tdl'>Numpad[+]<td class='keytable-tdr'>Numpad[+]
2498: <tr><td class='keytable-tdl'>Numpad[-]<td class='keytable-tdr'>Numpad[-]
2499: <tr><td class='keytable-tdl'>Numpad[*]<td class='keytable-tdr'>Numpad[*]
2500: <tr><td class='keytable-tdl'>Numpad[/]<td class='keytable-tdr'>Numpad[/]
2501: <tr><td class='keytable-tdl'>Numpad[=]<td class='keytable-tdr'>Numpad[=]
2502: <tr><td class='keytable-tdl'>Numpad[.]<td class='keytable-tdr'>Numpad[.]
2503: <tr><td class='keytable-tdl'>Numpad[Enter]<td class='keytable-tdr'>Numpad[Enter]
2504: </table>
1.1.1.17 root 2505: <br>
2506: <table class='keytable-whole keytable-left' cellspacing=0 cellpadding=0>
2507: <caption>(X68030 Only)</caption>
2508: <tr><th class='keytable-head keytable-headl'>HostKey<th class='keytable-head keytable-headr'>GuestKey
2509: <tr><td class='keytable-tdl'>[Home]<td class='keytable-tdr'>[HOME]
2510: <tr><td class='keytable-tdl'>[Insert]<td class='keytable-tdr'>[INS]
2511: <tr><td class='keytable-tdl'>[PageUp]<td class='keytable-tdr'>[ROLL UP]
2512: <tr><td class='keytable-tdl'>[PageDown]<td class='keytable-tdr'>[ROLL DOWN]
2513: <tr><td class='keytable-tdl'>[End]<td class='keytable-tdr'>[UNDO]
2514: </table>
1.1.1.11 root 2515: </center>
2516: </div>
1.1.1.15 root 2517: </details>
1.1.1.11 root 2518:
1.1.1.15 root 2519: <a name=""></a>
2520: <details open style="padding-top: 1em">
1.1.1.25! root 2521: <summary><span class=h5>4.23. キーリピート <q>Key Repeat</q></span></summary><div class="main">
1.1.1.8 root 2522: LUNA では、キーボードがハードウェア側でキーリピートを行わず、
2523: ソフトウェア(OS など)がキーリピートの処理を行います。
2524: そのため、キーリピートを実装していない LUNA の PROM や
2525: NetBSD/luna68k のブートローダではキーリピートは起きず、
2526: キーリピートを実装している NetBSD/luna68k カーネルではキーリピートが起こせます。
1.1.1.9 root 2527: キーリピートを起こす間隔をゲストのソフトウェアが測定しているということは、
1.1.1.8 root 2528: VM が高速動作するとキーリピートもそれに合わせて発生することになり、
2529: これをホスト側から防ぐ手段はありません。
1.1.1.24 root 2530: そこで nono ではキー入力が発生している間
1.1.1.8 root 2531: (キーが一つでも押されてからキーが全て離されるまでの間)、
2532: 高速モードが指示されていても VM を一時的に等速モードに落として実行します。
2533: 上記のアイコンがそれを区別しているのはこのためです。
2534: そのため、何らかの理由でキーが入りっぱなしになった場合
2535: (ALT + TAB やアクセラレータキーでメニューを開くと起きがちです)
2536: 高速モードが抑制されたままということが起きえます。
2537: その場合はソフトウェアキーボードからキー入力を解除するなどしてください。
1.1.1.11 root 2538: <q>On LUNA,
1.1.1.8 root 2539: key repeat is done by software(OS), not by the keyboard hardware.
2540: For this reason,
2541: key repeat doesn't occur on LUNA's PROM or NetBSD/luna68k's bootloader
2542: that don't implement it, and
2543: key repeat occurs on NetBSD/luna68k kernel that implements it.
1.1.1.9 root 2544: Since the timing of key repeat is measured by the guest software,
1.1.1.8 root 2545: if the VM is running faster than the real,
2546: the key repeat will occur faster, too.
2547: The host application doesn't have the way to avoid it.
2548: Therefore, nono will temporarily suppress the full speed mode
1.1.1.24 root 2549: while any keys are pressed on LUNA.
1.1.1.8 root 2550: That is why the above-mentioned icon distinguishes them.
1.1.1.9 root 2551: If keys continue to be pressed for some reasons,
1.1.1.8 root 2552: the VM also continues to run syncronized mode.
1.1.1.12 root 2553: In this case, you can resolve it by using the software keyboard window.</q>
1.1.1.8 root 2554: </div>
1.1.1.15 root 2555: </details>
2556: </details>
1.1.1.8 root 2557:
1.1.1.14 root 2558:
1.1.1.8 root 2559: <a name="tryit"></a>
1.1.1.15 root 2560: <details open style="padding-top: 1em">
2561: <summary><span class=h4>5. 実行してみる <q>Try it</q></span></summary><a name=""></a>
2562: <details open style="padding-top: 1em">
2563: <summary><span class=h5>5.1. NetBSD/luna68k を実行してみる <q>Try NetBSD/luna68k</q></span></summary><div class="main">
1.1.1.9 root 2564: つついさんが NetBSD/luna68k 9.2 の liveimage を用意されています。
2565: <q>Tsutsui-san has provided a liveimage of NetBSD/luna68k 9.2.</q>
2566: <dl>
1.1.1.12 root 2567: <dd><a href="https://twitter.com/tsutsuii/status/1436381589211017217"
2568: >https://twitter.com/tsutsuii/status/1436381589211017217</a><br>
1.1.1.9 root 2569: </dl>
2570: ここではこれを起動してみます。<q>Let's try it.</q>
1.1.1.2 root 2571: <br>
2572: <ol>
2573: <li>どこかに nono 用のディレクトリを用意し(例えば ~/nono/)、
1.1 root 2574: その中に VM ディレクトリを用意します (例えば ~/nono/luna/)。
1.1.1.3 root 2575: <q>Create a directory somewhere for nono (for example ~/nono/),
1.1.1.9 root 2576: and create subdirectories for individual VMs in it
2577: (for example ~/nono/luna/).</q>
1.1 root 2578:
1.1.1.3 root 2579: <li>以下のリンクからイメージファイルをダウンロードして展開し、
1.1.1.2 root 2580: VM ディレクトリ ~/nono/luna/ に置きます。
1.1.1.3 root 2581: <q>Download imagefile from the following link,
1.1.1.8 root 2582: extract it and place it in the VM directory, ~/nono/luna/.</q>
1.1.1.3 root 2583: <blockquote>
1.1.1.12 root 2584: <a href="http://teokurebsd.org/netbsd/liveimage/20210910-luna68k/"
2585: >http://teokurebsd.org/netbsd/liveimage/20210910-luna68k/</a>
1.1.1.3 root 2586: </blockquote>
1.1.1.2 root 2587:
1.1.1.9 root 2588: <li>以下の内容の設定ファイル nono.cfg を VM ディレクトリ ~/nono/luna/
2589: に作成します。
1.1.1.8 root 2590: <q>Create a configuration file nono.cfg in the VM directory, ~/nono/luna/,
1.1.1.20 root 2591: with following contents.</q>
1.1.1.2 root 2592: <blockquote class="file"><pre>
2593: vmtype = luna
1.1.1.12 root 2594: spc0-id6-image = hd,liveimage-luna68k-with-packages-20210910.img
1.1.1.2 root 2595: </pre></blockquote>
1.1.1.9 root 2596:
1.1.1.2 root 2597: <li><tt>nono -c ~/nono/luna</tt> で起動します
2598: (VM ディレクトリに自動的に NVRAM.DAT が作られます)。
2599: <q>Run as <tt>nono -c ~/nono/luna</tt>.
1.1.1.4 root 2600: (NVRAM.DAT will be created automatically in the VM directory)</q>
1.1.1.14 root 2601:
1.1.1.2 root 2602: <li>Emulated ROM Monitor が起動するので、
2603: 初回は以下のように入力すると NetBSD が起動します。
2604: <q>The emulated ROM Monitor will be executed.
2605: Then, only for the first time,
2606: entering the following can boot NetBSD.</q>
1.1.1.9 root 2607: <blockquote><pre>
2608: k⏎
2609: ⏎
2610: ⏎
2611: d⏎
2612: boot⏎
2613: g⏎
2614: x⏎
2615: </pre></blockquote>
2616: 画面はこんな感じのはずです (太字が入力部分)。
2617: <q>You will see a screen like this. The bold text indicates
2618: the characters you need to enter.</q>
1.1.1.2 root 2619: <blockquote class="file"><pre>
1.1.1.25! root 2620: NONO 1.7.0 Emulated ROM Monitor for LUNA-I
1.1.1.9 root 2621:
2622: ** NVRAM Initialized.
2623:
2624: ><b>k⏎</b>
2625: controller: dk ?<b>⏎</b>
2626: drive unit: 0 ?<b>⏎</b>
2627: partition : c ?<b>d⏎</b>
2628: filename : vmunix ?<b>boot⏎</b>
2629: ><b>g⏎</b>
2630: Loaded. Entry point = $00700000
2631: ><b>x⏎</b>
1.1.1.2 root 2632: </pre></blockquote>
2633: この内容は NVRAM.DAT に記録されているので次回以降は直接 NetBSD が起動します。
1.1.1.8 root 2634: <q>The information you have just entered is recorded in the NVRAM,
1.1.1.14 root 2635: so next time it will boot NetBSD automatically.</q>
1.1.1.9 root 2636: <li>初回起動時、
2637: Updating fontconfig cache はあほみたいに時間がかかりますが、
2638: nono がハングアップしてるわけではありません(>_<)。
1.1.1.14 root 2639: また初回は起動後数時間めちゃくちゃ重たいですが、
1.1.1.9 root 2640: これはバックグラウンドで makemandb が動くためで
2641: nono のせいではありません(>_<)。
2642: <q>At the first boot, you will see the console stops after printing
2643: "Updating fontconfig cache".
2644: This is because the infamous fontconfig takes very looooong time.
2645: nono would not have hang-up.
1.1.1.14 root 2646: In addition, at the first boot, you will feel it's too heavy for several hours.
1.1.1.9 root 2647: This is because the infamous makemandb(8) runs heavily in the background
2648: for a looooong time.
2649: It's very sad to me that these two accidents which are far from the ideal
1.1.1.13 root 2650: are the first experiences of newcomers.</q>
1.1.1.9 root 2651:
2652: <li>終了する時は root
2653: ユーザで “<tt>shutdown -p now</tt>” を実行してください。
2654: LUNA はソフトウェアから電源オフでき、
2655: VM の電源オフで nono も終了します。
2656: <q>To quit, type “<tt>shutdown -p now</tt>” as the root user.
2657: LUNA can be powered off by software,
2658: and nono will terminate when the VM is powered off.</q>
1.1.1.2 root 2659: </ol>
1.1 root 2660: </div>
1.1.1.15 root 2661: </details>
1.1 root 2662:
1.1.1.15 root 2663: <a name=""></a>
2664: <details open style="padding-top: 1em">
2665: <summary><span class=h5>5.2. OpenBSD/luna88k を実行してみる <q>Try OpenBSD/luna88k</q></span></summary><div class="main">
1.1.1.23 root 2666: あおやまさんが OpenBSD/luna88k 7.7 の liveimage を用意されています。
1.1.1.18 root 2667: <q>Aoyama-san has provided a liveimage of OpenBSD/luna88k 7.6.</q>
1.1.1.9 root 2668: <dl>
1.1.1.23 root 2669: <dd><a href="https://bsd.network/@ao_kenji/114436150104520496"
2670: >https://bsd.network/@ao_kenji/114436150104520496</a>
1.1.1.9 root 2671: </dl>
2672: ここではこれを起動してみます。<q>Let's try it.</q>
2673: <br>
2674: <ol>
2675: <li>どこかに nono 用のディレクトリを用意し(例えば ~/nono/)、
2676: その中に VM ディレクトリを用意します (例えば ~/nono/luna88k/)。
2677: <q>Create a directory somewhere for nono (for example ~/nono/),
2678: and create subdirectories for individual VMs in it
2679: (for example ~/nono/luna88k/).</q>
2680:
1.1.1.23 root 2681: <li>以下のリンクから liveimage-luna88k-raw-20250518.img.gz
1.1.1.9 root 2682: をダウンロードして展開し、
2683: VM ディレクトリ ~/nono/luna88k/ に置きます。
1.1.1.23 root 2684: <q>Download liveimage-luna88k-raw-20250518.img.gz from the following link,
1.1.1.9 root 2685: extract it and place it in the VM directory, ~/nono/luna88k/.</q>
2686: <blockquote>
2687: <a href="http://www.nk-home.net/~aoyama/liveimage/"
2688: >http://www.nk-home.net/~aoyama/liveimage/</a>
2689: </blockquote>
2690:
2691: <li>以下の内容の設定ファイル nono.cfg を VM ディレクトリ ~/nono/luna88k/
2692: に作成します。
2693: <q>Create a configuration file nono.cfg in the VM directory, ~/nono/luna88k/,
1.1.1.20 root 2694: with following contents.</q>
1.1.1.9 root 2695: <blockquote class="file"><pre>
2696: vmtype = luna88k
1.1.1.18 root 2697: spc0-id6-image = hd,liveimage-luna88k-raw-20241013.img
1.1.1.9 root 2698: </pre></blockquote>
2699:
2700: <li><tt>nono -c ~/nono/luna88k</tt> で起動します
2701: (VM ディレクトリに自動的に NVRAM.DAT が作られます)。
2702: <q>Run as <tt>nono -c ~/nono/luna88k</tt>.
2703: (NVRAM.DAT will be created automatically in the VM directory)</q>
2704: <li>Emulated ROM Monitor が起動するので、
2705: 初回は以下のように入力すると OpenBSD が起動します。
2706: <q>The emulated ROM Monitor will be executed.
2707: Then, only for the first time,
2708: entering the following can boot OpenBSD.</q>
2709: <blockquote><pre>
2710: nvram boot_filename boot⏎
2711: y
2712: b⏎
2713: </pre></blockquote>
2714: 画面はこんな感じのはずです (太字が入力部分)。
2715: <q>You will see a screen like this. The bold text indicates
2716: the characters you need to enter.</q>
2717: <blockquote class="file"><pre>
1.1.1.25! root 2718: NONO 1.7.0 Emulated ROM Monitor for LUNA-88K
1.1.1.9 root 2719:
2720: ** NVRAM Initialized.
2721:
2722: N><b>nvram boot_filename boot⏎</b>
2723: Update boot_filename : "vmunix" -> "boot" (Y/[N]):<b>y</b>
2724: Updated
2725: N><b>b⏎</b>
2726: </pre></blockquote>
2727: この内容は NVRAM.DAT に記録されているので次回以降は直接 OpenBSD が起動します。
2728: <q>The information you have just entered is recorded in the NVRAM,
1.1.1.14 root 2729: so next time it will boot OpenBSD automatically.</q>
1.1.1.9 root 2730:
2731: <li>終了する時は root
2732: ユーザで “<tt>shutdown -p now</tt>” を実行してください。
1.1.1.13 root 2733: LUNA-88K はソフトウェアから電源オフでき、
1.1.1.9 root 2734: VM の電源オフで nono も終了します。
2735: <q>To quit, type “<tt>shutdown -p now</tt>” as the root user.
1.1.1.13 root 2736: LUNA-88K can be powered off by software,
1.1.1.9 root 2737: and nono will terminate when the VM is powered off.</q>
2738: </ol>
2739: </div>
1.1.1.15 root 2740: </details>
1.1.1.9 root 2741:
1.1.1.15 root 2742:
2743: <a name=""></a>
2744: <details open style="padding-top: 1em">
2745: <summary><span class=h5>5.3. NetBSD/x68k を実行してみる <q>Try NetBSD/x68k</q></span></summary><div class="main">
1.1.1.20 root 2746: つついさんが NetBSD/x68k 10.1 の liveimage を用意されています。
1.1.1.14 root 2747: ここではこれを起動してみます。
1.1.1.20 root 2748: <q>Tsutsui-san has provided a liveimage of NetBSD/x68k 10.1.
1.1.1.17 root 2749: Let's try it.</q>
1.1.1.14 root 2750: <br>
2751: <ol>
2752: <li>どこかに nono 用のディレクトリを用意し(例えば ~/nono/)、
2753: その中に VM ディレクトリを用意します (例えば ~/nono/x68k/)。
2754: <q>Create a directory somewhere for nono (for example ~/nono/),
2755: and create subdirectories for individual VMs in it
2756: (for example ~/nono/x68k/).</q>
2757:
1.1.1.20 root 2758: <li>以下のサイトから
2759: 「パッケージインストール設定済み版」か
2760: 「インストーラでインストールしたところまでの未設定版」の
2761: お好みのほうをダウンロードします。
2762: 迷ったら「パッケージインストール設定済み版」がよいでしょう。
2763: ダウンロードできたら展開して、VM ディレクトリ ~/nono/x68k/ に置きます。
2764: <q>Download your favorite one of with-packages or plain-install
2765: from the following site.
2766: Extract it and place it in the VM directory, ~/nono/x68k/.</q>
1.1.1.15 root 2767: <blockquote>
1.1.1.20 root 2768: <a href="http://www.ceres.dti.ne.jp/tsutsui/netbsd/liveimage/x68k.html"
2769: >http://www.ceres.dti.ne.jp/tsutsui/netbsd/liveimage/x68k.html</a>
1.1.1.14 root 2770: </blockquote>
2771:
2772: <li>以下の内容の設定ファイル nono.cfg を VM ディレクトリ ~/nono/x68k/
2773: に作成します。
2774: <q>Create a configuration file nono.cfg in the VM directory, ~/nono/x68k/,
1.1.1.20 root 2775: with following contents.</q>
1.1.1.14 root 2776: <blockquote class="file"><pre>
2777: vmtype = x68030
1.1.1.20 root 2778: spc0-id0-image = hd,liveimage-x68k-with-packages-20250106.hds
1.1.1.14 root 2779: </pre></blockquote>
2780:
1.1.1.23 root 2781: <li><tt>nono -c ~/nono/x68k</tt> で起動します
1.1.1.24 root 2782: (VM ディレクトリに自動的に SRAM.DAT が作られます)。
1.1.1.23 root 2783: <q>Run as <tt>nono -c ~/nono/x68k</tt>
1.1.1.24 root 2784: (SRAM.DAT will be created automatically in the VM directory).
1.1.1.14 root 2785:
1.1.1.23 root 2786: <li>初回の NetBSD/x68k 起動後数時間はめちゃくちゃ重たいですが、
1.1.1.14 root 2787: これはバックグラウンドで makemandb が動くためで
2788: nono のせいではありません(>_<)。
1.1.1.23 root 2789: <q>At the first NetBSD/x68k boot,
2790: you will feel it's too heavy for several hours.
1.1.1.14 root 2791: This is because the infamous makemandb(8) runs heavily in the background
2792: for a looooong time.
1.1.1.18 root 2793: It's very sad to me that the accident which is far from the ideal
1.1.1.14 root 2794: is the first experiences of newcomers.</q>
2795:
2796: <li>NetBSD が起動した後なら (正確には powerd(8) が起動していれば)、
2797: 終了する時はメニューの「デバイス > 操作 > 電源ボタンを押す」
2798: でシャットダウンして電源オフになり、
2799: VM の電源オフで nono も終了します。
2800: <q>After NetBSD boots up (more precisely, if powerd(8) is running),
2801: you can shutdown and power off by
2802: "Device > Operation > Push Power button" on menu,
2803: and nono will terminate when the VM is powered off.</q>
2804: </ul>
2805: </div>
1.1.1.15 root 2806: </details>
1.1.1.17 root 2807:
2808:
2809: <a name=""></a>
2810: <details open style="padding-top: 1em">
1.1.1.18 root 2811: <summary><span class=h5>5.4. NetBSD/virt68k をインストールしてみる <q>Try installing NetBSD/virt68k</q></span></summary><div class="main">
1.1.1.25! root 2812: ここでは NetBSD/virt68k 11.0_RC2 をインストールする手順を紹介します。
! 2813: <q>Here I will introduce how to install NetBSD/virt68k 11.0_RC2.</q>
1.1.1.17 root 2814: <br>
1.1.1.18 root 2815: <ol>
1.1.1.19 root 2816:
1.1.1.17 root 2817: <li>どこかに nono 用のディレクトリを用意し(例えば ~/nono/)、
2818: その中に VM ディレクトリを用意します (例えば ~/nono/virt68k/)。
2819: <q>Create a directory somewhere for nono (for example ~/nono/),
2820: and create subdirectories for individual VMs in it
2821: (for example ~/nono/virt68k/).</q>
2822:
1.1.1.23 root 2823: <li>NetBSD/virt68k を含む 11.0 は執筆時点ではまだリリースされていませんが、
1.1.1.25! root 2824: 公式サイトに RC (Release Candidate) のイメージが公開されています。
1.1.1.23 root 2825: 以下のリンクから netbsd-GENERIC.gz (カーネル) と
2826: inst-ramdisk.fs (インストーライメージ) をダウンロードします。
1.1.1.25! root 2827: <q>As of the time of writing,
! 2828: NetBSD 11.0 including virt68k has not yet been released.
! 2829: However, images of RC (Release Candidate) are available on the official site.
! 2830: Download netbsd-GENERIC.gz (kernel) and inst-ramdisk.fs
! 2831: (installer image) from the following links.</q>
1.1.1.23 root 2832: <blockquote>
1.1.1.25! root 2833: <a href="https://cdn.netbsd.org/pub/NetBSD/NetBSD-11.0_RC2/virt68k/binary/kernel/netbsd-GENERIC.gz"
! 2834: >https://cdn.netbsd.org/pub/NetBSD/NetBSD-11.0_RC2/virt68k/binary/kernel/netbsd-GENERIC.gz</a><br>
! 2835: <a href="https://cdn.netbsd.org/pub/NetBSD/NetBSD-11.0_RC2/virt68k/installation/ramdisks/inst-ramdisk.fs"
! 2836: u>https://cdn.netbsd.org/pub/NetBSD/NetBSD-11.0_RC2/virt68k/installation/ramdisks/inst-ramdisk.fs</a>
1.1.1.23 root 2837: </blockquote>
1.1.1.19 root 2838:
1.1.1.17 root 2839: <li>空のディスクイメージを用意します。
2840: 1GB でもインストール自体は出来ますが、もう少し大きいほうが安心です。
1.1.1.25! root 2841: (qemu-img がない場合は dd で生イメージを作ります)
1.1.1.17 root 2842: <q>Prepare an empty disk image file.
2843: You can install it with 1GB at least,
1.1.1.25! root 2844: but it would be safer if it was a little larger.
! 2845: (If you doesn't have qemu-img, create a raw image by using dd instead.)</q>
! 2846: <blockquote class="cons"><pre>
! 2847: qemu-img create -f qcow2 virt68k.qcow2 2G
! 2848: </pre></blockquote>
! 2849: <blockquote>or</blockquote>
1.1.1.17 root 2850: <blockquote class="cons"><pre>
2851: dd if=/dev/zero of=virt68k.img bs=1m count=2048
2852: </pre></blockquote>
2853:
2854: <li>以下の内容の設定ファイル nono.cfg を VM ディレクトリ ~/nono/virt68k
2855: に作成します。
2856: <q>Create a configuration file nono.cfg in the VM directory, ~/nono/virt68k/,
1.1.1.20 root 2857: with following contents.</q>
1.1.1.17 root 2858: <blockquote class="file"><pre>
1.1.1.18 root 2859: vmtype = virt-m68k
1.1.1.25! root 2860: fast-mode = 1
! 2861: virtio-block0-image = virt68k.qcow2 # or virt68k.img
1.1.1.19 root 2862: exec-file = netbsd-GENERIC.gz
2863: exec-bootparam = root=ld0
1.1.1.17 root 2864: </pre></blockquote>
2865:
1.1.1.25! root 2866: <li>インストーライメージからインストーラを起動します。
! 2867: 設定ファイルでは運用時のためにルートデバイスを ld0 に指定していますが
! 2868: インストーラは RAM ディスクから起動したいため <tt>-V</tt>
! 2869: オプションで <tt>exec-bootparam</tt> を空に戻します。
! 2870: <q>Run installer from specified installer image.
! 2871: The configuration file specifies root device as ld0 for normal operation,
! 2872: but since we want to boot from ramdisk this time,
! 2873: use the <tt>-V</tt> option to reset <tt>exec-bootparam</tt>.</q>
1.1.1.17 root 2874: <blockquote class="cons"><pre>
1.1.1.25! root 2875: nono -c ~/nono/virt68k --initrd inst-ramdisk.fs -V exec-bootparam=
1.1.1.17 root 2876: </pre></blockquote>
2877:
1.1.1.19 root 2878: <li>しばらくすると見慣れたインストーラが起動してきます。
2879: インストールが終わったらトップメニューから e:Utility menu >
2880: g:Halt the system
2881: を選択してください。ゲストの電源がオフになり nono も終了します。
2882: <q>After a while, the familiar installer will start.
2883: Once the installation has finished,
1.1.1.24 root 2884: select e:Utility menu > g:Halt the system.
1.1.1.19 root 2885: Then the guest will shut down, and nono also will terminate.</q>
2886:
2887: <li>インストールしたディスクから起動するには、
1.1.1.25! root 2888: <tt>--initrd</tt> と <tt>-V</tt> オプションを外して実行します。
1.1.1.19 root 2889: カーネルは引き続きホストファイルシステム上にあるもの
2890: (ここでは ~/nono/virt68k/netbsd-GENERIC.gz) を使います。
2891: <q>To boot from the installed disk,
1.1.1.25! root 2892: run without <tt>--initrd</tt> and <tt>-V</tt> option.
1.1.1.19 root 2893: It still uses the kernel on the host filesystem,
2894: just like the installer does.</q>
1.1.1.17 root 2895: <blockquote class="cons"><pre>
1.1.1.19 root 2896: nono -c ~/nono/virt68k
1.1.1.17 root 2897: </pre></blockquote>
1.1.1.19 root 2898: </ul>
1.1.1.17 root 2899: </div>
2900: </details>
1.1.1.15 root 2901: </details>
1.1.1.9 root 2902:
1.1 root 2903:
1.1.1.8 root 2904: <a name="network"></a>
1.1.1.15 root 2905: <details open style="padding-top: 1em">
1.1.1.20 root 2906: <summary><span class=h4>6. ホストネットワーク設定例 <q>Example of host network setup</q></span></summary><a name="network-tap"></a>
2907: <details open style="padding-top: 1em">
2908: <summary><span class=h5>6.1. tap</span></summary><div class=main>
2909: NetBSD の tap(4) デバイスを用いて、
2910: ホストの wm0 と nono のゲスト OS を接続する場合の設定例です。
1.1.1.9 root 2911: <ol>
2912: <li>
1.1.1.20 root 2913: 設定ファイル nono.cfg に以下の行を追加します。
2914: <q>Add the following line to configuration file, nono.cfg.</q>
1.1 root 2915: <blockquote class="file"><pre>
1.1.1.9 root 2916: hostnet-driver = tap
2917: hostnet-tap-devpath = auto
1.1 root 2918: </pre></blockquote>
1.1.1.9 root 2919:
1.1.1.5 root 2920: <li>デフォルトでは /dev/tap は一般ユーザからアクセスできないので、
2921: chmod で適当にパーミッションを与えます。
2922: 番号の付いていないほうの /dev/tap だけでいいです。
2923: sysinst 等で OS をアップグレードするとパーミッションが 600
2924: に戻るのがハマりポイントです。
1.1.1.9 root 2925: <q>By default, /dev/tap is only accessible to privileged user.
2926: You need to chmod /dev/tap (without unit number) appropriately.
1.1.1.17 root 2927: Note that upgrading using sysinst always resets the permission to 600.</q>
1.1.1.5 root 2928:
2929: <li>bridge(4) インタフェースを作成し、
1.1.1.9 root 2930: ホストの外部(物理)インタフェースをブリッジに追加しておきます。
1.1.1.5 root 2931: <q>Create a bridge(4) interface, and
2932: add your physical interface to the bridge.</q>
1.1 root 2933: <blockquote class="cons"><pre>
1.1.1.5 root 2934: # ifconfig bridge0 create
1.1 root 2935: # brconfig bridge0 add wm0
2936: </pre></blockquote>
1.1.1.9 root 2937: 常用するなら /etc の設定ファイルに書いておきましょう。
2938: <q>If you use it regularly,
1.1.1.5 root 2939: you can put configuration file into /etc.</q>
2940: <blockquote>
2941: /etc/ifconfig.bridge0
2942: <pre class=file>
2943: create
2944: up
2945: !/sbin/brconfig $int add wm0
2946: </pre>
2947: <pre class=cons>
2948: # /etc/rc.d/network restart
2949: </pre>
2950: </blockquote>
2951:
2952: <li>
2953: 一般ユーザに戻って、
2954: VM ディレクトリかその親ディレクトリに
2955: 次のような 2つのスクリプトを用意します。
1.1.1.9 root 2956: nono は tap(4) をオープンし、
2957: そのデバイス名を引数にこれらのスクリプトを呼びます。
1.1.1.5 root 2958: sudo の設定は別途行ってください。
2959: <q>Return to non-privileged user, and
2960: create following two scripts in the VM directory or its parent directory.
1.1.1.9 root 2961: nono will open tap(4) and
2962: invoke these scripts with the name of the device as an argument.
1.1.1.5 root 2963: In addition, you need to set up sudo separately.</q>
1.1 root 2964: <blockquote>
2965: nono-ifup
2966: <pre class=file>
2967: #!/bin/sh
1.1.1.5 root 2968: sudo /sbin/ifconfig $1 up
2969: sudo /sbin/brconfig bridge0 add $1
1.1 root 2970: </pre></blockquote>
2971:
2972: <blockquote>
1.1.1.5 root 2973: nono-ifdown
1.1 root 2974: <pre class=file>
2975: #!/bin/sh
1.1.1.5 root 2976: sudo /sbin/brconfig bridge0 delete $1
2977: sudo /sbin/ifconfig $1 down
2978: </pre></blockquote>
2979:
2980: <blockquote class="cons"><pre>
2981: % chmod +x nono-ifup nono-ifdown
1.1 root 2982: </pre></blockquote>
2983:
1.1.1.5 root 2984: <li>nono を起動し、
2985: メニューの「モニタ > ホスト > ホストネットワーク」を開いて
1.1.1.9 root 2986: HostNet Driver: tap になっていれば動いてるはずです。
1.1.1.5 root 2987: <q>Run nono,
2988: and open "Monitor > Host > Host Network" window from menu.
1.1.1.9 root 2989: It's OK if you can see "HostNet Driver: tap".</q>
1.1.1.5 root 2990:
2991: </ol>
1.1 root 2992: </div>
1.1.1.15 root 2993: </details>
1.1.1.20 root 2994: </details>
1.1.1.15 root 2995:
1.1 root 2996:
1.1.1.13 root 2997: <a name="knownissues"></a>
1.1.1.15 root 2998: <details open style="padding-top: 1em">
2999: <summary><span class=h4>7. 既知の問題 <q>Known Issues</q></span></summary><div class="main">
1.1.1.13 root 3000: <ul>
1.1.1.14 root 3001: <li>デバッガのコンソール入力で、
1.1.1.15 root 3002: カーソルキーなどの特殊文字入力に対する表示が動作していません。
3003: <q>In debugger console, some special characters like cursor keys
1.1.1.13 root 3004: aren't printed correctly.</q>
1.1.1.14 root 3005: (since ver 0.3.0)
1.1.1.13 root 3006: <li>ホストが VirtualBox (on Windows?) で、
3007: VirtualBox の「マウス統合」が有効にしている場合、
3008: nono の「マウスモード」でマウスポインタが正しく移動しません。
3009: <q>If the host OS is running on VirtualBox (on Windows?) and
3010: "Mouse integration" on VirtualBox is enabled,
3011: the mouse pointer will not move as expected in nono's Mouse Mode.</q>
3012: (2021/12/30)
3013:
3014: <li>Wayland の場合にウィンドウサイズが正しく設定されない場合があります。
1.1.1.18 root 3015: wxWidgets (3.0/3.2) のバグと思われます。
1.1.1.13 root 3016: <q>On Wayland, window size may be incorrect.
1.1.1.18 root 3017: This may be due to wxWidgets (3.0/3.2) bug.</q>
3018: (2021/12/30, Updated 2024/07/03)
3019:
1.1.1.19 root 3020: <li>nono ではありませんが、wxWidgets 3.2 (with GTK3) は
3021: NetBSD/sparc (などマイナーアーキテクチャ?)
3022: でウィンドウ内がほぼ描画されないようです。
3023: wxWidgets 3.0 (with GTK2) であれば動作します。
3024: <q>On wxWidgets 3.2 (with GTK3), it seems that the inside of the window
3025: is hardly drawn at NetBSD/sparc (and such minor architectures?).
3026: wxWidgets 3.0 (with GTK2) can.</q>
1.1.1.18 root 3027: (2024/07/03)
1.1.1.13 root 3028:
3029: </ul>
3030: </div>
1.1.1.15 root 3031: </details>
3032:
1.1 root 3033:
1.1.1.10 root 3034: <a name="migrate"></a>
1.1.1.15 root 3035: <details open style="padding-top: 1em">
3036: <summary><span class=h4>8. 過去のバージョンからの移行方法 <q>How to migrate from old versions</q></span></summary><div class="main">
1.1.1.10 root 3037: バージョンアップに伴い設定ファイル等に非互換が発生する場合があります。
3038: その場合は以下の移行方法を参照して設定ファイル等を更新してください。
3039: <q>Some versions may have incompatibilities in the configuration files, etc.
3040: In such case, you may need to upgrade it by referring the following link.</q>
3041: <ul>
1.1.1.24 root 3042: <li><a href="upgrade-1.6.0.html">From ver 1.5.0 to ver 1.6.0</a>
3043: <li><a href="upgrade-1.2.0.html">From ver 1.1.x to ver 1.2.0</a>
1.1.1.10 root 3044: </ul>
3045: </div>
1.1.1.15 root 3046: </details>
3047:
1.1.1.2 root 3048:
1.1.1.18 root 3049: <a name="util"></a>
3050: <details open style="padding-top: 1em">
3051: <summary><span class=h4>9. 付属ソフトウェア <q>Included Software</q></span></summary><div class="main">
3052: <ul>
1.1.1.24 root 3053: <li><a href="runx.html">runx</a>
3054: </ul>
1.1.1.18 root 3055: </div>
3056: </details>
3057:
3058:
1.1.1.11 root 3059: <a name="changes"></a>
1.1.1.15 root 3060: <details open style="padding-top: 1em">
1.1.1.18 root 3061: <summary><span class=h4>10. 変更履歴 <q>Changes</q></span></summary><div class="main">
1.1.1.24 root 3062: See <a href="changes.html">changes.html</a>
3063: .
1.1.1.11 root 3064: </div>
1.1.1.15 root 3065: </details>
1.1.1.11 root 3066:
3067:
1.1.1.15 root 3068: <a name="license"></a>
3069: <details open style="padding-top: 1em">
1.1.1.18 root 3070: <summary><span class=h4>11. 連絡先、ライセンス等 <q>Contact, License, etc</q></span></summary>
1.1.1.15 root 3071: <a name=""></a>
3072: <details open style="padding-top: 1em">
1.1.1.18 root 3073: <summary><span class=h5>11.1. ライセンス <q>License</q></span></summary><div class="main">
1.1.1.15 root 3074: <ul>
3075: <li>
3076: nono 自身については
3077: <a href="nono-license.txt">nono-license.txt</a> を読んでください。
3078: <q>See nono-license.txt about nono itself.</q>
3079: <li>
3080: nono は無償公開されている X68030 の IPLROM を使用しています。
1.1.1.14 root 3081: <a href="fsharp-license.txt">許諾条件</a>を読んでください。
3082: <q>nono uses X68030 IPLROM image distributed without charge.
3083: You must read
3084: <a href="fsharp-license.txt">the license agreement</a>
3085: (even though it's Japanese original text only).</q>
1.1.1.15 root 3086: <li>
3087: nono は SIL Open Font License version 1.1 で配布されているフォントの
3088: 一部を改変して組み込んでいます。
3089: <q>nono modifies and embeds the font distributed as SIL Open Font License version 1.1.</q>
3090: </ul>
3091: </div>
1.1.1.2 root 3092:
1.1.1.15 root 3093: </details>
3094:
3095: <a name=""></a>
3096: <details open style="padding-top: 1em">
1.1.1.18 root 3097: <summary><span class=h5>11.2. 連絡先 <q>Contact us</q></span></summary><div class="main">
1.1.1.4 root 3098: バグ報告などは以下にお願いします。日本語でおk。
3099: <q>If you find any problems, please let me know.
3100: You may write in English.</q><br>
3101: <a href="https://github.com/isaki68k/nono-issue/issues"
3102: >https://github.com/isaki68k/nono-issue/issues</a>
3103: </div>
1.1.1.15 root 3104: </details>
1.1.1.4 root 3105:
1.1.1.15 root 3106: <a name=""></a>
3107: <details open style="padding-top: 1em">
1.1.1.18 root 3108: <summary><span class=h5>11.3. パッチの提供について <q>About contributes</q></span></summary><div class="main">
1.1.1.2 root 3109: パッチを提供してくださる場合は以下に同意したものとします。
1.1.1.13 root 3110: <q>If you provide a patch to nono, we assume that you agree the following
1.1.1.12 root 3111: conditions:</q>
1.1.1.2 root 3112: <ul>
3113: <li>成果物が nono のライセンスに従って運用あるいは配布されること。
1.1.1.16 root 3114: <q>All your work will be operated or distributed under the nono license.</q>
1.1.1.2 root 3115: <li>ライセンスが将来変わる可能性があること。
3116: <q>The license may be changed in the future.</q>
3117: <li>著作部分に関して著作者人格権を行使しないこと。
3118: <q>Do not exercise your author's rights.</q>
3119: </ul>
3120: </div>
1.1.1.15 root 3121: </details>
1.1.1.2 root 3122:
1.1.1.15 root 3123: <a name=""></a>
3124: <details open style="padding-top: 1em">
1.1.1.18 root 3125: <summary><span class=h5>11.4. Acknowledgements</span></summary><div class="main">
1.1.1.2 root 3126: nono は以下の広告条項を含むソースコードを利用しています。
3127: <q>nono uses source code with the following advertising clause.</q>
3128: <blockquote>
3129: This product includes software developed by Gordon Ross<br>
3130: This product includes software developed by the University of California, Lawrence Berkeley Laboratory.<br>
3131: </blockquote>
3132: </div>
1.1.1.15 root 3133: </details>
3134: </details>
1.1 root 3135:
3136: <hr>
1.1.1.2 root 3137: nono project
1.1 root 3138: </body>
3139: </html>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.