--- nono/doc/index.php 2026/04/29 17:05:39 1.1.1.20 +++ nono/doc/index.php 2026/04/29 17:05:44 1.1.1.21 @@ -244,8 +244,7 @@ This option is equivalent to fast-mo _EOM_ ); -option_item("--fd0 file
--fd1 file
", <<<_EOM_ - +option_item("--fd0 file
--fd1 file", <<<_EOM_ (X68030 Only) フロッピーイメージを指定します。 file が相対パスの場合カレントディレクトリからのパスになります。 設定の fd0-imagefd1-image @@ -255,7 +254,6 @@ 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. -
_EOM_ ); @@ -545,7 +543,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 相当の動作しか出来ません。 @@ -555,7 +553,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. - _EOM_ ); @@ -785,45 +782,106 @@ Note that this item is ignored if the ho _EOM_ ); -config_item("hostcom-driver = string", <<<_EOM_ -シリアルポートのホスト側ドライバを指定します。 +config_item("" . + "hostcom-driver = string
    " . + "hostcom-tcp-port = integer
    " . + "hostcom-fallback = integer", <<<_EOM_ + +それぞれ hostcom0-* の別名です。 +These are aliases for hostcom0-* respectively. + +_EOM_ +); + +config_item("hostcomN-driver = string", <<<_EOM_ +起動時の +シリアルポート 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. +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. + _EOM_ ); -config_item("hostcom-tcp-port = integer", <<<_EOM_ +config_item("hostcomN-tcp-port = integer", <<<_EOM_ ホストドライバが tcp の時の TCP 待ち受けポート番号を指定します。 Specifies the TCP port number that host driver listens. _EOM_ ); -config_item("hostcom-fallback = integer", <<<_EOM_ -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. +config_item("hostcomN-fallback = integer", <<<_EOM_ + +廃止になりました。has become obsoleted. + _EOM_ ); @@ -852,16 +910,17 @@ config_item( "hostnet-usermode-net6 = string
    " . "hostnet-fallback = integer
    ", <<<_EOM_ それぞれ hostnet0-* の別名です。 +These are aliases for hostnet0-* respectively. _EOM_ ); config_item("hostnetN-driver = string", <<<_EOM_ -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. @@ -891,6 +950,36 @@ configure で libslirp が無効にな 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. +

    +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. + _EOM_ ); @@ -992,15 +1081,9 @@ _EOM_ ); config_item("hostnetN-fallback = integer", <<<_EOM_ -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. + _EOM_ ); @@ -1581,8 +1664,7 @@ See spc0-idN-writeignore _EOM_ ); -config_item("virtio-scsi-idN-image = devtype[,path]", <<<_EOM_ - +config_item("virtio-scsi-idN-image = devtype[,path]", <<<_EOM_ (virt-m68k Only) VirtIO SCSI デバイスとイメージを指定します。 イニシエータ ID が不要なため、 @@ -1592,19 +1674,16 @@ VirtIO SCSI デバイスとイメージ You can specify all of 0 thorugh 7 for the key N, because there is no initiator. See spc0-idN-image for more details. - _EOM_ ); -config_item("virtio-scsi-idN-writeignore = integer", <<<_EOM_ - +config_item("virtio-scsi-idN-writeignore = integer", <<<_EOM_ (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. - _EOM_ ); @@ -1696,6 +1775,7 @@ SPC (MB89352) ◎ SCSI HD/CD/MO Devices ○ XP(HD647180) CPU △ XP(HD647180) Timer0/1 ○ +XP(HD647180) ASCI XP(HD647180) その他の内蔵デバイス
    Other internal devices × XP 周辺デバイス Peripheral devices × 電源 Power Circuit ○ @@ -1761,7 +1841,7 @@ Goldfish TTY ○ VirtIO Block ○ VirtIO Network ○ VirtIO Entropy ◎ -VirtIO SCSI +VirtIO SCSI ○ Power Control ○ __EOM__; @@ -1806,10 +1886,9 @@ FPU はある程度動作すると思い 68881 相当のハードウェアエミュレーションで実行出来てしまうという 通常あまり困らないタイプの問題は存分にあります。
    - 命令の実行サイクルについてはある程度似せているつもりですが、 そもそも 68040 はパイプライン方式なので 68000 時代のようにサイクル数を -正確にエミュレーションすることはおそらく不可能です。 +正確にエミュレーションすることはおそらく不可能です。
    68040 は X68030 と virt-m68k でのみ選択可能です。 NEWS に 68040 搭載モデルはなさそうなのと、 @@ -1884,6 +1963,17 @@ virt-m68k (や NEWS) のようにシリ + +

    +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) です。 +
    + +
    現実の Nereid はイーサネット/メモリ/USB の複合拡張ボードで、 @@ -1946,21 +2036,9 @@ Also, SW8 specifies enable/disable of th
    - -
    -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) です。 -
    - - Time Synchronization on NetBSD/x68k"); ?>
    - X68030 でゲスト OS に NetBSD/x68k を使う場合、 nono と NetBSD/x68k を次の通りに設定すれば nono をフルスピード動作にしてもゲスト OS の時間がずれなくなります。 @@ -1990,7 +2068,6 @@ sysctl の設定によって、ゲスト /etc/rc.d/ntpdate start を実行してください) -