summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/ti85.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/includes/ti85.h')
-rwxr-xr-x[-rw-r--r--]src/mess/includes/ti85.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mess/includes/ti85.h b/src/mess/includes/ti85.h
index ffec16c1c95..40c98d9ea52 100644..100755
--- a/src/mess/includes/ti85.h
+++ b/src/mess/includes/ti85.h
@@ -16,7 +16,7 @@
/* model */
-typedef enum {
+enum ti85_model {
TI81,
TI81v2,
TI82,
@@ -27,7 +27,7 @@ typedef enum {
TI83PSE,
TI84P,
TI84PSE
-} ti85_models;
+};
typedef struct
{
@@ -74,6 +74,8 @@ public:
optional_device<address_map_bank_device> m_membank3;
optional_device<address_map_bank_device> m_membank4;
+ ti85_model m_model;
+
UINT8 m_LCD_memory_base;
UINT8 m_LCD_contrast;
UINT8 m_LCD_status;
@@ -167,11 +169,14 @@ public:
DECLARE_PALETTE_INIT(ti85);
DECLARE_MACHINE_RESET(ti85);
DECLARE_MACHINE_RESET(ti83p);
- DECLARE_MACHINE_RESET(ti83pse);
DECLARE_PALETTE_INIT(ti82);
DECLARE_MACHINE_START(ti86);
DECLARE_MACHINE_START(ti83p);
DECLARE_MACHINE_START(ti83pse);
+ DECLARE_MACHINE_START(ti84pse);
+ DECLARE_MACHINE_START(ti84p);
+ void ti8xpse_init_common();
+
UINT32 screen_update_ti85(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
TIMER_CALLBACK_MEMBER(ti85_timer_callback);
TIMER_CALLBACK_MEMBER(ti83_timer1_callback);