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

Comparing BasiliskII/src/Windows/prefs_windows.cpp (file contents):
Revision 1.3 by gbeauche, 2004-12-03T22:04:24Z vs.
Revision 1.10 by gbeauche, 2006-04-23T15:40:23Z

# Line 1 | Line 1
1   /*
2   *  prefs_windows.cpp - Preferences handling, Windows specific stuff
3   *
4 < *  Basilisk II (C) 1997-2004 Christian Bauer
4 > *  Basilisk II (C) 1997-2005 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 42 | Line 42 | prefs_desc platform_prefs_items[] = {
42          {"ignoresegv", TYPE_BOOLEAN, false,    "ignore illegal memory accesses"},
43   #endif
44          {"enableextfs", TYPE_BOOLEAN, false,   "enable extfs system"},
45 +        {"debugextfs", TYPE_BOOLEAN, false,    "debug extfs system"},
46 +        {"extdrives", TYPE_STRING, false,      "define allowed extfs drives"},
47 +        {"pollmedia", TYPE_BOOLEAN, false,     "poll for new media (e.g. cd, floppy)"},
48 +        {"etherguid", TYPE_STRING, false,      "GUID of the ethernet device to use"},
49 +        {"etherpermanentaddress", TYPE_BOOLEAN, false,  "use permanent NIC address to identify itself"},
50 +        {"ethermulticastmode", TYPE_INT32, false,       "how to multicast packets"},
51 +        {"etherfakeaddress", TYPE_STRING, false,        "optional fake hardware address"},
52 +        {"routerenabled", TYPE_BOOLEAN, false,          "enable NAT/Router module"},
53 +        {"ftp_port_list", TYPE_STRING, false,           "FTP ports list"},
54 +        {"tcp_port", TYPE_STRING, false,                "TCP ports list"},
55 +        {"portfile0", TYPE_STRING, false,               "output file for serial port 0"},
56 +        {"portfile1", TYPE_STRING, false,               "output file for serial port 1"},
57 +
58          {NULL, TYPE_END, false, NULL} // End of list
59   };
60  
# Line 107 | Line 120 | void SavePrefs(void)
120   void AddPlatformPrefsDefaults(void)
121   {
122          PrefsAddBool("keycodes", false);
123 +        PrefsReplaceBool("pollmedia", true);
124 +        PrefsReplaceBool("enableextfs", false);
125          PrefsReplaceString("extfs", "");
126 +        PrefsReplaceString("extdrives", "CDEFGHIJKLMNOPQRSTUVWXYZ");
127          PrefsReplaceInt32("mousewheelmode", 1);
128          PrefsReplaceInt32("mousewheellines", 3);
129   #ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
130          PrefsAddBool("ignoresegv", false);
131   #endif
132 <        PrefsReplaceBool("enableextfs", false);
132 >        PrefsReplaceBool("etherpermanentaddress", true);
133 >        PrefsReplaceInt32("ethermulticastmode", 0);
134 >        PrefsReplaceString("ftp_port_list", "21");
135 >        PrefsReplaceString("seriala", "COM1");
136 >        PrefsReplaceString("serialb", "COM2");
137 >        PrefsReplaceString("portfile0", "C:\\B2TEMP0.OUT");
138 >        PrefsReplaceString("portfile1", "C:\\B2TEMP1.OUT");
139   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines