summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author arekkusu42 <arekkusu42@users.noreply.github.com>2026-05-08 04:24:03 -0700
committer GitHub <noreply@github.com>2026-05-08 07:24:03 -0400
commitbcc561afdf812eff00e2d7c1a069aec2a2c66694 (patch)
treefda612a4f8ed42b13f7ac60a9571da871a74ce20 /src/devices
parent7d00b12d641b19a47efbb340d3472e001542f5c0 (diff)
apple2common: debugger improvements (#15313)
* apple2e/apple2gs: prevent various debugger side-effects * apple2e/c/gs: fix slot reads disabling Zip acceleration * laser128: fix floppy drive disabling Zip acceleration * apple2c3/4/p,laser128: fix advancing expansion RAM slinky address * apple2c,ace500: fix mouse IRQ resets * ace500: fix keyboard strobe reset * gameio: fix compeyes advancing x,y address * apple2gs: make C0xx I/O visible to the debugger * also skip FPI sync for fast registers, per GS Hardware Ref * apple2common: add/correct a few dasm symbols * add overloaded //c and IIgs names * add missing C06D TESTREG, C08B LCBANK1 * fix typos, normalize whitespace * apple2common: add dasm for some missing opcodes * complete the simple modes: direct page, absolute, absolute long * apple2common: perf: skip slow JSL dasm indirection * apple2common: perf: binary search dasm symbols
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/bus/a2gameio/computereyes.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/devices/bus/a2gameio/computereyes.cpp b/src/devices/bus/a2gameio/computereyes.cpp
index 03de502df9c..c18be34bb49 100644
--- a/src/devices/bus/a2gameio/computereyes.cpp
+++ b/src/devices/bus/a2gameio/computereyes.cpp
@@ -92,14 +92,18 @@ int apple2_compeyes_device::sw1_r()
int res = m_a2_bitmap[(m_y*280)+m_x] > m_level ? 1 : 0;
// if (m_a2_bitmap[(m_y*280)+m_x] != 0)
// printf("Read pixel at (%d, %d) = %d (pix %d, level %d)\n", m_x, m_y, res, m_a2_bitmap[(m_y*280)+m_x], m_level);
- m_y++;
- if (m_y >= 192)
+
+ if (!machine().side_effects_disabled())
{
- if (m_x < 279)
+ m_y++;
+ if (m_y >= 192)
{
- m_x++;
+ if (m_x < 279)
+ {
+ m_x++;
+ }
+ m_y = 0;
}
- m_y = 0;
}
return res;
}