comment about likely rom offset bits / log changes

This commit is contained in:
David Haywood 2013-02-20 21:20:14 +00:00
parent abfb93e9f8
commit 8adbe3ca0f

View File

@ -415,7 +415,8 @@ public:
UINT32 m_b2tpen;
UINT32 m_b2colorNumber;
UINT32 m_blit3; // ?
UINT32 m_blit3_unused; // ?
UINT32 m_b3romoffset; //
UINT32 m_blit4_unused;
UINT32 m_blit4; // ?
@ -480,7 +481,7 @@ public:
};
#define PRINT_BLIT_STUFF \
printf("type blit %08x %08x(%d, %03x) %08x(%02x, %03x) %08x %08x(%08x) %08x(%d,%d) %04x %04x %04x %04x %08x %08x %d %d\n", m_blit0, m_blit1_unused,m_b1mode,m_b1colorNumber, m_blit2_unused,m_b2tpen,m_b2colorNumber, m_blit3, m_blit4_unused, m_blit4, m_blit5_unused, m_indirect_tile_enable, m_indirect_zoom_enable, m_vCellCount, m_hCellCount, m_vZoom, m_hZoom, m_blit10, data, m_vPosition, m_hPosition); \
printf("type blit %08x %08x(%d, %03x) %08x(%02x, %03x) %08x(%06x) %08x(%08x) %08x(%d,%d) %04x %04x %04x %04x %08x %08x %d %d\n", m_blit0, m_blit1_unused,m_b1mode,m_b1colorNumber, m_blit2_unused,m_b2tpen,m_b2colorNumber, m_blit3_unused,m_b3romoffset, m_blit4_unused, m_blit4, m_blit5_unused, m_indirect_tile_enable, m_indirect_zoom_enable, m_vCellCount, m_hCellCount, m_vZoom, m_hZoom, m_blit10, data, m_vPosition, m_hPosition); \
/* video */
@ -711,8 +712,8 @@ WRITE32_MEMBER(coolridr_state::sysh1_txt_blit_w)
// 5: 00000001 - enable line-zoom(?) lookup (road)
// 6: vvvv---- - "Vertical Cell Count"
// 6: ----hhhh - "Horizontal Cell Count"
// 7: 00000000 - unknown : "Vertical|Horizontal Zoom Centers"?
// 8: 00400040 - unknown : "Vertical|Horizontal Zoom Ratios"?
// 7: 00030003 - "Vertical|Horizontal Origin point"
// 8: 00ff00ff - "Vertical|Horizontal Zoom Ratios"
// 9: xxxx---- - "Display Vertical Position"
// 9: ----yyyy - "Display Horizontal Position"
// 10: 00000000 - unknown : always seems to be zero - NO, for some things (not text) it's also a reference to 3f40000 region like #11
@ -779,10 +780,18 @@ WRITE32_MEMBER(coolridr_state::sysh1_txt_blit_w)
}
else if (m_blitterSerialCount == 3)
{
m_blit3 = data;
if (!(m_blit0 & 1)) // don't bother for non-sprites
{
m_blit3_unused = data & 0xffe00000;
m_b3romoffset = data & 0x001fffff;
// if this is an offset into the compressed data then it's probably a word offset into each rom (each is 0x400000 bytes) with the data from all 10 being used in parallel as per the notes from Charles
// this needs verifying as it could instead be an index into some other ram area already decompressed..
// 0000xxxx
// to
// 001fxxxx
if (m_blit3_unused) printf("unknown bits in blit word %d - %08x\n", m_blitterSerialCount, m_blit4_unused);
}
}
else if (m_blitterSerialCount == 4)
{