Previous 199869 Revisions Next

r18882 Wednesday 7th November, 2012 at 03:11:07 UTC by Tafoid
pprobe (vastar.c):
Verified bonus live dipswitch (and corrected it).  Reversed sprite draw order based on usage, less strange issues this way and vastar still seems to be happy about it and added a note about another possibility.  From Haze (nw)
[src/mame/drivers]vastar.c
[src/mame/video]vastar.c

trunk/src/mame/video/vastar.c
r18881r18882
116116
117117***************************************************************************/
118118
119// I wouldn't rule out the possibility of there being 2 sprite chips due to
120// "offs & 0x20" being used to select the tile bank.
121//
122// for Planet Probe more cases appear correct if we draw the list in reverse
123// order, but it's also possible we should be drawing 2 swapped lists in
124// forward order instead
119125static void draw_sprites(running_machine &machine, bitmap_ind16 &bitmap,const rectangle &cliprect)
120126{
121127   vastar_state *state = machine.driver_data<vastar_state>();
r18881r18882
124130   UINT8 *spriteram_3 = state->m_spriteram3;
125131   int offs;
126132
127   for (offs = 0; offs < 0x40; offs += 2)
133//   for (offs = 0; offs < 0x40; offs += 2)
134   for (offs = 0x40-2; offs >=0; offs -= 2)
128135   {
129136      int code, sx, sy, color, flipx, flipy;
130137
trunk/src/mame/drivers/vastar.c
r18881r18882
297297   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )      PORT_DIPLOCATION("DSW1:5") // unused?
298298   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
299299   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
300   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("DSW1:6") // these might be swapped
301   PORT_DIPSETTING(   0x20, "30000 then every 40000" )
300   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("DSW1:6")
301   PORT_DIPSETTING(   0x20, "20000 then every 40000" )
302302   PORT_DIPSETTING(   0x00, "30000 then every 70000" )
303303   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("DSW1:7")
304304   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team