trunk/src/mame/drivers/coinmvga.c
| r31664 | r31665 | |
| 1 | 1 | /****************************************************************************** |
| 2 | 2 | |
| 3 | | COINMASTER-GAMING - VGA BOARD |
| 4 | | ----------------------------- |
| 3 | COINMASTER-GAMING - VGA BOARD |
| 4 | ----------------------------- |
| 5 | 5 | |
| 6 | | Preliminary driver by Roberto Fresca & Angelo Salese. |
| 6 | Preliminary driver by Roberto Fresca & Angelo Salese. |
| 7 | 7 | |
| 8 | 8 | |
| 9 | | Games running on this hardware: |
| 9 | Games running on this hardware: |
| 10 | 10 | |
| 11 | | * Colorama (standalone), 199x-2001, Coinmaster-Gaming, Ltd. |
| 12 | | * Roulette (bet station). 199x-2001, Coinmaster-Gaming, Ltd. |
| 13 | | * Keno, (bet station). 2000-2001, Coinmaster-Gaming, Ltd. |
| 11 | * Colorama (standalone), 199x-2001, Coinmaster-Gaming, Ltd. |
| 12 | * Roulette (bet station). 199x-2001, Coinmaster-Gaming, Ltd. |
| 13 | * Keno, (bet station). 2000-2001, Coinmaster-Gaming, Ltd. |
| 14 | 14 | |
| 15 | 15 | |
| 16 | | |
| 17 | 16 | ******************************************************************************* |
| 18 | 17 | |
| 19 | 18 | |
| 20 | 19 | Hardware Notes: |
| 21 | 20 | --------------- |
| 22 | 21 | |
| 23 | | This board is used in each bet station of Coinmaster's Roulette and Keno game. |
| 22 | This board is used in each bet station of Coinmaster's Roulette and Keno games. |
| 24 | 23 | Both systems have a phisical electromechanical unit with their own controller |
| 25 | 24 | plus sound. The central units (wheel controller) are routed to the bet stations |
| 26 | 25 | (10 for default) through 2 different kind of networks, depending the wheel system. |
| r31664 | r31665 | |
| 170 | 169 | |
| 171 | 170 | ******************************************************************************* |
| 172 | 171 | |
| 173 | | -------------------- |
| 174 | | *** Memory Map *** |
| 175 | | -------------------- |
| 172 | -------------------- |
| 173 | *** Memory Map *** |
| 174 | -------------------- |
| 176 | 175 | |
| 177 | | 0x000000 - 0x09FFFF ; ROM space. |
| 178 | | 0x210000 - 0x21FFFF ; NVRAM?. |
| 176 | 0x000000 - 0x09FFFF ; ROM space. |
| 177 | 0x210000 - 0x21FFFF ; NVRAM?. |
| 179 | 178 | |
| 180 | 179 | |
| 181 | 180 | ******************************************************************************* |
| 182 | 181 | |
| 183 | 182 | |
| 184 | | DRIVER UPDATES: |
| 183 | DRIVER UPDATES: |
| 185 | 184 | |
| 186 | 185 | |
| 187 | | [2009-08-18] |
| 186 | [2014-08-15] |
| 188 | 187 | |
| 189 | | - Renamed Roulette V75 to Coinmaster Roulette V75. |
| 190 | | - Added Roulette controller program & sound ROMs. |
| 191 | | - Added 2 complete spanish Keno sets. |
| 192 | | - Added technical notes. |
| 188 | - Added Colorama (P521 V13, Spanish). |
| 189 | - Changed the Colorama parent set description to Colorama (P521, English). |
| 190 | - Added technical notes. |
| 193 | 191 | |
| 194 | 192 | |
| 195 | | [2009-08-17] |
| 193 | [2009-08-18] |
| 196 | 194 | |
| 197 | | - Initial release. |
| 198 | | - Added technical notes. |
| 195 | - Renamed Roulette V75 to Coinmaster Roulette V75. |
| 196 | - Added Roulette controller program & sound ROMs. |
| 197 | - Added 2 complete spanish Keno sets. |
| 198 | - Added technical notes. |
| 199 | 199 | |
| 200 | 200 | |
| 201 | | TODO: |
| 201 | [2009-08-17] |
| 202 | 202 | |
| 203 | | - Interrupts generation is unknown. |
| 204 | | - Touch screen hook-up. |
| 205 | | - Fully understand why it trigger some RTEs that should be RTS at POST. |
| 206 | | - Rewrite palette system, use two RAMDAC devices |
| 203 | - Initial release. |
| 204 | - Added technical notes. |
| 207 | 205 | |
| 208 | 206 | |
| 207 | TODO: |
| 208 | |
| 209 | - Interrupts generation is unknown. |
| 210 | - Touch screen hook-up. |
| 211 | - Fully understand why it trigger some RTEs that should be RTS at POST. |
| 212 | - Rewrite palette system, use two RAMDAC devices |
| 213 | |
| 214 | |
| 209 | 215 | *******************************************************************************/ |
| 210 | 216 | |
| 211 | 217 | |
| r31664 | r31665 | |
| 263 | 269 | gfx_element *gfx = m_gfxdecode->gfx(0); |
| 264 | 270 | int count = 0x04000/2; |
| 265 | 271 | |
| 266 | | int y,x; |
| 272 | int y, x; |
| 267 | 273 | |
| 268 | 274 | |
| 269 | | for (y=0;y<64;y++) |
| 275 | for (y = 0; y < 64; y++) |
| 270 | 276 | { |
| 271 | | for (x=0;x<128;x++) |
| 277 | for (x = 0; x < 128; x++) |
| 272 | 278 | { |
| 273 | 279 | int tile = m_vram[count]; |
| 274 | 280 | //int colour = tile>>12; |
| 275 | | gfx->opaque(bitmap,cliprect,tile,0,0,0,x*8,y*8); |
| 281 | gfx->opaque(bitmap, cliprect, tile, 0, 0, 0, x*8, y*8); |
| 276 | 282 | |
| 277 | 283 | count++; |
| 278 | 284 | } |
| r31664 | r31665 | |
| 562 | 568 | 8, 8, |
| 563 | 569 | RGN_FRAC(1,1), |
| 564 | 570 | 4, |
| 565 | | { 3,2,1,0 }, |
| 571 | { 3, 2, 1, 0 }, |
| 566 | 572 | { 12, 8, 4, 0, 28, 24, 20, 16 }, |
| 567 | 573 | { 0*8, 4*8, 8*8, 12*8, 16*8, 20*8, 24*8, 28*8 }, |
| 568 | 574 | 32*8 |
| r31664 | r31665 | |
| 571 | 577 | /* FIX ME */ |
| 572 | 578 | static const gfx_layout tiles16x16_layout = |
| 573 | 579 | { |
| 574 | | 8,8, |
| 580 | 8, 8, |
| 575 | 581 | RGN_FRAC(1,2), |
| 576 | 582 | 8, |
| 577 | | { RGN_FRAC(1,2)+3,3,RGN_FRAC(1,2)+2,2,RGN_FRAC(1,2)+1,1,RGN_FRAC(1,2)+0,0 }, |
| 583 | { RGN_FRAC(1,2)+3, 3, RGN_FRAC(1,2)+2, 2, RGN_FRAC(1,2)+1, 1, RGN_FRAC(1,2)+0, 0 }, |
| 578 | 584 | { 12, 4, 28, 20, 12+32*8, 4+32*8, 28+32*8, 20+32*8 }, |
| 579 | 585 | { 0*8, 4*8, 8*8, 12*8, 16*8, 20*8, 24*8, 28*8 }, |
| 580 | 586 | 32*8*2 |
| r31664 | r31665 | |
| 660 | 666 | *************************/ |
| 661 | 667 | |
| 662 | 668 | /* |
| 663 | | Colorama (english) |
| 669 | Colorama. |
| 670 | p521 (unknown version), English. |
| 671 | |
| 664 | 672 | Standalone. Phisical arm on marquee + bet station. |
| 665 | 673 | */ |
| 666 | 674 | |
| r31664 | r31665 | |
| 688 | 696 | ROM_END |
| 689 | 697 | |
| 690 | 698 | |
| 699 | ROM_START( coloramas ) |
| 700 | |
| 691 | 701 | /* |
| 702 | Colorama. |
| 703 | p521 v13, Spanish. |
| 704 | |
| 705 | Standalone. Phisical arm on marquee + bet station. |
| 706 | */ |
| 707 | |
| 708 | ROM_REGION( 0x100000, "maincpu", 0 ) |
| 709 | ROM_LOAD16_BYTE( "p521_v13_rwof_prog_1_(401)_14-2-00_spanish.bin", 0x00001, 0x80000, CRC(69c26df0) SHA1(a83232e835a24e4da46a613abfa34ca2440727ac) ) |
| 710 | ROM_LOAD16_BYTE( "p521_v13_rwof_prog_2_(401)_14-2-00_spanish.bin", 0x00000, 0x80000, CRC(42294c43) SHA1(f8a94d0387eb2f58643570017499c70baaa393cc) ) |
| 711 | |
| 712 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 713 | ROM_LOAD16_BYTE( "p521_v12_rwof_fore_1_(401)_20-7-99_spanish.bin", 0x00001, 0x80000, CRC(c5187559) SHA1(a32cee8948eb08fa9662622164f7ba9042d297d8) ) |
| 714 | ROM_LOAD16_BYTE( "p521_v12_rwof_fore_2_(401)_20-7-99_spanish.bin", 0x00000, 0x80000, CRC(fdf71c26) SHA1(4e2e5cc3f847a173283401969e21ccde941f0f20) ) |
| 715 | |
| 716 | ROM_REGION( 0x400000, "gfx2", 0 ) |
| 717 | ROM_LOAD16_BYTE( "p521_v12_rwof_back_1_(801)_20-7-99_spanish.bin", 0x200001, 0x100000, CRC(0cbaf152) SHA1(2d6dfc7a4a8ccb6891dd8859594711ddf8a1055e) ) |
| 718 | ROM_LOAD16_BYTE( "p521_v12_rwof_back_2_(801)_20-7-99_spanish.bin", 0x200000, 0x100000, CRC(7e840b74) SHA1(3825533a824a9a47e4bd44adcebbdc56a01a6f1e) ) |
| 719 | ROM_LOAD16_BYTE( "p521_v12_rwof_back_3_(801)_20-7-99_spanish.bin", 0x000001, 0x100000, CRC(3163f25d) SHA1(ea2336f2381de1680046c70f217c398d1229f11f) ) |
| 720 | ROM_LOAD16_BYTE( "p521_v12_rwof_back_4_(801)_20-7-99_spanish.bin", 0x000000, 0x100000, CRC(e741a046) SHA1(8b65205c1d55dfca953e3626d151cb28ba1b2dfc) ) |
| 721 | |
| 722 | ROM_REGION( 0x100000, "ymz", 0 ) |
| 723 | ROM_LOAD( "p521_v12_rwof_bet_sound_(801)_20-7-99_spanish.bin", 0x00000, 0x100000, CRC(a9bda811) SHA1(c5a9aa83bba4bed00f4b23f17b82100c94e2889c) ) |
| 724 | |
| 725 | ROM_REGION( 0x0200, "plds", 0 ) |
| 726 | ROM_LOAD( "palce22v10h25.u11", 0x0000, 0x0200, NO_DUMP ) |
| 727 | |
| 728 | ROM_END |
| 729 | |
| 730 | |
| 731 | |
| 732 | /* |
| 692 | 733 | Coinmaster Roulette V75 (y2k, spanish) |
| 693 | | Phisical Unit + 10/15 bet stations. |
| 734 | Phisical Unit + 10-15 bet stations. |
| 694 | 735 | */ |
| 695 | 736 | |
| 696 | 737 | ROM_START( cmrltv75 ) |
| r31664 | r31665 | |
| 839 | 880 | * Game Drivers * |
| 840 | 881 | *************************/ |
| 841 | 882 | |
| 842 | | /* YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS */ |
| 843 | | GAME( 2001, colorama, 0, coinmvga, coinmvga, coinmvga_state, colorama, ROT0, "Coinmaster-Gaming, Ltd.", "Colorama (English)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) |
| 844 | | GAME( 2001, cmrltv75, 0, coinmvga, coinmvga, coinmvga_state, cmrltv75, ROT90, "Coinmaster-Gaming, Ltd.", "Coinmaster Roulette V75 (Y2K, Spanish)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) |
| 845 | | GAME( 2000, cmkenosp, 0, coinmvga, coinmvga, driver_device, 0, ROT90, "Coinmaster-Gaming, Ltd.", "Coinmaster Keno (Y2K, Spanish, 2000-12-14)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) |
| 846 | | GAME( 2000, cmkenospa, cmkenosp, coinmvga, coinmvga, driver_device, 0, ROT90, "Coinmaster-Gaming, Ltd.", "Coinmaster Keno (Y2K, Spanish, 2000-12-02)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) |
| 883 | /* YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS */ |
| 884 | GAME( 2000, colorama, 0, coinmvga, coinmvga, coinmvga_state, colorama, ROT0, "Coinmaster-Gaming, Ltd.", "Colorama (P521, English)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) |
| 885 | GAME( 2000, coloramas, colorama, coinmvga, coinmvga, coinmvga_state, colorama, ROT0, "Coinmaster-Gaming, Ltd.", "Colorama (P521 V13, Spanish)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) |
| 886 | GAME( 2001, cmrltv75, 0, coinmvga, coinmvga, coinmvga_state, cmrltv75, ROT90, "Coinmaster-Gaming, Ltd.", "Coinmaster Roulette P497 V75 (Y2K, Spanish)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) |
| 887 | GAME( 2000, cmkenosp, 0, coinmvga, coinmvga, driver_device, 0, ROT90, "Coinmaster-Gaming, Ltd.", "Coinmaster Keno (Y2K, Spanish, 2000-12-14)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) |
| 888 | GAME( 2000, cmkenospa, cmkenosp, coinmvga, coinmvga, driver_device, 0, ROT90, "Coinmaster-Gaming, Ltd.", "Coinmaster Keno (Y2K, Spanish, 2000-12-02)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) |