More improvements to goldstar.c

- Added 3 new machine drivers for the different Amcoe games hardware.
- Added OKI M6295 support for speech/sounds to schery97, schery97a, skill98, pokonl97 and match98.
- Fixed sound support to nfb96, nfb96a, nfb96b, nfb96c, nfb96txt, roypok96, roypok96a, roypok96b, nc96, nc96a, nc96b, nc96c, nc96txt, nfb96se, nfb96sea, nfb96seb, carb2002 and carb2003.
- Full inputs & DIP switches from the scratch for pokonl97, match98, nfb96, nfb96a, nfb96b, nfb96c, nfb96txt, roypok96, roypok96a, roypok96b, nc96, nc96a, nc96b, nc96c, nc96txt, nfb96se, nfb96sea, nfb96seb, carb2002 and carb2003. All these were promoted to working state.
- Fixed size and position of tilemaps visible area to match98.
- More driver cleanups.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Poker Only '97 (ver. 3.3) [Roberto Fresca, Olivier Galibert, David Haywood]
Match '98 (ver. 1.33) [Roberto Fresca, Olivier Galibert, David Haywood]
New Fruit Bonus '96 Special Edition (5 sets) [Roberto Fresca, Olivier Galibert, David Haywood]
Royal Poker '96 (3 sets) [Roberto Fresca, Olivier Galibert, David Haywood]
New Cherry '96 Special Edition (5 sets) [Roberto Fresca, Olivier Galibert, David Haywood]
New Fruit Bonus '96 Special Edition (bootleg, 3 sets) [Roberto Fresca, Olivier Galibert, David Haywood]
Carriage Bonus 2002 (bootleg) [Roberto Fresca, Olivier Galibert, David Haywood]
Carriage Bonus 2003 (bootleg) [Roberto Fresca, Olivier Galibert, David Haywood]
This commit is contained in:
Roberto Fresca 2009-02-16 02:50:19 +00:00
parent 9e3919cce7
commit b3e1fbd1fb
2 changed files with 1282 additions and 39 deletions

File diff suppressed because it is too large Load Diff

View File

@ -177,6 +177,10 @@ static const rectangle cm91_visible1 = { 0*8, (14+48)*8-1, 4*8, (4+7)*8-1 }; /*
static const rectangle cm91_visible2 = { 0*8, (14+48)*8-1, 11*8, (12+7)*8-1 }; /* 4 pixels less for reel2 */
static const rectangle cm91_visible3 = { 0*8, (14+48)*8-1, 19*8, (19+7)*8-1 }; /* 8 pixels less for reel3 */
static const rectangle am1a_visible1 = { 0*8, (14+48)*8-1, 4*8, (4+6)*8-1 };
static const rectangle am1a_visible2 = { 0*8, (14+48)*8-1, 10*8, (10+6)*8-1 };
static const rectangle am1a_visible3 = { 0*8, (14+48)*8-1, 16*8, (16+6)*8-1 };
VIDEO_UPDATE( goldstar )
{
@ -191,11 +195,11 @@ VIDEO_UPDATE( goldstar )
tilemap_set_scrolly(goldstar_reel3_tilemap, i, goldstar_reel3_scroll[i]);
}
tilemap_draw(bitmap,&visible1,goldstar_reel1_tilemap,0,0);
tilemap_draw(bitmap,&visible2,goldstar_reel2_tilemap,0,0);
tilemap_draw(bitmap,&visible3,goldstar_reel3_tilemap,0,0);
tilemap_draw(bitmap, &visible1, goldstar_reel1_tilemap, 0, 0);
tilemap_draw(bitmap, &visible2, goldstar_reel2_tilemap, 0, 0);
tilemap_draw(bitmap, &visible3, goldstar_reel3_tilemap, 0, 0);
tilemap_draw(bitmap,cliprect,goldstar_fg_tilemap,0,0);
tilemap_draw(bitmap,cliprect, goldstar_fg_tilemap, 0, 0);
return 0;
}
@ -221,3 +225,25 @@ VIDEO_UPDATE( cmast91 )
return 0;
}
VIDEO_UPDATE( amcoe1a )
{
int i;
bitmap_fill(bitmap,cliprect,get_black_pen(screen->machine));
for (i= 0;i < 64;i++)
{
tilemap_set_scrolly(goldstar_reel1_tilemap, i, goldstar_reel1_scroll[i]);
tilemap_set_scrolly(goldstar_reel2_tilemap, i, goldstar_reel2_scroll[i]);
tilemap_set_scrolly(goldstar_reel3_tilemap, i, goldstar_reel3_scroll[i]);
}
tilemap_draw(bitmap, &am1a_visible1, goldstar_reel1_tilemap, 0, 0);
tilemap_draw(bitmap, &am1a_visible2, goldstar_reel2_tilemap, 0, 0);
tilemap_draw(bitmap, &am1a_visible3, goldstar_reel3_tilemap, 0, 0);
tilemap_draw(bitmap, cliprect, goldstar_fg_tilemap, 0, 0);
return 0;
}