Skip to content

Commit 242bec1

Browse files
author
David Haywood
committed
maybe the value is correct and something else is going on?
1 parent a8ba1e0 commit 242bec1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Diff for: src/mame/tvgames/xavix.cpp

+10-4
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,16 @@ void xavix_state::xavix_1mb_extbus_map(address_map &map)
310310
void xavix_state::mainram_w(offs_t offset, uint8_t data)
311311
{
312312
m_mainram[offset] = data;
313-
314-
// trying to debug anpanmdx title screen issue
315-
// if ((offset == 0x3d) && (data == 0x77))
316-
// logerror("%s: writing 0x77 to 0x3d\n", machine().describe_context());
313+
/*
314+
// trying to debug anpanmdx title screen issue
315+
if ((offset == 0x3d) && (data == 0x77))
316+
logerror("%s: writing 0x77 to 0x3d\n", machine().describe_context());
317+
if ((offset == 0x98) && (data == 0x77))
318+
logerror("%s: writing 0x77 to 0x98\n", machine().describe_context());
319+
if ((offset == 0x3f2) && (data == 0x77))
320+
logerror("%s: writing 0x77 to 0x3f2\n", machine().describe_context());
321+
// but the unwanted? value of 0x77 is explicitly set by the code at 1c61c
322+
*/
317323
}
318324

319325

0 commit comments

Comments
 (0)