--- nono/doc/index.html 2026/04/29 17:05:39 1.1.1.21 +++ nono/doc/index.html 2026/04/29 17:05:44 1.1.1.22 @@ -72,10 +72,10 @@ dt.dt-indent { background-color: var(--light-green); } -nono document (1.3.0) +nono document (1.4.0) -

nono 1.3.0 (2025/02/26)

+

nono 1.4.0 (2025/03/30)

nono は NetBSD とかで動作する OMRON LUNA-I/LUNA-88K のエミュレータです。 何故か SHARP X68030 と virt-m68k も動いたりするかも知れません。 @@ -249,9 +249,8 @@ GUI なら起動後にもメニューか You can change this mode on GUI menu after boot, and the option only changes its initial state. This option is equivalent to fast-mode=1 in configuration.

-
--fd0 file
--fd1 file
-
-(X68030 Only) フロッピーイメージを指定します。 +
--fd0 file
--fd1 file
+
(X68030 Only) フロッピーイメージを指定します。 file が相対パスの場合カレントディレクトリからのパスになります。 設定の fd0-imagefd1-image とは相対パスの起点の違いを除いて同一です。 @@ -259,8 +258,7 @@ This option is equivalent to fast-mo If file is relative path, it is path from the current directory. This option is equivalent to fd0-image, fd1-image -in configuration except for base directory of the relative path. -

+in configuration except for base directory of the relative path.

--fontsize height
GUI 版のみ。 全サブウインドウの起動時のフォントサイズを指定します。 @@ -485,7 +483,7 @@ The default is real. デフォルトは real です。 On virt-m68k, Goldfish Timer interrupt and Goldfish RTC are the target. The default is real. -
  • X68030 では MFP のタイマー割り込みと RTC(RP5C15) が対象で、 +
  • X68030 では MFP のタイマー割り込みと RTC(RP5C15) が対象で、 デフォルトは virtual です。 MFP の TxDR レジスタの読み出しは、 この指定に関わらず常に virtual 相当の動作しか出来ません。 @@ -495,7 +493,6 @@ The default is virtual. Note that reading from MFP TxDR register only works as virtual, regardless of this setting. See also Time Synchronization on NetBSD/x68k. -

  • debugger-driver = string
    デバッガのコンソールドライバを指定します。 @@ -672,39 +669,94 @@ 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.

    -
    hostcom-driver = string
    -
    シリアルポートのホスト側ドライバを指定します。 +
    hostcom-driver = string
    hostcom-tcp-port = integer
    hostcom-fallback = integer
    +
    +それぞれ hostcom0-* の別名です。 +These are aliases for hostcom0-* respectively. +

    +
    hostcomN-driver = string
    +
    起動時の +シリアルポート N のホスト側ドライバを指定します。 stdio なら標準入出力を使用します。 tcp なら TCP ポートで TELNET プロトコルで待ち受けます。 -cons ならメイン画面で端末エミュレーションを行います。 +console (または cons) +ならメイン画面で端末エミュレーションを行います。 none ならホスト側とは一切通信を行いません。 -ゲスト機種によって対応しているホスト側ドライバの種類とデフォルト値が変わります。 -LUNA-I、LUNA-88K、X68030 では stdiotcpnone -が選択可能でデフォルトは none です。 -virt-m68k、NEWS では stdiotcpconsnone -すべてが選択可能でデフォルトは cons です。 -Specifies the host driver of serial port. +Specifies the host driver of serial port N on startup. stdio uses the standard input/output. tcp listens on TCP port using TELNET protocol. -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.

    -
    hostcom-tcp-port = integer
    +console (or cons) does a terminal emulation in main panel. +none doesn't make any communication with the host. +

    + +hostcomN と +VM 内のデバイス(ポート)との対応は下表の通り VM 種別ごとに固定です。 +The correspondence between hostcomN and +device (port) in the VM is fixed depending on the VM type +as the following table. + +

    + +
    hostcom\VMLUNA-I/LUNA-88KX68030NWS-1750virt-m68k +
    hostcom0 + SIO(uPD7201) Ch.A + SCC(Z8530) Ch.A + SCC(Z8530) Ch.A + Goldfish TTY +
    hostcom1 + HD647180 ASCI Ch.0 + N/A + N/A + N/A +
    hostcom2 + HD647180 ASCI Ch.1 + N/A + N/A + N/A +
    +
    +

    +また、VM 種別によって有効なホスト側ドライバの種類とデフォルト値も異なります。 +The choices and default value vary depending on the VM type. + +

    + +
    VMLUNA-I/LUNA-88KX68030NWS-1750virt-m68k +
    有効なドライバ
    Available drivers +
    stdio
    tcp
    none
    +
    stdio
    tcp
    none
    +
    stdio
    tcp
    console
    none +
    stdio
    tcp
    console
    none +
    hostcom0-driver のデフォルト値
    Default value +
    none + none + console + console +
    hostcom[12]-driver のデフォルト値
    Default value +
    none + N/A + N/A + N/A +
    +
    +

    + +指定したドライバが使用出来なかった場合エラー終了します。 +起動後はメニューからドライバを変更できますが、パラメータは(まだ?)変更できません。 +実行中に変更に失敗した場合は none にフォールバックします。 +Terminate if the specified driver could not be used. +You can change the driver by menu at runtime, +but its parameters cannot be changed (yet?). +If changing at runtime fails, it will fallback to none. +

    +
    hostcomN-tcp-port = integer
    ホストドライバが tcp の時の TCP 待ち受けポート番号を指定します。 Specifies the TCP port number that host driver listens.

    -
    hostcom-fallback = integer
    -
    hostcom-driver で指定したドライバが使用可能でなかった時、 -0 ならプロセスを終了します。1 なら none を選択して実行を継続します。 -デフォルトは 0 です。 -Specifies the behavior when the driver which is selected by -hostcom-driver is unusable; -terminate the process if 0, -or continue to run using the none driver if 1. -The default is 0.

    +
    hostcomN-fallback = integer
    +
    +廃止になりました。has become obsoleted. +

    hostkbd-input = string
    (LUNA and X68030 Only) ホストキーボードの入力モードを指定します。 @@ -718,14 +770,15 @@ The default is 0.

    The defualt is char. See About VM for details.

    hostnet-driver = string
    hostnet-afpacket-ifname = ifname
    hostnet-bpf-ifname = ifname
    hostnet-tap-devpath = path
    hostnet-usermode-hostfwd = string
    hostnet-usermode-net = string
    hostnet-usermode-net6 = string
    hostnet-fallback = integer
    -
    それぞれ hostnet0-* の別名です。

    +
    それぞれ hostnet0-* の別名です。 +These are aliases for hostnet0-* respectively.

    hostnetN-driver = string
    -
    N +
    起動時の N 番目のイーサネットデバイスのホスト側ドライバを指定します。 afpacketbpftapusermode のうち configure で検出したものと autonone が選択可能です。 -Specifies the host driver of N-th -ethernet device. +Specifies the host driver of N-th ethernet device +on startup. afpacket, bpf, tap and usermode can be specified only if the configure detects them. auto and none can always be specified. @@ -754,7 +807,37 @@ configure で libslirp が無効にな 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.

    +the default of hostnet1-driver is none. +

    +hostnetN と +VM 内のデバイスとの対応は下表の通り VM 種別ごとに固定です。 +The correspondence between hostnetN and +device in the VM is fixed depending on the VM type as the following table. +

    + +
    hostnet\VMLUNA-I/LUNA-88KX68030NWS-1750virt-m68k +
    hostnet0 + Lance(AM7990) + Nereid#0 (RTL8019AS) + Lance(AM7990) + VirtIO Network +
    hostnet1 + N/A + Nereid#1 (RTL8019AS) + N/A + N/A +
    +
    +

    + +指定したドライバが使用出来なかった場合エラー終了します。 +起動後はメニューからドライバを変更できますが、パラメータは(まだ?)変更できません。 +実行中に変更に失敗した場合は none にフォールバックします。 +Terminate if the specified driver could not be used. +You can change the driver by menu at runtime, +but its parameters cannot be changed (yet?). +If changing at runtime fails, it will fallback to none. +

    hostnetN-afpacket-ifname = ifname
    ホストドライバが afpacket の時にバインドするインタフェースを1つ指定します。 ifnameauto @@ -835,15 +918,9 @@ you need to prepare empty scripts that w

    IPv6 には対応していません。

    hostnetN-fallback = integer
    -
    hostnetN-driver で指定したドライバが使用可能でなかった時、 -0 ならプロセスを終了します。 -1 なら none を選択して実行を継続します。 -デフォルトは 0 です。 -Specifies the behavior when the driver which is selected by -hostnetN-driver is unusable; -terminate the process if 0, -or continue to run using the none driver if 1. -The default is 0.

    +
    +廃止になりました。has become obsoleted. +

    iplrom1-image = path
    (X68030 Only) X68030 の外部 IPLROM イメージファイルのパスを指定します。 @@ -1328,9 +1405,8 @@ If the path is relative path, it is from Specifies whether nono writes a writing to VirtIO block devices back to the diskimage. See spc0-idN-writeignore for details.

    -
    virtio-scsi-idN-image = devtype[,path]
    -
    -(virt-m68k Only) +
    virtio-scsi-idN-image = devtype[,path]
    +
    (virt-m68k Only) VirtIO SCSI デバイスとイメージを指定します。 イニシエータ ID が不要なため、 キーの N には 0 から 7 が指定できます。 @@ -1338,17 +1414,14 @@ VirtIO SCSI デバイスとイメージ Specifies VirtIO SCSI device and image. You can specify all of 0 thorugh 7 for the key N, because there is no initiator. -See spc0-idN-image for more details. -

    -
    virtio-scsi-idN-writeignore = integer
    -
    -(virt-m68k Only) +See spc0-idN-image for more details.

    +
    virtio-scsi-idN-writeignore = integer
    +
    (virt-m68k Only) 指定の VirtIO SCSI デバイスへの書き込みをイメージに書き戻すかどうか指定します。 詳細は spc0-idN-writeignore を参照してください。 Specifies whether nono writes a writing to VirtIO SCSI devices back to the diskimage. -See spc0-idN-writeignore for details. -

    +See spc0-idN-writeignore for details.

    windrv-path = path
    (X68030 Only) Windrv でゲスト側に見せるホストディレクトリを指定します。 @@ -1456,6 +1529,9 @@ XP プロセッサのクロック数を XP(HD647180) Timer0/1 ○ +XP(HD647180) ASCI + + XP(HD647180) その他の内蔵デバイス
    Other internal devices × @@ -1631,8 +1707,8 @@ XP プロセッサのクロック数を VirtIO Entropy ◎ -VirtIO SCSI - +VirtIO SCSI + ○ Power Control ○ @@ -1662,10 +1738,9 @@ FPU はある程度動作すると思い 68881 相当のハードウェアエミュレーションで実行出来てしまうという 通常あまり困らないタイプの問題は存分にあります。
    - 命令の実行サイクルについてはある程度似せているつもりですが、 そもそも 68040 はパイプライン方式なので 68000 時代のようにサイクル数を -正確にエミュレーションすることはおそらく不可能です。 +正確にエミュレーションすることはおそらく不可能です。
    68040 は X68030 と virt-m68k でのみ選択可能です。 NEWS に 68040 搭載モデルはなさそうなのと、 @@ -1745,9 +1820,21 @@ virt-m68k (や NEWS) のようにシリ + +
    +4.9. 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.9. X68030 の Nereid エミュレーション
    +4.10. X68030 の Nereid エミュレーション
    現実の Nereid はイーサネット/メモリ/USB の複合拡張ボードで、 このうちメモリは、メインメモリの増設に使える他、 メインメモリとして使わなかった領域をバンクメモリとして使うことも出来ます。 @@ -1808,22 +1895,9 @@ Also, SW8 specifies enable/disable of th
    - -
    -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. NetBSD/x68k での時間同期Time Synchronization on NetBSD/x68k
    - X68030 でゲスト OS に NetBSD/x68k を使う場合、 nono と NetBSD/x68k を次の通りに設定すれば nono をフルスピード動作にしてもゲスト OS の時間がずれなくなります。 @@ -1853,7 +1927,6 @@ sysctl の設定によって、ゲスト /etc/rc.d/ntpdate start を実行してください) -
    @@ -2397,7 +2470,7 @@ x⏎ You will see a screen like this. The bold text indicates the characters you need to enter.
    -NONO 1.3.0 Emulated ROM Monitor for LUNA-I
    +NONO 1.4.0 Emulated ROM Monitor for LUNA-I
     
     ** NVRAM Initialized.
     
    @@ -2495,7 +2568,7 @@ b⏎
     You will see a screen like this.  The bold text indicates
     the characters you need to enter.
     
    -NONO 1.3.0 Emulated ROM Monitor for LUNA-88K
    +NONO 1.4.0 Emulated ROM Monitor for LUNA-88K
     
     ** NVRAM Initialized.