--- nono/doc/index.html 2026/04/29 17:05:00 1.1.1.11 +++ nono/doc/index.html 2026/04/29 17:05:04 1.1.1.12 @@ -54,7 +54,7 @@ dt.dt-indent { -

nono 0.2.2 (2021/09/09)

+

nono 0.2.3 (2021/10/03)

nono は NetBSD とかで動作する OMRON LUNA-I や LUNA88K とかのエミュレータです。 nono is OMRON LUNA-I and LUNA88K emulator runs on NetBSD and etc. @@ -162,15 +162,13 @@ make the specified file a configuration And in both cases, make the directory where that file is located a VM directory. If -c option is omitted, -vmpath is considered as the current directory. -

+vmpath is considered as the current directory.

-f
高速モードで起動します。 GUI なら起動後にもメニューから変更できますが、その初期値を変えるだけです。 Boot as the fast mode. You can change this mode on GUI menu after boot, -and the option only changes its initial state. -

+and the option only changes its initial state.

--fontsize height
GUI 版のみ。 全サブウインドウの起動時のフォントサイズを指定します。 @@ -182,8 +180,7 @@ GUI Only. Specifies the initial fontsize on all sub windows. height is one of 12 or 16. The default value is 12. -You can change this value on GUI menu after boot. -

+You can change this value on GUI menu after boot.

-s scale
--scale scale
GUI 版のみ。 @@ -210,26 +207,24 @@ parsing -V options.

設定ファイルで指定した name=configvalue の代わりに このオプションの name=value を適用します。 Use this name=value -instead of name=configvalue specified in configuration file. -

+instead of name=configvalue specified in configuration file.

-X file
ホストの file をロードして実行します。 file が相対パスの場合カレントディレクトリからのパスになります。 ファイルが gzip 圧縮されていれば自動的に展開します。 (展開後の) ファイル形式は a.out (OMAGIC) か ELF で、 実際にはブートローダとカーネル程度しか想定していません。 -設定ファイルの prom-image とともに指定されると --X のほうが優先します。 +設定の prom-imageluna-dipsw1 の内容(後述)によらず +内蔵の互換 PROM で起動し、直ちにホストファイルを実行します。 Loads and executes host's file. If file is relative path, it is path from the current directory. If the file is gzip'd, it is automatically extracted. The supported file format (after extracting) is a.out (OMAGIC) or ELF. Actually, it only assumes bootloaders or kernels. -If this option is specified at the same time as -prom-image in configuration file, -this option preceeds. -

+Regardless of prom-image and luna-dipsw1 configuration +(see below), +the internal emulated PROM loads and executes the host file immediately.

以下開発用。For developers: @@ -249,6 +244,8 @@ this option preceeds.
ログレベルを指定します。 カンマで区切って複数指定することも出来ます。 -Lhelp で name の一覧を表示します。
+
--load-only file
+
-X オプションと同様ですが、PROM のプロンプトで停止します。
-M name[,name2,...]
起動時に表示するモニタウィンドウを指定します。 カンマで区切って複数指定することも出来ます。 @@ -271,8 +268,7 @@ VM の設定ファイルはその VM デ Its syntax is key = value format, one per line. White spaces before and after key and value are ignored. Blank lines, lines beginning with "#", and -lines with unrecognized key are also ignored. - +lines with unrecognized key are also ignored.

設定項目は次の通りです。 The configuration items are: @@ -281,8 +277,7 @@ lines with unrecognized key are also ign

VM 種別を以下のいずれかから指定します。 省略不可です。 Specifies the VM type from the following. -This field is mandatory. - +This field is mandatory.
 luna … LUNA-I
luna88k … LUNA88K @@ -297,8 +292,7 @@ If real, synchronize with the r if virtual, synchronize with the virtual time. The default is real. This feature is under experimentation and may be changed in the future -without notice. -

+without notice.

debugger-port = integer
デバッガの TCP 待ち受けポート番号を指定します。 0 なら待ち受けを行いません。 @@ -395,8 +389,7 @@ In all cases, you need to prepare two sh nono-ifup and nono-ifdown in the VM directory or its parent directory. Even if you don't have anything to do in these scripts, -you need to prepare empty scripts that will terminate successfully. -

+you need to prepare empty scripts that will terminate successfully.

hostnet-fallback = integer
hostnet-driver で指定したドライバが使用可能でなかった時、 0 ならプロセスを終了します。 @@ -479,8 +472,7 @@ DIPSW#2 が "11111111" なら if the DIPSW#2 is "11111111". Otherwise, the bootloader will enter interactive mode. (I doubt that they actually wanted to switch with only #8) - -

+

monitor-rate = integer
テキスト系モニタウィンドウの更新頻度を Hz 単位で指定します。 1 から 60 までの間で指定でき、デフォルトは 20Hz です。 @@ -488,8 +480,7 @@ Otherwise, the bootloader will enter int Specifies refresh rate of all text monitor windows in Hz. It ranges from 1 to 60. The default is 20Hz. You can change this value on GUI menu after boot, -but unlike this configuration value, there are only a few preset choices. -

+but unlike this configuration value, there are only a few preset choices.

mpu-clock = value
MPU のクロック数を MHz 単位で指定します。 デフォルトは LUNA-I なら 20MHz、LUNA88K なら 25MHz です。 @@ -526,8 +517,7 @@ The default value is empty. nono 内蔵のなんちゃって下位互換 ROM で起動します。 If you does not have the real LUNA machines, you can boot with nono's internal downward compatible emulated ROM -if you set this field empty (or leave it as the default). - +if you set this field empty (or leave it as the default).

LUNA-I 実機を持っている場合は ROM ファイルを指定することで実機 ROM で起動できます。 @@ -539,16 +529,14 @@ you can boot with the real ROM spcifying The ROM file is extracted from 0x41000000-0x4101ffff (128KB) of the real LUNA-I machine. For now, only V4.22 (Thu Jul 27 11:45:42 1989) is supported. -I have no idea about other ROMs. - +I have no idea about other ROMs.

LUNA88K 実機の場合は 0x41000000-0x4103ffff (256KB) を保存したものです。 今のところ ROM は version 1.20 のみサポートしています。 For LUNA88K, the ROM file is extracted from 0x41000000-0x4103ffff (256KB). -For now, only version 1.20 is supported. -

+For now, only version 1.20 is supported.

ram-size = integer
搭載する RAM サイズを MB 単位で指定します。 LUNA-I のデフォルトは 16MB です。 @@ -565,16 +553,14 @@ If larger, you can specify up to 255MB i By the way, NetBSD/luna68k needs at least 8MB to boot. On LUNA88K, the default is 64MB. If the size is less than 64MB, you can specify in 16MB unit. -If larger, you can specify up to tentative 255MB in 1MB unit. -

+If larger, you can specify up to tentative 255MB in 1MB unit.

show-statuspanel = integer
ステータスパネルを表示するかどうかを指定します。 0 なら非表示、1 なら表示です。 起動後はメニューから変更可能です。 Specifies whether to display the status panel or not. If 0, it is hidden; if 1, it is shown. -You can change it on GUI menu after boot. -

+You can change it on GUI menu after boot.

spc0-idN-image = devtype[,path]
SCSI デバイスとイメージを指定します。キーの N には 0 から 7 が入ります。 ただし ID 7 は本体が使用しますので指定しないでください。 @@ -586,8 +572,7 @@ Specifies SCSI device and image. Ndevtype and the disk image path path separated by ","(comma). -devtype can be one of the following: - +devtype can be one of the following:
  • hd … HD drive
  • cd … CD-ROM drive @@ -601,8 +586,7 @@ the disk image path path separate If devtype is hd, path cannot be ommitted. If devtype is cd or mo, path can be ommitted. -If the path is relative path, it is from the VM directory. - +If the path is relative path, it is from the VM directory.

    例えば、nono.cfg と同じディレクトリに置いた sd0.img を @@ -630,8 +614,7 @@ spc0-id4-image = mo Currently, the default value is 0 (This may be something like SSD :-). If you specify about 16 or so, you can feel nostalgic, -but this feature is still unstable. -

+but this feature is still unstable.

spc0-idN-writeignore = integer
指定の SCSI HD デバイスへの書き込みを無視するかどうか指定します。 0 なら通常動作(書き込みを行う)です。 @@ -664,8 +647,7 @@ clear the write permission from the imag このオプションは開発用です。 Obsolete. Use spc0-idN-writeignore instead. -This option is for developers. -

+This option is for developers.

@@ -679,8 +661,8 @@ This option is for developers. ダブルクリックすると高速/等速モードの指定を切り替えることができます。 The performance meter's icon at the center of the status panel shows the VM speed status. -You can switch full speed / syncronized mode by double-clicking on this icon. - +You can switch full speed / syncronized mode by double-clicking +on this icon.
@@ -691,26 +673,31 @@ You can switch full speed / syncronized the user has specified syncronized mode and the VM is running in synchronized mode.
- + -三角2つの場合、ユーザが高速モードを指定していて、等速モードで実行中です。 -キー入力中(後述)または VM がアイドル状態(m68k の STOP 命令)などで起きます。 +三角3つの場合、ユーザが高速モードを指定していて、高速モードで実行中です。 高速モード中はパーセントではなく何倍速で動作しているかを表します。 -When an icon (two triangles) is displayed, +When an icon (three triangles) is displayed, the user has specified full speed mode and -the VM is running in synchronized mode. -This will happen during keystrokes (see below) or when the VM is idle -(STOP instruction on m68k). - +the VM is running in full speed mode.
- + -三角3つの場合、ユーザが高速モードを指定していて、高速モードで実行中です。 -When an icon (three triangles) is displayed, +三角2つの場合、ユーザが高速モードを指定していて、等速モードで実行中です。 +以下のいずれかの状態で起きます。 +When an icon (two triangles) is displayed, the user has specified full speed mode and -the VM is running in full speed mode. +the VM is running in synchronized mode. +This will happen when any of the following occurs: +
    +
  • キー押下中(後述)あるいはキーボードブザー発声中 +When any keys are pressed (see below), +or the keyboard buzzer is sounding. +
  • STOP instruction on m68k. +
  • pseudo STOP state on m88k. +
@@ -749,8 +736,7 @@ or enter accelerator key to open the men (If the application loses the focus after the key is pressed, the application will not receive the subsequent key release). And another disadvantage is that -it will be hard to use for non Japenese keyboard users. - +it will be hard to use for non Japenese keyboard users.

一方、キャラクタ入力モードは、ホストから入力された「文字」を 再び LUNA のキーコードに解釈し直して VM に入力するモードです。 @@ -1021,8 +1007,7 @@ while any keys are pressed. That is why the above-mentioned icon distinguishes them. If keys continue to be pressed for some reasons, the VM also continues to run syncronized mode. -In this case, you can resolve it by using the software keyboard window. - +In this case, you can resolve it by using the software keyboard window. @@ -1033,10 +1018,8 @@ In this case, you can resolve it by usin つついさんが NetBSD/luna68k 9.2 の liveimage を用意されています。 Tsutsui-san has provided a liveimage of NetBSD/luna68k 9.2.

-
https://twitter.com/tsutsuii/status/1262429647364427783
-
https://twitter.com/tsutsuii/status/1405206240913805313
+
https://twitter.com/tsutsuii/status/1436381589211017217
ここではこれを起動してみます。Let's try it.
@@ -1052,8 +1035,8 @@ 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/20210614-luna68k/ +http://teokurebsd.org/netbsd/liveimage/20210910-luna68k/
  • 以下の内容の設定ファイル nono.cfg を VM ディレクトリ ~/nono/luna/ @@ -1066,7 +1049,7 @@ By the way, to simplify the explanation, However, please configure the network if necessary.
     vmtype = luna
    -spc0-id6-image = hd,liveimage-luna68k-raw-20210614.img
    +spc0-id6-image = hd,liveimage-luna68k-with-packages-20210910.img
     hostnet-driver = none
     
    @@ -1092,7 +1075,7 @@ x⏎ You will see a screen like this. The bold text indicates the characters you need to enter.
    -NONO 0.2.0 Emulated ROM Monitor for LUNA-I
    +NONO 0.2.3 Emulated ROM Monitor for LUNA-I
     
     ** NVRAM Initialized.
     
    @@ -1122,8 +1105,7 @@ In addition, after the first login, you
     This is because the infamous makemandb(8) runs heavily in the background
     for a looooong time.
     It's very sad to me that these two accidents which are far from the ideal
    -are the first experiences of a newcomer.
    -
    +are the first experiences of a newcomer.
     
     
  • 終了する時は root ユーザで “shutdown -p now” を実行してください。 @@ -1137,11 +1119,11 @@ and nono will terminate when the VM is p
    5.2. OpenBSD/luna88k を実行してみる Try OpenBSD/luna88k
    -あおやまさんが OpenBSD/luna88k 6.9 の liveimage を用意されています。 -Aoyama-san has provided a liveimage of OpenBSD/luna88k 6.9. +あおやまさんが OpenBSD/luna88k 7.0-beta の liveimage を用意されています。 +Aoyama-san has provided a liveimage of OpenBSD/luna88k 7.0-beta.
    -
    https://twitter.com/ao_kenji/status/1404784588015112192 +
    https://twitter.com/ao_kenji/status/1439351714033766402
    ここではこれを起動してみます。Let's try it.
    @@ -1152,10 +1134,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-YYYYMMDD.img.gz +
  • 以下のリンクから liveimage-luna88k-raw-20210918.img.gz をダウンロードして展開し、 VM ディレクトリ ~/nono/luna88k/ に置きます。 -Download liveimage-luna88k-raw-YYYYMMDD.img.gz from the following link, +Download liveimage-luna88k-raw-20210918.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-20210614.img
    +spc0-id6-image = hd,liveimage-luna88k-raw-20210918.img
     hostnet-driver = none
     
    @@ -1194,7 +1176,7 @@ b⏎ You will see a screen like this. The bold text indicates the characters you need to enter.
    -NONO 0.2.0 Emulated ROM Monitor for LUNA88K
    +NONO 0.2.3 Emulated ROM Monitor for LUNA88K
     
     ** NVRAM Initialized.
     
    @@ -1243,8 +1225,7 @@ sysinst 等で OS をアップグレー
     に戻るのがハマりポイントです。
     By default, /dev/tap is only accessible to privileged user.
     You need to chmod /dev/tap (without unit number) appropriately.
    -Note that upgrading using sysinst always reset the permission to 600.
    -
    +Note that upgrading using sysinst always reset the permission to 600.
     
     
  • bridge(4) インタフェースを作成し、 ホストの外部(物理)インタフェースをブリッジに追加しておきます。 @@ -1351,8 +1332,8 @@ You may write in English.
    9.3. パッチの提供について About contributes
    パッチを提供してくださる場合は以下に同意したものとします。 -If you provide a patch to nono, you must agree to the following conditions: - +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.