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

Comparing BasiliskII/src/prefs_items.cpp (file contents):
Revision 1.5 by cebix, 2001-04-01T12:11:42Z vs.
Revision 1.9 by nigel, 2003-08-16T03:28:56Z

# Line 1 | Line 1
1   /*
2   *  prefs_items.cpp - Common preferences items
3   *
4 < *  Basilisk II (C) 1997-2001 Christian Bauer
4 > *  Basilisk II (C) 1997-2002 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 43 | Line 43 | prefs_desc common_prefs_items[] = {
43          {"seriala", TYPE_STRING, false,   "device name of Mac serial port A"},
44          {"serialb", TYPE_STRING, false,   "device name of Mac serial port B"},
45          {"ether", TYPE_STRING, false,     "device name of Mac ethernet adapter"},
46 +        {"udptunnel", TYPE_BOOLEAN, false, "tunnel all network packets over UDP"},
47 +        {"udpport", TYPE_INT32, false,    "IP port number for tunneling"},
48          {"rom", TYPE_STRING, false,       "path of ROM file"},
49          {"bootdrive", TYPE_INT32, false,  "boot drive number"},
50          {"bootdriver", TYPE_INT32, false, "boot driver number"},
# Line 55 | Line 57 | prefs_desc common_prefs_items[] = {
57          {"nosound", TYPE_BOOLEAN, false,  "don't enable sound output"},
58          {"noclipconversion", TYPE_BOOLEAN, false, "don't convert clipboard contents"},
59          {"nogui", TYPE_BOOLEAN, false,    "disable GUI"},
60 +        {"jit", TYPE_BOOLEAN, false,         "enable JIT compiler"},
61 +        {"jitfpu", TYPE_BOOLEAN, false,      "enable JIT compilation of FPU instructions"},
62 +        {"jitdebug", TYPE_BOOLEAN, false,    "enable JIT debugger (requires mon builtin)"},
63 +        {"jitcachesize", TYPE_INT32, false,  "translation cache size in KB"},
64 +        {"jitlazyflush", TYPE_BOOLEAN, false, "enable lazy invalidation of translation cache"},
65 +        {"keyboardtype", TYPE_INT32, false, "hardware keyboard type"},
66          {NULL, TYPE_END, false, NULL} // End of list
67   };
68  
# Line 66 | Line 74 | prefs_desc common_prefs_items[] = {
74   void AddPrefsDefaults(void)
75   {
76          SysAddSerialPrefs();
77 +        PrefsAddBool("udptunnel", false);
78 +        PrefsAddInt32("udpport", 6066);
79          PrefsAddInt32("bootdriver", 0);
80          PrefsAddInt32("bootdrive", 0);
81          PrefsAddInt32("ramsize", 8 * 1024 * 1024);
# Line 77 | Line 87 | void AddPrefsDefaults(void)
87          PrefsAddBool("nosound", false);
88          PrefsAddBool("noclipconversion", false);
89          PrefsAddBool("nogui", false);
90 +        
91 + #if USE_JIT
92 +        // JIT compiler specific options
93 +        PrefsAddBool("jit", true);
94 +        PrefsAddBool("jitfpu", true);
95 +        PrefsAddBool("jitdebug", false);
96 +        PrefsAddInt32("jitcachesize", 8192);
97 +        PrefsAddInt32("jitlazyflush", true);
98 + #else
99 +        PrefsAddBool("jit", false);
100 + #endif
101 +
102 +    PrefsAddInt32("keyboardtype", 5);
103   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines