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