Skip to content

Commit

Permalink
new tlcs900 variant: TMP94C241
Browse files Browse the repository at this point in the history
Used on the KN5000 driver.
  • Loading branch information
felipesanches committed Jan 12, 2025
1 parent fb60da7 commit 7770165
Show file tree
Hide file tree
Showing 7 changed files with 2,290 additions and 33 deletions.
2 changes: 2 additions & 0 deletions scripts/src/cpu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2978,6 +2978,8 @@ if CPUS["TLCS900"] then
MAME_DIR .. "src/devices/cpu/tlcs900/tlcs900.h",
MAME_DIR .. "src/devices/cpu/tlcs900/900tbl.hxx",
MAME_DIR .. "src/devices/cpu/tlcs900/900htbl.hxx",
MAME_DIR .. "src/devices/cpu/tlcs900/tmp94c241.cpp",
MAME_DIR .. "src/devices/cpu/tlcs900/tmp94c241.h",
MAME_DIR .. "src/devices/cpu/tlcs900/tmp95c061.cpp",
MAME_DIR .. "src/devices/cpu/tlcs900/tmp95c061.h",
MAME_DIR .. "src/devices/cpu/tlcs900/tmp95c063.cpp",
Expand Down
7 changes: 5 additions & 2 deletions src/devices/cpu/tlcs900/tlcs900.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ enum tlcs900_inputs
TLCS900_INT6,
TLCS900_INT7,
TLCS900_INT8,
TLCS900_INT9,
TLCS900_INTA,
TLCS900_INTB,
TLCS900_TIO,
TLCS900_NUM_INPUTS
};
Expand Down Expand Up @@ -102,8 +105,8 @@ class tlcs900_device : public cpu_device

/* Internal timers, irqs, etc */
uint32_t m_timer_pre;
uint8_t m_timer[6];
int m_timer_change[4];
uint8_t m_timer[10];
int m_timer_change[8];
bool m_prefetch_clear;
uint8_t m_prefetch_index;
uint8_t m_prefetch[4];
Expand Down
Loading

0 comments on commit 7770165

Please sign in to comment.