1 |
|
/* |
2 |
|
* prefs_items.cpp - Common preferences items |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2001 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2004 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 |
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 |
+ |
{"jitblacklist", TYPE_STRING, false, "blacklist opcodes from translation"}, |
66 |
+ |
{"keyboardtype", TYPE_INT32, false, "hardware keyboard type"}, |
67 |
|
{NULL, TYPE_END, false, NULL} // End of list |
68 |
|
}; |
69 |
|
|
88 |
|
PrefsAddBool("nosound", false); |
89 |
|
PrefsAddBool("noclipconversion", false); |
90 |
|
PrefsAddBool("nogui", false); |
91 |
+ |
|
92 |
+ |
#if USE_JIT |
93 |
+ |
// JIT compiler specific options |
94 |
+ |
PrefsAddBool("jit", true); |
95 |
+ |
PrefsAddBool("jitfpu", true); |
96 |
+ |
PrefsAddBool("jitdebug", false); |
97 |
+ |
PrefsAddInt32("jitcachesize", 8192); |
98 |
+ |
PrefsAddInt32("jitlazyflush", true); |
99 |
+ |
#else |
100 |
+ |
PrefsAddBool("jit", false); |
101 |
+ |
#endif |
102 |
+ |
|
103 |
+ |
PrefsAddInt32("keyboardtype", 5); |
104 |
|
} |