aboutsummaryrefslogtreecommitdiff
path: root/SrcShared/Hardware/EmRegsPLDPalmVIIEZ.h
diff options
context:
space:
mode:
Diffstat (limited to 'SrcShared/Hardware/EmRegsPLDPalmVIIEZ.h')
-rw-r--r--SrcShared/Hardware/EmRegsPLDPalmVIIEZ.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/SrcShared/Hardware/EmRegsPLDPalmVIIEZ.h b/SrcShared/Hardware/EmRegsPLDPalmVIIEZ.h
new file mode 100644
index 0000000..92085f8
--- /dev/null
+++ b/SrcShared/Hardware/EmRegsPLDPalmVIIEZ.h
@@ -0,0 +1,51 @@
+/* -*- mode: C++; tab-width: 4 -*- */
+/* ===================================================================== *\
+ Copyright (c) 2000-2001 Palm, Inc. or its subsidiaries.
+ All rights reserved.
+
+ This file is part of the Palm OS Emulator.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+\* ===================================================================== */
+
+#ifndef EmRegsPLDPalmVIIEZ_h
+#define EmRegsPLDPalmVIIEZ_h
+
+#include "EmHAL.h" // EmHALHandler
+#include "EmPalmStructs.h" // EmProxyHwrJerryPLDType
+#include "EmRegs.h" // EmRegs
+
+class SessionFile;
+
+
+class EmRegsPLDPalmVIIEZ : public EmRegs, public EmHALHandler
+{
+ public:
+ EmRegsPLDPalmVIIEZ (void);
+ virtual ~EmRegsPLDPalmVIIEZ (void);
+
+ virtual void Initialize (void);
+ virtual void Reset (Bool hardwareReset);
+ virtual void Save (SessionFile&);
+ virtual void Load (SessionFile&);
+ virtual void Dispose (void);
+
+ virtual Bool GetSerialPortOn (int uartNum);
+
+ virtual void SetSubBankHandlers (void);
+ virtual uint8* GetRealAddress (emuptr address);
+ virtual emuptr GetAddressStart (void);
+ virtual uint32 GetAddressRange (void);
+
+ protected:
+ void rs232ShdnWrite (emuptr address, int size, uint32 value);
+ uint32 iXtrnl2Read (emuptr address, int size);
+
+ private:
+ EmProxyHwrJerryPLDType fRegs;
+};
+
+#endif /* EmRegsPLDPalmVIIEZ_h */