Skip to content

Commit baa903d

Browse files
author
David Haywood
committed
add a note for further research
1 parent 54c9e50 commit baa903d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/mame/tvgames/xavix_v.cpp

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,12 +1363,17 @@ void superxavix_state::draw_bitmap_layer(screen_device &screen, bitmap_rgb32 &bi
13631363
{
13641364
if (0)
13651365
{
1366-
popmessage("bitmap t:%04x b:%04x l:%04x r:%04x -- -- ba:%04x la:%04x ra:%04x -- -- step:%02x - size:%02x unused:%08x",
1366+
popmessage("bitmap t:%04x b:%04x l:%04x r:%04x -- -- ta: %04x ba:%04x la:%04x ra:%04x -- -- start %04x (%08x) step:%02x - size:%02x unused:%08x\n",
13671367
top, bot, lft, rgt,
1368-
/*topadr*/ botadr, lftadr, rgtadr,
1369-
/*start*/ step, size, unused);
1368+
topadr, botadr, lftadr, rgtadr,
1369+
start, start * 0x800, step, size, unused);
13701370
}
13711371

1372+
// anpanmdx title screen ends up with a seemingly incorrect value for start
1373+
// when it does the scroller. There is presumably an opcode or math bug causing this.
1374+
//if (start >= 0x7700)
1375+
/// start -= 0x3c00;
1376+
13721377
int base = start * 0x800;
13731378
int base2 = topadr * 0x8;
13741379

0 commit comments

Comments
 (0)