--- nono/doc/index.html 2026/04/29 17:04:30 1.1.1.1
+++ nono/doc/index.html 2026/04/29 17:04:37 1.1.1.3
@@ -1,3 +1,8 @@
+
-NetBSD/amd64-9.0 の場合以下のパッケージが必要です。
+ビルドには以下が必要です。
The following are required for build.
-- pkgsrc/x11/wxGTK30 (OPTIONS:gtk2 is recommended)
+
- make (BSD make, not GNU make)
+
- C/C++ compiler which supports -std=c++14
+
- wxWidgets >= 3.0
+
- gettext
-
-アーカイブを展開したら以下のようにします。
+
+wxWidgets は NetBSD(pkgsrc) なら
+pkgsrc/x11/wxGTK30 (OPTIONS:gtk2 推奨) です。
+
If you use NetBSD(pkgsrc),
+wxWidgets is pkgsrc/x11/wxGTK30 (OPTIONS:gtk2 is recommended).
+
+アーカイブを展開したら以下のようにビルドします。
+configure には環境変数 CC、CXX でコンパイラを指定することが出来ます。
+また wx-config が標準的な名前で提供されていないために見付けられない場合には
+環境変数 WX_CONFIG にパスを指定することが出来ます。
+Extract the archive and build as following.
+You can specify C/C++ compiler using environment variable CC and CXX
+if configure cannot find standard name suitable compiler.
+Also, you can specify wx-config path using environment variable WX_CONFIG
+if configure cannot find wx-config.
% ./configure
% make depend
% make
+% su
+# make install
-まだ make install はないです。
-
wx/nono が GUI 版実行ファイル、
-
cli/nono-cli がコマンドライン版です。
+
+
+
+2つの実行ファイルがインストールされます。
+nono が GUI 版実行ファイル、
+nono-cli がコマンドライン版です。
+Two executables will be installed.
+nono is GUI executable and nono-cli is
+command line executable.
@@ -77,18 +106,39 @@ NetBSD/amd64-9.0 の場合以下のパ
ファイルが gzip 圧縮されていれば自動的に展開します。
(展開後の) ファイル形式は a.out (OMAGIC) か ELF で、
実際にはブートローダとカーネル程度しか想定していません。
-設定ファイルの
-どこかに nono 用のディレクトリを用意し(例えば ~/nono/)、
+つついさんが NetBSD/luna68k 9.0 の liveimage を用意してくださっています
+(いつもありがとうございます)。
+
Tsutsui-san has provided NetBSD/luna68k 9.0 liveimage for this
+(Thanks as always).
+
+
+- どこかに nono 用のディレクトリを用意し(例えば ~/nono/)、
その中に VM ディレクトリを用意します (例えば ~/nono/luna/)。
-その中に設定ファイル nono.cfg を用意します。
-nono に -c オプションで VM ディレクトリを指定して起動します。
-これだけでたぶん起動して NVRAM.DAT ファイルが自動的に作られます。
-ROM モニタについては最低限なんとなく雰囲気似せてあるので
-再びこちら (NetBSD/luna68k: Information) 参照のこと。
-ここからどうやって NetBSD/luna68k をインストールするかについては待て次号。
-
-% mkdir -p ~/nono/luna/
-% echo "vmtype=luna" > ~/nono/luna/nono.cfg
-% path/to/nono -c ~/nono/luna
-
+Create a directory somewhere for nono (for example ~/nono/),
+and create subdirectory for individual VMs in it (for example ~/nono/luna).
+ - 以下のリンクからイメージファイルをダウンロードして展開し、
+VM ディレクトリ ~/nono/luna/ に置きます。
+
Download imagefile from the following link,
+extract it and place it in the VM directory, ~/nono/luna.
+
+http://teokurebsd.org/netbsd/liveimage/20200518-luna68k/
+
+
+ - 同じく VM ディレクトリに設定ファイル nono.cfg を以下の内容で用意します。
+
Create a configuration file nono.cfg in the same VM directory, ~/nono/luna,
+with following contents:
+
+vmtype = luna
+spc0-id6-image = hd,liveimage-luna68k-raw-20200518.img
+
+ - nono -c ~/nono/luna で起動します
+(VM ディレクトリに自動的に NVRAM.DAT が作られます)。
+
Run as nono -c ~/nono/luna.
+(It creates NVRAM.DAT automatically in the VM directory)
+ - Emulated ROM Monitor が起動するので、
+初回は以下のように入力すると NetBSD が起動します。
+
The emulated ROM Monitor will be executed.
+Then, only for the first time,
+entering the following can boot NetBSD.
+
+k
+[Enter]
+[Enter]
+d
+boot
+g
+x
+
+この内容は NVRAM.DAT に記録されているので次回以降は直接 NetBSD が起動します。
+The information you have just entered is recorded in NVRAM,
+so next time it boots NetBSD automatically.
+
+
+元ツイートはこちらOriginal tweet
。
-設定ファイルに
+設定ファイル nono.cfg に以下の行を追加します。
+
Add the following line to configuration file, nono.cfg.
ethernet-hostdriver = tap
-を追加し、VM ディレクトリに nono-ifup、nono-ifdown
-というスクリプトを用意してください。
+次に VM ディレクトリかその親ディレクトリに nono-ifup、nono-ifdown
+というスクリプトを用意します。
nono は tap(4) をオープンし、
そのデバイス名を引数にこれらのスクリプトを呼びます。
+
Then, prepare two scripts named nono-ifup and nono-ifdown
+in the VM directory or its parent directory.
+nono will open tap(4) and
+invoke these scripts with the name of the device as an argument.
最もシンプルなケースだとおそらく
+For example, in the simplest case, probably,
# brconfig bridge0 create
# brconfig bridge0 add wm0
@@ -256,7 +454,10 @@ nono は tap(4) をオープンし、
(sudo の設定は別途行ってから)
次のような nono-ifup、nono-ifdown を用意すれば
wm0 の物理セグメントとブリッジできると思います。
-
+If you setup bridge0 as above (and setup sudo) and
+prepare the following nono-ifup, nono-ifdown scripts,
+you can bridge between the guest network and host's wm0.
+
nono-ifup
@@ -276,14 +477,62 @@ sudo ifconfig $1 down
-
+パッチを提供してくださる場合は以下に同意したものとします。
+
If you provide a patch to nono, you must agree to the following conditions:
+
+
+- 成果物が nono のライセンスに従って運用あるいは配布されること。
+
All your work are operated or distributed under the nono license.
+ - ライセンスが将来変わる可能性があること。
+
The license may be changed in the future.
+ - 著作部分に関して著作者人格権を行使しないこと。
+
Do not exercise your author's rights.
+
+
+
+
+
+nono は以下の広告条項を含むソースコードを利用しています。
+
nono uses source code with the following advertising clause.
+
+This product includes software developed by Gordon Ross
+This product includes software developed by the University of California, Lawrence Berkeley Laboratory.
+
+
+