Annotation of nono/doc/index.php, revision 1.1.1.16

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.