deco32.cpp : Add notes, Fix background color for dragngun

deco_zoomspr.cpp : Add notes
This commit is contained in:
cam900 2018-08-16 22:27:24 +09:00
parent 5ba993152a
commit 2b33bab327
3 changed files with 8 additions and 5 deletions

View File

@ -483,6 +483,8 @@ void dragngun_state::dragngun_map(address_map &map)
map(0x0130000, 0x0131fff).ram().w(FUNC(dragngun_state::buffered_palette_w)).share("paletteram");
map(0x0138000, 0x0138003).noprw(); /* Palette dma complete in bit 0x8? ack? return 0 else tight loop */
map(0x0138008, 0x013800b).w(FUNC(dragngun_state::palette_dma_w));
// map(0x0150000, 0x0150003).nopw(); // Unknown; Masking related?
// map(0x0160000, 0x0160003).w(FUNC(dragngun_state::pri_w)); // priority
map(0x0170100, 0x0170103).nopw();
map(0x0170038, 0x017003b).nopw();
map(0x017002C, 0x017002f).nopw();

View File

@ -165,7 +165,7 @@ uint32_t captaven_state::screen_update_captaven(screen_device &screen, bitmap_in
uint32_t dragngun_state::screen_update_dragngun(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
screen.priority().fill(0, cliprect);
bitmap.fill(m_palette->black_pen(), cliprect);
bitmap.fill(m_palette->pen(0x400), cliprect); // Palette index not confirmed
m_deco_tilegen[0]->pf_update(m_pf_rowscroll[0].get(), m_pf_rowscroll[1].get());
m_deco_tilegen[1]->pf_update(m_pf_rowscroll[2].get(), m_pf_rowscroll[3].get());

View File

@ -236,10 +236,11 @@ void deco_zoomspr_device::dragngun_draw_sprites( bitmap_rgb32 &bitmap, const rec
0x8000: Y flip
0x03ff: Y size of block in pixels (for scaling)
Word 6 :
0x1f - colour.
0x20 - ? Used for background at 'frog' boss and title screen dragon.
0x40 - ? priority?
0x80 - Alpha blending enable
0x0000001f - colour.
0x00000020 - ? Used for background at 'frog' boss and title screen dragon.
0x00000040 - ? priority?
0x00000080 - Alpha blending enable
0x40000000 - Additive/Subtractable blend? (dragngun)
Word 7 :