nono supports multiple architectures so that it needs configuration. -First, nono reads a configuration file -names ~/.nono.cfg if exists, then -reads a configuration file names nono.cfg in the current directory -if exists +First, nono reads a configuration file +names ~/.nono.cfg if exists, then +reads a configuration file names nono.cfg in the current directory if exists (You can specify the configuration file path (or VM directory) using -c option). See the following Configuration section for @@ -226,45 +223,38 @@ 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.-
nono will create the initial SRAM.DAT for X68030 and exit, -if there is no SRAM.DAT in the VM directory.-
Boot as the fast mode. 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.
GUI Only. Specifies the initial fontsize of all sub windows. You can change this value on GUI menu after boot. -This option is equivalent to monitor-fontsize in configuration.
GUI Only. Specifies the initial main window scale in real number. - -This is equivalent to mainview-scale in configuration. +This is equivalent to mainview-scale in configuration. You can change this scale on GUI menu after boot.
3. 設定 Configuration
nono's configurations are always applied in the following order.- -
-
+
- デフォルト値
Default value
- ~/.nono.cfg があればその内容
Contents of ~/.nono.cfg if exists
@@ -368,7 +356,6 @@ nono の設定はいずれも以下のContents of nono.cfg in the VM directory (or the file specified by -c option) if exists
- コマンドラインオプション
Command line option
- ethernet-macaddr = string -
- (LUNA and NEWS only) +
- ethernet-macaddr = string
ethernetN-macaddr = string
+ - N 番目の イーサネットデバイスの仮想マシン側の MAC アドレスを指定します。 XX:XX:XX:XX:XX:XX 形式で指定します。 auto なら自動的に決定します。 -デフォルトは auto です。 -
- extram-size = integer -
- -(X68030 Only) +デフォルトは auto です。 +ethernet-macaddr は ethernet0-macaddr の別名です。 +
- extram-size = integer +
- (X68030 Only)
拡張メモリのサイズを MB 単位で指定します。
今の所以下だけが指定できます。
Specifies the extended RAM size in MB. For now, only the following can be specified.
--
+
- 0 … 拡張メモリを使用しません。デフォルトです。
No extended memory. It's default.
- 16 … TS-6BE16 互換モードで、
@@ -526,13 +510,11 @@ Its address is $0100'0000〜$01ff'ffff a
060turbo compatible mode. Its address is $1000'0000〜$17ff'ffff/$1fff'ffff and the size is 128 or 256MB.
-
- - 0 … 拡張メモリを使用しません。デフォルトです。
- fast-mode = integer -
- -起動時の動作モードを指定します。0 なら通常モード、1 なら高速モードです。 + +
- fast-mode = integer +
- 起動時の動作モードを指定します。0 なら通常モード、1 なら高速モードです。 デフォルトは 0 です。 -コマンドラインオプション -f でも高速モードへのみ指定可能です。 - +コマンドラインオプション -f でも高速モードへのみ指定可能です。
- fd-drive = integer
- (X68030 Only) フロッピードライブの数を 0 から 4 で指定します。 @@ -605,8 +587,8 @@ The default is 0. jp means the Japanese keyboard mode. The defualt is char. See About VM for details. -
- hostnet-driver = string -
- (LUNA and NEWS Only) +
- hostnetN-driver = string +
- N 番目の
イーサネットデバイスのホスト側ドライバを指定します。
afpacket、bpf、tap のうち
ホスト OS がサポートしているものと auto、none が選択可能です。
@@ -616,8 +598,10 @@ See About VM for
none ならホスト側とは一切通信を行いません。
auto ならホスト OS がサポートしているもののうち
tap → afpacket → bpf を順に試します。
-デフォルトは auto です。
-
Specifies the host driver of ethernet device. +hostnet0-driver のデフォルトは auto、 +hostnet1-driver のデフォルトは none です。 +
Specifies the host driver of N-th +ethernet device. afpacket, bpf, and tap can be specified only if the host OS supports them. auto and none can always be specified. @@ -628,10 +612,10 @@ and tap uses tap(4) interface. If auto is specified, it tries tap, afpacket, and bpf in that order (if the host OS supports them). -The default is auto.
- - hostnet-afpacket-ifname = ifname -
- (LUNA and NEWS Only) -ホストドライバが afpacket の時にバインドするインタフェースを1つ指定します。 +The default of hostnet0-driver is auto, +the default of hostnet1-driver is none. +
- hostnetN-afpacket-ifname = ifname +
- ホストドライバが afpacket の時にバインドするインタフェースを1つ指定します。 ifname が auto なら使用可能なインタフェースを1つ自動的に選択します。 デフォルトは auto です。 @@ -641,9 +625,8 @@ If auto is specified as ifna it selects an usable interface automatically. The default is auto. Note that this host driver cannot communicate with the localhost. -
- hostnet-bpf-ifname = ifname -
- (LUNA and NEWS Only) -ホストドライバが bpf の時にバインドするインタフェースを1つ指定します。 +
- hostnetN-bpf-ifname = ifname +
- ホストドライバが bpf の時にバインドするインタフェースを1つ指定します。 ifname が auto なら使用可能なインタフェースを1つ自動的に選択します。 デフォルトは auto です。 @@ -653,9 +636,8 @@ If auto is specified as ifna it selects an usable interface automatically. The default is auto. Note that this host driver cannot communicate with the localhost. -
- hostnet-tap-devpath = path -
- (LUNA and NEWS Only) -ホストドライバが tap の時に使用するデバイスを1つフルパスで指定します。 +
- hostnetN-tap-devpath = path +
- ホストドライバが tap の時に使用するデバイスを1つフルパスで指定します。 デフォルトは auto で、この場合は自動的にデバイスを選択します。 この時の探し方はホスト OS によって異なります。 Linux なら /dev/net/tun を指定したのと同じです。 @@ -682,17 +664,18 @@ In all cases, you need to prepare two sh 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. -
- hostnet-fallback = integer -
- (LUNA and NEWS Only) -hostnet-driver で指定したドライバが使用可能でなかった時、 +
- hostnetN-fallback = integer +
- hostnetN-driver で指定したドライバが使用可能でなかった時、
0 ならプロセスを終了します。
1 なら none を選択して実行を継続します。
デフォルトは 0 です。
Specifies the behavior when the driver which is selected by -hostnet-driver is unusable; +hostnetN-driver is unusable; terminate the process if 0, or continue to run using the none driver if 1. The default is 0.
+ - hostnet-driver = string
hostnet-afpacket-ifname = ifname
hostnet-bpf-ifname = ifname
hostnet-tap-devpath = path
hostnet-fallback = integer
+ - それぞれ hostnet0-* の別名です。
- iplrom1-image = path
- (X68030 Only)
X68030 の外部 IPLROM イメージファイルのパスを指定します。
@@ -824,37 +807,34 @@ LUNA のビデオボードのプレー
1 ならモノクロビデオボード、
4 なら16色 (4bpp) ビデオボード、
8 なら 256色 (8bpp) ビデオボードです。
-デフォルトは 4 です。
+デフォルトは 4 です。
Specifies number of planes on LUNA video board. The valid values are 1, 4 or 8. 1 means a monochrome video board, 4 means 16-color (4bpp) video board, 8 means 256-color (8bpp) video board. -The default value is 4.
- - mainview-scale = double -
- -メインウィンドウの起動時のスケールを実数で指定します。 +The default value is 4. +
- mainview-scale = double +
- メインウィンドウの起動時のスケールを実数で指定します。 コマンドラインオプション -s で上書き可能です。 起動後はメニューから、 プリセットされた倍率とここで指定した倍率には変更可能です。 -デフォルトは 1.0 です。 -
- monitor-fontsize = integer -
- -テキスト系モニタとステータスパネルのフォントサイズを +デフォルトは 1.0 です。 +
- monitor-fontsize = integer +
- テキスト系モニタとステータスパネルのフォントサイズを 12, 16, 24 から指定します。 コマンドラインオプション --fontsize で上書き可能です。 起動後はメニューから変更することができます。 -デフォルトは 12 です。 - +デフォルトは 12 です。
- monitor-rate = integer
- テキスト系モニタウィンドウの更新頻度を Hz 単位で指定します。
1 から 60 までの間で指定でき、デフォルトは 20Hz です。
-起動後にメニューから、プリセットされた頻度
-とここで指定した頻度には変更可能です。
+起動後にメニューから、
+プリセットされた頻度とここで指定した頻度には変更可能です。
Specifies refresh rate of all text monitor windows in Hz. It ranges from 1 to 60. The default is 20Hz. You can choose this value on GUI menu after boot, -from preset rate or rate specified here.
+from preset rate or rate specified here.
- mpu-clock = value
- MPU のクロック数を MHz 単位で指定します。 デフォルトは LUNA-I なら 20MHz、LUNA-88K と X68030 なら 25MHz です。 @@ -873,6 +853,58 @@ m88100 には、m68k の STOP 命令 ( (例えば人間がキーを入力するまで) ホスト CPU パワーを使い潰してビジーウェイトループを実行し続けることになり、ホスト CPU があっつあつになります。 それを防ぐための機能です。 特徴的な命令列を検出して実現しているので、すべての状況で動作するわけではありません。 +
- nereid0-enable = integer
nereid1-enable = integer
+ -
+(X68030 Only)
+Nereid 拡張ボードを装着するかどうかを指定します。
+Nereid は同時に2枚まで使用することができます。
+値は 0 なら装着せず、1 なら装着します。
+デフォルトは 0 (装着しない) です。
+詳細は 4.5 Nereid の章を参照してください。
+
Specifies whether install Nereid expansion board or not. +Up to two board can be operated at the same time. +If 0, the board is not installed. +If 1, the board is installed. +The default value is 0. +See also Section 4.5 Nereid below for details.
+
+ - nereid0-net = integer
nereid1-net = integer
+ -
+(X68030 Only)
+Nereid ボードの NIC (RTL8019AS) のみを無効にすることが出来ます
+(実機では通常そのようなことは出来ません)。
+0 なら無効、1 なら有効です。デフォルトは 1 です。
+通常は 1 のまま使用してください。
+この設定は対応する nereidN-enable が 0
+(ボードを装着しない) の場合は意味を持ちません。
+
This can disable only NIC (RTL8019AS) of Nereid expansion board +(although it's not possible normally in the real world). +It's disabled if 0, or enabled if 1. +The default is 1. Normally, leave it 1. +This item will be ignored if the corresponding nereidN-enable +is 0.
+
+ - nereid0-ram-size = integer
nereid1-ram-size = integer
+ -
+(X68030 Only)
+Nereid ボードのバンクメモリのサイズを MB 単位で指定します。
+指定できるのは 0, 4, 16 です。
+0 を指定するとバンクメモリを無効にします。
+デフォルトは 16 です。
+この設定は対応する nereidN-enable が 0
+(ボードを装着しない) の場合は意味を持ちません。
+
Specifies bank memory size in MB of Nereid expansion board. +The valid values are 0, 4 or 16. +If 0, disable the bank memory. +The default is 16. +This item will be ignored if the corresponding nereidN-enable +is 0.
+
+また通常は必要ありませんが -4 または -16 を指定すると、 +バンクメモリは無効にした上で Nereid 制御ポートのビット6の読み出し値 +(バンクメモリの容量) を再現することが出来ます。 +-4 ならビット6は 0 (4MB)、0 か -16 なら 1(16MB) が読み出せます。 + - news-dipsw = string
- (NEWS Only)
DIPSW の内容を指定します。
@@ -956,10 +988,10 @@ If the size is less than 64MB, you can s
If larger, you can specify up to tentative 255MB in 1MB unit.
- X68030 ではメイン RAM 容量を示し、デフォルトは 12MB です。 4MB から 12MB まで 1MB 単位で指定できます。 -拡張メモリについては extram-size を参照してください。 +拡張メモリについては extram-size を参照してください。
On X68030, the default is 12MB. You can specify it in 1MB unit from 4MB to 12MB. -See extram-size for extended memory.
+See extram-size for extended memory.- NWS-1750 では現状 16MB で変更できません。
On NWS-1750, This is 16MB fixed for now.
@@ -1180,7 +1212,7 @@ This option is temporary and will be dis
- X68030 ではメイン RAM 容量を示し、デフォルトは 12MB です。 4MB から 12MB まで 1MB 単位で指定できます。 -拡張メモリについては extram-size を参照してください。 +拡張メモリについては extram-size を参照してください。
- NVRAM (LUNA and NEWS Only) …
編集するとただちにファイルも更新します。
@@ -1488,7 +1583,18 @@ The last 8 bytes are not editable since
-
4.9. キー入力モード
Key input mode
+4.10. デバイスマップモニタ
Device Map Monitor
+m68k/m88k バスに接続されているデバイスを表示します。 +32ビットアドレスのうち上位 8 ビット、256個分を表示しています。 +1枠が 16MB になります。 +また、X68030 ではこのうち 24ビット空間を別モニタで表示します。 +こちらは 1枠 8KB x 2048個です。 +どちらも内部構造を表示しているだけなので名前に馴染みがない場合があるかもしれません。 ++ + ++4.11. キー入力モード
Key input mode
LUNA も X68030 もキーボードは通常日本語キーボードです (LUNA には英語キーボードも存在するようですが…)。 そのため、ホストが日本語キーボードの場合とそうでない場合のために @@ -1574,7 +1680,7 @@ even though it should not work as a corr-4.10. キャラクタ入力モードのキーコード対応表
Keycode table in the character mode
+4.12. キャラクタ入力モードのキーコード対応表
Keycode table in the character mode
キャラクタ入力モードでの、ホストから入力した文字と VM に送信されるキーの対応は次の通りです。 ファンクションキーとカーソルキーは文字ではありませんが @@ -1680,7 +1786,7 @@ only be typed from the software keyboard-4.11. JP キーボードモードのキーコード対応表
Keycode table in the JP keyboard mode
+4.13. JP キーボードモードのキーコード対応表
Keycode table in the JP keyboard mode
JP キーボードモードでの、ホストキーと VM に送信されるキーの対応は次の通りです。 ここに記載のないキーはソフトウェアキーボードからのみ入力出来ます。The following table shows the correspondence between @@ -1740,7 +1846,7 @@ the software keyboard window.
-4.12. キーリピート
Key Repeat
+4.14. キーリピート
Key Repeat
LUNA では、キーボードがハードウェア側でキーリピートを行わず、 ソフトウェア(OS など)がキーリピートの処理を行います。 そのため、キーリピートを実装していない LUNA の PROM や @@ -1844,7 +1950,7 @@ x⏎You will see a screen like this. The bold text indicates the characters you need to enter.
-NONO 0.5.0 Emulated ROM Monitor for LUNA-I +NONO 0.6.0 Emulated ROM Monitor for LUNA-I ** NVRAM Initialized. @@ -1947,7 +2053,7 @@ b⏎
You will see a screen like this. The bold text indicates the characters you need to enter.
-NONO 0.5.0 Emulated ROM Monitor for LUNA-88K +NONO 0.6.0 Emulated ROM Monitor for LUNA-88K ** NVRAM Initialized. @@ -1999,23 +2105,22 @@ extract it and place it in the VM direct
- 以下の内容の設定ファイル nono.cfg を VM ディレクトリ ~/nono/x68k/ に作成します。 -ここでは説明を簡単にするためネットワークなしにしていますが、 -ネットワーク設定は必要に応じて行ってください。 +ここでは説明を簡単にするためネットワークなしにしていますが、 +ネットワーク設定は必要に応じて行ってください。
Create a configuration file nono.cfg in the VM directory, ~/nono/x68k/, with following contents. -By the way, to simplify the explanation, we assume there is no network here. -However, please configure the network if necessary.
+By the way, to simplify the explanation, we assume there is no network here. +However, please configure the network if necessary.
-vmtype = x68030 spc0-id0-image = hd,liveimage-x68k-with-packages-20210613.hds -hostnet-driver = none +hostnet0-driver = none
- 初回のみ nono -c ~/nono/x68k --create-sram を実行します。 +
- 初回のみ nono -c ~/nono/x68k --create-sram を実行します。 これで VM ディレクトリに初期状態の SRAM.DAT が作られます。
+This will create an initial SRAM.DAT in the VM directory.Only the first time, run as nono -c ~/nono/x68k --create-sram. -This will create initial SRAM.DAT in the VM directory.
- nono -c ~/nono/x68k で起動すると、 HDD から NetBSD/x68k が起動します。 @@ -2237,7 +2342,7 @@ You may write in English.
conditions:- 成果物が nono のライセンスに従って運用あるいは配布されること。
-
All your work are operated or distributed under the nono license.
+All your work will be operated or distributed under the nono license.
- ライセンスが将来変わる可能性があること。
The license may be changed in the future.
- 著作部分に関して著作者人格権を行使しないこと。
- 以下の内容の設定ファイル nono.cfg を VM ディレクトリ ~/nono/x68k/ に作成します。 -ここでは説明を簡単にするためネットワークなしにしていますが、 -ネットワーク設定は必要に応じて行ってください。 +ここでは説明を簡単にするためネットワークなしにしていますが、 +ネットワーク設定は必要に応じて行ってください。
-
vmtype を除くすべての設定項目はそれぞれデフォルト値を持っています。
つまり少なくとも vmtype だけは設定ファイルかコマンドラインオプションで指定する必要があります。
All configuration items except vmtype have default value.
It means, you must specify at least only vmtype
by configuration file or commandline option.
-
設定項目は次の通りです。
The configuration items are:
@@ -500,21 +484,21 @@ is determined by the configuration file
If you choose not to use serial console on NEWS,
SW1,2,3 will be set OFF, OFF, ON respectively,
and NWB-512 monochrome console (not implemented) will be chosen.
Except LARF+
Except multicast filter
Other internal devices-
Other internal devices+
Peripheral devices-
Peripheral devices+
Power Circuit
Power curcuit
Except multicast filter+
Not planned-
Extended memory-
Extended memory+
Only channel A is connected to the host
Except LARF+
Except multicast filter
4.5. X68030 の Nereid エミュレーション
Nereid in the real world is a combined Ethernet/memory/USB expansion board. +Of these, the memory can be used to expand main memory, +and areas not used for the main memory can be used as bank memory. +nono supports only ethernet (RTL8019AS) and bank memory among +the functions of the Nereid expansion board. +Main memory expansion is not supported because it's meaningless on emulators. +Also, USB (SL811HS/T) is not planned for implementation.+
+Nereid は DIPSW6,7 によりアドレス・割り込みベクタの組を2通り指定できるため、 +2枚まで同時に運用することが出来ます。 +本来 SW6 と SW7 は (衝突さえしなければ) 任意に組み合わせることが可能ですが、 +nono では簡便のためボード #0 は SW6,7 が OFF、 +ボード #1 は SW6,7 が ON と固定しています。 +
Since Nereid can set to two different combinations of addresses and +interrupt vectors by DIPSW, +so up to two boards can be operated at the same time. +Originally, SW6 and SW7 can be arbitrarily combined +(as long as they don't collide), in nono however, for simpility, +SW6 and SW7 are fixed to be OFF on board #0, and +SW6 and SW7 are fixed to be ON on board #1.+
++バンクメモリは、メインメモリとして使わなかった領域を使用します。 +そのため実機でもバンクメモリの容量は DIPSW のメインメモリ割り当て設定 +(SW1-5) に依存します。 +nono に関係する結論だけでいうと、 +メインメモリへの割り当てを一切行わない場合はバンクメモリは 16MB 確保でき、 +メインメモリへの割り当てをいくらかでも行うとバンクメモリは 4MB となります。 +設定の nereidN-ram-size はこの部分を指定していることになります。 +またこの容量とは独立に SW8 でバンクメモリの有効・無効を指定できますので、 +nereidN-ram-size が 0 (以下) というのは SW8 +でバンクメモリを無効にしたことに相当します。 ++
+#0 (nereid0-*) #1 (nereid1-*) + ベースアドレス・割り込みベクタ Base address and interrupt vectors+$ece300,$f9,$fb
(SW7=OFF) +$eceb00,$f8,$fa
(SW7=ON) +バンクメモリウィンドウ Bank memory window+$ee0000
(SW6=OFF) +$ef0000
(SW6=ON) +
Bank memory uses memory areas not used as the main memory. +So the bank memory size depends on the main memory settings (SW1-5). +As a result, +only if you don't allocate any memories to main memory, +the bank memory can be allocated 16MB. +Otherwise, the bank memory will be allocated 4MB. +Thus, nereidN-ram-size specifies this value. +Also, SW8 specifies enable/disable of the bank memory regardless of the size, +nereidN-ram-size = 0 (or less) means disabling the bank memory.+
4.5. NEWS エミュレーション
4.6. NEWS エミュレーション
4.6. ステータスパネル Status Panel
4.7. ステータスパネル Status Panel
4.7. DIPSW 設定ウィンドウ
4.8. DIPSW 設定ウィンドウ
4.8. メモリダンプモニタ Memory Dump Monitor
4.9. メモリダンプモニタ Memory Dump Monitor
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). Also you can choose 68030/88200 MMU descriptor format (It displays regardless of whether this address is used as descriptor or not). -Disassemble is now merged from disassemble monitor. +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 and NEWS, you can choose m68k disassemble.+On X68030 and NEWS, you can choose m68k disassemble.
表示されているダンプ値をダブルクリックすることでメモリの値を編集できます。
編集できるのはメモリと以下の部分のみです。
You can edit the memory value by double click.
-Only memory and the following areas are ediable.
+Only memory and the following areas are editable.