summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/ti85.h
diff options
context:
space:
mode:
author Jon Sturm <jonimoose@gmail.com>2014-10-24 16:20:00 -0500
committer Jon Sturm <jonimoose@gmail.com>2014-10-24 16:20:00 -0500
commit947d3960103a0ca4c1b507b3ea499d9042e28c61 (patch)
tree27cc3684d03be0fc3992895939f61ceb628ea7a6 /src/mess/includes/ti85.h
parent9867043d73f42342fbcc87c4b06af3cf9033db56 (diff)
(MESS) ti85: add basic support for the TI-84 Plus
Adds known dump of TI-84 Plus which has been sent to a mess dev and supports enough asic functionality that it boots and runs. Fixed up model enum to match style from the apple2 and used it to add support for where the ti84p differs from the ti84pse. Consolidated code for the 15Mhz calculators so there is less duplicated code between the ti83pse, ti84pse and ti84 support code.
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);