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