aboutsummaryrefslogtreecommitdiff
path: root/SrcShared/Hardware/EmRegsEZPalmIIIc.h
diff options
context:
space:
mode:
Diffstat (limited to 'SrcShared/Hardware/EmRegsEZPalmIIIc.h')
-rw-r--r--SrcShared/Hardware/EmRegsEZPalmIIIc.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/SrcShared/Hardware/EmRegsEZPalmIIIc.h b/SrcShared/Hardware/EmRegsEZPalmIIIc.h
new file mode 100644
index 0000000..704f8a0
--- /dev/null
+++ b/SrcShared/Hardware/EmRegsEZPalmIIIc.h
@@ -0,0 +1,48 @@
+/* -*- 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 EmRegsEZPalmIIIc_h
+#define EmRegsEZPalmIIIc_h
+
+#include "EmRegsEZ.h"
+
+class EmScreenUpdateInfo;
+
+
+class EmRegsEZPalmIIIc : public EmRegsEZ
+{
+ public:
+ EmRegsEZPalmIIIc (void);
+ virtual ~EmRegsEZPalmIIIc (void);
+
+ virtual Bool GetLCDScreenOn (void);
+ virtual Bool GetLCDBacklightOn (void);
+ virtual Bool GetLCDHasFrame (void);
+ virtual void GetLCDBeginEnd (emuptr&, emuptr&);
+ virtual void GetLCDScanlines (EmScreenUpdateInfo& info);
+
+ virtual Bool GetLineDriverState (EmUARTDeviceType type);
+
+ virtual uint8 GetPortInputValue (int);
+ virtual uint8 GetPortInternalValue (int);
+ virtual void GetKeyInfo (int* numRows, int* numCols,
+ uint16* keyMap, Bool* rows);
+
+ protected:
+ virtual EmSPISlave* GetSPISlave (void);
+
+ private:
+ EmSPISlave* fSPISlaveADC;
+};
+
+#endif /* EmRegsEZPalmIIIc_h */