--- nono/doc/index.html 2026/04/29 17:05:30 1.1.1.19 +++ nono/doc/index.html 2026/04/29 17:05:34 1.1.1.20 @@ -72,10 +72,10 @@ dt.dt-indent { background-color: var(--light-green); } -
-wxWidgets は NetBSD(pkgsrc) なら
-pkgsrc/x11/wxGTK32 です (wxGTK30 でも動くはずです)。
+NetBSD(pkgsrc) なら必要なパッケージは
+x11/wxGTK32 と net/libslirp です。
+wxGTK32 の代わりに wxGTK30 でも動くはずです。
If you use NetBSD(pkgsrc),
-wxWidgets is pkgsrc/x11/wxGTK32
-(or wxGTK30).
+x11/wxGTK32 and net/libslirp are needed.
+wxGTK30 would work.
(NetBSD 以外でのビルドはサポートしていませんが)
-Ubuntu ではたぶん以下のパッケージが必要です。
-You may need the following packages on Ubuntu
+Ubuntu 24.04 ではたぶん以下のパッケージが必要です。
+
You may need the following packages on Ubuntu 24.04
(though we won't support non-NetBSD platform).
nono のソースアーカイブを展開したら以下のようにビルドします。
@@ -538,9 +534,8 @@ and NWB-512 monochrome console (not impl
Specifiies the host file that will be loaded at startup.
This is mostly the same as -X option.
The only one difference is that relative path originates the VM directory.
Specifies the boot parameter that is passed to the kernel. The syntax may differ depending on the OS, but in NetBSD/virt68k, you can specify the root device to the kernel, like as -"root=ld0" (excluding quotes).-
Specifies whether to install FPU co-processor or not. -This item is meaningful only if mpu-type is 68030. +This item is meaningful only if mpu-type is 68030. If none, FPU co-processor is not installed. If 68881, 68881 FPU co-processor is installed. 68882 is not supported yet. @@ -647,25 +641,23 @@ Note that this item is ignored if the hoシリアルポートのホスト側ドライバを指定します。 stdio なら標準入出力を使用します。 tcp なら TCP ポートで TELNET プロトコルで待ち受けます。 -cons ならメイン画面で端末エミュレーションを行います。 +cons ならメイン画面で端末エミュレーションを行います。 none ならホスト側とは一切通信を行いません。 - ゲスト機種によって対応しているホスト側ドライバの種類とデフォルト値が変わります。 LUNA-I、LUNA-88K、X68030 では stdio、tcp、none が選択可能でデフォルトは none です。 virt-m68k、NEWS では stdio、tcp、cons、none -すべてが選択可能でデフォルトは cons です。 +すべてが選択可能でデフォルトは cons です。 +cons or none, and the default is cons.Specifies the host driver of serial port. stdio uses the standard input/output. tcp listens on TCP port using TELNET protocol. -cons does a terminal emulation in main panel. +cons does a terminal emulation in main panel. none doesn't make any communication with the host. - The choices and default value vary depending on the guest type. On LUNA-I, LUNA-88K and X68030, you can choose stdio, tcp or none, and the default is none. On virt-m68k and NEWS, you can choose all of stdio, tcp, -cons or none, and the default is cons.
Specifies the TCP port number that host driver listens.
Specifies the host driver of N-th ethernet device. -afpacket, bpf, and tap can be specified -only if the host OS supports them. -auto and none can always be specified. -afpacket uses Linux's AF_PACKET socket, -bpf uses bpf(4) device, -and tap uses tap(4) interface. -none doesn't make any communication with the host. -If auto is specified, -it tries tap, afpacket, and bpf in that order -(if the host OS supports them). +afpacket, bpf, tap and usermode can be specified +only if the configure detects them. +auto and none can always be specified.+
afpacket uses Linux's AF_PACKET socket. +It cannot communicate with the host itself.+
bpf uses bpf(4) device. +It cannot communicate with the host itself.+
tap uses tap(4) device.+
usermode is an usermode network using libslirp. +nono also acts as NAT router, DHCP server and DNS server.+ +
none doesn't make any communication with the host.+
+auto is a synonym for usermode, but +when libslirp is disabled on configure, it is a synonym for none. The default of hostnet0-driver is auto, the default of hostnet1-driver is none.
+ +IPv6 には対応していません。 +
Specifies the MPU clock in MHz. The default value is 20MHz on LUNA-I, or 25MHz on LUNA-88K and X68030. On virt-m68k, it's less meaningful but 25MHz.
Specifies the MPU type, 68030 or 68040. -The default is 68030.-
68882 not implemented-
68882 not implemented-
Supports QEMU "virt" virtual hardware's compatible machine and @@ -1684,8 +1723,7 @@ If you want to install, you also need to-4.8. シリアルコンソールの端末エミュレーション
- +4.8. シリアルコンソールの端末エミュレーション
virt-m68k (や NEWS) のようにシリアルコンソールしか持たない機種のために、 メイン画面でシリアルコンソールの端末エミュレーションを実装してあります。 hostcom-driver = cons とすることで nono のメイン画面に @@ -1694,7 +1732,6 @@ virt-m68k (や NEWS) のようにシリ ボールド、イタリック、下線などはある程度サポートしています。 バックログはありませんので、バックログが必要なら stdio 等を使ってください。 -@@ -1763,7 +1800,21 @@ Also, SW8 specifies enable/disable of th-4.10. Windrv
+4.10. usermode ネットワーク
+ +usermode ネットワークでは nono 自身が +NAT ルータ、DHCP サーバ、DNS サーバの機能を持ちます。 +ルータと DHCP サーバのアドレスはネットワークアドレス +1 (デフォルトでは 10.8.0.1)、 +DNS サーバのアドレスはネットワークアドレス +2 (デフォルトでは 10.8.0.2) です。 +IPv6 ルータのアドレスはネットワークアドレス +1 (デフォルトでは fd08::1)、 +DNS サーバのアドレスはネットワークアドレス +2 (デフォルトでは fd08::2) です。 + ++ + + ++4.11. Windrv
X68030 で Windrv を一応サポートしています。 Human68k からホストのファイルシステムをアクセスする機構です。 従来の Windrv とはホスト OS の前提が異なるため、 @@ -1781,8 +1832,9 @@ Human68k からホストのファイル 大文字小文字だけが違う同名のファイル (例えば a.BAK と a.bak) があると、 検索(FILES/NFILES) には現れません。 この状況で a.Bak (大文字小文字を区別していれば違うファイル) -を新規作成しようとすると (大文字小文字を区別しない a.Bak -というエントリはゲスト的には存在しないにも関わらず) 作成できなくしてあります。 +を新規作成しようとすると (大文字小文字を区別しないゲスト OS からは +a.Bak というエントリは存在しないように見えるにも関わらず) +作成できなくしてあります。ファイルサイズが 2GB 以上のファイルはゲストからは見えません。 Human68k 側の属性は A(アーカイブ)/D(ディレクトリ)/R(読み込み専用) のみ対応しています。 @@ -1813,7 +1865,7 @@ DEVICE = \SYS\WINDRV.SYS -4.11. ステータスパネル
Status Panel+4.12. ステータスパネル
Status Panelステータスパネル中央にあるパフォーマンスメータのアイコンは 高速モードの状態を表示しています。 ダブルクリックすると高速/等速モードの指定を切り替えることができます。 @@ -1862,7 +1914,7 @@ or the keyboard buzzer is sounding.-4.12. DIPSW 設定ウィンドウ
+4.13. DIPSW 設定ウィンドウ
DIPSW 設定ウィンドウでの変更はアプリケーション起動中のみ有効です。 またここでの設定は即 VM に反映されますが、 LUNA の場合 DIPSW の状態を @@ -1873,7 +1925,7 @@ PIO(8255) がラッチするのが概ね-4.13. メモリダンプモニタ
Memory Dump Monitor+4.14. メモリダンプモニタ
Memory Dump Monitorメモリダンプモニタの出力形式を、バイト、ワード、ロングワード (m88k ではそれぞれバイト、ハーフワード、ワードと表現します) から選択できます。 @@ -1916,7 +1968,7 @@ The only last 8 bytes are not editable s-4.14. デバイスマップモニタ
Device Map Monitor+4.15. デバイスマップモニタ
Device Map Monitorm68k/m88k バスに接続されているデバイスを表示します。 32ビットアドレスのうち上位 8 ビット、256個分を表示しています。 1枠が 16MB になります。 @@ -1930,7 +1982,7 @@ NEWS のデバイスマップは内部-4.15. キー入力モード
Key input mode+4.16. キー入力モード
Key input modeLUNA も X68030 もキーボードは通常日本語キーボードです (LUNA には英語キーボードも存在するようですが…)。 そのため、ホストが日本語キーボードの場合とそうでない場合のために @@ -2016,7 +2068,7 @@ even though it should not work as a corr-4.16. キャラクタ入力モードのキーコード対応表
Keycode table in the character mode+4.17. キャラクタ入力モードのキーコード対応表
Keycode table in the character modeキャラクタ入力モードでの、ホストから入力した文字と VM に送信されるキーの対応は次の通りです。 ファンクションキーとカーソルキーは文字ではありませんが @@ -2131,7 +2183,7 @@ only be typed from the software keyboard-4.17. JP キーボードモードのキーコード対応表
Keycode table in the JP keyboard mode+4.18. JP キーボードモードのキーコード対応表
Keycode table in the JP keyboard modeJP キーボードモードでの、ホストキーと VM に送信されるキーの対応は次の通りです。 ここに記載のないキーはソフトウェアキーボードからのみ入力出来ます。The following table shows the correspondence between @@ -2201,7 +2253,7 @@ the software keyboard window.-4.18. キーリピート
Key Repeat+4.19. キーリピート
Key RepeatLUNA では、キーボードがハードウェア側でキーリピートを行わず、 ソフトウェア(OS など)がキーリピートの処理を行います。 そのため、キーリピートを実装していない LUNA の PROM や @@ -2270,16 +2322,11 @@ extract it and place it in the VM direct以下の内容の設定ファイル nono.cfg を VM ディレクトリ ~/nono/luna/ に作成します。 -ここでは説明を簡単にするためネットワークなしにしていますが、 -ネットワーク設定は必要に応じて行ってください。 Create a configuration file nono.cfg in the VM directory, ~/nono/luna/, -with following contents. -By the way, to simplify the explanation, we assume there is no network here. -However, please configure the network if necessary.+with following contents.vmtype = luna spc0-id6-image = hd,liveimage-luna68k-with-packages-20210910.img -hostnet-driver = nonenono -c ~/nono/luna で起動します @@ -2305,7 +2352,7 @@ x⏎ You will see a screen like this. The bold text indicates the characters you need to enter.-NONO 1.1.0 Emulated ROM Monitor for LUNA-I +NONO 1.2.0 Emulated ROM Monitor for LUNA-I ** NVRAM Initialized. @@ -2378,16 +2425,11 @@ extract it and place it in the VM direct以下の内容の設定ファイル nono.cfg を VM ディレクトリ ~/nono/luna88k/ に作成します。 -ここでは説明を簡単にするためネットワークなしにしていますが、 -ネットワーク設定は必要に応じて行ってください。 Create a configuration file nono.cfg in the VM directory, ~/nono/luna88k/, -with following contents. -By the way, to simplify the explanation, we assume there is no network here. -However, please configure the network if necessary.+with following contents.vmtype = luna88k spc0-id6-image = hd,liveimage-luna88k-raw-20241013.img -hostnet-driver = nonenono -c ~/nono/luna88k で起動します @@ -2408,7 +2450,7 @@ b⏎ You will see a screen like this. The bold text indicates the characters you need to enter.-NONO 1.1.0 Emulated ROM Monitor for LUNA-88K +NONO 1.2.0 Emulated ROM Monitor for LUNA-88K ** NVRAM Initialized. @@ -2436,9 +2478,9 @@ and nono will terminate when the VM is p5.3. NetBSD/x68k を実行してみる
Try NetBSD/x68k-つついさんが NetBSD/x68k 10.0_BETA の liveimage を用意されています。 +つついさんが NetBSD/x68k 10.1 の liveimage を用意されています。 ここではこれを起動してみます。 -Tsutsui-san has provided a liveimage of NetBSD/x68k 10.0_BETA. +and create subdirectories for individual VMs in it (for example ~/nono/x68k/). -Tsutsui-san has provided a liveimage of NetBSD/x68k 10.1. Let's try it.
@@ -2448,29 +2490,27 @@ Let's try it.
以下のリンクから -plain-install か with-packages のお好みのほうをダウンロードして展開し、 -VM ディレクトリ ~/nono/x68k/ に置きます。 - Download your favorite one of plain-install or with-packages -from the following link, -extract it and place it in the VM directory, ~/nono/x68k/.+以下のサイトから +「パッケージインストール設定済み版」か +「インストーラでインストールしたところまでの未設定版」の +お好みのほうをダウンロードします。 +迷ったら「パッケージインストール設定済み版」がよいでしょう。 +ダウンロードできたら展開して、VM ディレクトリ ~/nono/x68k/ に置きます。 + Download your favorite one of with-packages or plain-install +from the following site. +Extract it and place it in the VM directory, ~/nono/x68k/.-http://teokurebsd.org/netbsd/liveimage/20230111-x68k/ +http://www.ceres.dti.ne.jp/tsutsui/netbsd/liveimage/x68k.html以下の内容の設定ファイル nono.cfg を VM ディレクトリ ~/nono/x68k/ に作成します。 -ここでは説明を簡単にするためネットワークなしにしていますが、 -ネットワーク設定は必要に応じて行ってください。 Create a configuration file nono.cfg in the VM directory, ~/nono/x68k/, -with following contents. -By the way, to simplify the explanation, we assume there is no network here. -However, please configure the network if necessary.+with following contents.vmtype = x68030 -spc0-id0-image = hd,liveimage-x68k-with-packages-20230111.hds -hostnet0-driver = none +spc0-id0-image = hd,liveimage-x68k-with-packages-20250106.hds初回のみ nono -c ~/nono/x68k --create-sram を実行します。 @@ -2546,17 +2586,14 @@ dd if=/dev/zero of=virt68k.img bs=1m cou 以下の内容の設定ファイル nono.cfg を VM ディレクトリ ~/nono/virt68k に作成します。 -ネットワークは別途設定してください。 Create a configuration file nono.cfg in the VM directory, ~/nono/virt68k/, -with following contents. -You may also need network configuration.+with following contents.vmtype = virt-m68k exec-file = netbsd-GENERIC.gz exec-bootparam = root=ld0 virtio-block0-image = virt68k.img fast-mode = 1 -hostnet-driver = autoインストーラ RAM ディスクを指定してインストーラを起動します。 @@ -2598,16 +2635,15 @@ nono -c ~/nono/virt68k -6. ホストネットワーク設定例
Example of host network setup-wm0 を持つ NetBSD ホストに tap(4) デバイスを用いて -nono のゲスト OS を接続する場合の設定例です。 +6. ホストネットワーク設定例
+Example of host network setup++6.1. tap
+NetBSD の tap(4) デバイスを用いて、 +ホストの wm0 と nono のゲスト OS を接続する場合の設定例です。
- -設定ファイル nono.cfg に以下の行を追加します -(と言いつつ NetBSD では書かなくてもデフォルトでこの動作になりますが) -
Add the following line to configuration file, nono.cfg. -(Although you don't need to write it since these are default behavior -on NetBSD)+設定ファイル nono.cfg に以下の行を追加します。 +Add the following line to configuration file, nono.cfg.hostnet-driver = tap hostnet-tap-devpath = auto @@ -2687,6 +2723,7 @@ It's OK if you can see "HostNet Driver: