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 |
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 |
+ |
{"etherpermanentaddress", TYPE_BOOLEAN, false, "use permanent NIC address to identify itself"}, |
49 |
+ |
{"ethermulticastmode", TYPE_INT32, false, "how to multicast packets"}, |
50 |
+ |
{"etherfakeaddress", TYPE_STRING, false, "optional fake hardware address"}, |
51 |
+ |
{"routerenabled", TYPE_BOOLEAN, false, "enable NAT/Router module"}, |
52 |
+ |
{"ftp_port_list", TYPE_STRING, false, "FTP ports list"}, |
53 |
+ |
{"tcp_port", TYPE_STRING, false, "TCP ports list"}, |
54 |
+ |
{"portfile0", TYPE_STRING, false, "output file for serial port 0"}, |
55 |
+ |
{"portfile1", TYPE_STRING, false, "output file for serial port 1"}, |
56 |
|
|
57 |
|
{NULL, TYPE_END, false, NULL} // End of list |
58 |
|
}; |
128 |
|
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION |
129 |
|
PrefsAddBool("ignoresegv", false); |
130 |
|
#endif |
131 |
+ |
PrefsReplaceBool("etherpermanentaddress", true); |
132 |
+ |
PrefsReplaceInt32("ethermulticastmode", 0); |
133 |
+ |
PrefsReplaceBool("routerenabled", false); |
134 |
+ |
PrefsReplaceString("ftp_port_list", "21"); |
135 |
+ |
PrefsReplaceString("portfile0", "C:\\B2TEMP0.OUT"); |
136 |
+ |
PrefsReplaceString("portfile1", "C:\\B2TEMP1.OUT"); |
137 |
|
} |