Configurator.cpp File Reference


Detailed Description

Contains the code for the configuration file interpreter.

Id
Configurator.cpp,v 1.27 2008/03/26 19:09:02 iamcamiel Exp

X-1.27 Camiel Vanderhoeven 26-MAR-2008 Fix compiler warnings.

X-1.26 Camiel Vanderhoeven 14-MAR-2008 Formatting.

X-1.25 Camiel Vanderhoeven 14-MAR-2008 1. More meaningful exceptions replace throwing (int) 1. 2. U64 macro replaces X64 macro.

X-1.24 Camiel Vanderhoeven 13-MAR-2008 Create init() start_threads() and stop_threads() functions.

X-1.23 Camiel Vanderhoeven 05-MAR-2008 Multi-threading version.

X-1.22 David Hittner 04-MAR-2008 Allow curly braces inside strings.

X-1.21 Camiel Vanderhoeven 04-MAR-2008 Merged Brian wheeler's New IDE code into the standard controller.

X-1.20 Pepito Grillo 02-MAR-2008 Avoid compiler warnings.

X-1.19 Camiel Vanderhoeven 02-MAR-2008 Natural way to specify large numeric values ("10M") in the config file.

X-1.18 Brian Wheeler 27-FEB-2008 Avoid compiler warnings.

X-1.17 Brian Wheeler 26-FEB-2007 Better syntax checking and error reporting.

X-1.16 Camiel Vanderhoeven 26-FEB-2008 Moved DMA code into it's own class (CDMA)

X-1.15 Camiel Vanderhoeven 16-FEB-2008 Forgot something on last change.

X-1.14 Camiel Vanderhoeven 16-FEB-2008 Added Symbios 53C810 controller.

X-1.13 Camiel Vanderhoeven 12-FEB-2008 Moved keyboard code into it's own class (CKeyboard)

X-1.12 Camiel Vanderhoeven 20-JAN-2008 Added X11 GUI.

X-1.11 Camiel Vanderhoeven 19-JAN-2008 Added win32 GUI.

X-1.10 Camiel Vanderhoeven 09-JAN-2008 Save disk state to state file.

X-1.9 Camiel Vanderhoeven 08-JAN-2008 Use Brian Wheeler's CNewIde class instead of the CAliM1543C_ide class if HAVE_NEW_IDE is defined. This change will be undone when the new ide controller will replace the old standard one.

X-1.8 Camiel Vanderhoeven 05-JAN-2008 Added CDiskDevice class.

X-1.7 Camiel Vanderhoeven 02-JAN-2008 Better handling of configuration errors.

X-1.6 Camiel Vanderhoeven 28-DEC-2007 Throw exceptions rather than just exiting when errors occur.

X-1.5 Camiel Vanderhoeven 28-DEC-2007 Keep the compiler happy.

X-1.4 Camiel Vanderhoeven 14-DEC-2007 Add support for Symbios SCSI controller.

X-1.3 Camiel Vanderhoeven 12-DEC-2007 Add support for file- and RAM-disk.

X-1.2 Brian Wheeler 10-DEC-2007 Better error reporting.

X-1.1 Camiel Vanderhoeven 10-DEC-2007 Initial version in CVS.

Definition in file Configurator.cpp.

#include "StdAfx.h"
#include "Configurator.h"
#include "System.h"
#include "AlphaCPU.h"
#include "Serial.h"
#include "Flash.h"
#include "DPR.h"
#include "AliM1543C.h"
#include "Keyboard.h"
#include "DMA.h"
#include "AliM1543C_ide.h"
#include "AliM1543C_usb.h"
#include "DiskFile.h"
#include "DiskDevice.h"
#include "DiskRam.h"
#include "Port80.h"
#include "S3Trio64.h"
#include "Cirrus.h"
#include "gui/plugin.h"
#include "DEC21143.h"
#include "Sym53C895.h"
#include "Sym53C810.h"

Go to the source code of this file.

Data Structures

struct  classinfo

Defines

#define NO_FLAGS   0
#define IS_CS   1
#define ON_CS   2
#define HAS_PCI   4
#define IS_PCI   8
#define HAS_ISA   16
#define IS_ISA   32
#define HAS_DISK   64
#define IS_DISK   128
#define IS_GUI   256
#define ON_GUI   512
#define IS_NIC   1024
#define N_P   2048

Variables

classinfo classes []


Define Documentation

#define HAS_DISK   64

Definition at line 666 of file Configurator.cpp.

Referenced by CConfigurator::initialize().

#define HAS_ISA   16

Definition at line 663 of file Configurator.cpp.

#define HAS_PCI   4

Definition at line 660 of file Configurator.cpp.

Referenced by CConfigurator::initialize().

#define IS_CS   1

Definition at line 657 of file Configurator.cpp.

Referenced by CConfigurator::initialize().

#define IS_DISK   128

Definition at line 667 of file Configurator.cpp.

Referenced by CConfigurator::initialize().

#define IS_GUI   256

Definition at line 669 of file Configurator.cpp.

Referenced by CConfigurator::initialize().

#define IS_ISA   32

Definition at line 664 of file Configurator.cpp.

#define IS_NIC   1024

Definition at line 672 of file Configurator.cpp.

Referenced by CConfigurator::initialize().

#define IS_PCI   8

Definition at line 661 of file Configurator.cpp.

Referenced by CConfigurator::initialize().

#define N_P   2048

Definition at line 674 of file Configurator.cpp.

Referenced by CConfigurator::initialize().

#define NO_FLAGS   0

Definition at line 655 of file Configurator.cpp.

#define ON_CS   2

Definition at line 658 of file Configurator.cpp.

Referenced by CConfigurator::initialize().

#define ON_GUI   512

Definition at line 670 of file Configurator.cpp.

Referenced by CConfigurator::initialize().


Variable Documentation

Initial value:

 {
  {"tsunami", c_tsunami,  2048  |  1  |  4 },
  {"ev68cb", c_ev68cb,  2 },
  {"ali", c_ali,  8  |  16 },
  {"ali_ide", c_ali_ide,  8  |  64 },
  {"ali_usb", c_ali_usb,  8 },
  {"serial", c_serial,  2 },
  {"s3", c_s3,  8  |  512 },
  {"cirrus", c_cirrus,  8  |  512 },
  {"radeon", c_radeon,  8  |  512 },
  {"dec21143", c_dec21143,  8  |  1024 },
  {"sym53c895", c_sym53c895,  8  |  64 },
  {"sym53c810", c_sym53c810,  8  |  64 },
  {"file", c_file,  128 },
  {"device", c_device,  128 },
  {"ramdisk", c_ramdisk,  128 },
  {"sdl", c_sdl,  2048  |  256 },
  {"win32", c_win32,  2048  |  256 },
  {"X11", c_x11,  2048  |  256 },
  {0, c_none, 0}
}

Definition at line 682 of file Configurator.cpp.


SourceForge.net Logo
Project space on SourceForge.net