DPR.cpp File Reference


Detailed Description

Contains the code for the emulated Dual Port Ram and RMC devices.

Id
DPR.cpp,v 1.22 2008/04/09 12:59:42 iamcamiel Exp

X-1.22 Brian Wheeler 09-APR-2008 Correct RMC ROM versions.

X-1.21 Camiel Vanderhoeven 17-MAR-2008 Always set volatile DPR rom contents.

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

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

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

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

X-1.16 Brian Wheeler 29-FEB-2008 Fix psu and temperature status so Tru64 likes it.

X-1.15 Camiel Vanderhoeven 30-DEC-2007 Print file id on initialization.

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

X-1.13 Camiel Vanderhoeven 17-DEC-2007 SaveState file format 2.1

X-1.12 Camiel Vanderhoeven 10-DEC-2007 Changes to make the TraceEngine work again after recent changes.

X-1.11 Camiel Vanderhoeven 10-DEC-2007 Use configurator.

X-1.10 Camiel Vanderhoeven 31-MAR-2007 Added old changelog comments.

X-1.9 Camiel Vanderhoeven 16-FEB-2007 Added functions SaveStateF and RestoreStateF.

X-1.8 Brian Wheeler 13-FEB-2007 Formatting.

X-1.7 Camiel Vanderhoeven 12-FEB-2007 Added comments.

X-1.6 Camiel Vanderhoeven 9-FEB-2007 Added comments.

X-1.5 Camiel Vanderhoeven 7-FEB-2007 Calls to trace_dev now use the TRC_DEVx macro's.

X-1.4 Brian Wheeler 3-FEB-2007 Formatting.

X-1.3 Brian Wheeler 3-FEB-2007 64-bit literals made compatible with Linux/GCC/glibc.

X-1.2 Brian Wheeler 3-FEB-2007 Includes are now case-correct (necessary on Linux)

X-1.1 Camiel Vanderhoeven 19-JAN-2007 Initial version in CVS.

Author:
Camiel Vanderhoeven (camiel@camicom.com / http://www.camicom.com)

Definition in file DPR.cpp.

#include "StdAfx.h"
#include "DPR.h"
#include "System.h"
#include "Serial.h"
#include <time.h>
#include "AlphaCPU.h"

Go to the source code of this file.

Defines

#define ToBCD(x)   (((x) / 10 << 4) | ((x) % 10))

Variables

CSerialsrl [2]
static u32 dpr_magic1 = 0x18A7B92D
static u32 dpr_magic2 = 0xD29B7A81
CDPRtheDPR = 0


Define Documentation

#define ToBCD (  )     (((x) / 10 << 4) | ((x) % 10))

Definition at line 108 of file DPR.cpp.

Referenced by CDPR::init().


Variable Documentation

u32 dpr_magic1 = 0x18A7B92D [static]

Definition at line 638 of file DPR.cpp.

Referenced by CDPR::RestoreState(), and CDPR::SaveState().

u32 dpr_magic2 = 0xD29B7A81 [static]

Definition at line 639 of file DPR.cpp.

Referenced by CDPR::RestoreState(), and CDPR::SaveState().

CSerial* srl[2]

CDPR* theDPR = 0

Definition at line 724 of file DPR.cpp.

Referenced by CDPR::CDPR(), main(), and CTraceEngine::parse().


SourceForge.net Logo
Project space on SourceForge.net