--- nono/doc/index.php 2026/04/29 17:05:00 1.1.1.10 +++ nono/doc/index.php 2026/04/29 17:05:04 1.1.1.11 @@ -4,16 +4,10 @@ Licensed under nono-license.txt --> 1) - get_version($_SERVER['argv'][1]); - -function get_version($filename) -{ - global $nono_ver; - - $fp = fopen($filename, "r"); + $fp = fopen("../lib/header.h", "r"); if ($fp !== false) { while (($buf = fgets($fp)) !== false) { if (preg_match("/NONO_MAJOR_VER\s+\((\d+)\)/", $buf, $m)) { @@ -31,13 +25,12 @@ function get_version($filename) } fclose($fp); - $nono_ver = "${nono_major}.${nono_minor}.${nono_patch} (${nono_date})"; + $nono_ver = "${nono_major}.${nono_minor}.${nono_patch}"; } -} ?> -

nono

+

nono ()

nono は NetBSD とかで動作する OMRON LUNA-I や LUNA88K とかのエミュレータです。 nono is OMRON LUNA-I and LUNA88K emulator runs on NetBSD and etc. @@ -161,8 +154,7 @@ 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. _EOM_ ); @@ -171,8 +163,7 @@ option_item("-f", <<<_EOM_ 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. _EOM_ ); @@ -187,8 +178,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. _EOM_ ); @@ -227,8 +217,7 @@ option_item("-V name=value 設定ファイルで指定した name=configvalue の代わりに このオプションの name=value を適用します。 Use this name=value -instead of name=configvalue specified in configuration file. - +instead of name=configvalue specified in configuration file. _EOM_ ); @@ -238,18 +227,17 @@ option_item("-X file", <<<_EOM_ ファイルが 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. _EOM_ ); ?> @@ -296,6 +284,11 @@ option_dev("-L name1=level1file", <<<_EOM_ +-X オプションと同様ですが、PROM のプロンプトで停止します。 +_EOM_ +); + option_dev("-M name[,name2,...]", <<<_EOM_ 起動時に表示するモニタウィンドウを指定します。 カンマで区切って複数指定することも出来ます。 @@ -323,8 +316,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: @@ -339,8 +331,7 @@ config_item("vmtype = string", << VM 種別を以下のいずれかから指定します。 省略不可です。 Specifies the VM type from the following. -This field is mandatory. - +This field is mandatory.
 luna … LUNA-I
luna88k … LUNA88K @@ -358,8 +349,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. _EOM_ ); @@ -477,8 +467,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. _EOM_ ); @@ -573,8 +562,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) - - + _EOM_ ); @@ -585,8 +573,7 @@ config_item("monitor-rate = integerSpecifies 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. _EOM_ ); @@ -635,8 +622,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 で起動できます。 @@ -648,16 +634,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. _EOM_ ); @@ -677,8 +661,7 @@ 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. _EOM_ ); @@ -688,8 +671,7 @@ config_item("show-statuspanel = integ 起動後はメニューから変更可能です。 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. _EOM_ ); @@ -704,8 +686,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: