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.7 by cebix, 2002-01-15T14:58:32Z vs.
Revision 1.13 by gbeauche, 2005-01-30T21:42:13Z

# Line 1 | Line 1
1   /*
2   *  prefs_items.cpp - Common preferences items
3   *
4 < *  Basilisk II (C) 1997-2002 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 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 +        {"etherconfig", TYPE_STRING, false,"path of network config script"},
47          {"udptunnel", TYPE_BOOLEAN, false, "tunnel all network packets over UDP"},
48          {"udpport", TYPE_INT32, false,    "IP port number for tunneling"},
49          {"rom", TYPE_STRING, false,       "path of ROM file"},
# Line 57 | Line 58 | prefs_desc common_prefs_items[] = {
58          {"nosound", TYPE_BOOLEAN, false,  "don't enable sound output"},
59          {"noclipconversion", TYPE_BOOLEAN, false, "don't convert clipboard contents"},
60          {"nogui", TYPE_BOOLEAN, false,    "disable GUI"},
61 +        {"jit", TYPE_BOOLEAN, false,         "enable JIT compiler"},
62 +        {"jitfpu", TYPE_BOOLEAN, false,      "enable JIT compilation of FPU instructions"},
63 +        {"jitdebug", TYPE_BOOLEAN, false,    "enable JIT debugger (requires mon builtin)"},
64 +        {"jitcachesize", TYPE_INT32, false,  "translation cache size in KB"},
65 +        {"jitlazyflush", TYPE_BOOLEAN, false, "enable lazy invalidation of translation cache"},
66 +        {"jitblacklist", TYPE_STRING, false, "blacklist opcodes from translation"},
67 +        {"keyboardtype", TYPE_INT32, false, "hardware keyboard type"},
68          {NULL, TYPE_END, false, NULL} // End of list
69   };
70  
# Line 81 | Line 89 | void AddPrefsDefaults(void)
89          PrefsAddBool("nosound", false);
90          PrefsAddBool("noclipconversion", false);
91          PrefsAddBool("nogui", false);
92 +        
93 + #if USE_JIT
94 +        // JIT compiler specific options
95 +        PrefsAddBool("jit", true);
96 +        PrefsAddBool("jitfpu", true);
97 +        PrefsAddBool("jitdebug", false);
98 +        PrefsAddInt32("jitcachesize", 8192);
99 +        PrefsAddInt32("jitlazyflush", true);
100 + #else
101 +        PrefsAddBool("jit", false);
102 + #endif
103 +
104 +    PrefsAddInt32("keyboardtype", 5);
105   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines