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