summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-09-19 21:38:30 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-09-19 21:39:28 -0400
commitacc8a35b0bb266c3fc8acfaa714a4f9f50936daf (patch)
treedd9a0a04650a72a0cb7476c4d3d27b75adb82bfe
parent047e976f4ab555302a4c59bd0cabe20d8fa3bd6d (diff)
m68hc05l9: Add (somewhat provisional) model-specific register names (nw)
-rw-r--r--src/devices/cpu/m6805/m68hc05.cpp17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/devices/cpu/m6805/m68hc05.cpp b/src/devices/cpu/m6805/m68hc05.cpp
index cd6168389d5..5cdbe2d619b 100644
--- a/src/devices/cpu/m6805/m68hc05.cpp
+++ b/src/devices/cpu/m6805/m68hc05.cpp
@@ -74,6 +74,19 @@ std::pair<u16, char const *> const m68hc705j1a_syms[] = {
{ 0x0014, "EPROG" },
{ 0x07f0, "COPR" }, { 0x07f1, "MOR" } };
+std::pair<u16, char const *> const m68hc05l9_syms[] = {
+ { 0x0000, "PORTA" }, { 0x0001, "PORTB" }, { 0x0002, "PORTC" }, { 0x0003, "PORTD" },
+ { 0x0004, "DDRA" }, { 0x0005, "DDRB" }, { 0x0006, "DDRC" }, { 0x0007, "DDRD" },
+ { 0x0008, "COUNT" },
+ { 0x0009, "GCR1" }, { 0x000a, "GCR2" },
+ { 0x000b, "MINA" }, { 0x000c, "HOURA" },
+ { 0x000d, "BAUD" }, { 0x000e, "SCCR1" }, { 0x000f, "SCCR2" }, { 0x0010, "SCSR" }, { 0x0011, "SCDR" },
+ { 0x0012, "TCR" }, { 0x0013, "TSR" },
+ { 0x0014, "ICRH" }, { 0x0015, "ICRL" }, { 0x0016, "OCRH" }, { 0x0017, "OCRL" },
+ { 0x0018, "TRH" }, { 0x0019, "TRL" }, { 0x001a, "ATRH" }, { 0x001b, "ATRL" },
+ { 0x001c, "RTCSR" },
+ { 0x001d, "HOUR" }, { 0x001e, "MIN" }, { 0x001f, "SEC" } };
+
ROM_START( m68hc705c8a )
ROM_REGION(0x00f0, "bootstrap", 0)
@@ -1045,7 +1058,7 @@ void m68hc05l9_device::l9_map(address_map &map)
map(0x0014, 0x0015).r(FUNC(m68hc05l9_device::icr_r));
map(0x0016, 0x0017).rw(FUNC(m68hc05l9_device::ocr_r), FUNC(m68hc05l9_device::ocr_w));
map(0x0018, 0x001b).r(FUNC(m68hc05l9_device::timer_r));
- // 0x001c RTC flags
+ // 0x001c RTC status and clock control
// 0x001d hours
// 0x001e minutes
// 0x001f seconds
@@ -1089,7 +1102,7 @@ void m68hc05l9_device::device_start()
std::unique_ptr<util::disasm_interface> m68hc05l9_device::create_disassembler()
{
- return std::make_unique<m68hc05_disassembler>(m68hc05c4_syms);
+ return std::make_unique<m68hc05_disassembler>(m68hc05l9_syms);
}