summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/6883sam.h
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2017-07-31 08:14:51 -0400
committer Vas Crabb <cuavas@users.noreply.github.com>2017-08-01 14:27:16 +1000
commitc9b47bd56cab41e3b6919985bed56dc2693f4eac (patch)
treeffb1c2df50be3acb460112bbe8858f1d532065ee /src/mame/machine/6883sam.h
parentbb0964f9a284b15851773f5428bd602ca01cc28b (diff)
SAM6883: Fixed a bug by which VDG addressing incorrectly honored the page bit
This affected the CoCo/Dragon family of drivers Special thanks to Ciaran Anscomb for identifying this problem
Diffstat (limited to 'src/mame/machine/6883sam.h')
-rw-r--r--src/mame/machine/6883sam.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/machine/6883sam.h b/src/mame/machine/6883sam.h
index 52418221ed6..84b45adac16 100644
--- a/src/mame/machine/6883sam.h
+++ b/src/mame/machine/6883sam.h
@@ -121,7 +121,7 @@ public:
if (bit3_carry)
counter_carry_bit3();
}
- return m_read_res((m_counter & m_counter_mask) | m_counter_or);
+ return m_read_res(m_counter & m_counter_mask);
}
DECLARE_WRITE_LINE_MEMBER( hs_w );
@@ -185,7 +185,6 @@ private:
sam_space<0xFF60, 0xFFBF> m_space_FF60;
sam_space<0xFFE0, 0xFFFF> m_space_FFE0;
uint16_t m_counter_mask;
- uint16_t m_counter_or;
// SAM state
uint16_t m_counter;