Previous 199869 Revisions Next

r33303 Sunday 9th November, 2014 at 14:15:17 UTC by Sergey Svishchev
asst128: has joystick port
[hash]apfimag_cass.xml
[src/emu/bus/coco]coco_dwsock.c
[src/emu/cpu/rsp]rspdrc.c
[src/mame]mame.lst
[src/mame/drivers]ampoker2.c atetris.c batman.c calomega.c cninja.c coinmstr.c legionna.c mario.c miniboy7.c peplus.c pipedrm.c sbugger.c
[src/mame/includes]mario.h
[src/mame/video]calomega.c k054156_k054157_k056832.c mario.c n64.c rdpspn16.c
[src/mess/drivers]asst128.c

trunk/hash/apfimag_cass.xml
r241814r241815
1717      <description>16K Letter Writter</description>
1818      <year>1982</year>
1919      <publisher>Milt Perry</publisher>
20      <info name="usage" value="Requires 16K RAM" />
2120      <part name="cass" interface="apf_cass">
21         <feature name="usage" value="Requires 16K RAM" />
2222         <dataarea name="cass" size="1743020">
23            <rom name="m_perry_16k_letter_writter(16k).wav" size="1743020" crc="d1ca5e2d" sha1="4c844e54836d4f1de0bf4d653860c5c20444d304" offset="0" />
23         <rom name="m_perry_16k_letter_writter(16k).wav" size="1743020" crc="d1ca5e2d" sha1="4c844e54836d4f1de0bf4d653860c5c20444d304" offset="0" />
2424         </dataarea>
2525      </part>
2626   </software>
r241814r241815
2929      <description>An Adventure in Murder</description>
3030      <year>198?</year>
3131      <publisher>R. Eisman</publisher>
32      <info name="usage" value="Requires 16K RAM" />
3332      <part name="cass" interface="apf_cass">
33         <feature name="usage" value="Requires 16K RAM" />
3434         <dataarea name="cass" size="2030598">
3535            <rom name="r_eisman_adventure_in_murder(16k).wav" size="2030598" crc="5fbd2aed" sha1="aca54da042c60b96fd7288f6a5df54d7239757c8" offset="0" />
3636         </dataarea>
r241814r241815
4141      <description>ALPHAbit</description>
4242      <year>19??</year>
4343      <publisher>MR R's</publisher>
44      <info name="usage" value="Requires 16K RAM" />
4544      <part name="cass" interface="apf_cass">
45         <feature name="usage" value="Requires 16K RAM" />
4646         <dataarea name="cass" size="1750444">
4747            <rom name="mr_rs_alphabit(16k).wav" size="1750444" crc="f7eb904d" sha1="19dfca668cc5c54af0278553f5600ba3e8bdd9ee" offset="0" />
4848         </dataarea>
r241814r241815
419419      <description>Escape + 21 + Escape 2 (Bad?)</description>
420420      <year>198?</year>
421421      <publisher>Lacroix Games</publisher>
422      <info name="usage" value="Wait 1 or 2 secs from PLAY press and Return" />
423422      <part name="cass" interface="apf_cass">
423         <feature name="usage" value="Wait 1 or 2 secs from PLAY press and Return" />
424424         <dataarea name="cass" size="3539884">
425425            <rom name="lacroix_games_(escape_21_escape2).wav" size="3539884" crc="3a799a9e" sha1="d3486a021c7ef45db0e5f553153affbb2accf09a" offset="0" />
426426         </dataarea>
r241814r241815
647647      <description>Mission: Improbable - Mission Alpha</description>
648648      <year>1982</year>
649649      <publisher>Geo-Grafix</publisher>
650      <info name="usage" value="Requires 16K RAM" />
651650      <part name="cass" interface="apf_cass">
651         <feature name="usage" value="Requires 16K RAM" />
652652         <dataarea name="cass" size="10269596">
653653            <rom name="geo_grafix_mission-improbable_alpha(16k).wav" size="10269596" crc="29a0d823" sha1="75e7b305f2004af57fa9b1347c3e2f12cb68d525" offset="0" />
654654         </dataarea>
r241814r241815
855855      <description>Space Shuttle</description>
856856      <year>19??</year>
857857      <publisher>York 10 Computerware</publisher>
858      <info name="usage" value="Requires 16K RAM" />
859858      <part name="cass" interface="apf_cass">
859         <feature name="usage" value="Requires 16K RAM" />
860860         <dataarea name="cass" size="1759916">
861861            <rom name="york_10_computerware_space_shuttle(16k).wav" size="1759916" crc="66a43b5a" sha1="1644bc35920e81876de630feb59d4ab761b87563" offset="0" />
862862         </dataarea>
r241814r241815
984984      <description>Transport + 15 Matches</description>
985985      <year>19??</year>
986986      <publisher>R. T. Carman</publisher>
987      <info name="usage" value="Transport requires 16K RAM" />
988987      <part name="cass" interface="apf_cass">
988         <feature name="usage" value="Transport requires 16K RAM" />
989989         <dataarea name="cass" size="3680094">
990990            <rom name="r_t_carman_transport(16k)_15_matches.wav" size="3680094" crc="5673884c" sha1="538ea35a11ce95243da6cb6bf568b8f840bbe40d" offset="0" />
991991         </dataarea>
trunk/src/emu/bus/coco/coco_dwsock.c
r241814r241815
134134{
135135    unsigned char data = 0x5a;
136136
137    if (m_pSocket == NULL)
138        return data;
139
140137    switch (offset)
141138    {
142139        case DWS_STATUS:
r241814r241815
177174    char d = (char)data;
178175    file_error filerr;
179176
180    if (m_pSocket == NULL)
181        return;
182
183177    switch (offset)
184178    {
185179        case DWS_STATUS:
trunk/src/emu/cpu/rsp/rspdrc.c
r241814r241815
74197419         if (seqhead->delay.first() != NULL && seqhead->physpc != seqhead->delay.first()->physpc)
74207420         {
74217421            base = m_direct->read_decrypted_ptr(seqhead->delay.first()->physpc | 0x1000);
7422            assert(base != NULL);
74237422            UML_LOAD(block, I1, base, 0, SIZE_DWORD, SCALE_x4);                 // load    i1,base,dword
74247423            UML_ADD(block, I0, I0, I1);                     // add     i0,i0,i1
74257424
r241814r241815
74427441         if (!(curdesc->flags & OPFLAG_VIRTUAL_NOOP))
74437442         {
74447443            base = m_direct->read_decrypted_ptr(curdesc->physpc | 0x1000);
7445            assert(base != NULL);
74467444            UML_LOAD(block, I1, base, 0, SIZE_DWORD, SCALE_x4);                     // load    i1,base,dword
74477445            UML_ADD(block, I0, I0, I1);                         // add     i0,i0,i1
74487446            sum += curdesc->opptr.l[0];
r241814r241815
74507448            if (curdesc->delay.first() != NULL && (curdesc == seqlast || (curdesc->next() != NULL && curdesc->next()->physpc != curdesc->delay.first()->physpc)))
74517449            {
74527450               base = m_direct->read_decrypted_ptr(curdesc->delay.first()->physpc | 0x1000);
7453               assert(base != NULL);
74547451               UML_LOAD(block, I1, base, 0, SIZE_DWORD, SCALE_x4);                 // load    i1,base,dword
74557452               UML_ADD(block, I0, I0, I1);                     // add     i0,i0,i1
74567453
trunk/src/mame/drivers/ampoker2.c
r241814r241815
11391139******************************/
11401140
11411141static GFXDECODE_START( ampoker2 )
1142   GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout, 0, 128 )
1142   GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout, 0, 16 )
11431143GFXDECODE_END
11441144
11451145static GFXDECODE_START( sigma2k )
1146   GFXDECODE_ENTRY( "gfx1", 0x0000, s2k_charlayout, 0, 128 )
1146   GFXDECODE_ENTRY( "gfx1", 0x0000, s2k_charlayout, 0, 16 )
11471147GFXDECODE_END
11481148
11491149/*************************
trunk/src/mame/drivers/atetris.c
r241814r241815
343343   /* basic machine hardware */
344344   MCFG_CPU_ADD("maincpu", M6502,BOOTLEG_CLOCK/8)
345345   MCFG_CPU_PROGRAM_MAP(atetrisb2_map)
346   
347   MCFG_SLAPSTIC_ADD("slapstic")
348346
349347   MCFG_NVRAM_ADD_1FILL("nvram")
350348
trunk/src/mame/drivers/batman.c
r241814r241815
181181
182182
183183static GFXDECODE_START( batman )
184   GFXDECODE_ENTRY( "gfx3", 0, pfmolayout,  512, 32 )      /* sprites & playfield */
184   GFXDECODE_ENTRY( "gfx3", 0, pfmolayout,  512, 16 )      /* sprites & playfield */
185185   GFXDECODE_ENTRY( "gfx2", 0, pfmolayout,  256, 16 )      /* sprites & playfield */
186186   GFXDECODE_ENTRY( "gfx1", 0, anlayout,      0, 64 )      /* characters 8x8 */
187187GFXDECODE_END
trunk/src/mame/drivers/calomega.c
r241814r241815
23392339*************************************************/
23402340
23412341static GFXDECODE_START( calomega )
2342   GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 32 )
2343   GFXDECODE_ENTRY( "gfx2", 0, tilelayout, 0, 32 )
2342   GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 16 )
2343   GFXDECODE_ENTRY( "gfx2", 0, tilelayout, (8 * 3) + 128, 16 )
23442344GFXDECODE_END
23452345
23462346static GFXDECODE_START( sys906 )
2347   GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 32 )
2348   GFXDECODE_ENTRY( "gfx1", 0x1000, tilelayout, 0, 32 )
2347   GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 16 )
2348   GFXDECODE_ENTRY( "gfx1", 0x1000, tilelayout, (8 * 3) + 128, 16 )
23492349GFXDECODE_END
23502350
23512351
r241814r241815
25892589   MCFG_SCREEN_PALETTE("palette")
25902590
25912591   MCFG_GFXDECODE_ADD("gfxdecode", "palette", calomega)
2592   MCFG_PALETTE_ADD("palette", 256) /* or 128? is the upper half of the PROMs really valid colors? */
2592   MCFG_PALETTE_ADD("palette", 1024)
25932593   MCFG_PALETTE_INIT_OWNER(calomega_state, calomega)
25942594
25952595   MCFG_MC6845_ADD("crtc", MC6845, "screen", CPU_CLOCK) /* 6845 @ CPU clock */
r241814r241815
27112711   ROM_LOAD( "poker_cg2b.u69", 0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
27122712   ROM_LOAD( "poker_cg2a.u68", 0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
27132713
2714   ROM_REGION( 0x100, "proms", 0 ) /* from other set */
2714   ROM_REGION( 0x400, "proms", 0 ) /* from other set */
27152715   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, BAD_DUMP CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
2716   ROM_RELOAD(             0x0100, 0x0100 )
2717   ROM_RELOAD(             0x0200, 0x0100 )
2718   ROM_RELOAD(             0x0300, 0x0100 )
27162719ROM_END
27172720
27182721ROM_START( comg076 )    /* Cal Omega v7.6 (Arcade Poker) */
r241814r241815
27312734   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
27322735   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
27332736
2734   ROM_REGION( 0x100, "proms", 0 )
2737   ROM_REGION( 0x400, "proms", 0 )
27352738   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
2739   ROM_RELOAD(             0x0100, 0x0100 )
2740   ROM_RELOAD(             0x0200, 0x0100 )
2741   ROM_RELOAD(             0x0300, 0x0100 )
27362742ROM_END
27372743
27382744ROM_START( comg079 )    /* Cal Omega v7.9 (Arcade Poker) */
r241814r241815
27552761   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
27562762   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
27572763
2758   ROM_REGION( 0x100, "proms", 0 )
2764   ROM_REGION( 0x400, "proms", 0 )
27592765   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
2766   ROM_RELOAD(             0x0100, 0x0100 )
2767   ROM_RELOAD(             0x0200, 0x0100 )
2768   ROM_RELOAD(             0x0300, 0x0100 )
27602769ROM_END
27612770
27622771ROM_START( comg080 )    /* Cal Omega v8.0 (Arcade Black Jack) */
r241814r241815
27752784   ROM_LOAD( "gpkcgb.u69", 0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
27762785   ROM_LOAD( "gpkcga.u68", 0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
27772786
2778   ROM_REGION( 0x100, "proms", 0 )
2787   ROM_REGION( 0x400, "proms", 0 )
27792788   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
2789   ROM_RELOAD(             0x0100, 0x0100 )
2790   ROM_RELOAD(             0x0200, 0x0100 )
2791   ROM_RELOAD(             0x0300, 0x0100 )
27802792ROM_END
27812793
27822794ROM_START( comg094 )    /* Cal Omega v9.4 (Keno) */
r241814r241815
27952807   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
27962808   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
27972809
2798   ROM_REGION( 0x100, "proms", 0 )
2810   ROM_REGION( 0x400, "proms", 0 )
27992811   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
2812   ROM_RELOAD(             0x0100, 0x0100 )
2813   ROM_RELOAD(             0x0200, 0x0100 )
2814   ROM_RELOAD(             0x0300, 0x0100 )
28002815ROM_END
28012816
28022817ROM_START( comg107 )    /* Cal Omega v10.7c (Big Game) */
r241814r241815
28182833   ROM_REGION( 0x0800, "user1", 0 )    /* keyboard interfase ROM */
28192834   ROM_LOAD( "lotkbd.sub", 0x0000, 0x0800, CRC(c1636ab5) SHA1(5a3ad24918751ca6a6640807e421e80f6b4cc844) )
28202835
2821   ROM_REGION( 0x100, "proms", 0 )
2836   ROM_REGION( 0x400, "proms", 0 )
28222837   ROM_LOAD( "bclr.u28",   0x0000, 0x0100, CRC(0ec45d01) SHA1(da73ae7e1c74913921dc378a97795c6da47dcbfb) )
2838   ROM_RELOAD(             0x0100, 0x0100 )
2839   ROM_RELOAD(             0x0200, 0x0100 )
2840   ROM_RELOAD(             0x0300, 0x0100 )
28232841ROM_END
28242842
28252843ROM_START( comg123 )    /* Cal Omega v12.3 (Ticket Poker) */
r241814r241815
28382856   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
28392857   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
28402858
2841   ROM_REGION( 0x100, "proms", 0 )
2859   ROM_REGION( 0x400, "proms", 0 )
28422860   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
2861   ROM_RELOAD(             0x0100, 0x0100 )
2862   ROM_RELOAD(             0x0200, 0x0100 )
2863   ROM_RELOAD(             0x0300, 0x0100 )
28432864ROM_END
28442865
28452866ROM_START( comg125 )    /* Cal Omega v12.5 (Bingo) */
r241814r241815
28582879   ROM_LOAD( "nbcgb.u69",  0x1000, 0x1000, CRC(9d409932) SHA1(d3ffca50a059278777238d206895a0d188f4ff6f) )
28592880   ROM_LOAD( "nbcga.u68",  0x2000, 0x1000, CRC(afe1a666) SHA1(c1530700a283d18e7136754d45904930ef424bcf) )
28602881
2861   ROM_REGION( 0x100, "proms", 0 )
2882   ROM_REGION( 0x400, "proms", 0 )
28622883   ROM_LOAD( "bclr.u28",   0x0000, 0x0100, CRC(0ec45d01) SHA1(da73ae7e1c74913921dc378a97795c6da47dcbfb) )
2884   ROM_RELOAD(             0x0100, 0x0100 )
2885   ROM_RELOAD(             0x0200, 0x0100 )
2886   ROM_RELOAD(             0x0300, 0x0100 )
28632887ROM_END
28642888
28652889ROM_START( comg127 )    /* Cal Omega v12.7 (Keno) */
r241814r241815
28782902   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
28792903   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
28802904
2881   ROM_REGION( 0x100, "proms", 0 )
2905   ROM_REGION( 0x400, "proms", 0 )
28822906   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
2907   ROM_RELOAD(             0x0100, 0x0100 )
2908   ROM_RELOAD(             0x0200, 0x0100 )
2909   ROM_RELOAD(             0x0300, 0x0100 )
28832910ROM_END
28842911
28852912ROM_START( comg128 )    /* Cal Omega v12.8 (Arcade Game) */
r241814r241815
28982925   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
28992926   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
29002927
2901   ROM_REGION( 0x100, "proms", 0 )
2928   ROM_REGION( 0x400, "proms", 0 )
29022929   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
2930   ROM_RELOAD(             0x0100, 0x0100 )
2931   ROM_RELOAD(             0x0200, 0x0100 )
2932   ROM_RELOAD(             0x0300, 0x0100 )
29032933ROM_END
29042934
29052935ROM_START( comg134 )    /* Cal Omega 13.4 (Nudge Keno) */
r241814r241815
29182948   ROM_LOAD( "nbcgb.u69",  0x1000, 0x1000, CRC(9d409932) SHA1(d3ffca50a059278777238d206895a0d188f4ff6f) )
29192949   ROM_LOAD( "nbcga.u68",  0x2000, 0x1000, CRC(afe1a666) SHA1(c1530700a283d18e7136754d45904930ef424bcf) )
29202950
2921   ROM_REGION( 0x100, "proms", 0 )
2951   ROM_REGION( 0x400, "proms", 0 )
29222952   ROM_LOAD( "bclr.u28",   0x0000, 0x0100, CRC(0ec45d01) SHA1(da73ae7e1c74913921dc378a97795c6da47dcbfb) )
2953   ROM_RELOAD(             0x0100, 0x0100 )
2954   ROM_RELOAD(             0x0200, 0x0100 )
2955   ROM_RELOAD(             0x0300, 0x0100 )
29232956ROM_END
29242957
29252958ROM_START( comg145 )    /* Cal Omega v14.5 (Pixels) */
r241814r241815
29382971   ROM_LOAD( "pxcgb.u69",  0x1000, 0x1000, CRC(a3bed6b1) SHA1(078cface4af9720bee3288f5f0236725c8bfb575) )
29392972   ROM_LOAD( "pxcga.u68",  0x2000, 0x1000, CRC(d80f064a) SHA1(1b22ca3e446ed3c6fb49a90c463394dec96bc4ec) )
29402973
2941   ROM_REGION( 0x100, "proms", 0 )
2974   ROM_REGION( 0x400, "proms", 0 )
29422975   ROM_LOAD( "pixclr.u28", 0x0000, 0x0100, CRC(67d23e76) SHA1(826cf77ca5a4d492d66e45ee96a7780a94fbe634) )
2976   ROM_RELOAD(             0x0100, 0x0100 )
2977   ROM_RELOAD(             0x0200, 0x0100 )
2978   ROM_RELOAD(             0x0300, 0x0100 )
29432979ROM_END
29442980
29452981ROM_START( comg157 )    /* Cal Omega v15.7 (Double-Draw Poker) */
r241814r241815
29582994   ROM_LOAD( "gpkcgb.u69", 0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
29592995   ROM_LOAD( "gpkcga.u68", 0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
29602996
2961   ROM_REGION( 0x100, "proms", 0 )
2997   ROM_REGION( 0x400, "proms", 0 )
29622998   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
2999   ROM_RELOAD(             0x0100, 0x0100 )
3000   ROM_RELOAD(             0x0200, 0x0100 )
3001   ROM_RELOAD(             0x0300, 0x0100 )
29633002ROM_END
29643003
29653004ROM_START( comg159 )    /* Cal Omega v15.9 (Wild Double-Up) */
r241814r241815
29783017   ROM_LOAD( "jkr2cgb.u69",    0x0800, 0x0800, CRC(d77dda31) SHA1(e11b476cf0b609a8a40981b81b4d83b3c86678dc) )
29793018   ROM_LOAD( "jkr2cga.u68",    0x1000, 0x0800, CRC(def60756) SHA1(fe71424fc638761d9ff65391261a030a2889ad5e) )
29803019
2981   ROM_REGION( 0x100, "proms", 0 )
3020   ROM_REGION( 0x400, "proms", 0 )
29823021   ROM_LOAD( "wldclr.u28", 0x0000, 0x0100, CRC(a26a8fae) SHA1(d570fe9443a0912bd34b81ac4c3e4c5f8901f523) )
3022   ROM_RELOAD(             0x0100, 0x0100 )
3023   ROM_RELOAD(             0x0200, 0x0100 )
3024   ROM_RELOAD(             0x0300, 0x0100 )
29833025ROM_END
29843026
29853027ROM_START( comg164 )    /* Cal Omega v16.4 (Keno) */
r241814r241815
29983040   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
29993041   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
30003042
3001   ROM_REGION( 0x100, "proms", 0 )
3043   ROM_REGION( 0x400, "proms", 0 )
30023044   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
3045   ROM_RELOAD(             0x0100, 0x0100 )
3046   ROM_RELOAD(             0x0200, 0x0100 )
3047   ROM_RELOAD(             0x0300, 0x0100 )
30033048ROM_END
30043049
30053050ROM_START( comg168 )    /* Cal Omega v16.8 (Keno) */
r241814r241815
30183063   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
30193064   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
30203065
3021   ROM_REGION( 0x100, "proms", 0 )
3066   ROM_REGION( 0x400, "proms", 0 )
30223067   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
3068   ROM_RELOAD(             0x0100, 0x0100 )
3069   ROM_RELOAD(             0x0200, 0x0100 )
3070   ROM_RELOAD(             0x0300, 0x0100 )
30233071ROM_END
30243072
30253073ROM_START( comg172 )    /* Cal Omega v17.2 (Double Double Poker) */
r241814r241815
30383086   ROM_LOAD( "jkrpkrcgb.u69",  0x0800, 0x0800, CRC(d77dda31) SHA1(e11b476cf0b609a8a40981b81b4d83b3c86678dc) )
30393087   ROM_LOAD( "jkrpkrcga.u68",  0x1000, 0x0800, CRC(def60756) SHA1(fe71424fc638761d9ff65391261a030a2889ad5e) )
30403088
3041   ROM_REGION( 0x100, "proms", 0 )
3089   ROM_REGION( 0x400, "proms", 0 )
30423090   ROM_LOAD( "wldclr.u28", 0x0000, 0x0100, CRC(a26a8fae) SHA1(d570fe9443a0912bd34b81ac4c3e4c5f8901f523) )
3091   ROM_RELOAD(             0x0100, 0x0100 )
3092   ROM_RELOAD(             0x0200, 0x0100 )
3093   ROM_RELOAD(             0x0300, 0x0100 )
30433094ROM_END
30443095
30453096ROM_START( comg175 )    /* Cal Omega v17.5 (Gaming Draw Poker) */
r241814r241815
30583109   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
30593110   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
30603111
3061   ROM_REGION( 0x100, "proms", 0 )
3112   ROM_REGION( 0x400, "proms", 0 )
30623113   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
3114   ROM_RELOAD(             0x0100, 0x0100 )
3115   ROM_RELOAD(             0x0200, 0x0100 )
3116   ROM_RELOAD(             0x0300, 0x0100 )
30633117ROM_END
30643118
30653119ROM_START( comg176 )    /* Cal Omega 17.6 (Nudge Keno) */
r241814r241815
30783132   ROM_LOAD( "nbcgb.u69",  0x1000, 0x1000, CRC(9d409932) SHA1(d3ffca50a059278777238d206895a0d188f4ff6f) )
30793133   ROM_LOAD( "nbcga.u68",  0x2000, 0x1000, CRC(afe1a666) SHA1(c1530700a283d18e7136754d45904930ef424bcf) )
30803134
3081   ROM_REGION( 0x100, "proms", 0 )
3135   ROM_REGION( 0x400, "proms", 0 )
30823136   ROM_LOAD( "bclr.u28",   0x0000, 0x0100, CRC(0ec45d01) SHA1(da73ae7e1c74913921dc378a97795c6da47dcbfb) )
3137   ROM_RELOAD(             0x0100, 0x0100 )
3138   ROM_RELOAD(             0x0200, 0x0100 )
3139   ROM_RELOAD(             0x0300, 0x0100 )
30833140ROM_END
30843141
30853142ROM_START( comg181 )    /* Cal Omega 18.1 (Nudge Keno) */
r241814r241815
30983155   ROM_LOAD( "nbcgb.u69",  0x1000, 0x1000, CRC(9d409932) SHA1(d3ffca50a059278777238d206895a0d188f4ff6f) )
30993156   ROM_LOAD( "nbcga.u68",  0x2000, 0x1000, CRC(afe1a666) SHA1(c1530700a283d18e7136754d45904930ef424bcf) )
31003157
3101   ROM_REGION( 0x100, "proms", 0 )
3158   ROM_REGION( 0x400, "proms", 0 )
31023159   ROM_LOAD( "bclr.u28",   0x0000, 0x0100, CRC(0ec45d01) SHA1(da73ae7e1c74913921dc378a97795c6da47dcbfb) )
3160   ROM_RELOAD(             0x0100, 0x0100 )
3161   ROM_RELOAD(             0x0200, 0x0100 )
3162   ROM_RELOAD(             0x0300, 0x0100 )
31033163ROM_END
31043164
31053165ROM_START( comg183 )    /* Cal Omega v18.3 (Pixels) */
r241814r241815
31183178   ROM_LOAD( "pxcgb.u69",  0x1000, 0x1000, CRC(a3bed6b1) SHA1(078cface4af9720bee3288f5f0236725c8bfb575) )
31193179   ROM_LOAD( "pxcga.u68",  0x2000, 0x1000, CRC(d80f064a) SHA1(1b22ca3e446ed3c6fb49a90c463394dec96bc4ec) )
31203180
3121   ROM_REGION( 0x100, "proms", 0 )
3181   ROM_REGION( 0x400, "proms", 0 )
31223182   ROM_LOAD( "pixclr.u28", 0x0000, 0x0100, CRC(67d23e76) SHA1(826cf77ca5a4d492d66e45ee96a7780a94fbe634) )
3183   ROM_RELOAD(             0x0100, 0x0100 )
3184   ROM_RELOAD(             0x0200, 0x0100 )
3185   ROM_RELOAD(             0x0300, 0x0100 )
31233186ROM_END
31243187
31253188ROM_START( comg185 )    /* Cal Omega v18.5 (Pixels) */
r241814r241815
31383201   ROM_LOAD( "pxcgb.u69",  0x1000, 0x1000, CRC(a3bed6b1) SHA1(078cface4af9720bee3288f5f0236725c8bfb575) )
31393202   ROM_LOAD( "pxcga.u68",  0x2000, 0x1000, CRC(d80f064a) SHA1(1b22ca3e446ed3c6fb49a90c463394dec96bc4ec) )
31403203
3141   ROM_REGION( 0x100, "proms", 0 )
3204   ROM_REGION( 0x400, "proms", 0 )
31423205   ROM_LOAD( "pixclr.u28", 0x0000, 0x0100, CRC(67d23e76) SHA1(826cf77ca5a4d492d66e45ee96a7780a94fbe634) )
3206   ROM_RELOAD(             0x0100, 0x0100 )
3207   ROM_RELOAD(             0x0200, 0x0100 )
3208   ROM_RELOAD(             0x0300, 0x0100 )
31433209ROM_END
31443210
31453211ROM_START( comg186 )    /* Cal Omega v18.6 (Pixels) */
r241814r241815
31583224   ROM_LOAD( "pxcgb.u69",  0x1000, 0x1000, CRC(a3bed6b1) SHA1(078cface4af9720bee3288f5f0236725c8bfb575) )
31593225   ROM_LOAD( "pxcga.u68",  0x2000, 0x1000, CRC(d80f064a) SHA1(1b22ca3e446ed3c6fb49a90c463394dec96bc4ec) )
31603226
3161   ROM_REGION( 0x100, "proms", 0 )
3227   ROM_REGION( 0x400, "proms", 0 )
31623228   ROM_LOAD( "pixclr.u28", 0x0000, 0x0100, CRC(67d23e76) SHA1(826cf77ca5a4d492d66e45ee96a7780a94fbe634) )
3229   ROM_RELOAD(             0x0100, 0x0100 )
3230   ROM_RELOAD(             0x0200, 0x0100 )
3231   ROM_RELOAD(             0x0300, 0x0100 )
31633232ROM_END
31643233
31653234ROM_START( comg187 )    /* Cal Omega v18.7 (Amusement Poker) */
r241814r241815
31783247   ROM_LOAD( "jkr2cgb.u69",    0x0800, 0x0800, CRC(d77dda31) SHA1(e11b476cf0b609a8a40981b81b4d83b3c86678dc) )
31793248   ROM_LOAD( "jkr2cga.u68",    0x1000, 0x0800, CRC(def60756) SHA1(fe71424fc638761d9ff65391261a030a2889ad5e) )
31803249
3181   ROM_REGION( 0x100, "proms", 0 )
3250   ROM_REGION( 0x400, "proms", 0 )
31823251   ROM_LOAD( "mltclr.u28", 0x0000, 0x0100, CRC(fefb0fa8) SHA1(66d86aa19d9d37ffd2840d6653fcec667bc716d4) )
3252   ROM_RELOAD(             0x0100, 0x0100 )
3253   ROM_RELOAD(             0x0200, 0x0100 )
3254   ROM_RELOAD(             0x0300, 0x0100 )
31833255ROM_END
31843256
31853257ROM_START( comg204 )    /* Cal Omega v20.4 (Super Blackjack) */
r241814r241815
31983270   ROM_LOAD( "jkr2cgb.u69",    0x0800, 0x0800, CRC(d77dda31) SHA1(e11b476cf0b609a8a40981b81b4d83b3c86678dc) )
31993271   ROM_LOAD( "jkr2cga.u68",    0x1000, 0x0800, CRC(def60756) SHA1(fe71424fc638761d9ff65391261a030a2889ad5e) )
32003272
3201   ROM_REGION( 0x100, "proms", 0 )
3273   ROM_REGION( 0x400, "proms", 0 )
32023274   ROM_LOAD( "mltclr.u28", 0x0000, 0x0100, CRC(fefb0fa8) SHA1(66d86aa19d9d37ffd2840d6653fcec667bc716d4) )
3275   ROM_RELOAD(             0x0100, 0x0100 )
3276   ROM_RELOAD(             0x0200, 0x0100 )
3277   ROM_RELOAD(             0x0300, 0x0100 )
32033278ROM_END
32043279
32053280ROM_START( comg208 )    /* Cal Omega v20.8 (Winner's Choice) */
r241814r241815
32183293   ROM_LOAD( "mlt2cgb.u69",    0x1000, 0x1000, CRC(d5173679) SHA1(396c9c3eb7a0a5e5d279d079e635c8e4e5581779) )
32193294   ROM_LOAD( "mlt2cga.u68",    0x2000, 0x1000, CRC(b7397d3a) SHA1(f35607a4cd60e4467e27474e8063b7a7a4a65d9f) )
32203295
3221   ROM_REGION( 0x100, "proms", 0 )
3296   ROM_REGION( 0x400, "proms", 0 )
32223297   ROM_LOAD( "mltclr.u28", 0x0000, 0x0100, CRC(fefb0fa8) SHA1(66d86aa19d9d37ffd2840d6653fcec667bc716d4) )
3298   ROM_RELOAD(             0x0100, 0x0100 )
3299   ROM_RELOAD(             0x0200, 0x0100 )
3300   ROM_RELOAD(             0x0300, 0x0100 )
32233301ROM_END
32243302
32253303ROM_START( comg227 )    /* Cal Omega v22.7 (Amusement Poker (Double Double)) */
r241814r241815
32383316   ROM_LOAD( "jkrpkrcgb.u69",  0x0800, 0x0800, CRC(d77dda31) SHA1(e11b476cf0b609a8a40981b81b4d83b3c86678dc) )
32393317   ROM_LOAD( "jkrpkrcga.u68",  0x1000, 0x0800, CRC(def60756) SHA1(fe71424fc638761d9ff65391261a030a2889ad5e) )
32403318
3241   ROM_REGION( 0x100, "proms", 0 )
3319   ROM_REGION( 0x400, "proms", 0 )
32423320   ROM_LOAD( "wldclr.u28", 0x0000, 0x0100, CRC(a26a8fae) SHA1(d570fe9443a0912bd34b81ac4c3e4c5f8901f523) )
3321   ROM_RELOAD(             0x0100, 0x0100 )
3322   ROM_RELOAD(             0x0200, 0x0100 )
3323   ROM_RELOAD(             0x0300, 0x0100 )
32433324ROM_END
32443325
32453326ROM_START( comg230 )    /* Cal Omega v23.0 (FC Bingo (4-card)) */
r241814r241815
32583339   ROM_LOAD( "fcbcgb.u69", 0x1000, 0x1000, BAD_DUMP CRC(a7548075) SHA1(a751289cbc8b726082b60740c0202c08e3981e24) )
32593340   ROM_LOAD( "fcbcga.u68", 0x2000, 0x1000, BAD_DUMP CRC(3fc39df9) SHA1(223d05f8969a1846a986b29395c98f97a3218bf7) )
32603341
3261   ROM_REGION( 0x100, "proms", 0 )
3342   ROM_REGION( 0x400, "proms", 0 )
32623343   ROM_LOAD( "fcbclr.u28", 0x0000, 0x0100, BAD_DUMP CRC(6db5a344) SHA1(5f1a81ac02a2a74252decd3bb95a5436cc943930) )
3344   ROM_RELOAD(             0x0100, 0x0100 )
3345   ROM_RELOAD(             0x0200, 0x0100 )
3346   ROM_RELOAD(             0x0300, 0x0100 )
32633347ROM_END
32643348
32653349ROM_START( comg236 )    /* Cal Omega v23.6 (Hotline) */
r241814r241815
32783362   ROM_LOAD( "hlcgb.u69",  0x1000, 0x1000, CRC(db2d3eb7) SHA1(45f686edf7093069b44e895547c7ec67f820447d) )
32793363   ROM_LOAD( "hlcga.u68",  0x2000, 0x1000, CRC(a7e583fd) SHA1(d3b0aa9e24b6aedf24af55e5b149ab75d6f01a36) )
32803364
3281   ROM_REGION( 0x100, "proms", 0 )
3365   ROM_REGION( 0x400, "proms", 0 )
32823366   ROM_LOAD( "hlclr.u28",  0x0000, 0x0100, CRC(1c994cda) SHA1(5c8698b4c5e43146106c9da8a306e3099b26ca2d) )
3367   ROM_RELOAD(             0x0100, 0x0100 )
3368   ROM_RELOAD(             0x0200, 0x0100 )
3369   ROM_RELOAD(             0x0300, 0x0100 )
32833370ROM_END
32843371
32853372/*
r241814r241815
33313418   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
33323419   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
33333420
3334   ROM_REGION( 0x100, "proms", 0 )
3421   ROM_REGION( 0x400, "proms", 0 )
33353422   ROM_LOAD( "82s129n.u28",    0x0000, 0x0100, CRC(6db5a344) SHA1(5f1a81ac02a2a74252decd3bb95a5436cc943930) )
3423   ROM_RELOAD(                 0x0100, 0x0100 )
3424   ROM_RELOAD(                 0x0200, 0x0100 )
3425   ROM_RELOAD(                 0x0300, 0x0100 )
33363426ROM_END
33373427
33383428ROM_START( comg240 )    /* Cal Omega v24.0 (Gaming Draw Poker) */
r241814r241815
33513441   ROM_LOAD( "cgb.u69",    0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
33523442   ROM_LOAD( "cga.u68",    0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
33533443
3354   ROM_REGION( 0x100, "proms", 0 ) /* is this prom ok? */
3444   ROM_REGION( 0x400, "proms", 0 ) /* is this prom ok? */
33553445   ROM_LOAD( "pok-6301.u28",   0x0000, 0x0100, CRC(56c2577b) SHA1(cb75882067e1e0d9f9369a37b5a829dd091d473e) )
3446   ROM_RELOAD(                 0x0100, 0x0100 )
3447   ROM_RELOAD(                 0x0200, 0x0100 )
3448   ROM_RELOAD(                 0x0300, 0x0100 )
33563449ROM_END
33573450
33583451ROM_START( comg246 )    /* Cal Omega v24.6 (Hotline) */
r241814r241815
33713464   ROM_LOAD( "hlcgb.u69",  0x1000, 0x1000, CRC(db2d3eb7) SHA1(45f686edf7093069b44e895547c7ec67f820447d) )
33723465   ROM_LOAD( "hlcga.u68",  0x2000, 0x1000, CRC(a7e583fd) SHA1(d3b0aa9e24b6aedf24af55e5b149ab75d6f01a36) )
33733466
3374   ROM_REGION( 0x100, "proms", 0 )
3467   ROM_REGION( 0x400, "proms", 0 )
33753468   ROM_LOAD( "hlclr.u28",  0x0000, 0x0100, CRC(1c994cda) SHA1(5c8698b4c5e43146106c9da8a306e3099b26ca2d) )
3469   ROM_RELOAD(             0x0100, 0x0100 )
3470   ROM_RELOAD(             0x0200, 0x0100 )
3471   ROM_RELOAD(             0x0300, 0x0100 )
33763472ROM_END
33773473
33783474ROM_START( comg272a )   /* Cal Omega v27.2 (Keno (amusement)) */
r241814r241815
33913487   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
33923488   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
33933489
3394   ROM_REGION( 0x100, "proms", 0 )
3490   ROM_REGION( 0x400, "proms", 0 )
33953491   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
3492   ROM_RELOAD(             0x0100, 0x0100 )
3493   ROM_RELOAD(             0x0200, 0x0100 )
3494   ROM_RELOAD(             0x0300, 0x0100 )
33963495ROM_END
33973496
33983497ROM_START( comg272b )   /* Cal Omega v27.2 (Keno (gaming)) */
r241814r241815
34113510   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
34123511   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
34133512
3414   ROM_REGION( 0x100, "proms", 0 )
3513   ROM_REGION( 0x400, "proms", 0 )
34153514   ROM_LOAD( "pokclr.u28", 0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
3515   ROM_RELOAD(             0x0100, 0x0100 )
3516   ROM_RELOAD(             0x0200, 0x0100 )
3517   ROM_RELOAD(             0x0300, 0x0100 )
34163518ROM_END
34173519
34183520/*
r241814r241815
34393541   ROM_LOAD( "cg2b.u5",    0x2000, 0x2000, CRC(1f79f76d) SHA1(b2bce60e24dd61977f7bf6ee4705ca7d104ab388) )
34403542   ROM_LOAD( "cg2a.u6",    0x4000, 0x2000, CRC(d5fd9fc2) SHA1(68472e7271f835656197109620bb3988fc52308a) )
34413543
3442   ROM_REGION( 0x200, "proms", 0 ) /* from other set, upper half is empty */
3544   ROM_REGION( 0x400, "proms", 0 ) /* from other set */
34433545   ROM_LOAD( "bprom.u16",  0x0000, 0x0200, CRC(a6d43709) SHA1(cbff2cb60137462dc0b7c7719a64574218d96c62) )
3546   ROM_RELOAD(             0x0200, 0x0200 )
34443547ROM_END
34453548
34463549
r241814r241815
34613564   ROM_REGION( 0x1800, "gfx2", 0 )
34623565   ROM_FILL(                   0x0000, 0x1800, 0xff )  /* removed all ROMs (requested by the manual) */
34633566
3464   ROM_REGION( 0x100, "proms", 0 )
3567   ROM_REGION( 0x400, "proms", 0 )
34653568   ROM_LOAD( "testclr.u28",    0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
3569   ROM_RELOAD(                 0x0100, 0x0100 )
3570   ROM_RELOAD(                 0x0200, 0x0100 )
3571   ROM_RELOAD(                 0x0300, 0x0100 )
34663572ROM_END
34673573
34683574ROM_START( comg905d )   /* Cal Omega 905d (System 905 diag.PROM) */
r241814r241815
34793585   ROM_REGION( 0x1800, "gfx2", 0 )
34803586   ROM_FILL(                   0x0000, 0x1800, 0xff )  /* removed all ROMs (requested by the manual) */
34813587
3482   ROM_REGION( 0x100, "proms", 0 )
3588   ROM_REGION( 0x400, "proms", 0 )
34833589   ROM_LOAD( "testclr.u28",    0x0000, 0x0100, CRC(a8191ef7) SHA1(d6f777980179ab091e2713ee815d46bf9c0ac486) )
3590   ROM_RELOAD(                 0x0100, 0x0100 )
3591   ROM_RELOAD(                 0x0200, 0x0100 )
3592   ROM_RELOAD(                 0x0300, 0x0100 )
34843593ROM_END
34853594
34863595
r241814r241815
35303639   ROM_LOAD( "d1.u69", 0x0800, 0x0800, CRC(ed3c83b7) SHA1(93e2134de3d9f79a6cff0391c1a32fccd3840c3f) )
35313640   ROM_LOAD( "d1.u68", 0x1000, 0x0800, CRC(81d07f12) SHA1(c14226f8bc1d08fcdfc5cb71fcaf6e070fa2d4a8) )
35323641
3533   ROM_REGION( 0x100, "proms", 0 )
3642   ROM_REGION( 0x400, "proms", 0 )
35343643   ROM_LOAD( "d1.u28", 0x0000, 0x0100, CRC(a26a8fae) SHA1(d570fe9443a0912bd34b81ac4c3e4c5f8901f523) )
3644   ROM_RELOAD(         0x0100, 0x0100 )
3645   ROM_RELOAD(         0x0200, 0x0100 )
3646   ROM_RELOAD(         0x0300, 0x0100 )
35353647ROM_END
35363648
35373649ROM_START( jjpoker )    /* tuni-83 */
r241814r241815
35503662   ROM_LOAD( "tuni-83.u69",    0x0800, 0x0800, CRC(3483b4fb) SHA1(ac04b68c5fb8f8f142582181ad13bee87636cead) )
35513663   ROM_LOAD( "tuni-83.u68",    0x1000, 0x0800, CRC(e055a148) SHA1(d80e4330dce96b98df5bec731876f185476d6058) )
35523664
3553   ROM_REGION( 0x100, "proms", 0 )
3665   ROM_REGION( 0x400, "proms", 0 )
35543666   ROM_LOAD( "tunipoker.u28",  0x0000, 0x0100, CRC(5101a33b) SHA1(a36bc421064d0ed96beb27b549f69adce0a553c2) )
3667   ROM_RELOAD(                 0x0100, 0x0100 )
3668   ROM_RELOAD(                 0x0200, 0x0100 )
3669   ROM_RELOAD(                 0x0300, 0x0100 )
35553670ROM_END
35563671
35573672ROM_START( jjpokerb )   /* pokr_j */
r241814r241815
35703685   ROM_LOAD( "tuni-83.u69",    0x0800, 0x0800, CRC(3483b4fb) SHA1(ac04b68c5fb8f8f142582181ad13bee87636cead) )
35713686   ROM_LOAD( "tuni-83.u68",    0x1000, 0x0800, CRC(e055a148) SHA1(d80e4330dce96b98df5bec731876f185476d6058) )
35723687
3573   ROM_REGION( 0x100, "proms", 0 )
3688   ROM_REGION( 0x400, "proms", 0 )
35743689   ROM_LOAD( "tunipoker.u28",  0x0000, 0x0100, CRC(5101a33b) SHA1(a36bc421064d0ed96beb27b549f69adce0a553c2) )
3690   ROM_RELOAD(                 0x0100, 0x0100 )
3691   ROM_RELOAD(                 0x0200, 0x0100 )
3692   ROM_RELOAD(                 0x0300, 0x0100 )
35753693ROM_END
35763694
35773695ROM_START( ssipkr24 )   /* pokr02_4 (gfx and prom from jjpoker) */
r241814r241815
35903708   ROM_LOAD( "tuni-83.u69",    0x0800, 0x0800, BAD_DUMP CRC(3483b4fb) SHA1(ac04b68c5fb8f8f142582181ad13bee87636cead) )
35913709   ROM_LOAD( "tuni-83.u68",    0x1000, 0x0800, BAD_DUMP CRC(e055a148) SHA1(d80e4330dce96b98df5bec731876f185476d6058) )
35923710
3593   ROM_REGION( 0x100, "proms", 0 )
3711   ROM_REGION( 0x400, "proms", 0 )
35943712   ROM_LOAD( "tunipoker.u28",  0x0000, 0x0100, BAD_DUMP CRC(5101a33b) SHA1(a36bc421064d0ed96beb27b549f69adce0a553c2) )
3713   ROM_RELOAD(                 0x0100, 0x0100 )
3714   ROM_RELOAD(                 0x0200, 0x0100 )
3715   ROM_RELOAD(                 0x0300, 0x0100 )
35953716ROM_END
35963717
35973718ROM_START( ssipkr30 )   /* pokr03_0 (gfx and prom from jjpoker) */
r241814r241815
36103731   ROM_LOAD( "tuni-83.u69",    0x0800, 0x0800, BAD_DUMP CRC(3483b4fb) SHA1(ac04b68c5fb8f8f142582181ad13bee87636cead) )
36113732   ROM_LOAD( "tuni-83.u68",    0x1000, 0x0800, BAD_DUMP CRC(e055a148) SHA1(d80e4330dce96b98df5bec731876f185476d6058) )
36123733
3613   ROM_REGION( 0x100, "proms", 0 )
3734   ROM_REGION( 0x400, "proms", 0 )
36143735   ROM_LOAD( "tunipoker.u28",  0x0000, 0x0100, BAD_DUMP CRC(5101a33b) SHA1(a36bc421064d0ed96beb27b549f69adce0a553c2) )
3736   ROM_RELOAD(                 0x0100, 0x0100 )
3737   ROM_RELOAD(                 0x0200, 0x0100 )
3738   ROM_RELOAD(                 0x0300, 0x0100 )
36153739ROM_END
36163740
36173741ROM_START( ssipkr40 )   /* (gfx and prom from jjpoker) */
r241814r241815
36303754   ROM_LOAD( "tuni-83.u69",    0x0800, 0x0800, BAD_DUMP CRC(3483b4fb) SHA1(ac04b68c5fb8f8f142582181ad13bee87636cead) )
36313755   ROM_LOAD( "tuni-83.u68",    0x1000, 0x0800, BAD_DUMP CRC(e055a148) SHA1(d80e4330dce96b98df5bec731876f185476d6058) )
36323756
3633   ROM_REGION( 0x100, "proms", 0 )
3757   ROM_REGION( 0x400, "proms", 0 )
36343758   ROM_LOAD( "tunipoker.u28",  0x0000, 0x0100, BAD_DUMP CRC(5101a33b) SHA1(a36bc421064d0ed96beb27b549f69adce0a553c2) )
3759   ROM_RELOAD(                 0x0100, 0x0100 )
3760   ROM_RELOAD(                 0x0200, 0x0100 )
3761   ROM_RELOAD(                 0x0300, 0x0100 )
36353762ROM_END
36363763
36373764
r241814r241815
36413768
36423769DRIVER_INIT_MEMBER(calomega_state,standard)
36433770{
3771   /* background color is adjusted through RGB pots */
3772   int x;
3773   UINT8 *BPR = memregion( "proms" )->base();
3774
3775   for (x = 0x0000; x < 0x0400; x++)
3776   {
3777      if (BPR[x] == 0x07)
3778         BPR[x] = 0x04;  /* blue background */
3779   }
3780   m_palette->update();
36443781}
36453782
36463783DRIVER_INIT_MEMBER(calomega_state,elgrande)
36473784{
3785   int x;
3786   UINT8 *BPR = memregion( "proms" )->base();
3787
3788   /* background color is adjusted through RGB pots */
3789   for (x = 0x0000; x < 0x0400; x++)
3790   {
3791      if (BPR[x] == 0x07)
3792         BPR[x] = 0x00; /* black background */
3793   }
3794   m_palette->update();
36483795}
36493796
36503797DRIVER_INIT_MEMBER(calomega_state,jjpoker)
36513798{
3799   /* background color is adjusted through RGB pots */
3800   int x;
3801   UINT8 *BPR = memregion( "proms" )->base();
3802
3803   for (x = 0x0000; x < 0x0400; x++)
3804   {
3805      if (BPR[x] == 0x02)
3806         BPR[x] = 0x00;  /* black background */
3807   }
3808   m_palette->update();
36523809}
36533810
36543811DRIVER_INIT_MEMBER(calomega_state,comg080)
36553812{
3813   /* background color is adjusted through RGB pots */
3814   int x;
3815   UINT8 *BPR = memregion( "proms" )->base();
3816
3817   for (x = 0x0000; x < 0x0400; x++)
3818   {
3819      if (BPR[x] == 0x07)
3820         BPR[x] = 0x04;  /* blue background */
3821   }
3822   m_palette->update();
3823
36563824   /* Injecting missing Start and NMI vectors...
36573825      Start = $2042;  NMI = $26f8;
36583826      Also a fake vector at $3ff8-$3ff9. The code checks these values to continue.
trunk/src/mame/drivers/cninja.c
r241814r241815
770770static GFXDECODE_START( mutantf )
771771   GFXDECODE_ENTRY( "gfx1", 0, charlayout,          0, 64 )    /* Characters 8x8 */
772772   GFXDECODE_ENTRY( "gfx2", 0, tilelayout,          0, 64 )    /* Tiles 16x16 */
773   GFXDECODE_ENTRY( "gfx3", 0, tilelayout,          0, 80 )    /* Tiles 16x16 */
773   GFXDECODE_ENTRY( "gfx3", 0, tilelayout,          0, 64 )    /* Tiles 16x16 */
774774   GFXDECODE_ENTRY( "gfx4", 0, spritelayout,      0, 128 ) /* Sprites 16x16 */
775775   GFXDECODE_ENTRY( "gfx5", 0, spritelayout,     0, 16 )   /* Sprites 16x16 */
776776GFXDECODE_END
trunk/src/mame/drivers/coinmstr.c
r241814r241815
14071407};
14081408
14091409static GFXDECODE_START( coinmstr )
1410   GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 46*32 )
1410   GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 32 )
14111411GFXDECODE_END
14121412
14131413
trunk/src/mame/drivers/legionna.c
r241814r241815
11831183
11841184static GFXDECODE_START( heatbrl_csb )
11851185   GFXDECODE_ENTRY( "gfx1", 0, cupsocsb_8x8_tilelayout,    48*16, 16 )
1186   GFXDECODE_ENTRY( "gfx3", 0, cupsocsb_tilelayout,        0*16, 32 )
1186   GFXDECODE_ENTRY( "gfx3", 0, cupsocsb_tilelayout,        0*16, 16 )
11871187   GFXDECODE_ENTRY( "gfx4", 0, cupsocsb_tilelayout,        32*16, 16 ) /* unused */
11881188   GFXDECODE_ENTRY( "gfx2", 0, cupsocsb_spritelayout,      0*16, 8*16 )
11891189   GFXDECODE_ENTRY( "gfx5", 0, cupsocsb_tilelayout,        32*16, 16 )
trunk/src/mame/drivers/mario.c
r241814r241815
448448};
449449
450450static GFXDECODE_START( mario )
451   GFXDECODE_ENTRY( "gfx1", 0, charlayout,   0, 32 )
452   GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 0, 32 )
451   GFXDECODE_ENTRY( "gfx1", 0, charlayout,      0, 16 )
452   GFXDECODE_ENTRY( "gfx2", 0, spritelayout,     0, 32 )
453453GFXDECODE_END
454454
455455static const gfx_layout spritelayout_bl =
r241814r241815
466466};
467467
468468static GFXDECODE_START( mariobl )
469   GFXDECODE_ENTRY( "gfx1", 0, charlayout,      0, 32 )
470   GFXDECODE_ENTRY( "gfx2", 0, spritelayout_bl, 0, 32 )
469   GFXDECODE_ENTRY( "gfx1", 0, charlayout,      0, 16 )
470   GFXDECODE_ENTRY( "gfx2", 0, spritelayout_bl,     0, 32 )
471471GFXDECODE_END
472472
473473static const gfx_layout spritelayout_bl2 =
r241814r241815
521521   MCFG_SCREEN_UPDATE_DRIVER(mario_state, screen_update_mario)
522522   MCFG_SCREEN_PALETTE("palette")
523523   MCFG_GFXDECODE_ADD("gfxdecode", "palette", mario)
524   MCFG_PALETTE_ADD("palette", 256)
524   MCFG_PALETTE_ADD("palette", 512)
525525   MCFG_PALETTE_INIT_OWNER(mario_state, mario)
526526
527527MACHINE_CONFIG_END
r241814r241815
577577   MCFG_SCREEN_UPDATE_DRIVER(mario_state, screen_update_mariobl)
578578   MCFG_SCREEN_PALETTE("palette")
579579   MCFG_GFXDECODE_ADD("gfxdecode", "palette", mariobl)
580   MCFG_PALETTE_ADD("palette", 256)
580   MCFG_PALETTE_ADD("palette", 512)
581581   MCFG_PALETTE_INIT_OWNER(mario_state, mario)
582582
583583   /* sound hardware */
trunk/src/mame/drivers/miniboy7.c
r241814r241815
203203   int attr = m_colorram[tile_index];
204204   int code = m_videoram[tile_index];
205205   int bank = (attr & 0x02) >> 1;  /* bit 1 switch the gfx banks */
206   int color = (attr & 0x3c) >> 2;  /* bits 2-3-4-5 for color? */
206   int color = (attr & 0x3c);  /* bits 2-3-4-5 for color? */
207207
208208   if (bank == 1)  /* temporary hack to point to the 3rd gfx bank */
209209      bank = 2;
r241814r241815
367367   8, 8,
368368   RGN_FRAC(1,3),
369369   3,
370   { RGN_FRAC(2,3), RGN_FRAC(1,3), 0 },    /* bitplanes are separated */
370   { 0, RGN_FRAC(1,3), RGN_FRAC(2,3) },    /* bitplanes are separated */
371371   { 0, 1, 2, 3, 4, 5, 6, 7 },
372372   { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
373373   8*8
r241814r241815
379379****************************************/
380380
381381static GFXDECODE_START( miniboy7 )
382   GFXDECODE_ENTRY( "gfx1", 0x0800,    charlayout, 0, 128 ) /* text layer 1 */
383   GFXDECODE_ENTRY( "gfx1", 0x0000,    charlayout, 0, 128 ) /* text layer 2 */
382   GFXDECODE_ENTRY( "gfx1", 0x0800,    charlayout, 0, 16 ) /* text layer 1 */
383   GFXDECODE_ENTRY( "gfx1", 0x0000,    charlayout, 0, 16 ) /* text layer 2 */
384384
385385   /* 0x000 cards
386386      0x100 joker
387387      0x200 dices
388388      0x300 bigtxt */
389   GFXDECODE_ENTRY( "gfx2", 0, tilelayout, 0, 32 )
389   GFXDECODE_ENTRY( "gfx2", 0, tilelayout, 0, 16 )
390390
391391GFXDECODE_END
392392
r241814r241815
477477   ROM_LOAD( "mb7_cg2.d13",    0x2000, 0x2000, CRC(b3362650) SHA1(603907fd3a0049c0a3e1858c4329bf9fd58137f6) )  /* bitplane 2 */
478478   ROM_LOAD( "mb7_cg3.d14",    0x4000, 0x2000, CRC(10c2bf71) SHA1(23a01625b0fc0b772054ee4bc026d2257df46a03) )  /* bitplane 3 */
479479
480   ROM_REGION( 0x0200, "proms", ROMREGION_INVERT )    /* both bipolar PROMs are identical */
480   ROM_REGION( 0x0200, "proms", 0 )    /* both bipolar PROMs are identical */
481481   ROM_LOAD( "j.e7",   0x0000, 0x0100, CRC(4b66215e) SHA1(de4a8f1ee7b9bea02f3a5fc962358d19c7a871a0) ) /* N82S129N BPROM simply labeled J */
482482   ROM_LOAD( "j.f10",  0x0100, 0x0100, CRC(4b66215e) SHA1(de4a8f1ee7b9bea02f3a5fc962358d19c7a871a0) ) /* N82S129N BPROM simply labeled J */
483483ROM_END
r241814r241815
503503   ROM_LOAD( "mb72.13d",   0x2000, 0x2000, CRC(b3362650) SHA1(603907fd3a0049c0a3e1858c4329bf9fd58137f6) )
504504   ROM_LOAD( "mb73.14d",   0x4000, 0x2000, CRC(10c2bf71) SHA1(23a01625b0fc0b772054ee4bc026d2257df46a03) )
505505
506   ROM_REGION( 0x0200, "proms", ROMREGION_INVERT )    /* both bipolar PROMs are identical */
506   ROM_REGION( 0x0200, "proms", 0 )    /* both bipolar PROMs are identical */
507507   ROM_LOAD( "j.e7",   0x0000, 0x0100, CRC(4b66215e) SHA1(de4a8f1ee7b9bea02f3a5fc962358d19c7a871a0) ) /* N82S129N BPROM simply labeled J */
508508   ROM_LOAD( "j.f10",  0x0100, 0x0100, CRC(4b66215e) SHA1(de4a8f1ee7b9bea02f3a5fc962358d19c7a871a0) ) /* N82S129N BPROM simply labeled J */
509509ROM_END
r241814r241815
525525   ROM_LOAD( "mb7_2.13d",   0x2000, 0x2000, CRC(b3362650) SHA1(603907fd3a0049c0a3e1858c4329bf9fd58137f6) )
526526   ROM_LOAD( "mb7_3.14d",   0x4000, 0x2000, CRC(10c2bf71) SHA1(23a01625b0fc0b772054ee4bc026d2257df46a03) )
527527
528   ROM_REGION( 0x0200, "proms", ROMREGION_INVERT )    /* both bipolar PROMs are identical */
528   ROM_REGION( 0x0200, "proms", 0 )    /* both bipolar PROMs are identical */
529529   ROM_LOAD( "j.e7",   0x0000, 0x0100, CRC(4b66215e) SHA1(de4a8f1ee7b9bea02f3a5fc962358d19c7a871a0) ) /* N82S129N BPROM simply labeled J */
530530   ROM_LOAD( "j.f10",  0x0100, 0x0100, CRC(4b66215e) SHA1(de4a8f1ee7b9bea02f3a5fc962358d19c7a871a0) ) /* N82S129N BPROM simply labeled J */
531531ROM_END
trunk/src/mame/drivers/peplus.c
r241814r241815
16661666   ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) /* BPROM type DM74LS471 (compatible with N82S135N) verified */
16671667ROM_END
16681668
1669ROM_START( pepp0042 ) /* Normal board : 10's or Better (PP0042) - Auto Hold & Progressive */
1670/*
1671PayTable  10s+  2PR  3K   STR  FL  FH  4K  SF  RF  (Bonus)
1672----------------------------------------------------------
1673  P7A      1     1    3    4    6   9  25  50 300    800
1674  % Range: 86.8-88.8%  Optimum: 90.8%  Hit Frequency: 49.1%
1675     Programs Available: PP0042, X000042P
1676*/
1677   ROM_REGION( 0x10000, "maincpu", 0 )
1678   ROM_LOAD( "pp0042_768-761.u68",   0x00000, 0x10000, CRC(424def20) SHA1(4a0c142d907c0651eef3eb0de57e6212ec268005) ) /* Game Version: 768, Library Version: 761 */
1679
1680   ROM_REGION( 0x020000, "gfx1", 0 )
1681   ROM_LOAD( "mro-cg740.u72",   0x00000, 0x8000, CRC(72667f6c) SHA1(89843f472cc0329317cfc643c63bdfd11234b194) )
1682   ROM_LOAD( "mgo-cg740.u73",   0x08000, 0x8000, CRC(7437254a) SHA1(bba166dece8af58da217796f81117d0b05752b87) )
1683   ROM_LOAD( "mbo-cg740.u74",   0x10000, 0x8000, CRC(92e8c33e) SHA1(05344664d6fdd3f4205c50fa4ca76fc46c18cf8f) )
1684   ROM_LOAD( "mxo-cg740.u75",   0x18000, 0x8000, CRC(ce4cbe0b) SHA1(4bafcd68be94a5deaae9661584fa0fc940b834bb) )
1685
1686   ROM_REGION( 0x100, "proms", 0 )
1687   ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) /* BPROM type DM74LS471 (compatible with N82S135N) verified */
1688ROM_END
1689
16901669ROM_START( pepp0043 ) /* Normal board : 10's or Better (PP0043) */
16911670/*
16921671PayTable  10s+  2PR  3K   STR  FL  FH  4K  SF  RF  (Bonus)
16931672----------------------------------------------------------
1694  P7B      1     1    3    4    6   9  25  50 300   1000
1695  % Range: 87.4-89.4%  Optimum: 91.4%  Hit Frequency: 49.0%
1673  P7B      1     1    3    4    6   9  25  50 300    800
1674  % Range: 87.2-89.2%  Optimum: 91.2%  Hit Frequency: 49.1%
16961675     Programs Available: PP0043, X000043P
16971676*/
16981677   ROM_REGION( 0x10000, "maincpu", 0 )
r241814r241815
17121691/*
17131692PayTable  10s+  2PR  3K   STR  FL  FH  4K  SF  RF  (Bonus)
17141693----------------------------------------------------------
1715  P7B      1     1    3    4    6   9  25  50 300   1000
1716  % Range: 87.4-89.4%  Optimum: 91.4%  Hit Frequency: 49.0%
1694  P7B      1     1    3    4    6   9  25  50 300    800
1695  % Range: 87.2-89.2%  Optimum: 91.2%  Hit Frequency: 49.1%
17171696     Programs Available: PP0043, X000043P
17181697*/
17191698   ROM_REGION( 0x10000, "maincpu", 0 )
r241814r241815
17291708   ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) /* BPROM type DM74LS471 (compatible with N82S135N) verified */
17301709ROM_END
17311710
1732ROM_START( pepp0043b ) /* Normal board : 10's or Better (PP0043) - Multi Regional / Multi Currency - Tournament Mode capable */
1733/*
1734PayTable  10s+  2PR  3K   STR  FL  FH  4K  SF  RF  (Bonus)
1735----------------------------------------------------------
1736  P7B      1     1    3    4    6   9  25  50 300   1000
1737  % Range: 87.4-89.4%  Optimum: 91.4%  Hit Frequency: 49.0%
1738     Programs Available: PP0043, X000043P
1739*/
1740   ROM_REGION( 0x10000, "maincpu", 0 )
1741   ROM_LOAD( "pp0043_a0b-a1s.u68",   0x00000, 0x10000, CRC(be1561ab) SHA1(a3f6d306992acabb6a618a4035cc739f3c3c45e8) ) /* Game Version: A0B, Library Version: A1S */
1742
1743   ROM_REGION( 0x020000, "gfx1", 0 )
1744   ROM_LOAD( "mro-cg2014.u72",  0x00000, 0x8000, CRC(90220e65) SHA1(c03417e09b72c8f3afe182b15e41e9d9ae32a831) )
1745   ROM_LOAD( "mgo-cg2014.u73",  0x08000, 0x8000, CRC(3189b3e3) SHA1(34c4c170dba74a50ffcbc5c5c97b37200b6d2509) )
1746   ROM_LOAD( "mbo-cg2014.u74",  0x10000, 0x8000, CRC(77650c39) SHA1(7e89682d0a192ef83288bc3ad22dea45129344f9) )
1747   ROM_LOAD( "mxo-cg2014.u75",  0x18000, 0x8000, CRC(af9c89a6) SHA1(e256259c20f5b1308e89c9fbb424d1396bccbcd1) )
1748
1749   ROM_REGION( 0x100, "proms", 0 )
1750   ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) /* BPROM type DM74LS471 (compatible with N82S135N) verified */
1751ROM_END
1752
17531711ROM_START( pepp0045 ) /* Normal board : 10's or Better (PP0045) */
17541712/*
17551713PayTable  10s+  2PR  3K   STR  FL  FH  4K  SF  RF  (Bonus)
r241814r241815
20472005     Programs Available: PP0060, X000060P & PP0420 - Non Double-up Only
20482006*/
20492007   ROM_REGION( 0x10000, "maincpu", 0 )
2050   ROM_LOAD( "pp0060_a6h-a8h.u68",   0x00000, 0x10000, CRC(81963084) SHA1(2493bb040b9d0ea5cfe77f8d07546d3a3ac3716a) ) /* Game Version: A6H, Library Version: A8H */
2051
2052   ROM_REGION( 0x020000, "gfx1", 0 )
2053   ROM_LOAD( "mro-cg2002.u72",  0x00000, 0x8000, CRC(d9d03979) SHA1(9729cbb2e5472eb652f8f549dd85047abe11cae0) )
2054   ROM_LOAD( "mgo-cg2002.u73",  0x08000, 0x8000, CRC(ad5bd2cd) SHA1(e5dacd2827f14dd9811311552b7e3816a36b9284) )
2055   ROM_LOAD( "mbo-cg2002.u74",  0x10000, 0x8000, CRC(7362f7f3) SHA1(fce4ce2cdd836e37382d39d8b167019cfc4c6166) )
2056   ROM_LOAD( "mxo-cg2002.u75",  0x18000, 0x8000, CRC(4560fdec) SHA1(63ec67afd378a06d74084bba72fbbe9be12e24d3) )
2057
2058   ROM_REGION( 0x100, "proms", 0 )
2059   ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) /* BPROM type DM74LS471 (compatible with N82S135N) verified */
2060ROM_END
2061
2062ROM_START( pepp0060a ) /* Normal board : Standard Draw Poker (PP0060) */
2063/*
2064PayTable   Js+  2PR  3K   STR  FL  FH  4K  SF  RF  (Bonus)
2065----------------------------------------------------------
2066   GA       1    2    3    4    5   6  25  50 250    800
2067  % Range: 91.0-93.0%  Optimum: 95.0%  Hit Frequency: 45.5%
2068     Programs Available: PP0060, X000060P & PP0420 - Non Double-up Only
2069*/
2070   ROM_REGION( 0x10000, "maincpu", 0 )
20712008   ROM_LOAD( "pp0060_a45-a74.u68",   0x00000, 0x10000, CRC(5d9e6c2f) SHA1(e1199a1fa57d84223ca87ea5b6ce4fda9afa0e1f) ) /* Game Version: A45, Library Version: A74 */
20722009
20732010   ROM_REGION( 0x020000, "gfx1", 0 )
r241814r241815
20802017   ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) /* BPROM type DM74LS471 (compatible with N82S135N) verified */
20812018ROM_END
20822019
2083ROM_START( pepp0060b ) /* Normal board : Standard Draw Poker (PP0060) */
2020ROM_START( pepp0060a ) /* Normal board : Standard Draw Poker (PP0060) */
20842021/*
20852022PayTable   Js+  2PR  3K   STR  FL  FH  4K  SF  RF  (Bonus)
20862023----------------------------------------------------------
r241814r241815
33743311   ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) /* BPROM type DM74LS471 (compatible with N82S135N) verified */
33753312ROM_END
33763313
3377ROM_START( pepp0429a ) /* Normal board : Joker Poker (Aces or Better) (No Double-up) (PP0429) - Must use a SET chip to set denomination*/
3378/*
3379                                            w/J     w/oJ
3380PayTable   As   2P  3K  STR  FL  FH  4K  SF  RF  5K  RF  (Bonus)
3381----------------------------------------------------------------
3382  P18A      1    1   2   3    5   6  20  50 100 200 500    800
3383  % Range: 89.8-91.8%  Optimum: 93.8%  Hit Frequency: 37.6%
3384     Programs Available: PP0458, X000458P & PP0429 - Non Double-up Only
3385*/
3386   ROM_REGION( 0x10000, "maincpu", 0 )
3387   ROM_LOAD( "pp0429_896-914.u68",   0x00000, 0x10000, CRC(f6de62b2) SHA1(6cc9c5dd83afbe0724b4c3905e231b50925b649a) ) /* Game Version: 896, Library Version: 914 */
3388
3389   ROM_REGION( 0x020000, "gfx1", 0 )
3390   ROM_LOAD( "mro-cg2004.u72",  0x00000, 0x8000, CRC(e5e40ea5) SHA1(e0d9e50b30cc0c25c932b2bf444990df1fb2c38c) ) /*  08/31/94   @ IGT  L95-0146  */
3391   ROM_LOAD( "mgo-cg2004.u73",  0x08000, 0x8000, CRC(12607f1e) SHA1(248e1ecee4e735f5943c50f8c350ca95b81509a7) )
3392   ROM_LOAD( "mbo-cg2004.u74",  0x10000, 0x8000, CRC(78c3fb9f) SHA1(2b9847c511888de507a008dec981778ca4dbcd6c) ) /* Supersedes CG740 */
3393   ROM_LOAD( "mxo-cg2004.u75",  0x18000, 0x8000, CRC(5aaa4480) SHA1(353c4ce566c944406fce21f2c5045c856ef7a609) )
3394
3395   ROM_REGION( 0x100, "proms", 0 )
3396   ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) /* BPROM type DM74LS471 (compatible with N82S135N) verified */
3397ROM_END
3398
33993314ROM_START( pepp0431 ) /* Normal board : Deuces Joker Wild Poker (PP0431) - Multi Regional / Multi Currency - Tournament Mode capable */
34003315/*
34013316                                         With  w/o  w/o  With
r241814r241815
88908805GAMEL(1987, pepp0023,  pepp0002, peplus,  peplus_poker, peplus_state, nonplus,  ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0023) 10's or Better",                0, layout_pe_poker )
88918806GAMEL(1987, pepp0040,  pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0040) Standard Draw Poker",           0, layout_pe_poker )
88928807GAMEL(1987, pepp0041,  pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0041) Standard Draw Poker",           0, layout_pe_poker )
8893GAMEL(1987, pepp0042,  pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0042) 10's or Better",                0, layout_pe_poker )
88948808GAMEL(1987, pepp0043,  pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0043) 10's or Better",                0, layout_pe_poker )
8895GAMEL(1987, pepp0043a, pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0043) 10's or Better (International, set 1)",0, layout_pe_poker )
8896GAMEL(1987, pepp0043b, pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0043) 10's or Better (International, set 2)",0, layout_pe_poker )
8809GAMEL(1987, pepp0043a, pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0043) 10's or Better (International)",0, layout_pe_poker )
88978810GAMEL(1987, pepp0045,  pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0045) 10's or Better",                0, layout_pe_poker )
88988811GAMEL(1987, pepp0046,  pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0046) 10's or Better (set 1)",        0, layout_pe_poker )
88998812GAMEL(1987, pepp0046a, pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0046) 10's or Better (International)",0, layout_pe_poker )
r241814r241815
89098822GAMEL(1987, pepp0059a, pepp0002, peplus,  peplus_poker, peplus_state, nonplus,  ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0059) Two Pair or Better (set 2)",    0, layout_pe_poker )
89108823GAMEL(1987, pepp0060,  pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0060) Standard Draw Poker (set 1)",   0, layout_pe_poker )
89118824GAMEL(1987, pepp0060a, pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0060) Standard Draw Poker (set 2)",   0, layout_pe_poker )
8912GAMEL(1987, pepp0060b, pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0060) Standard Draw Poker (set 3)",   0, layout_pe_poker )
89138825GAMEL(1987, pepp0063,  pepp0002, peplus,  peplus_poker, peplus_state, nonplus,  ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0063) 10's or Better",                0, layout_pe_poker )
89148826GAMEL(1987, pepp0064,  pepp0053, peplus,  peplus_poker, peplus_state, nonplus,  ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0064) Joker Poker",                   0, layout_pe_poker )
89158827GAMEL(1987, pepp0065,  pepp0053, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0065) Joker Poker (Aces or Better)",  0, layout_pe_poker )
r241814r241815
89668878GAMEL(1987, pepp0423,  pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0423) Standard Draw Poker",           0, layout_pe_poker )
89678879GAMEL(1987, pepp0426,  pepp0053, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0426) Joker Poker",                   0, layout_pe_poker )
89688880GAMEL(1987, pepp0428,  pepp0053, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0428) Joker Poker",                   0, layout_pe_poker )
8969GAMEL(1987, pepp0429,  pepp0053, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0429) Joker Poker (Aces or Better, set 1)",  0, layout_pe_poker )
8970GAMEL(1987, pepp0429a, pepp0053, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0429) Joker Poker (Aces or Better, set 2)",  0, layout_pe_poker )
8881GAMEL(1987, pepp0429,  pepp0053, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0429) Joker Poker (Aces or Better)",  0, layout_pe_poker )
89718882GAMEL(1987, pepp0431,  pepp0127, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0431) Deuces Joker Wild Poker (International)", 0, layout_pe_poker )
89728883GAMEL(1987, pepp0434,  0,        peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0434) Bonus Poker Deluxe",            0, layout_pe_poker )
89738884GAMEL(1987, pepp0447,  pepp0002, peplus,  peplus_poker, peplus_state, peplus,   ROT0,  "IGT - International Game Technology", "Player's Edge Plus (PP0447) Standard Draw Poker (set 1)",   0, layout_pe_poker )
trunk/src/mame/drivers/pipedrm.c
r241814r241815
556556
557557
558558static GFXDECODE_START( pipedrm )
559   GFXDECODE_ENTRY( "gfx1", 0, bglayout,    0, 128 )
560   GFXDECODE_ENTRY( "gfx2", 0, bglayout,    0, 128 )
559   GFXDECODE_ENTRY( "gfx1", 0, bglayout,    0, 64 )
560   GFXDECODE_ENTRY( "gfx2", 0, bglayout,    0, 64 )
561561   GFXDECODE_ENTRY( "gfx3", 0, splayout, 1024, 32 )
562562GFXDECODE_END
563563
trunk/src/mame/drivers/sbugger.c
r241814r241815
137137};
138138
139139static GFXDECODE_START( sbugger )
140   GFXDECODE_ENTRY( "gfx1", 0, char16layout,   0, 256  )
140   GFXDECODE_ENTRY( "gfx1", 0, char16layout,   0, 1  )
141141GFXDECODE_END
142142
143143
r241814r241815
278278   ROM_LOAD( "spbugger.gfx", 0x0000, 0x1000, CRC(d3f345b5) SHA1(a5082ffc3043352e9b731af95770bdd62fb928bf) )
279279ROM_END
280280
281GAME( 1981, sbugger,  0,        sbugger,  sbugger, driver_device,  0, ROT270, "Game-A-Tron", "Space Bugger (set 1)", GAME_NOT_WORKING | GAME_WRONG_COLORS )
282GAME( 1981, sbuggera, sbugger,  sbugger,  sbugger, driver_device,  0, ROT270, "Game-A-Tron", "Space Bugger (set 2)", GAME_WRONG_COLORS )
281GAME( 1981, sbugger,  0,        sbugger,  sbugger, driver_device,  0, ROT270, "Game-A-Tron", "Space Bugger (set 1)", GAME_NOT_WORKING | GAME_IMPERFECT_COLORS )
282GAME( 1981, sbuggera, sbugger,  sbugger,  sbugger, driver_device,  0, ROT270, "Game-A-Tron", "Space Bugger (set 2)", GAME_IMPERFECT_COLORS )
trunk/src/mame/includes/mario.h
r241814r241815
3131#define I8035_MASTER_CLOCK      XTAL_11MHz /* verified on pcb: 730Khz */
3232#define I8035_CLOCK             (I8035_MASTER_CLOCK)
3333
34#define MARIO_PALETTE_LENGTH    (256)
35
3436class mario_state : public driver_device
3537{
3638public:
3739   mario_state(const machine_config &mconfig, device_type type, const char *tag)
3840      : driver_device(mconfig, type, tag),
39     
41      m_spriteram(*this, "spriteram"),
42      m_videoram(*this, "videoram"),
43      m_discrete(*this, "discrete"),
4044      m_maincpu(*this, "maincpu"),
4145      m_audiocpu(*this, "audiocpu"),
4246      m_gfxdecode(*this, "gfxdecode"),
4347      m_palette(*this, "palette"),
44      m_z80dma(*this, "z80dma"),
45      m_discrete(*this, "discrete"),
46      m_spriteram(*this, "spriteram"),
47      m_videoram(*this, "videoram"),
48      m_monitor(0) { }
48      m_z80dma(*this, "z80dma") { }
4949
50   /* devices */
51   required_device<cpu_device> m_maincpu;
52   optional_device<cpu_device> m_audiocpu;
53   required_device<gfxdecode_device> m_gfxdecode;
54   required_device<palette_device> m_palette;
55   optional_device<z80dma_device> m_z80dma;
56   optional_device<discrete_device> m_discrete;
57
5850   /* memory pointers */
59   required_shared_ptr<UINT8> m_spriteram;
60   required_shared_ptr<UINT8> m_videoram;
6151
52   /* machine states */
53
6254   /* sound state */
6355   UINT8   m_last;
6456   UINT8   m_portT;
r241814r241815
6961   UINT8   m_palette_bank;
7062   UINT16  m_gfx_scroll;
7163   UINT8   m_flip;
64
65   /* driver general */
66
67   required_shared_ptr<UINT8> m_spriteram;
68   required_shared_ptr<UINT8> m_videoram;
69   optional_device<discrete_device> m_discrete;
7270   tilemap_t *m_bg_tilemap;
7371   int m_monitor;
7472
r241814r241815
106104   DECLARE_READ8_MEMBER(memory_read_byte);
107105   DECLARE_WRITE8_MEMBER(memory_write_byte);
108106   void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, int is_bootleg);
107   required_device<cpu_device> m_maincpu;
108   optional_device<cpu_device> m_audiocpu;
109   required_device<gfxdecode_device> m_gfxdecode;
110   required_device<palette_device> m_palette;
111   optional_device<z80dma_device> m_z80dma;
109112};
110113
111114/*----------- defined in audio/mario.c -----------*/
trunk/src/mame/mame.lst
r241814r241815
1099610996pepp0023        // (c) 1987 IGT - International Game Technology
1099710997pepp0040        // (c) 1987 IGT - International Game Technology
1099810998pepp0041        // (c) 1987 IGT - International Game Technology
10999pepp0042        // (c) 1987 IGT - International Game Technology
1100010999pepp0043        // (c) 1987 IGT - International Game Technology
1100111000pepp0043a       // (c) 1987 IGT - International Game Technology
11002pepp0043b       // (c) 1987 IGT - International Game Technology
1100311001pepp0045        // (c) 1987 IGT - International Game Technology
1100411002pepp0046        // (c) 1987 IGT - International Game Technology
1100511003pepp0046a       // (c) 1987 IGT - International Game Technology
r241814r241815
1101511013pepp0059a       // (c) 1987 IGT - International Game Technology
1101611014pepp0060        // (c) 1987 IGT - International Game Technology
1101711015pepp0060a       // (c) 1987 IGT - International Game Technology
11018pepp0060b       // (c) 1987 IGT - International Game Technology
1101911016pepp0063        // (c) 1987 IGT - International Game Technology
1102011017pepp0064        // (c) 1987 IGT - International Game Technology
1102111018pepp0065        // (c) 1987 IGT - International Game Technology
r241814r241815
1107311070pepp0426        // (c) 1987 IGT - International Game Technology
1107411071pepp0428        // (c) 1987 IGT - International Game Technology
1107511072pepp0429        // (c) 1987 IGT - International Game Technology
11076pepp0429a       // (c) 1987 IGT - International Game Technology
1107711073pepp0431        // (c) 1987 IGT - International Game Technology
1107811074pepp0434        // (c) 1987 IGT - International Game Technology
1107911075pepp0447        // (c) 1987 IGT - International Game Technology
trunk/src/mame/video/calomega.c
r241814r241815
4040   int attr = m_colorram[tile_index];
4141   int code = m_videoram[tile_index];
4242   int bank = (attr & 0x02) >> 1;  /* bit 1 switch the gfx banks */
43   int color = (attr & 0x3c) >> 2;  /* bits 2-3-4-5 for color */
43   int color = (attr & 0x3c);  /* bits 2-3-4-5 for color */
4444
45   if (attr == 0x3a)   /* Is the palette wrong? */
46      color = 0x3b;   /* 0x3b is the best match */
47
48   if (attr == 0x36)   /* Is the palette wrong? */
49      color = 0x3a;   /* 0x3a is the best match */
50
51   if (attr == 0x32)   /* Is the palette wrong? */
52      color = 0x39;   /* 0x39 is the best match */
53
4554   SET_TILE_INFO_MEMBER(bank, code, color, 0);
4655}
4756
4857void calomega_state::video_start()
4958{
50   m_gfxdecode->gfx(0)->set_granularity(8);
5159   m_bg_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(calomega_state::get_bg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 31);
5260}
5361
r241814r241815
6068PALETTE_INIT_MEMBER(calomega_state, calomega)
6169{
6270   const UINT8 *color_prom = memregion("proms")->base();
63
64/*  the proms are 256x4 bit, but the games only seem to need the first 128 entries,
65    and the rest of the PROM data looks like junk rather than valid colors
66
67    prom bits
68    3210
69    ---x   red component
70    --x-   green component
71    -x--   blue component
72    x---   foreground (colors with this bit set are full brightness,
73           colors with it clear are attenuated by the background color pots)
71/*  prom bits
72    7654 3210
73    ---- ---x   red component.
74    ---- --x-   green component.
75    ---- -x--   blue component.
76    xxxx x---   unused.
7477*/
78   int i;
7579
76   // TODO: hook pots up as PORT_ADJUSTERs instead of hard coding them here
77
78   // let's make the BG a little darker than FG blue
79   const int r_pot = 0x00;
80   const int g_pot = 0x00;
81   const int b_pot = 0xc0;
82
8380   /* 00000BGR */
8481   if (color_prom == 0) return;
8582
86   for (int i = 0;i < palette.entries();i++)
83   for (i = 0;i < palette.entries();i++)
8784   {
88      int nibble = color_prom[i];
85      int bit0, bit1, bit2, r, g, b;
8986
90      int fg = BIT(nibble, 3);
91
9287      /* red component */
93      int r = BIT(nibble, 0) * (fg ? 0xff : r_pot);
88      bit0 = (color_prom[i] >> 0) & 0x01;
89      r = bit0 * 0xff;
9490
9591      /* green component */
96      int g = BIT(nibble, 1) * (fg ? 0xff : g_pot);
92      bit1 = (color_prom[i] >> 1) & 0x01;
93      g = bit1 * 0xff;
9794
9895      /* blue component */
99      int b = BIT(nibble, 2) * (fg ? 0xff : b_pot);
96      bit2 = (color_prom[i] >> 2) & 0x01;
97      b = bit2 * 0xff;
10098
99
101100      palette.set_pen_color(i, rgb_t(r, g, b));
102101   }
103102}
trunk/src/mame/video/k054156_k054157_k056832.c
r241814r241815
21492149   }
21502150
21512151   m_gfxdecode->gfx(gfx_index)->set_granularity(16); /* override */
2152   m_gfxdecode->gfx(gfx_index)->set_colors(m_palette->entries() / 16);
21532152
21542153   m_gfx_memory_region = gfx_memory_region;
21552154   m_gfx_num = gfx_index;
trunk/src/mame/video/mario.c
r241814r241815
6767   const UINT8 *color_prom = memregion("proms")->base();
6868   dynamic_array<rgb_t> rgb;
6969
70   if (m_monitor == 0)
71      compute_res_net_all(rgb, color_prom, mario_decode_info, mario_net_info);
72   else
73      compute_res_net_all(rgb, color_prom+256, mario_decode_info, mario_net_info_std);
70   compute_res_net_all(rgb, color_prom, mario_decode_info, mario_net_info);
71   palette.set_pen_colors(0, rgb, 256);
72   compute_res_net_all(rgb, color_prom+256, mario_decode_info, mario_net_info_std);
73   palette.set_pen_colors(256, rgb, 256);
7474
75   palette.set_pen_colors(0, rgb, 256);
7675   palette.palette()->normalize_range(0, 255);
76   palette.palette()->normalize_range(256, 511);
7777}
7878
7979WRITE8_MEMBER(mario_state::mario_videoram_w)
r241814r241815
126126TILE_GET_INFO_MEMBER(mario_state::get_bg_tile_info)
127127{
128128   int code = m_videoram[tile_index] + 256 * m_gfx_bank;
129   int color = 8 + (m_videoram[tile_index] >> 5) + 16 * m_palette_bank;
129   int color;
130
131   color =  ((m_videoram[tile_index] >> 2) & 0x38) | 0x40 | (m_palette_bank<<7) | (m_monitor<<8);
132   color = color >> 2;
130133   SET_TILE_INFO_MEMBER(0, code, color, 0);
131134}
132135
r241814r241815
135138   m_bg_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(mario_state::get_bg_tile_info),this), TILEMAP_SCAN_ROWS,
136139         8, 8, 32, 32);
137140
138   m_gfxdecode->gfx(0)->set_granularity(8);
139
140141   m_gfx_bank = 0;
141142   m_palette_bank = 0;
142143   m_gfx_scroll = 0;
143   m_flip = 0;
144144   save_item(NAME(m_gfx_bank));
145145   save_item(NAME(m_palette_bank));
146146   save_item(NAME(m_gfx_scroll));
r241814r241815
195195            x = x ^ (m_flip ? 0xFF : 0x00); /* physical screen location */
196196
197197            code = m_spriteram[offs + 2];
198            color = (m_spriteram[offs + 1] & 0x0f) + 16 * m_palette_bank;
198            color = (m_spriteram[offs + 1] & 0x0f) + 16 * m_palette_bank + 32 * m_monitor;
199199            flipx = (m_spriteram[offs + 1] & 0x80);
200200            flipy = (m_spriteram[offs + 1] & 0x40);
201201
r241814r241815
220220         //  x = x ^ (m_flip ? 0xFF : 0x00); /* physical screen location */
221221
222222            code = (m_spriteram[offs + 2] & 0x7f) | ((m_spriteram[offs + 1] & 0x40) << 1); // upper tile bit is where the flipy bit goes on mario
223            color = (m_spriteram[offs + 1] & 0x0f) + 16 * m_palette_bank;
223            color = (m_spriteram[offs + 1] & 0x0f) + 16 * m_palette_bank + 32 * m_monitor;
224224            flipx = (m_spriteram[offs + 1] & 0x80);
225225            flipy = (m_spriteram[offs + 2] & 0x80); // and the flipy bit is where the upper tile bit is on mario
226226
r241814r241815
257257   if (t != m_monitor)
258258   {
259259      m_monitor = t;
260      PALETTE_INIT_NAME(mario)(m_palette);
260      machine().tilemap().mark_all_dirty();
261261   }
262262
263263   m_bg_tilemap->set_scrolly(0, m_gfx_scroll);
trunk/src/mame/video/n64.c
r241814r241815
19831983   int dzdx_dz = (dzdx >> 16) & 0xffff;
19841984
19851985   extent_t Spans[2048];
1986#ifdef MAME_DEBUG
1987   memset(Spans, 0xcc, sizeof(Spans));
1988#endif
19891986
19901987   SpanBase.m_span_drdy = drdy;
19911988   SpanBase.m_span_dgdy = dgdy;
trunk/src/mame/video/rdpspn16.c
r241814r241815
152152
153153   INT32 tile1 = tilenum;
154154
155#ifdef PTR64
156   assert(extent.userdata != (const void *)0xcccccccccccccccc);
157#else
158   assert(extent.userdata != (const void *)0xcccccccc);
159#endif
160155   rdp_span_aux *userdata = (rdp_span_aux*)extent.userdata;
161156
162157   INT32 m_clamp_s_diff[8];
r241814r241815
209204      dzpix = object.MiscState.PrimitiveDZ;
210205      dzinc = 0;
211206   }
212   
213   if (object.MiscState.FBSize < 2 || object.MiscState.FBSize > 4)
214      fatalerror("unsupported FBSize %d\n", object.MiscState.FBSize);
215207
216208   int blend_index = (object.OtherModes.alpha_cvg_select ? 2 : 0) | ((object.OtherModes.rgb_dither_sel < 3) ? 1 : 0);
217209   int read_index = ((object.MiscState.FBSize - 2) << 1) | object.OtherModes.image_read_en;
r241814r241815
330322   INT32 news = 0;
331323   INT32 newt = 0;
332324
333#ifdef PTR64
334   assert(extent.userdata != (const void *)0xcccccccccccccccc);
335#else
336   assert(extent.userdata != (const void *)0xcccccccc);
337#endif
338325   rdp_span_aux *userdata = (rdp_span_aux*)extent.userdata;
339326
340327   INT32 m_clamp_s_diff[8];
r241814r241815
377364      dzinc = 0;
378365   }
379366
380   if (object.MiscState.FBSize < 2 || object.MiscState.FBSize > 4)
381      fatalerror("unsupported FBSize %d\n", object.MiscState.FBSize);
382
383367   int blend_index = (object.OtherModes.alpha_cvg_select ? 2 : 0) | ((object.OtherModes.rgb_dither_sel < 3) ? 1 : 0);
384368   int read_index = ((object.MiscState.FBSize - 2) << 1) | object.OtherModes.image_read_en;
385369   int write_index = ((object.MiscState.FBSize - 2) << 3) | (object.OtherModes.cvg_dest << 1);
trunk/src/mess/drivers/asst128.c
r241814r241815
7878
7979static ADDRESS_MAP_START(asst128_io, AS_IO, 16, asst128_state)
8080   ADDRESS_MAP_UNMAP_HIGH
81   AM_RANGE(0x0200, 0x0207) AM_DEVREADWRITE8("pc_joy", pc_joy_device, joy_port_r, joy_port_w, 0xffff)
8182   AM_RANGE(0x03f2, 0x03f3) AM_WRITE8(asst128_fdc_dor_w, 0xffff)
8283   AM_RANGE(0x03f4, 0x03f5) AM_DEVICE8("fdc:upd765", upd765a_device, map, 0xffff)
8384ADDRESS_MAP_END
r241814r241815
119120   MCFG_FLOPPY_DRIVE_ADD("fdc:0", asst128_floppies, "525ssqd", asst128_state::asst128_formats)
120121   MCFG_FLOPPY_DRIVE_ADD("fdc:1", asst128_floppies, "525ssqd", asst128_state::asst128_formats)
121122
123   MCFG_PC_JOY_ADD("pc_joy")
124
122125   /* internal ram */
123126   MCFG_RAM_ADD(RAM_TAG)
124127   MCFG_RAM_DEFAULT_SIZE("640K")


Previous 199869 Revisions Next


© 1997-2024 The MAME Team