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

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

unix.superglobalmegacorp.com

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