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.4 by cebix, 2001-02-02T20:52:57Z vs.
Revision 1.12 by gbeauche, 2004-05-09T16:11:44Z

# 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-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
# Line 28 | Line 28
28   // Except for "disk", "floppy", "cdrom", "scsiX", "screen", "rom" and "ether",
29   // these are guaranteed to be in the prefs.
30   prefs_desc common_prefs_items[] = {
31 <        {"disk", TYPE_STRING, true},            // Device/file names of Mac volumes (disk.cpp)
32 <        {"floppy", TYPE_STRING, true},          // Device/file names of Mac floppy drives (sony.cpp)
33 <        {"cdrom", TYPE_STRING, true},           // Device/file names of Mac CD-ROM drives (cdrom.cpp)
34 <        {"extfs", TYPE_STRING, false},          // Root path of ExtFS (extfs.cpp)
35 <        {"scsi0", TYPE_STRING, false},          // SCSI targets for Mac SCSI ID 0..6 (scsi_*.cpp)
36 <        {"scsi1", TYPE_STRING, false},
37 <        {"scsi2", TYPE_STRING, false},
38 <        {"scsi3", TYPE_STRING, false},
39 <        {"scsi4", TYPE_STRING, false},
40 <        {"scsi5", TYPE_STRING, false},
41 <        {"scsi6", TYPE_STRING, false},
42 <        {"screen", TYPE_STRING, false},         // Video mode (video.cpp)
43 <        {"seriala", TYPE_STRING, false},        // Device name of Mac serial port A (serial_*.cpp)
44 <        {"serialb", TYPE_STRING, false},        // Device name of Mac serial port B (serial_*.cpp)
45 <        {"ether", TYPE_STRING, false},          // Device name of Mac ethernet adapter (ether_*.cpp)
46 <        {"rom", TYPE_STRING, false},            // Path of ROM file (main_*.cpp)
47 <        {"bootdrive", TYPE_INT32, false},       // Boot drive number (main.cpp)
48 <        {"bootdriver", TYPE_INT32, false},      // Boot driver number (main.cpp)
49 <        {"ramsize", TYPE_INT32, false},         // Size of Mac RAM in bytes (main_*.cpp)
50 <        {"frameskip", TYPE_INT32, false},       // Number of frames to skip in refreshed video modes (video_*.cpp)
51 <        {"modelid", TYPE_INT32, false},         // Mac Model ID (Gestalt Model ID minus 6) (rom_patches.cpp)
52 <        {"cpu", TYPE_INT32, false},                     // CPU type (0 = 68000, 1 = 68010 etc.) (main.cpp)
53 <        {"fpu", TYPE_BOOLEAN, false},           // Enable FPU emulation (main.cpp)
54 <        {"nocdrom", TYPE_BOOLEAN, false},       // Don't install CD-ROM driver (cdrom.cpp/rom_patches.cpp)
55 <        {"nosound", TYPE_BOOLEAN, false},       // Don't enable sound output (audio_*.cpp)
56 <        {"noclipconversion", TYPE_BOOLEAN, false}, // Don't convert clipboard contents (clip_*.cpp)
57 <        {"nogui", TYPE_BOOLEAN, false},         // Disable GUI (main_*.cpp)
58 <        {NULL, TYPE_END, false} // End of list
31 >        {"disk", TYPE_STRING, true,       "device/file name of Mac volume"},
32 >        {"floppy", TYPE_STRING, true,     "device/file name of Mac floppy drive"},
33 >        {"cdrom", TYPE_STRING, true,      "device/file names of Mac CD-ROM drive"},
34 >        {"extfs", TYPE_STRING, false,     "root path of ExtFS"},
35 >        {"scsi0", TYPE_STRING, false,     "SCSI target for Mac SCSI ID 0"},
36 >        {"scsi1", TYPE_STRING, false,     "SCSI target for Mac SCSI ID 1"},
37 >        {"scsi2", TYPE_STRING, false,     "SCSI target for Mac SCSI ID 2"},
38 >        {"scsi3", TYPE_STRING, false,     "SCSI target for Mac SCSI ID 3"},
39 >        {"scsi4", TYPE_STRING, false,     "SCSI target for Mac SCSI ID 4"},
40 >        {"scsi5", TYPE_STRING, false,     "SCSI target for Mac SCSI ID 5"},
41 >        {"scsi6", TYPE_STRING, false,     "SCSI target for Mac SCSI ID 6"},
42 >        {"screen", TYPE_STRING, false,    "video mode"},
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"},
50 >        {"bootdrive", TYPE_INT32, false,  "boot drive number"},
51 >        {"bootdriver", TYPE_INT32, false, "boot driver number"},
52 >        {"ramsize", TYPE_INT32, false,    "size of Mac RAM in bytes"},
53 >        {"frameskip", TYPE_INT32, false,  "number of frames to skip in refreshed video modes"},
54 >        {"modelid", TYPE_INT32, false,    "Mac Model ID (Gestalt Model ID minus 6)"},
55 >        {"cpu", TYPE_INT32, false,        "CPU type (0 = 68000, 1 = 68010 etc.)"},
56 >        {"fpu", TYPE_BOOLEAN, false,      "enable FPU emulation"},
57 >        {"nocdrom", TYPE_BOOLEAN, false,  "don't install CD-ROM driver"},
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  
71  
# Line 66 | Line 76 | prefs_desc common_prefs_items[] = {
76   void AddPrefsDefaults(void)
77   {
78          SysAddSerialPrefs();
79 +        PrefsAddBool("udptunnel", false);
80 +        PrefsAddInt32("udpport", 6066);
81          PrefsAddInt32("bootdriver", 0);
82          PrefsAddInt32("bootdrive", 0);
83          PrefsAddInt32("ramsize", 8 * 1024 * 1024);
# Line 77 | 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