diff --git a/src/mame/drivers/carjmbre.cpp b/src/mame/drivers/carjmbre.cpp
index 68a1330fefd..127d6d7c385 100644
--- a/src/mame/drivers/carjmbre.cpp
+++ b/src/mame/drivers/carjmbre.cpp
@@ -4,6 +4,14 @@
Car Jamboree
Omori Electric CAD (OEC) 1983
+
+ TODO:
+ - colors are wrong
+ - sprite priorities?
+
+----------------------------------------------------------------------------
+
+ PCB sketch:
c14 c.d19
c13 c.d18 c10
diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp
index 13c8b835fc4..5a957fae8d7 100644
--- a/src/mame/drivers/hh_sm510.cpp
+++ b/src/mame/drivers/hh_sm510.cpp
@@ -89,11 +89,14 @@ WRITE16_MEMBER(hh_sm510_state::lcd_segment_w)
if (state != m_lcd_output_cache[index])
{
- // output to x.y, where x = row a/b/bs/c*4 + H1-4, y = seg1-16
+ // output to row.seg.H, where:
+ // row = row a/b/bs/c (0/1/2/3)
+ // seg = seg 1-16 (0-15)
+ // H = H1-H4 (0-3)
char buf[0x10];
- sprintf(buf, "%d.%d", offset, seg);
+ sprintf(buf, "%d.%d.%d", offset >> 2, seg, offset & 3);
output().set_value(buf, state);
-
+
m_lcd_output_cache[index] = state;
}
}
diff --git a/src/mame/layout/hh_sm510_test.lay b/src/mame/layout/hh_sm510_test.lay
index f960f795acc..6c767675bfd 100644
--- a/src/mame/layout/hh_sm510_test.lay
+++ b/src/mame/layout/hh_sm510_test.lay
@@ -22,280 +22,287 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
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