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

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

unix.superglobalmegacorp.com

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