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