--- nono/doc/index.php 2026/04/29 17:05:22 1.1.1.16
+++ nono/doc/index.php 2026/04/29 17:05:26 1.1.1.17
@@ -3,32 +3,15 @@
Copyright (C) 2020 nono project
Licensed under nono-license.txt
-->
-
+
+
+
+gettext
wxWidgets は NetBSD(pkgsrc) なら
-pkgsrc/x11/wxGTK32 (OPTIONS:gtk3 で動作確認) です。
+pkgsrc/x11/wxGTK32 です (wxGTK30 でも動くはずです)。
If you use NetBSD(pkgsrc),
-wxWidgets is pkgsrc/x11/wxGTK32 (OPTIONS:gtk3 is tested).
+wxWidgets is pkgsrc/x11/wxGTK32
+(or wxGTK30).
(NetBSD 以外でのビルドはサポートしていませんが)
-Ubuntu 22.04 ではたぶん以下のパッケージが必要です。
-You may need the following packages on Ubuntu 22.04
+Ubuntu ではたぶん以下のパッケージが必要です。
+You may need the following packages on Ubuntu
(though we won't support non-NetBSD platform).
--
-bmake
-build-essential
-gettext
-libbsd-dev
-libkqueue-dev
-libwxgtk3.0-gtk3-dev
+
- Ubuntu 22.04:
+bmake,
+build-essential,
+gettext,
+libbsd-dev,
+libkqueue-dev,
+libwxgtk3.0-gtk3-dev,
+zlib1g-dev
+
- Ubuntu 24.04:
+bmake,
+build-essential,
+gettext,
+libbsd-dev,
+libkqueue-dev,
+libwxgtk3.2-dev,
zlib1g-dev
@@ -159,13 +151,20 @@ Also, you can specify the following opti
-- --disable-avx2 …
+
- --disable-avx2 …
amd64(x86_64) で AVX2 対応コードを無効にします。
デフォルトでは、コンパイラが AVX2 に対応していることを
configure が検出できれば AVX2 対応コードを生成します。
Disable AVX2 support on amd64(x86_64).
By the default, it will generate AVX2 supported binary
-only if configure detects that compiler supports AVX2.
+only if configure detects that compiler supports AVX2.
+ - --disable-neon …
+aarch64 で NEON 対応コードを無効にします。
+デフォルトでは、コンパイラが NEON に対応していることを
+configure が検出できれば NEON 対応コードを生成します。
+
Disable NEON support on aarch64.
+By the default, it will generate NEON supported binary
+only if configure detects that compiler supports NEON.
make install により2つの実行ファイルがインストールされます。
@@ -262,19 +261,16 @@ This option is equivalent to monitor
_EOM_
);
-option_item("--initrd file", <<<_EOM_
-
-(virt68k only)
+option_item("--initrd file", <<<_EOM_
+(virt-m68k only)
カーネルに渡す初期 RAM ディスクのパスを指定します。
file が相対パスの場合カレントディレクトリからのパスになります。
設定の exec-initrd とは相対パスの起点の違いを除いて同一です。
-
-Specifies the initial ramdisk image passed to the kernel.
+Specifies the initial ramdisk image passed to the kernel.
If file is relative path,
it is path from the current directory.
This option is equivalent to exec-initrd in configuration
except for base directory of the relative path.
-
_EOM_
);
@@ -317,7 +313,7 @@ _EOM_
option_item("-X file", <<<_EOM_
ホストの file をロードして実行します。
file が相対パスの場合カレントディレクトリからのパスになります。
-設定の exec-file とは相対パスの起点の違いを除いて同一です。
+設定の exec-file とは相対パスの起点の違いを除いて同一です。
ファイルが gzip 圧縮されていれば自動的に展開します。
(展開後の) ファイル形式は以下の通りですが、
実際にはブートローダとカーネル程度しか想定していません。
@@ -325,8 +321,8 @@ option_item("-X file", <<<_EOM_
Loads and executes host's file.
If file is relative path,
it is path from the current directory.
-This option is equivalent to exec-file in configuration
-except for base directory of the relative path.
+This option is equivalent to exec-file in configuration
+except for base directory of the relative path.
If the file is gzip'd, it is automatically extracted.
The supported file format (after extracting) is the following.
Actually, it only assumes bootloaders or kernels.
@@ -344,7 +340,6 @@ NetBSD の実行ファイルのようで
If the file is assumed to be NetBSD executable,
it will also load symbol tables as the bootloader does to the kernel.)
ELF object (Experimental)
-Human68k .x executable (Experimental)
LUNA では設定の prom-image (後述) によらず内蔵の互換 ROM で起動します。
luna-dipsw1 の DIPSW 設定が
@@ -354,10 +349,9 @@ LUNA では設定の prom-image
ロードはここで指定したホストファイルをロードします。
X68030 では、IPLROM 起動の後の起動デバイスに細工がしてあり、
そこからホストファイルを実行します。
-virt68k (と NEWS) はこの方法でしか起動できませんので、
-実行ファイルの指定は必須になります。
-
-On LUNA,
+virt-m68k (と NEWS) はこの方法でしか起動できませんので、
+実行ファイルの指定は必須になります。
+On LUNA,
regardless of prom-image configuration (see below),
it boots the internal emulated PROM.
If luna-dipsw1 configuration meets dipsw-autoboot=yes,
@@ -368,7 +362,7 @@ will load the host file that is specifie
On X68030,
nono hacks the boot device after normal boot from IPLROM,
and loads and executes the host file.
-On virt68k (and NEWS), this is the only way to boot.
+On virt-m68k (and NEWS), this is the only way to boot.
_EOM_
);
?>
@@ -407,6 +401,9 @@ option_dev("-D", <<<_EOM_
_EOM_
);
+$hlink = linkto_str("human", "human.html");
+option_dev("-H", "Human68k モードです。→ {$hlink}");
+
option_dev("-L name1=level1[,name2=level2,...]",
<<<_EOM_
ログレベルを指定します。
@@ -469,7 +466,7 @@ do in the same manner.
vmtype を除くすべての設定項目はそれぞれデフォルト値を持っています。
つまり少なくとも vmtype だけは設定ファイルかコマンドラインオプションで指定する必要があります。
All configuration items except vmtype have default value.
-It means, you must specify at least only vmtype
+It means, you need to specify at least only vmtype
by configuration file or commandline option.
設定項目は次の通りです。
@@ -487,11 +484,11 @@ VM 種別を以下のいずれかから
Specifies the VM type from the following.
This field is mandatory.
-| | luna | … LUNA-I
- |
| luna88k | … LUNA-88K
- |
| x68030 | … X68030
- |
| news | … NWS-1750 (Just a joke)
- |
| virt68k | … virt68k
+ |
| | luna | … LUNA-I
+ |
| luna88k | … LUNA-88K
+ |
| x68030 | … X68030
+ |
| news | … NWS-1750 (Just a joke)
+ |
| virt-m68k (or virt68k) | … virt-m68k
|
_EOM_
);
@@ -615,26 +612,22 @@ config_item(
_EOM_
);
-config_item("exec-file = path", <<<_EOM_
-
+config_item("exec-file = path", <<<_EOM_
起動時にロードするホストの実行ファイルを指定します。
-X オプションとほぼ同等ですが、相対パスは VM ディレクトリを起点にします。
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.
-
_EOM_
);
-config_item("exec-initrd = path", <<<_EOM_
-
-(virt68k Only)
+config_item("exec-initrd = path", <<<_EOM_
+(virt-m68k Only)
カーネルに渡す初期 RAM ディスクイメージのパスを指定します。
--initrd オプションとほぼ同等ですが、相対パスは VM ディレクトリを起点にします。
Specifies the initial ramdisk image passed to the kernel.
This is mostly the same as --initrd option.
The only one difference is that relative path originates the VM directory.
-
_EOM_
);
@@ -697,7 +690,7 @@ FPU を装着するかどうか指定し
68881 の代わりに 1 と書くこともできます。
デフォルトは 68881 です。
LUNA-I はたぶん 68881 搭載モデルのみのため設定できません。
-virt68k も現状 68881 固定としています。
+virt-m68k も現状 68881 固定としています。
Specifies whether to install FPU or not.
If none, FPU is not installed.
If 68881, 68881 FPU is installed.
@@ -707,26 +700,41 @@ And, none can also be written a
The default is 68881.
This item cannot be specified on LUNA-I
because (probably) all LUNA-I has 68881.
-This item also cannot be specified on virt68k for now.
+This item also cannot be specified on virt-m68k for now.
_EOM_
);
-config_item("host-avx2 = string", <<<_EOM_
-
-ホストが amd64(x86_64) の場合に AVX2 アクセラレーションを使うかどうかを
-指定します。
+config_item("host-avx2 = string", <<<_EOM_
+ホストが amd64(x86_64) の場合にレンダリングに AVX2
+アクセラレーションを使うかどうかを指定します。
auto なら起動時にホスト CPU が AVX2 をサポートしているか確認し、
サポートしていれば使用します。
no なら AVX2 コードを実行しません。
デフォルトは auto です。
amd64(x86_64) 以外のホストではこの設定は無視されます。
-Specifies whether to use AVX2 acceleration on amd64(x86_64) hosts.
+Specifies whether to use AVX2 acceleration for rendering
+on amd64(x86_64) host.
If auto, nono checks whether the host CPU supports AVX2
on startup and use it if it does.
If no, nono will not execute AVX2 instructions.
The default is auto.
Note that this item is ignored if the host is not amd64(x86_64).
-
+_EOM_
+);
+
+config_item("host-neon = string", <<<_EOM_
+ホストが aarch64 の場合にレンダリングに NEON
+アクセラレーションを使うかどうかを指定します。
+auto なら使用し、
+no なら使用しません。
+デフォルトは auto です。
+aarch64 以外のホストではこの設定は無視されます。
+Specifies whether to use NEON acceleration for rendering
+on aarch64 host.
+If auto, nono uses NEON code.
+If no, nono don't use NEON code.
+The default is auto.
+Note that this item is ignored if the host is not aarch64.
_EOM_
);
@@ -1050,6 +1058,22 @@ The default value is 4.
_EOM_
);
+config_item(
+ "m88100-version = integer
" .
+ "m88200-version = integer", <<<_EOM_
+(LUNA-88K Only)
+MPU と CMMU のマスクバージョンを設定します。
+今の所これによるエミュレータの動作の違いはありません。
+どちらかというとこれを参照しているゲスト OS の動作確認用です。
+デフォルトは m88100-version が 11、m88200-version が 9 です。
+Specifies MPU and CMMU mask version.
+This item doesn't affect any MPU/CMMU emulations for now.
+But it may be useful for verifying the guest OS behaviors.
+The default value is 11 for m88100-version,
+9 for m88200-version.
+_EOM_
+);
+
config_item("mainview-scale = double", <<<_EOM_
メインウィンドウの起動時のスケールを実数で指定します。
コマンドラインオプション -s で上書き可能です。
@@ -1084,10 +1108,10 @@ _EOM_
config_item("mpu-clock = value", <<<_EOM_
MPU のクロック数を MHz 単位で指定します。
デフォルトは LUNA-I なら 20MHz、LUNA-88K と X68030 なら 25MHz です。
-virt68k ではあまり意味はありませんが 25MHz です。
+virt-m68k ではあまり意味はありませんが 25MHz です。
Specifies the MPU clock in MHz.
The default value is 20MHz on LUNA-I, or 25MHz on LUNA-88K and X68030.
-On virt68k, it's less meaningful but 25MHz.
+On virt-m68k, it's less meaningful but 25MHz.
_EOM_
);
@@ -1270,13 +1294,13 @@ You can specify it in 1MB unit from 4MB
See extram-size for extended memory.
NWS-1750 では現状 16MB で変更できません。
On NWS-1750, This is 16MB fixed for now.
-virt68k のデフォルトは 128MB です。
+virt-m68k のデフォルトは 128MB です。
16MB から 4080MB まで(アプリケーションとしては)指定可能です。
指定された値が 16MB で割り切れない場合は 16MB 単位に切り上げになります。
-On virt68k, the default is 128MB and
+On virt-m68k, the default is 128MB and
the range is 16MB to 4080MB.
If the specified size is not divisible by 16MB,
-it will be rounded up to 16MB.
+it will be rounded up to 16MB.
_EOM_
);
@@ -1435,22 +1459,19 @@ The default is 1.
_EOM_
);
-config_item("virtio-blockN-image = path", <<<_EOM_
-
-(virt68k only)
+config_item("virtio-blockN-image = path", <<<_EOM_
+(virt-m68k only)
virtio のブロックデバイスのイメージを指定します。
キーの N は現状 0 から 7 です。
イメージパスが相対パスなら VM ディレクトリからの相対パスになります。
Specifies virtio block device's image.
N in the key is 0 to 7 for now.
If the path is relative path, it is from the VM directory.
-
_EOM_
);
-config_item("virtio-blockN-writeignore = integer", <<<_EOM_
-
-(virt68k only)
+config_item("virtio-blockN-writeignore = integer", <<<_EOM_
+(virt-m68k only)
指定の virtio ブロックデバイスへの書き込みをイメージに書き戻すかどうか指定します。
0 なら通常動作(書き込みを行う)です。
1 ならディスクイメージに一切書き戻しません。
@@ -1472,15 +1493,12 @@ This is useful for kernel debugging beca
after the kernel hangs or reboots.
Don't use this flag if you don't understand this paragraph.
The default value is 0.
-
-
ちなみに、メディアを書き込み禁止にしたい場合はこれではなく、
イメージファイルの書き込み権を落としてください。
By the way, if you want to make the media write-protected,
clear the write permission from the image file
(instead of this setting).
-
_EOM_
);
@@ -1550,7 +1568,7 @@ _EOM_
Data cache not implemented
+MPU (68030) ◎ データキャッシュ実装 Data cache has implemented
FPU (68881) ◎
BT454 ◎
CRTC2 ○ 標準で使用する値のみサポート
@@ -1576,7 +1594,7 @@ MPU (88110) — 実装予定なし N
FUSEROM ○
X68030
-MPU (68030) ○ データキャッシュ未実装 Data cache not implemented
+MPU (68030) ◎ データキャッシュ実装 Data cache has implemented
MPU (68EC030) — 実装予定なし Not planned
FPU (68881) ◎ 68882 は未実装 68882 not implemented
DMAC △
@@ -1606,7 +1624,7 @@ Nereid USB — 実装予定なし N
Windrv △
NWS-1750
-MPU (68030) ○ データキャッシュ未実装 Data cache not implemented
+MPU (68030) ◎ データキャッシュ実装 Data cache has implemented
FPU (68881) ◎ 68882 は未実装 68882 not implemented
PROM ×
SCC (Z8530) ◎ チャンネル A のみホストに接続 Only channel A is connected to the host
@@ -1619,16 +1637,17 @@ IDROM, DIP-SW, 100Hz Timer, 診断用LED
AST, Lv2Intr ×
電源 Power Circuit
×
-virt68k
-MPU (68030) ○ データキャッシュ未実装 Data cache not implemented
+virt-m68k
+MPU (68030) ◎ データキャッシュ実装 Data cache has implemented
FPU (68881) ◎ 68882 は未実装 68882 not implemented
-Goldfish PIC ◎
-Goldfish RTC ◎
-Goldfish Timer ○
-Goldfish TTY ○
-virtio v1.0 block ○
-virtio v1.0 net △
-Power Control ○
+Goldfish PIC ◎
+Goldfish RTC ◎
+Goldfish Timer ◎
+Goldfish TTY ○
+virtio v1.0 block ○
+virtio v1.0 net ○
+virtio v1.0 entropy ◎
+Power Control ○
__EOM__;
$table_lines = preg_split("/\n/", $table);
@@ -1655,10 +1674,8 @@ __EOM__;
-68030 は命令キャッシュのみ実装し、データキャッシュは未実装です。
-また ATC (アドレス変換キャッシュ) は実際の仕様とは異なり高速化してあります。
-68030 instruction cache is implemented but data cache is not.
-ATC (Address Translation Cache) is differ from and faster than the real 68030.
+68030 ATC (アドレス変換キャッシュ) は実際の仕様とは異なり高速化してあります。
+68030 ATC (Address Translation Cache) is differ from and faster than the real 68030.
@@ -1697,9 +1714,8 @@ PROM も NetBSD/news68k
-virt68k エミュレーション"); ?>
+
-
QEMU の "virt" (架空ハードウェア仕様)の互換機wをサポートしています。
NetBSD/virt68k が動作します。
-X オプション (または設定の exec-file)
@@ -1716,7 +1732,6 @@ If you want to install, you also need to
--initrd option (or exec-initrd in configuration).
And also, you may need to configure serial console
by hostcom-driver in configuration.
-
@@ -1784,9 +1799,10 @@ Also, SW8 specifies enable/disable of th
-Windrv を一応サポートしてみました。
+X68030 で Windrv を一応サポートしています。
Human68k からホストのファイルシステムをアクセスする機構です。
-既存の Windrv とは、ホスト OS の前提が異なるため既存実装からの移植ではありませんし、
+従来の Windrv とはホスト OS の前提が異なるため、
+既存実装からの移植ではありませんし、
そもそも Human68k とホスト(UNIX)ファイルシステムの差異による制約も多くあります。
これらを把握してから使用してください。
@@ -1898,7 +1914,7 @@ PIO(8255) がラッチするのが概ね
逆アセンブルは、
LUNA-I なら m68k と HD64180 の逆アセンブルが、
LUNA-88K なら m88k と HD64180 の逆アセンブルが、
-X68030/virt68k/NEWS なら m68k の逆アセンブルが選択できます。
+X68030/virt-m68k/NEWS なら m68k の逆アセンブルが選択できます。
On memory dump monitor,
you can choose the output format from byte, word and longword
(In m88k, it is represented as byte, halfword and word respectively).
@@ -1907,7 +1923,7 @@ Also you can choose 68030/88200 MMU desc
Disassemble is now merged from disassemble monitor.
On LUNA-I, you can choose m68k and HD64180 disassemble.
On LUNA-88K, you can choose m88k and HD64180 disassemble.
-On X68030/virt68k/NEWS,
+On X68030/virt-m68k/NEWS,
you can choose m68k disassemble.
表示されているダンプ値をダブルクリックすることでメモリの値を編集できます。
@@ -2429,11 +2445,11 @@ and nono will terminate when the VM is p
Try OpenBSD/luna88k"); ?>
-あおやまさんが OpenBSD/luna88k 7.4 の liveimage を用意されています。
-
Aoyama-san has provided a liveimage of OpenBSD/luna88k 7.4.
+あおやまさんが OpenBSD/luna88k 7.6 の liveimage を用意されています。
+
Aoyama-san has provided a liveimage of OpenBSD/luna88k 7.6.
-- https://bsd.network/@ao_kenji/111250570715336091
+
- https://bsd.network/@ao_kenji/113300210182705408
ここではこれを起動してみます。
Let's try it.
@@ -2444,10 +2460,10 @@ and nono will terminate when the VM is p
and create subdirectories for individual VMs in it
(for example ~/nono/luna88k/).
-
- 以下のリンクから liveimage-luna88k-raw-20231016.img.gz
+
- 以下のリンクから liveimage-luna88k-raw-20241013.img.gz
をダウンロードして展開し、
VM ディレクトリ ~/nono/luna88k/ に置きます。
-
Download liveimage-luna88k-raw-20231016.img.gz from the following link,
+Download liveimage-luna88k-raw-20241013.img.gz from the following link,
extract it and place it in the VM directory, ~/nono/luna88k/.
vmtype = luna88k
-spc0-id6-image = hd,liveimage-luna88k-raw-20231016.img
+spc0-id6-image = hd,liveimage-luna88k-raw-20241013.img
hostnet-driver = none
@@ -2568,7 +2584,7 @@ nono のせいではありません(>_<)
At the first boot, you will feel it's too heavy for several hours.
This is because the infamous makemandb(8) runs heavily in the background
for a looooong time.
-It's very sad to me that an accident which is far from the ideal
+It's very sad to me that the accident which is far from the ideal
is the first experiences of newcomers.
- NetBSD が起動した後なら (正確には powerd(8) が起動していれば)、
@@ -2584,14 +2600,13 @@ and nono will terminate when the VM is p
-NetBSD/virt68k をインストールしてみる"
- . "
Try installing NetBSD/virt68k
"); ?>
+Try installing NetBSD/virt68k
"); ?>
-
ここでは NetBSD/virt68k をクリーンインストールする手順だけ紹介します。
Here I will introduce how to install NetBSD/virt68k.
-
+
- どこかに nono 用のディレクトリを用意し(例えば ~/nono/)、
その中に VM ディレクトリを用意します (例えば ~/nono/virt68k/)。
Create a directory somewhere for nono (for example ~/nono/),
@@ -2614,7 +2629,7 @@ dd if=/dev/zero of=virt68k.img bs=1m cou
with following contents.
You may also need network configuration.
-vmtype = virt68k
+vmtype = virt-m68k
virtio-block0-image = virt68k.img
hostcom-driver = stdio
hostnet-driver = auto
@@ -2648,7 +2663,6 @@ After a while again, the familiar instal
[ 1.1400030] init: trying /sbin/init
:
-
@@ -2764,10 +2778,17 @@ the mouse pointer will not move as expec
(2021/12/30)
- Wayland の場合にウィンドウサイズが正しく設定されない場合があります。
-wxWidgets (3.0.5) のバグと思われます。
+wxWidgets (3.0/3.2) のバグと思われます。
On Wayland, window size may be incorrect.
-This may be due to wxWidgets (3.0.5) bug.
-(2021/12/30)
+This may be due to wxWidgets (3.0/3.2) bug.
+(2021/12/30, Updated 2024/07/03)
+
+ - nono ではありませんが、wxWidgets 3.2 (wxGTK3) は
+NetBSD/sparc でウィンドウ内がほぼ描画されないようです。
+wxWidgets 3.0 (wxGTK2) であれば動作します。
+
On wxWidgets 3.2 (wxGTK3), it seems that the inside of the window
+is hardly drawn at NetBSD/sparc. wxWidgets 3.0 (wxGTK2) can.
+(2024/07/03)
@@ -2790,15 +2811,18 @@ In such case, you may need to upgrade it
+Included Software"); ?>
+
+
+
+
Changes"); ?>
-See
changes.html.
-changes.php)\n";
- }
-?>
+See .