ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Windows/prefs_windows.cpp
(Generate patch)

Comparing SheepShaver/src/Windows/prefs_windows.cpp (file contents):
Revision 1.2 by gbeauche, 2005-01-30T21:48:20Z vs.
Revision 1.3 by gbeauche, 2005-11-27T22:29:32Z

# Line 48 | Line 48 | prefs_desc platform_prefs_items[] = {
48          {"debugextfs", TYPE_BOOLEAN, false,    "debug extfs system"},
49          {"extdrives", TYPE_STRING, false,      "define allowed extfs drives"},
50          {"pollmedia", TYPE_BOOLEAN, false,     "poll for new media (e.g. cd, floppy)"},
51 +        {"etherpermanentaddress", TYPE_BOOLEAN, false,  "use permanent NIC address to identify itself"},
52 +        {"ethermulticastmode", TYPE_INT32, false,       "how to multicast packets"},
53 +        {"etherfakeaddress", TYPE_STRING, false,        "optional fake hardware address"},
54 +        {"routerenabled", TYPE_BOOLEAN, false,          "enable NAT/Router module"},
55 +        {"ftp_port_list", TYPE_STRING, false,           "FTP ports list"},
56 +        {"tcp_port", TYPE_STRING, false,                "TCP ports list"},
57 +        {"portfile0", TYPE_STRING, false,               "output file for serial port 0"},
58 +        {"portfile1", TYPE_STRING, false,               "output file for serial port 1"},
59  
60          {NULL, TYPE_END, false, NULL} // End of list
61   };
# Line 126 | Line 134 | void AddPlatformPrefsDefaults(void)
134          PrefsAddBool("ignoresegv", false);
135   #endif
136          PrefsAddBool("idlewait", true);
137 +        PrefsReplaceBool("etherpermanentaddress", true);
138 +        PrefsReplaceInt32("ethermulticastmode", 0);
139 +        PrefsReplaceBool("routerenabled", false);
140 +        PrefsReplaceString("ftp_port_list", "21");
141 +        PrefsReplaceString("seriala", "COM1");
142 +        PrefsReplaceString("serialb", "COM2");
143 +        PrefsReplaceString("portfile0", "C:\\B2TEMP0.OUT");
144 +        PrefsReplaceString("portfile1", "C:\\B2TEMP1.OUT");
145   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines