#include <Prefs.h>
Public Member Functions | |
| Prefs () | |
| ~Prefs () | |
| bool | ShowEditor (bool startup, char *prefs_name) |
| void | Check (void) |
| bool | Load (char *filename) |
| bool | Save (char *filename) |
| bool | operator== (const Prefs &rhs) const |
| bool | operator!= (const Prefs &rhs) const |
Public Attributes | |
| bool | Emul1541Proc |
| Enable processor-level 1541 emulation. | |
| int | DriveType [4] |
| Type of drive 8..11. | |
| char | DrivePath [4][256] |
| Path for drive 8..11. | |
| bool | Joystick1On |
| Joystick connected to port 1 of host. | |
| bool | Joystick2On |
| Joystick connected to port 2 of host. | |
| int | SkipFrames |
| Draw every n-th frame. | |
| bool | SpritesOn |
| Sprite display is on. | |
| bool | SpriteCollisions |
| Sprite collision detection is on. | |
| int | SIDType |
| SID emulation type. | |
| bool | SIDFilters |
| Emulate SID filters. | |
| int | LatencyMin |
| Min msecs ahead of sound buffer (Win32). | |
| int | LatencyMax |
| Max msecs ahead of sound buffer (Win32). | |
| int | LatencyAvg |
| Averaging interval in msecs (Win32). | |
| int | NormalCycles |
| Available CPU cycles in normal raster lines. | |
| int | BadLineCycles |
| Available CPU cycles in Bad Lines. | |
| int | CIACycles |
| CIA timer ticks per raster line. | |
| int | FloppyCycles |
| Available 1541 CPU cycles per line. | |
| int | REUSize |
| Size of REU. | |
| bool | LimitSpeed |
| Limit speed to 100%. | |
| bool | FastReset |
| Skip RAM test on reset. | |
| bool | iShowToolbar |
| Show Toolbar. | |
| uint8 | ColorTbl [16] |
| Colors. | |
| TPoint | iOffset |
| XY screen offset. | |
| TInt | iVolume |
| loudspeaker sound volume from [0...max] | |
Definition at line 57 of file Prefs.h.
|
|
Definition at line 109 of file Prefs.cpp. References BadLineCycles, CIACycles, colorRefTable, ColorTbl, CTOR, DISPLAY_Y, DISPTYPE_WINDOW, DrivePath, DriveType, DRVTYPE_DIR, Emul1541Proc, FastReset, FloppyCycles, iOffset, iShowToolbar, iVolume, Joystick1On, Joystick2On, LatencyAvg, LatencyMax, LatencyMin, LimitSpeed, NormalCycles, REU_NONE, REUSize, SIDFilters, SIDType, SIDTYPE_DIGITAL, SkipFrames, SpriteCollisions, SpritesOn, and strcpy. |
|
|
Destructor Definition at line 205 of file Prefs.cpp. References DTOR. |
|
|
Definition at line 290 of file Prefs.cpp. References DISPTYPE_SCREEN, DISPTYPE_WINDOW, DriveType, DRVTYPE_DIR, DRVTYPE_T64, REU_512K, REU_NONE, REUSize, SIDType, SIDTYPE_NONE, SIDTYPE_SIDCARD, and SkipFrames. Referenced by PrefsWindow::get_values(), get_values(), Load(), Save(), PrefsWindow::set_values(), and set_values(). |
|
|
Definition at line 315 of file Prefs.cpp. References atoi, BadLineCycles, Check(), CIACycles, ColorTbl, DISPTYPE_SCREEN, DISPTYPE_WINDOW, DrivePath, DriveType, DRVTYPE_D64, DRVTYPE_DIR, DRVTYPE_T64, ELOG1, ELOG2, Emul1541Proc, FastReset, fclose, fgets, FILE, FloppyCycles, fopen, iOffset, iShowToolbar, iVolume, Joystick1On, Joystick2On, LatencyAvg, LatencyMax, LatencyMin, LimitSpeed, NormalCycles, REU_128K, REU_256K, REU_512K, REU_NONE, REUSize, SIDFilters, SIDType, SIDTYPE_DIGITAL, SIDTYPE_NONE, SIDTYPE_SIDCARD, SkipFrames, SpriteCollisions, SpritesOn, sscanf, strcmp, and strcpy. Referenced by C64::C64(), PrefsWindow::MessageReceived(), PrefsOpen(), PrefsRevert(), and Frodo::reload_prefs(). |
|
|
Definition at line 280 of file Prefs.cpp. References operator==(). |
|
|
Check if two Prefs structures are equal Definition at line 214 of file Prefs.cpp. References strcmp. Referenced by operator!=(). |
|
|
Definition at line 534 of file Prefs.cpp. References BadLineCycles, Check(), CIACycles, ColorTbl, DISPTYPE_WINDOW, DrivePath, DriveType, DRVTYPE_D64, DRVTYPE_DIR, DRVTYPE_T64, Emul1541Proc, FastReset, fclose, FILE, FloppyCycles, fopen, fprintf, iOffset, iShowToolbar, iVolume, Joystick1On, Joystick2On, LatencyAvg, LatencyMax, LatencyMin, LimitSpeed, NormalCycles, REU_128K, REU_256K, REU_512K, REU_NONE, REUSize, SIDFilters, SIDType, SIDTYPE_DIGITAL, SIDTYPE_NONE, SIDTYPE_SIDCARD, SkipFrames, SpriteCollisions, and SpritesOn. Referenced by PrefsWindow::MessageReceived(), PrefsSave(), PrefsSaveAs(), and C64::~C64(). |
|
||||||||||||
|
Definition at line 44 of file Prefs_Amiga.i. References CloseDownScreen(), ClosePrefsWindow(), done, drive_req, HandlePrefsIDCMP(), open_req, OpenPrefsWindow(), path, prefs, PrefsWnd, result, save_req, set_values(), and SetupScreen(). |
|
|
Available CPU cycles in Bad Lines.
Definition at line 97 of file Prefs.h. Referenced by MOS6569::EmulateLine(), PrefsWindow::get_values(), get_values(), Load(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), PrefsWindow::set_values(), and set_values(). |
|
|
CIA timer ticks per raster line.
Definition at line 98 of file Prefs.h. Referenced by PrefsWindow::get_values(), get_values(), Load(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), PrefsWindow::set_values(), set_values(), and C64::thread_func(). |
|
|
Colors.
Definition at line 108 of file Prefs.h. Referenced by C64Display::BuildColorTable(), Load(), Prefs(), and Save(). |
|
|
Path for drive 8..11.
Definition at line 77 of file Prefs.h. Referenced by get_drive(), PrefsWindow::get_values(), get_values(), IEC::IEC(), Job1541::Job1541(), Load(), C64::LoadSnapshot(), PrefsWindow::MessageReceived(), IEC::NewPrefs(), Job1541::NewPrefs(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), C64::SaveSnapshot(), PrefsWindow::set_values(), and set_values(). |
|
|
Type of drive 8..11.
Definition at line 76 of file Prefs.h. Referenced by Check(), DriveType10Clicked(), DriveType11Clicked(), DriveType8Clicked(), DriveType9Clicked(), get_drive(), IEC::IEC(), Load(), PrefsWindow::MessageReceived(), IEC::NewPrefs(), CPrefsDialog::OkToExitL(), Prefs(), Save(), PrefsWindow::set_values(), and set_values(). |
|
|
Enable processor-level 1541 emulation.
Definition at line 75 of file Prefs.h. Referenced by Emul1541ProcClicked(), IEC::IEC(), Job1541::Job1541(), Load(), C64::LoadSnapshot(), PrefsWindow::MessageReceived(), IEC::NewPrefs(), C64::NewPrefs(), Job1541::NewPrefs(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), C64::Run(), Save(), C64::SaveRAM(), C64::SaveSnapshot(), PrefsWindow::set_values(), set_values(), and C64::thread_func(). |
|
|
Skip RAM test on reset.
Definition at line 104 of file Prefs.h. Referenced by FastResetClicked(), Load(), PrefsWindow::MessageReceived(), C64::NewPrefs(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), C64::Run(), Save(), PrefsWindow::set_values(), and set_values(). |
|
|
Available 1541 CPU cycles per line.
Definition at line 99 of file Prefs.h. Referenced by PrefsWindow::get_values(), get_values(), Load(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), PrefsWindow::set_values(), set_values(), and C64::thread_func(). |
|
|
XY screen offset.
|
|
|
Show Toolbar.
Definition at line 105 of file Prefs.h. Referenced by CE32FrodoAppUi::ConstructL(), Load(), Prefs(), Save(), and CE32FrodoAppUi::SetFullScreenModeL(). |
|
|
loudspeaker sound volume from [0...max]
Definition at line 112 of file Prefs.h. Referenced by Load(), DigitalRenderer::NewPrefs(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), and Save(). |
|
|
Joystick connected to port 1 of host.
Definition at line 80 of file Prefs.h. Referenced by Load(), PrefsWindow::MessageReceived(), C64::NewPrefs(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), PrefsWindow::set_values(), C64::VBlank(), and C64::~C64(). |
|
|
Joystick connected to port 2 of host.
Definition at line 81 of file Prefs.h. Referenced by Joystick2OnClicked(), Load(), PrefsWindow::MessageReceived(), C64::NewPrefs(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), PrefsWindow::set_values(), set_values(), C64::VBlank(), and C64::~C64(). |
|
|
Averaging interval in msecs (Win32).
Definition at line 93 of file Prefs.h. Referenced by Load(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), and Save(). |
|
|
Max msecs ahead of sound buffer (Win32).
Definition at line 92 of file Prefs.h. Referenced by Load(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), and Save(). |
|
|
Min msecs ahead of sound buffer (Win32).
Definition at line 91 of file Prefs.h. Referenced by Load(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), and Save(). |
|
|
Limit speed to 100%.
Definition at line 103 of file Prefs.h. Referenced by C64::C64(), CE32FrodoAppUi::HandleCommandL(), LimitSpeedClicked(), Load(), PrefsWindow::MessageReceived(), Prefs(), Save(), PrefsWindow::set_values(), set_values(), and C64::VBlank(). |
|
|
Available CPU cycles in normal raster lines.
Definition at line 96 of file Prefs.h. Referenced by MOS6569::EmulateLine(), PrefsWindow::get_values(), get_values(), Load(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), PrefsWindow::set_values(), and set_values(). |
|
|
Size of REU.
Definition at line 102 of file Prefs.h. Referenced by Check(), Load(), PrefsWindow::MessageReceived(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), REUSizeClicked(), Save(), PrefsWindow::set_values(), and set_values(). |
|
|
Emulate SID filters.
Definition at line 90 of file Prefs.h. Referenced by Load(), PrefsWindow::MessageReceived(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), PrefsWindow::set_values(), set_values(), SIDFiltersClicked(), and DigitalRenderer::WriteRegister(). |
|
|
SID emulation type.
Definition at line 89 of file Prefs.h. Referenced by Check(), Load(), PrefsWindow::MessageReceived(), MOS6581::MOS6581(), MOS6581::NewPrefs(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), PrefsWindow::set_values(), set_values(), SIDTypeClicked(), and MOS6581::~MOS6581(). |
|
|
Draw every n-th frame.
Definition at line 84 of file Prefs.h. Referenced by Check(), PrefsWindow::get_values(), get_values(), Load(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), PrefsWindow::set_values(), set_values(), and MOS6569::vblank(). |
|
|
Sprite collision detection is on.
Definition at line 86 of file Prefs.h. Referenced by MOS6569::el_sprites(), Load(), PrefsWindow::MessageReceived(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), PrefsWindow::set_values(), set_values(), and SpriteCollisionsClicked(). |
|
|
Sprite display is on.
Definition at line 85 of file Prefs.h. Referenced by MOS6569::EmulateLine(), Load(), PrefsWindow::MessageReceived(), CPrefsDialog::OkToExitL(), Prefs(), CPrefsDialog::PreLayoutDynInitL(), Save(), PrefsWindow::set_values(), set_values(), and SpritesOnClicked(). |
1.3.3