Annotation of nono/doc/index.html, revision 1.1.1.23

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

unix.superglobalmegacorp.com

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