Previous 199869 Revisions Next

r33304 Sunday 9th November, 2014 at 14:23:29 UTC by Miodrag Milanović
Merge pull request #41 from shattered/_cba9492

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

trunk/hash/apfimag_cass.xml
r241815r241816
1717      <description>16K Letter Writter</description>
1818      <year>1982</year>
1919      <publisher>Milt Perry</publisher>
20      <info name="usage" value="Requires 16K RAM" />
2021      <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>
r241815r241816
2929      <description>An Adventure in Murder</description>
3030      <year>198?</year>
3131      <publisher>R. Eisman</publisher>
32      <info name="usage" value="Requires 16K RAM" />
3233      <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>
r241815r241816
4141      <description>ALPHAbit</description>
4242      <year>19??</year>
4343      <publisher>MR R's</publisher>
44      <info name="usage" value="Requires 16K RAM" />
4445      <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>
r241815r241816
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" />
422423      <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>
r241815r241816
647647      <description>Mission: Improbable - Mission Alpha</description>
648648      <year>1982</year>
649649      <publisher>Geo-Grafix</publisher>
650      <info name="usage" value="Requires 16K RAM" />
650651      <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>
r241815r241816
855855      <description>Space Shuttle</description>
856856      <year>19??</year>
857857      <publisher>York 10 Computerware</publisher>
858      <info name="usage" value="Requires 16K RAM" />
858859      <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>
r241815r241816
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" />
987988      <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
r241815r241816
134134{
135135    unsigned char data = 0x5a;
136136
137    if (m_pSocket == NULL)
138        return data;
139
137140    switch (offset)
138141    {
139142        case DWS_STATUS:
r241815r241816
174177    char d = (char)data;
175178    file_error filerr;
176179
180    if (m_pSocket == NULL)
181        return;
182
177183    switch (offset)
178184    {
179185        case DWS_STATUS:
trunk/src/emu/cpu/rsp/rspdrc.c
r241815r241816
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);
74227423            UML_LOAD(block, I1, base, 0, SIZE_DWORD, SCALE_x4);                 // load    i1,base,dword
74237424            UML_ADD(block, I0, I0, I1);                     // add     i0,i0,i1
74247425
r241815r241816
74417442         if (!(curdesc->flags & OPFLAG_VIRTUAL_NOOP))
74427443         {
74437444            base = m_direct->read_decrypted_ptr(curdesc->physpc | 0x1000);
7445            assert(base != NULL);
74447446            UML_LOAD(block, I1, base, 0, SIZE_DWORD, SCALE_x4);                     // load    i1,base,dword
74457447            UML_ADD(block, I0, I0, I1);                         // add     i0,i0,i1
74467448            sum += curdesc->opptr.l[0];
r241815r241816
74487450            if (curdesc->delay.first() != NULL && (curdesc == seqlast || (curdesc->next() != NULL && curdesc->next()->physpc != curdesc->delay.first()->physpc)))
74497451            {
74507452               base = m_direct->read_decrypted_ptr(curdesc->delay.first()->physpc | 0x1000);
7453               assert(base != NULL);
74517454               UML_LOAD(block, I1, base, 0, SIZE_DWORD, SCALE_x4);                 // load    i1,base,dword
74527455               UML_ADD(block, I0, I0, I1);                     // add     i0,i0,i1
74537456
trunk/src/mame/drivers/ampoker2.c
r241815r241816
11391139******************************/
11401140
11411141static GFXDECODE_START( ampoker2 )
1142   GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout, 0, 16 )
1142   GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout, 0, 128 )
11431143GFXDECODE_END
11441144
11451145static GFXDECODE_START( sigma2k )
1146   GFXDECODE_ENTRY( "gfx1", 0x0000, s2k_charlayout, 0, 16 )
1146   GFXDECODE_ENTRY( "gfx1", 0x0000, s2k_charlayout, 0, 128 )
11471147GFXDECODE_END
11481148
11491149/*************************
trunk/src/mame/drivers/atetris.c
r241815r241816
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")
346348
347349   MCFG_NVRAM_ADD_1FILL("nvram")
348350
trunk/src/mame/drivers/batman.c
r241815r241816
181181
182182
183183static GFXDECODE_START( batman )
184   GFXDECODE_ENTRY( "gfx3", 0, pfmolayout,  512, 16 )      /* sprites & playfield */
184   GFXDECODE_ENTRY( "gfx3", 0, pfmolayout,  512, 32 )      /* 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
r241815r241816
23392339*************************************************/
23402340
23412341static GFXDECODE_START( calomega )
2342   GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 16 )
2343   GFXDECODE_ENTRY( "gfx2", 0, tilelayout, (8 * 3) + 128, 16 )
2342   GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 32 )
2343   GFXDECODE_ENTRY( "gfx2", 0, tilelayout, 0, 32 )
23442344GFXDECODE_END
23452345
23462346static GFXDECODE_START( sys906 )
2347   GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 16 )
2348   GFXDECODE_ENTRY( "gfx1", 0x1000, tilelayout, (8 * 3) + 128, 16 )
2347   GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 32 )
2348   GFXDECODE_ENTRY( "gfx1", 0x1000, tilelayout, 0, 32 )
23492349GFXDECODE_END
23502350
23512351
r241815r241816
25892589   MCFG_SCREEN_PALETTE("palette")
25902590
25912591   MCFG_GFXDECODE_ADD("gfxdecode", "palette", calomega)
2592   MCFG_PALETTE_ADD("palette", 1024)
2592   MCFG_PALETTE_ADD("palette", 256) /* or 128? is the upper half of the PROMs really valid colors? */
25932593   MCFG_PALETTE_INIT_OWNER(calomega_state, calomega)
25942594
25952595   MCFG_MC6845_ADD("crtc", MC6845, "screen", CPU_CLOCK) /* 6845 @ CPU clock */
r241815r241816
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( 0x400, "proms", 0 ) /* from other set */
2714   ROM_REGION( 0x100, "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 )
27192716ROM_END
27202717
27212718ROM_START( comg076 )    /* Cal Omega v7.6 (Arcade Poker) */
r241815r241816
27342731   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
27352732   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
27362733
2737   ROM_REGION( 0x400, "proms", 0 )
2734   ROM_REGION( 0x100, "proms", 0 )
27382735   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 )
27422736ROM_END
27432737
27442738ROM_START( comg079 )    /* Cal Omega v7.9 (Arcade Poker) */
r241815r241816
27612755   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
27622756   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
27632757
2764   ROM_REGION( 0x400, "proms", 0 )
2758   ROM_REGION( 0x100, "proms", 0 )
27652759   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 )
27692760ROM_END
27702761
27712762ROM_START( comg080 )    /* Cal Omega v8.0 (Arcade Black Jack) */
r241815r241816
27842775   ROM_LOAD( "gpkcgb.u69", 0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
27852776   ROM_LOAD( "gpkcga.u68", 0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
27862777
2787   ROM_REGION( 0x400, "proms", 0 )
2778   ROM_REGION( 0x100, "proms", 0 )
27882779   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 )
27922780ROM_END
27932781
27942782ROM_START( comg094 )    /* Cal Omega v9.4 (Keno) */
r241815r241816
28072795   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
28082796   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
28092797
2810   ROM_REGION( 0x400, "proms", 0 )
2798   ROM_REGION( 0x100, "proms", 0 )
28112799   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 )
28152800ROM_END
28162801
28172802ROM_START( comg107 )    /* Cal Omega v10.7c (Big Game) */
r241815r241816
28332818   ROM_REGION( 0x0800, "user1", 0 )    /* keyboard interfase ROM */
28342819   ROM_LOAD( "lotkbd.sub", 0x0000, 0x0800, CRC(c1636ab5) SHA1(5a3ad24918751ca6a6640807e421e80f6b4cc844) )
28352820
2836   ROM_REGION( 0x400, "proms", 0 )
2821   ROM_REGION( 0x100, "proms", 0 )
28372822   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 )
28412823ROM_END
28422824
28432825ROM_START( comg123 )    /* Cal Omega v12.3 (Ticket Poker) */
r241815r241816
28562838   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
28572839   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
28582840
2859   ROM_REGION( 0x400, "proms", 0 )
2841   ROM_REGION( 0x100, "proms", 0 )
28602842   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 )
28642843ROM_END
28652844
28662845ROM_START( comg125 )    /* Cal Omega v12.5 (Bingo) */
r241815r241816
28792858   ROM_LOAD( "nbcgb.u69",  0x1000, 0x1000, CRC(9d409932) SHA1(d3ffca50a059278777238d206895a0d188f4ff6f) )
28802859   ROM_LOAD( "nbcga.u68",  0x2000, 0x1000, CRC(afe1a666) SHA1(c1530700a283d18e7136754d45904930ef424bcf) )
28812860
2882   ROM_REGION( 0x400, "proms", 0 )
2861   ROM_REGION( 0x100, "proms", 0 )
28832862   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 )
28872863ROM_END
28882864
28892865ROM_START( comg127 )    /* Cal Omega v12.7 (Keno) */
r241815r241816
29022878   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
29032879   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
29042880
2905   ROM_REGION( 0x400, "proms", 0 )
2881   ROM_REGION( 0x100, "proms", 0 )
29062882   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 )
29102883ROM_END
29112884
29122885ROM_START( comg128 )    /* Cal Omega v12.8 (Arcade Game) */
r241815r241816
29252898   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
29262899   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
29272900
2928   ROM_REGION( 0x400, "proms", 0 )
2901   ROM_REGION( 0x100, "proms", 0 )
29292902   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 )
29332903ROM_END
29342904
29352905ROM_START( comg134 )    /* Cal Omega 13.4 (Nudge Keno) */
r241815r241816
29482918   ROM_LOAD( "nbcgb.u69",  0x1000, 0x1000, CRC(9d409932) SHA1(d3ffca50a059278777238d206895a0d188f4ff6f) )
29492919   ROM_LOAD( "nbcga.u68",  0x2000, 0x1000, CRC(afe1a666) SHA1(c1530700a283d18e7136754d45904930ef424bcf) )
29502920
2951   ROM_REGION( 0x400, "proms", 0 )
2921   ROM_REGION( 0x100, "proms", 0 )
29522922   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 )
29562923ROM_END
29572924
29582925ROM_START( comg145 )    /* Cal Omega v14.5 (Pixels) */
r241815r241816
29712938   ROM_LOAD( "pxcgb.u69",  0x1000, 0x1000, CRC(a3bed6b1) SHA1(078cface4af9720bee3288f5f0236725c8bfb575) )
29722939   ROM_LOAD( "pxcga.u68",  0x2000, 0x1000, CRC(d80f064a) SHA1(1b22ca3e446ed3c6fb49a90c463394dec96bc4ec) )
29732940
2974   ROM_REGION( 0x400, "proms", 0 )
2941   ROM_REGION( 0x100, "proms", 0 )
29752942   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 )
29792943ROM_END
29802944
29812945ROM_START( comg157 )    /* Cal Omega v15.7 (Double-Draw Poker) */
r241815r241816
29942958   ROM_LOAD( "gpkcgb.u69", 0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
29952959   ROM_LOAD( "gpkcga.u68", 0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
29962960
2997   ROM_REGION( 0x400, "proms", 0 )
2961   ROM_REGION( 0x100, "proms", 0 )
29982962   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 )
30022963ROM_END
30032964
30042965ROM_START( comg159 )    /* Cal Omega v15.9 (Wild Double-Up) */
r241815r241816
30172978   ROM_LOAD( "jkr2cgb.u69",    0x0800, 0x0800, CRC(d77dda31) SHA1(e11b476cf0b609a8a40981b81b4d83b3c86678dc) )
30182979   ROM_LOAD( "jkr2cga.u68",    0x1000, 0x0800, CRC(def60756) SHA1(fe71424fc638761d9ff65391261a030a2889ad5e) )
30192980
3020   ROM_REGION( 0x400, "proms", 0 )
2981   ROM_REGION( 0x100, "proms", 0 )
30212982   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 )
30252983ROM_END
30262984
30272985ROM_START( comg164 )    /* Cal Omega v16.4 (Keno) */
r241815r241816
30402998   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
30412999   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
30423000
3043   ROM_REGION( 0x400, "proms", 0 )
3001   ROM_REGION( 0x100, "proms", 0 )
30443002   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 )
30483003ROM_END
30493004
30503005ROM_START( comg168 )    /* Cal Omega v16.8 (Keno) */
r241815r241816
30633018   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
30643019   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
30653020
3066   ROM_REGION( 0x400, "proms", 0 )
3021   ROM_REGION( 0x100, "proms", 0 )
30673022   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 )
30713023ROM_END
30723024
30733025ROM_START( comg172 )    /* Cal Omega v17.2 (Double Double Poker) */
r241815r241816
30863038   ROM_LOAD( "jkrpkrcgb.u69",  0x0800, 0x0800, CRC(d77dda31) SHA1(e11b476cf0b609a8a40981b81b4d83b3c86678dc) )
30873039   ROM_LOAD( "jkrpkrcga.u68",  0x1000, 0x0800, CRC(def60756) SHA1(fe71424fc638761d9ff65391261a030a2889ad5e) )
30883040
3089   ROM_REGION( 0x400, "proms", 0 )
3041   ROM_REGION( 0x100, "proms", 0 )
30903042   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 )
30943043ROM_END
30953044
30963045ROM_START( comg175 )    /* Cal Omega v17.5 (Gaming Draw Poker) */
r241815r241816
31093058   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
31103059   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
31113060
3112   ROM_REGION( 0x400, "proms", 0 )
3061   ROM_REGION( 0x100, "proms", 0 )
31133062   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 )
31173063ROM_END
31183064
31193065ROM_START( comg176 )    /* Cal Omega 17.6 (Nudge Keno) */
r241815r241816
31323078   ROM_LOAD( "nbcgb.u69",  0x1000, 0x1000, CRC(9d409932) SHA1(d3ffca50a059278777238d206895a0d188f4ff6f) )
31333079   ROM_LOAD( "nbcga.u68",  0x2000, 0x1000, CRC(afe1a666) SHA1(c1530700a283d18e7136754d45904930ef424bcf) )
31343080
3135   ROM_REGION( 0x400, "proms", 0 )
3081   ROM_REGION( 0x100, "proms", 0 )
31363082   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 )
31403083ROM_END
31413084
31423085ROM_START( comg181 )    /* Cal Omega 18.1 (Nudge Keno) */
r241815r241816
31553098   ROM_LOAD( "nbcgb.u69",  0x1000, 0x1000, CRC(9d409932) SHA1(d3ffca50a059278777238d206895a0d188f4ff6f) )
31563099   ROM_LOAD( "nbcga.u68",  0x2000, 0x1000, CRC(afe1a666) SHA1(c1530700a283d18e7136754d45904930ef424bcf) )
31573100
3158   ROM_REGION( 0x400, "proms", 0 )
3101   ROM_REGION( 0x100, "proms", 0 )
31593102   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 )
31633103ROM_END
31643104
31653105ROM_START( comg183 )    /* Cal Omega v18.3 (Pixels) */
r241815r241816
31783118   ROM_LOAD( "pxcgb.u69",  0x1000, 0x1000, CRC(a3bed6b1) SHA1(078cface4af9720bee3288f5f0236725c8bfb575) )
31793119   ROM_LOAD( "pxcga.u68",  0x2000, 0x1000, CRC(d80f064a) SHA1(1b22ca3e446ed3c6fb49a90c463394dec96bc4ec) )
31803120
3181   ROM_REGION( 0x400, "proms", 0 )
3121   ROM_REGION( 0x100, "proms", 0 )
31823122   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 )
31863123ROM_END
31873124
31883125ROM_START( comg185 )    /* Cal Omega v18.5 (Pixels) */
r241815r241816
32013138   ROM_LOAD( "pxcgb.u69",  0x1000, 0x1000, CRC(a3bed6b1) SHA1(078cface4af9720bee3288f5f0236725c8bfb575) )
32023139   ROM_LOAD( "pxcga.u68",  0x2000, 0x1000, CRC(d80f064a) SHA1(1b22ca3e446ed3c6fb49a90c463394dec96bc4ec) )
32033140
3204   ROM_REGION( 0x400, "proms", 0 )
3141   ROM_REGION( 0x100, "proms", 0 )
32053142   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 )
32093143ROM_END
32103144
32113145ROM_START( comg186 )    /* Cal Omega v18.6 (Pixels) */
r241815r241816
32243158   ROM_LOAD( "pxcgb.u69",  0x1000, 0x1000, CRC(a3bed6b1) SHA1(078cface4af9720bee3288f5f0236725c8bfb575) )
32253159   ROM_LOAD( "pxcga.u68",  0x2000, 0x1000, CRC(d80f064a) SHA1(1b22ca3e446ed3c6fb49a90c463394dec96bc4ec) )
32263160
3227   ROM_REGION( 0x400, "proms", 0 )
3161   ROM_REGION( 0x100, "proms", 0 )
32283162   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 )
32323163ROM_END
32333164
32343165ROM_START( comg187 )    /* Cal Omega v18.7 (Amusement Poker) */
r241815r241816
32473178   ROM_LOAD( "jkr2cgb.u69",    0x0800, 0x0800, CRC(d77dda31) SHA1(e11b476cf0b609a8a40981b81b4d83b3c86678dc) )
32483179   ROM_LOAD( "jkr2cga.u68",    0x1000, 0x0800, CRC(def60756) SHA1(fe71424fc638761d9ff65391261a030a2889ad5e) )
32493180
3250   ROM_REGION( 0x400, "proms", 0 )
3181   ROM_REGION( 0x100, "proms", 0 )
32513182   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 )
32553183ROM_END
32563184
32573185ROM_START( comg204 )    /* Cal Omega v20.4 (Super Blackjack) */
r241815r241816
32703198   ROM_LOAD( "jkr2cgb.u69",    0x0800, 0x0800, CRC(d77dda31) SHA1(e11b476cf0b609a8a40981b81b4d83b3c86678dc) )
32713199   ROM_LOAD( "jkr2cga.u68",    0x1000, 0x0800, CRC(def60756) SHA1(fe71424fc638761d9ff65391261a030a2889ad5e) )
32723200
3273   ROM_REGION( 0x400, "proms", 0 )
3201   ROM_REGION( 0x100, "proms", 0 )
32743202   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 )
32783203ROM_END
32793204
32803205ROM_START( comg208 )    /* Cal Omega v20.8 (Winner's Choice) */
r241815r241816
32933218   ROM_LOAD( "mlt2cgb.u69",    0x1000, 0x1000, CRC(d5173679) SHA1(396c9c3eb7a0a5e5d279d079e635c8e4e5581779) )
32943219   ROM_LOAD( "mlt2cga.u68",    0x2000, 0x1000, CRC(b7397d3a) SHA1(f35607a4cd60e4467e27474e8063b7a7a4a65d9f) )
32953220
3296   ROM_REGION( 0x400, "proms", 0 )
3221   ROM_REGION( 0x100, "proms", 0 )
32973222   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 )
33013223ROM_END
33023224
33033225ROM_START( comg227 )    /* Cal Omega v22.7 (Amusement Poker (Double Double)) */
r241815r241816
33163238   ROM_LOAD( "jkrpkrcgb.u69",  0x0800, 0x0800, CRC(d77dda31) SHA1(e11b476cf0b609a8a40981b81b4d83b3c86678dc) )
33173239   ROM_LOAD( "jkrpkrcga.u68",  0x1000, 0x0800, CRC(def60756) SHA1(fe71424fc638761d9ff65391261a030a2889ad5e) )
33183240
3319   ROM_REGION( 0x400, "proms", 0 )
3241   ROM_REGION( 0x100, "proms", 0 )
33203242   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 )
33243243ROM_END
33253244
33263245ROM_START( comg230 )    /* Cal Omega v23.0 (FC Bingo (4-card)) */
r241815r241816
33393258   ROM_LOAD( "fcbcgb.u69", 0x1000, 0x1000, BAD_DUMP CRC(a7548075) SHA1(a751289cbc8b726082b60740c0202c08e3981e24) )
33403259   ROM_LOAD( "fcbcga.u68", 0x2000, 0x1000, BAD_DUMP CRC(3fc39df9) SHA1(223d05f8969a1846a986b29395c98f97a3218bf7) )
33413260
3342   ROM_REGION( 0x400, "proms", 0 )
3261   ROM_REGION( 0x100, "proms", 0 )
33433262   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 )
33473263ROM_END
33483264
33493265ROM_START( comg236 )    /* Cal Omega v23.6 (Hotline) */
r241815r241816
33623278   ROM_LOAD( "hlcgb.u69",  0x1000, 0x1000, CRC(db2d3eb7) SHA1(45f686edf7093069b44e895547c7ec67f820447d) )
33633279   ROM_LOAD( "hlcga.u68",  0x2000, 0x1000, CRC(a7e583fd) SHA1(d3b0aa9e24b6aedf24af55e5b149ab75d6f01a36) )
33643280
3365   ROM_REGION( 0x400, "proms", 0 )
3281   ROM_REGION( 0x100, "proms", 0 )
33663282   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 )
33703283ROM_END
33713284
33723285/*
r241815r241816
34183331   ROM_LOAD( "pkcgb.u69",  0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
34193332   ROM_LOAD( "pkcga.u68",  0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
34203333
3421   ROM_REGION( 0x400, "proms", 0 )
3334   ROM_REGION( 0x100, "proms", 0 )
34223335   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 )
34263336ROM_END
34273337
34283338ROM_START( comg240 )    /* Cal Omega v24.0 (Gaming Draw Poker) */
r241815r241816
34413351   ROM_LOAD( "cgb.u69",    0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) )
34423352   ROM_LOAD( "cga.u68",    0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) )
34433353
3444   ROM_REGION( 0x400, "proms", 0 ) /* is this prom ok? */
3354   ROM_REGION( 0x100, "proms", 0 ) /* is this prom ok? */
34453355   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 )
34493356ROM_END
34503357
34513358ROM_START( comg246 )    /* Cal Omega v24.6 (Hotline) */
r241815r241816
34643371   ROM_LOAD( "hlcgb.u69",  0x1000, 0x1000, CRC(db2d3eb7) SHA1(45f686edf7093069b44e895547c7ec67f820447d) )
34653372   ROM_LOAD( "hlcga.u68",  0x2000, 0x1000, CRC(a7e583fd) SHA1(d3b0aa9e24b6aedf24af55e5b149ab75d6f01a36) )
34663373
3467   ROM_REGION( 0x400, "proms", 0 )
3374   ROM_REGION( 0x100, "proms", 0 )
34683375   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 )
34723376ROM_END
34733377
34743378ROM_START( comg272a )   /* Cal Omega v27.2 (Keno (amusement)) */
r241815r241816
34873391   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
34883392   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
34893393
3490   ROM_REGION( 0x400, "proms", 0 )
3394   ROM_REGION( 0x100, "proms", 0 )
34913395   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 )
34953396ROM_END
34963397
34973398ROM_START( comg272b )   /* Cal Omega v27.2 (Keno (gaming)) */
r241815r241816
35103411   ROM_LOAD( "kcgb.u69",   0x0800, 0x0800, CRC(2b9205d9) SHA1(48ed4dcef38e9567246f09bd9bea5bf291e7e1b9) )
35113412   ROM_LOAD( "kcga.u68",   0x1000, 0x0800, CRC(c4491e35) SHA1(44acb8bd7af287350b99d159b6f83015fcdbd93c) )
35123413
3513   ROM_REGION( 0x400, "proms", 0 )
3414   ROM_REGION( 0x100, "proms", 0 )
35143415   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 )
35183416ROM_END
35193417
35203418/*
r241815r241816
35413439   ROM_LOAD( "cg2b.u5",    0x2000, 0x2000, CRC(1f79f76d) SHA1(b2bce60e24dd61977f7bf6ee4705ca7d104ab388) )
35423440   ROM_LOAD( "cg2a.u6",    0x4000, 0x2000, CRC(d5fd9fc2) SHA1(68472e7271f835656197109620bb3988fc52308a) )
35433441
3544   ROM_REGION( 0x400, "proms", 0 ) /* from other set */
3442   ROM_REGION( 0x200, "proms", 0 ) /* from other set, upper half is empty */
35453443   ROM_LOAD( "bprom.u16",  0x0000, 0x0200, CRC(a6d43709) SHA1(cbff2cb60137462dc0b7c7719a64574218d96c62) )
3546   ROM_RELOAD(             0x0200, 0x0200 )
35473444ROM_END
35483445
35493446
r241815r241816
35643461   ROM_REGION( 0x1800, "gfx2", 0 )
35653462   ROM_FILL(                   0x0000, 0x1800, 0xff )  /* removed all ROMs (requested by the manual) */
35663463
3567   ROM_REGION( 0x400, "proms", 0 )
3464   ROM_REGION( 0x100, "proms", 0 )
35683465   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 )
35723466ROM_END
35733467
35743468ROM_START( comg905d )   /* Cal Omega 905d (System 905 diag.PROM) */
r241815r241816
35853479   ROM_REGION( 0x1800, "gfx2", 0 )
35863480   ROM_FILL(                   0x0000, 0x1800, 0xff )  /* removed all ROMs (requested by the manual) */
35873481
3588   ROM_REGION( 0x400, "proms", 0 )
3482   ROM_REGION( 0x100, "proms", 0 )
35893483   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 )
35933484ROM_END
35943485
35953486
r241815r241816
36393530   ROM_LOAD( "d1.u69", 0x0800, 0x0800, CRC(ed3c83b7) SHA1(93e2134de3d9f79a6cff0391c1a32fccd3840c3f) )
36403531   ROM_LOAD( "d1.u68", 0x1000, 0x0800, CRC(81d07f12) SHA1(c14226f8bc1d08fcdfc5cb71fcaf6e070fa2d4a8) )
36413532
3642   ROM_REGION( 0x400, "proms", 0 )
3533   ROM_REGION( 0x100, "proms", 0 )
36433534   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 )
36473535ROM_END
36483536
36493537ROM_START( jjpoker )    /* tuni-83 */
r241815r241816
36623550   ROM_LOAD( "tuni-83.u69",    0x0800, 0x0800, CRC(3483b4fb) SHA1(ac04b68c5fb8f8f142582181ad13bee87636cead) )
36633551   ROM_LOAD( "tuni-83.u68",    0x1000, 0x0800, CRC(e055a148) SHA1(d80e4330dce96b98df5bec731876f185476d6058) )
36643552
3665   ROM_REGION( 0x400, "proms", 0 )
3553   ROM_REGION( 0x100, "proms", 0 )
36663554   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 )
36703555ROM_END
36713556
36723557ROM_START( jjpokerb )   /* pokr_j */
r241815r241816
36853570   ROM_LOAD( "tuni-83.u69",    0x0800, 0x0800, CRC(3483b4fb) SHA1(ac04b68c5fb8f8f142582181ad13bee87636cead) )
36863571   ROM_LOAD( "tuni-83.u68",    0x1000, 0x0800, CRC(e055a148) SHA1(d80e4330dce96b98df5bec731876f185476d6058) )
36873572
3688   ROM_REGION( 0x400, "proms", 0 )
3573   ROM_REGION( 0x100, "proms", 0 )
36893574   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 )
36933575ROM_END
36943576
36953577ROM_START( ssipkr24 )   /* pokr02_4 (gfx and prom from jjpoker) */
r241815r241816
37083590   ROM_LOAD( "tuni-83.u69",    0x0800, 0x0800, BAD_DUMP CRC(3483b4fb) SHA1(ac04b68c5fb8f8f142582181ad13bee87636cead) )
37093591   ROM_LOAD( "tuni-83.u68",    0x1000, 0x0800, BAD_DUMP CRC(e055a148) SHA1(d80e4330dce96b98df5bec731876f185476d6058) )
37103592
3711   ROM_REGION( 0x400, "proms", 0 )
3593   ROM_REGION( 0x100, "proms", 0 )
37123594   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 )
37163595ROM_END
37173596
37183597ROM_START( ssipkr30 )   /* pokr03_0 (gfx and prom from jjpoker) */
r241815r241816
37313610   ROM_LOAD( "tuni-83.u69",    0x0800, 0x0800, BAD_DUMP CRC(3483b4fb) SHA1(ac04b68c5fb8f8f142582181ad13bee87636cead) )
37323611   ROM_LOAD( "tuni-83.u68",    0x1000, 0x0800, BAD_DUMP CRC(e055a148) SHA1(d80e4330dce96b98df5bec731876f185476d6058) )
37333612
3734   ROM_REGION( 0x400, "proms", 0 )
3613   ROM_REGION( 0x100, "proms", 0 )
37353614   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 )
37393615ROM_END
37403616
37413617ROM_START( ssipkr40 )   /* (gfx and prom from jjpoker) */
r241815r241816
37543630   ROM_LOAD( "tuni-83.u69",    0x0800, 0x0800, BAD_DUMP CRC(3483b4fb) SHA1(ac04b68c5fb8f8f142582181ad13bee87636cead) )
37553631   ROM_LOAD( "tuni-83.u68",    0x1000, 0x0800, BAD_DUMP CRC(e055a148) SHA1(d80e4330dce96b98df5bec731876f185476d6058) )
37563632
3757   ROM_REGION( 0x400, "proms", 0 )
3633   ROM_REGION( 0x100, "proms", 0 )
37583634   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 )
37623635ROM_END
37633636
37643637
r241815r241816
37683641
37693642DRIVER_INIT_MEMBER(calomega_state,standard)
37703643{
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();
37813644}
37823645
37833646DRIVER_INIT_MEMBER(calomega_state,elgrande)
37843647{
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();
37953648}
37963649
37973650DRIVER_INIT_MEMBER(calomega_state,jjpoker)
37983651{
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();
38093652}
38103653
38113654DRIVER_INIT_MEMBER(calomega_state,comg080)
38123655{
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
38243656   /* Injecting missing Start and NMI vectors...
38253657      Start = $2042;  NMI = $26f8;
38263658      Also a fake vector at $3ff8-$3ff9. The code checks these values to continue.
trunk/src/mame/drivers/cninja.c
r241815r241816
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, 64 )    /* Tiles 16x16 */
773   GFXDECODE_ENTRY( "gfx3", 0, tilelayout,          0, 80 )    /* 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
r241815r241816
14071407};
14081408
14091409static GFXDECODE_START( coinmstr )
1410   GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 32 )
1410   GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 46*32 )
14111411GFXDECODE_END
14121412
14131413
trunk/src/mame/drivers/legionna.c
r241815r241816
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, 16 )
1186   GFXDECODE_ENTRY( "gfx3", 0, cupsocsb_tilelayout,        0*16, 32 )
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
r241815r241816
448448};
449449
450450static GFXDECODE_START( mario )
451   GFXDECODE_ENTRY( "gfx1", 0, charlayout,      0, 16 )
452   GFXDECODE_ENTRY( "gfx2", 0, spritelayout,     0, 32 )
451   GFXDECODE_ENTRY( "gfx1", 0, charlayout,   0, 32 )
452   GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 0, 32 )
453453GFXDECODE_END
454454
455455static const gfx_layout spritelayout_bl =
r241815r241816
466466};
467467
468468static GFXDECODE_START( mariobl )
469   GFXDECODE_ENTRY( "gfx1", 0, charlayout,      0, 16 )
470   GFXDECODE_ENTRY( "gfx2", 0, spritelayout_bl,     0, 32 )
469   GFXDECODE_ENTRY( "gfx1", 0, charlayout,      0, 32 )
470   GFXDECODE_ENTRY( "gfx2", 0, spritelayout_bl, 0, 32 )
471471GFXDECODE_END
472472
473473static const gfx_layout spritelayout_bl2 =
r241815r241816
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", 512)
524   MCFG_PALETTE_ADD("palette", 256)
525525   MCFG_PALETTE_INIT_OWNER(mario_state, mario)
526526
527527MACHINE_CONFIG_END
r241815r241816
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", 512)
580   MCFG_PALETTE_ADD("palette", 256)
581581   MCFG_PALETTE_INIT_OWNER(mario_state, mario)
582582
583583   /* sound hardware */
trunk/src/mame/drivers/miniboy7.c
r241815r241816
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);  /* bits 2-3-4-5 for color? */
206   int color = (attr & 0x3c) >> 2;  /* bits 2-3-4-5 for color? */
207207
208208   if (bank == 1)  /* temporary hack to point to the 3rd gfx bank */
209209      bank = 2;
r241815r241816
367367   8, 8,
368368   RGN_FRAC(1,3),
369369   3,
370   { 0, RGN_FRAC(1,3), RGN_FRAC(2,3) },    /* bitplanes are separated */
370   { RGN_FRAC(2,3), RGN_FRAC(1,3), 0 },    /* 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
r241815r241816
379379****************************************/
380380
381381static GFXDECODE_START( miniboy7 )
382   GFXDECODE_ENTRY( "gfx1", 0x0800,    charlayout, 0, 16 ) /* text layer 1 */
383   GFXDECODE_ENTRY( "gfx1", 0x0000,    charlayout, 0, 16 ) /* text layer 2 */
382   GFXDECODE_ENTRY( "gfx1", 0x0800,    charlayout, 0, 128 ) /* text layer 1 */
383   GFXDECODE_ENTRY( "gfx1", 0x0000,    charlayout, 0, 128 ) /* text layer 2 */
384384
385385   /* 0x000 cards
386386      0x100 joker
387387      0x200 dices
388388      0x300 bigtxt */
389   GFXDECODE_ENTRY( "gfx2", 0, tilelayout, 0, 16 )
389   GFXDECODE_ENTRY( "gfx2", 0, tilelayout, 0, 32 )
390390
391391GFXDECODE_END
392392
r241815r241816
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", 0 )    /* both bipolar PROMs are identical */
480   ROM_REGION( 0x0200, "proms", ROMREGION_INVERT )    /* 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
r241815r241816
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", 0 )    /* both bipolar PROMs are identical */
506   ROM_REGION( 0x0200, "proms", ROMREGION_INVERT )    /* 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
r241815r241816
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", 0 )    /* both bipolar PROMs are identical */
528   ROM_REGION( 0x0200, "proms", ROMREGION_INVERT )    /* 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
r241815r241816
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
16691690ROM_START( pepp0043 ) /* Normal board : 10's or Better (PP0043) */
16701691/*
16711692PayTable  10s+  2PR  3K   STR  FL  FH  4K  SF  RF  (Bonus)
16721693----------------------------------------------------------
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%
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%
16751696     Programs Available: PP0043, X000043P
16761697*/
16771698   ROM_REGION( 0x10000, "maincpu", 0 )
r241815r241816
16911712/*
16921713PayTable  10s+  2PR  3K   STR  FL  FH  4K  SF  RF  (Bonus)
16931714----------------------------------------------------------
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%
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%
16961717     Programs Available: PP0043, X000043P
16971718*/
16981719   ROM_REGION( 0x10000, "maincpu", 0 )
r241815r241816
17081729   ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) /* BPROM type DM74LS471 (compatible with N82S135N) verified */
17091730ROM_END
17101731
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
17111753ROM_START( pepp0045 ) /* Normal board : 10's or Better (PP0045) */
17121754/*
17131755PayTable  10s+  2PR  3K   STR  FL  FH  4K  SF  RF  (Bonus)
r241815r241816
20052047     Programs Available: PP0060, X000060P & PP0420 - Non Double-up Only
20062048*/
20072049   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 )
20082071   ROM_LOAD( "pp0060_a45-a74.u68",   0x00000, 0x10000, CRC(5d9e6c2f) SHA1(e1199a1fa57d84223ca87ea5b6ce4fda9afa0e1f) ) /* Game Version: A45, Library Version: A74 */
20092072
20102073   ROM_REGION( 0x020000, "gfx1", 0 )
r241815r241816
20172080   ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) /* BPROM type DM74LS471 (compatible with N82S135N) verified */
20182081ROM_END
20192082
2020ROM_START( pepp0060a ) /* Normal board : Standard Draw Poker (PP0060) */
2083ROM_START( pepp0060b ) /* Normal board : Standard Draw Poker (PP0060) */
20212084/*
20222085PayTable   Js+  2PR  3K   STR  FL  FH  4K  SF  RF  (Bonus)
20232086----------------------------------------------------------
r241815r241816
33113374   ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) /* BPROM type DM74LS471 (compatible with N82S135N) verified */
33123375ROM_END
33133376
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
33143399ROM_START( pepp0431 ) /* Normal board : Deuces Joker Wild Poker (PP0431) - Multi Regional / Multi Currency - Tournament Mode capable */
33153400/*
33163401                                         With  w/o  w/o  With
r241815r241816
88058890GAMEL(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 )
88068891GAMEL(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 )
88078892GAMEL(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 )
88088894GAMEL(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 )
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 )
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 )
88108897GAMEL(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 )
88118898GAMEL(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 )
88128899GAMEL(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 )
r241815r241816
88228909GAMEL(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 )
88238910GAMEL(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 )
88248911GAMEL(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 )
88258913GAMEL(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 )
88268914GAMEL(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 )
88278915GAMEL(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 )
r241815r241816
88788966GAMEL(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 )
88798967GAMEL(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 )
88808968GAMEL(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 )
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 )
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 )
88828971GAMEL(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 )
88838972GAMEL(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 )
88848973GAMEL(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
r241815r241816
556556
557557
558558static GFXDECODE_START( pipedrm )
559   GFXDECODE_ENTRY( "gfx1", 0, bglayout,    0, 64 )
560   GFXDECODE_ENTRY( "gfx2", 0, bglayout,    0, 64 )
559   GFXDECODE_ENTRY( "gfx1", 0, bglayout,    0, 128 )
560   GFXDECODE_ENTRY( "gfx2", 0, bglayout,    0, 128 )
561561   GFXDECODE_ENTRY( "gfx3", 0, splayout, 1024, 32 )
562562GFXDECODE_END
563563
trunk/src/mame/drivers/sbugger.c
r241815r241816
137137};
138138
139139static GFXDECODE_START( sbugger )
140   GFXDECODE_ENTRY( "gfx1", 0, char16layout,   0, 1  )
140   GFXDECODE_ENTRY( "gfx1", 0, char16layout,   0, 256  )
141141GFXDECODE_END
142142
143143
r241815r241816
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_IMPERFECT_COLORS )
282GAME( 1981, sbuggera, sbugger,  sbugger,  sbugger, driver_device,  0, ROT270, "Game-A-Tron", "Space Bugger (set 2)", GAME_IMPERFECT_COLORS )
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 )
trunk/src/mame/includes/mario.h
r241815r241816
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
3634class mario_state : public driver_device
3735{
3836public:
3937   mario_state(const machine_config &mconfig, device_type type, const char *tag)
4038      : driver_device(mconfig, type, tag),
41      m_spriteram(*this, "spriteram"),
42      m_videoram(*this, "videoram"),
43      m_discrete(*this, "discrete"),
39     
4440      m_maincpu(*this, "maincpu"),
4541      m_audiocpu(*this, "audiocpu"),
4642      m_gfxdecode(*this, "gfxdecode"),
4743      m_palette(*this, "palette"),
48      m_z80dma(*this, "z80dma") { }
44      m_z80dma(*this, "z80dma"),
45      m_discrete(*this, "discrete"),
46      m_spriteram(*this, "spriteram"),
47      m_videoram(*this, "videoram"),
48      m_monitor(0) { }
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
5058   /* memory pointers */
59   required_shared_ptr<UINT8> m_spriteram;
60   required_shared_ptr<UINT8> m_videoram;
5161
52   /* machine states */
53
5462   /* sound state */
5563   UINT8   m_last;
5664   UINT8   m_portT;
r241815r241816
6169   UINT8   m_palette_bank;
6270   UINT16  m_gfx_scroll;
6371   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;
7072   tilemap_t *m_bg_tilemap;
7173   int m_monitor;
7274
r241815r241816
104106   DECLARE_READ8_MEMBER(memory_read_byte);
105107   DECLARE_WRITE8_MEMBER(memory_write_byte);
106108   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;
112109};
113110
114111/*----------- defined in audio/mario.c -----------*/
trunk/src/mame/mame.lst
r241815r241816
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
1099911000pepp0043        // (c) 1987 IGT - International Game Technology
1100011001pepp0043a       // (c) 1987 IGT - International Game Technology
11002pepp0043b       // (c) 1987 IGT - International Game Technology
1100111003pepp0045        // (c) 1987 IGT - International Game Technology
1100211004pepp0046        // (c) 1987 IGT - International Game Technology
1100311005pepp0046a       // (c) 1987 IGT - International Game Technology
r241815r241816
1101311015pepp0059a       // (c) 1987 IGT - International Game Technology
1101411016pepp0060        // (c) 1987 IGT - International Game Technology
1101511017pepp0060a       // (c) 1987 IGT - International Game Technology
11018pepp0060b       // (c) 1987 IGT - International Game Technology
1101611019pepp0063        // (c) 1987 IGT - International Game Technology
1101711020pepp0064        // (c) 1987 IGT - International Game Technology
1101811021pepp0065        // (c) 1987 IGT - International Game Technology
r241815r241816
1107011073pepp0426        // (c) 1987 IGT - International Game Technology
1107111074pepp0428        // (c) 1987 IGT - International Game Technology
1107211075pepp0429        // (c) 1987 IGT - International Game Technology
11076pepp0429a       // (c) 1987 IGT - International Game Technology
1107311077pepp0431        // (c) 1987 IGT - International Game Technology
1107411078pepp0434        // (c) 1987 IGT - International Game Technology
1107511079pepp0447        // (c) 1987 IGT - International Game Technology
trunk/src/mame/video/calomega.c
r241815r241816
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);  /* bits 2-3-4-5 for color */
43   int color = (attr & 0x3c) >> 2;  /* 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
5445   SET_TILE_INFO_MEMBER(bank, code, color, 0);
5546}
5647
5748void calomega_state::video_start()
5849{
50   m_gfxdecode->gfx(0)->set_granularity(8);
5951   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);
6052}
6153
r241815r241816
6860PALETTE_INIT_MEMBER(calomega_state, calomega)
6961{
7062   const UINT8 *color_prom = memregion("proms")->base();
71/*  prom bits
72    7654 3210
73    ---- ---x   red component.
74    ---- --x-   green component.
75    ---- -x--   blue component.
76    xxxx x---   unused.
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)
7774*/
78   int i;
7975
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
8083   /* 00000BGR */
8184   if (color_prom == 0) return;
8285
83   for (i = 0;i < palette.entries();i++)
86   for (int i = 0;i < palette.entries();i++)
8487   {
85      int bit0, bit1, bit2, r, g, b;
88      int nibble = color_prom[i];
8689
90      int fg = BIT(nibble, 3);
91
8792      /* red component */
88      bit0 = (color_prom[i] >> 0) & 0x01;
89      r = bit0 * 0xff;
93      int r = BIT(nibble, 0) * (fg ? 0xff : r_pot);
9094
9195      /* green component */
92      bit1 = (color_prom[i] >> 1) & 0x01;
93      g = bit1 * 0xff;
96      int g = BIT(nibble, 1) * (fg ? 0xff : g_pot);
9497
9598      /* blue component */
96      bit2 = (color_prom[i] >> 2) & 0x01;
97      b = bit2 * 0xff;
99      int b = BIT(nibble, 2) * (fg ? 0xff : b_pot);
98100
99
100101      palette.set_pen_color(i, rgb_t(r, g, b));
101102   }
102103}
trunk/src/mame/video/k054156_k054157_k056832.c
r241815r241816
21492149   }
21502150
21512151   m_gfxdecode->gfx(gfx_index)->set_granularity(16); /* override */
2152   m_gfxdecode->gfx(gfx_index)->set_colors(m_palette->entries() / 16);
21522153
21532154   m_gfx_memory_region = gfx_memory_region;
21542155   m_gfx_num = gfx_index;
trunk/src/mame/video/mario.c
r241815r241816
6767   const UINT8 *color_prom = memregion("proms")->base();
6868   dynamic_array<rgb_t> rgb;
6969
70   compute_res_net_all(rgb, color_prom, mario_decode_info, mario_net_info);
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);
74
7175   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);
74
7576   palette.palette()->normalize_range(0, 255);
76   palette.palette()->normalize_range(256, 511);
7777}
7878
7979WRITE8_MEMBER(mario_state::mario_videoram_w)
r241815r241816
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;
130
131   color =  ((m_videoram[tile_index] >> 2) & 0x38) | 0x40 | (m_palette_bank<<7) | (m_monitor<<8);
132   color = color >> 2;
129   int color = 8 + (m_videoram[tile_index] >> 5) + 16 * m_palette_bank;
133130   SET_TILE_INFO_MEMBER(0, code, color, 0);
134131}
135132
r241815r241816
138135   m_bg_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(mario_state::get_bg_tile_info),this), TILEMAP_SCAN_ROWS,
139136         8, 8, 32, 32);
140137
138   m_gfxdecode->gfx(0)->set_granularity(8);
139
141140   m_gfx_bank = 0;
142141   m_palette_bank = 0;
143142   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));
r241815r241816
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 + 32 * m_monitor;
198            color = (m_spriteram[offs + 1] & 0x0f) + 16 * m_palette_bank;
199199            flipx = (m_spriteram[offs + 1] & 0x80);
200200            flipy = (m_spriteram[offs + 1] & 0x40);
201201
r241815r241816
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 + 32 * m_monitor;
223            color = (m_spriteram[offs + 1] & 0x0f) + 16 * m_palette_bank;
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
r241815r241816
257257   if (t != m_monitor)
258258   {
259259      m_monitor = t;
260      machine().tilemap().mark_all_dirty();
260      PALETTE_INIT_NAME(mario)(m_palette);
261261   }
262262
263263   m_bg_tilemap->set_scrolly(0, m_gfx_scroll);
trunk/src/mame/video/n64.c
r241815r241816
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
19861989
19871990   SpanBase.m_span_drdy = drdy;
19881991   SpanBase.m_span_dgdy = dgdy;
trunk/src/mame/video/rdpspn16.c
r241815r241816
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
155160   rdp_span_aux *userdata = (rdp_span_aux*)extent.userdata;
156161
157162   INT32 m_clamp_s_diff[8];
r241815r241816
204209      dzpix = object.MiscState.PrimitiveDZ;
205210      dzinc = 0;
206211   }
212   
213   if (object.MiscState.FBSize < 2 || object.MiscState.FBSize > 4)
214      fatalerror("unsupported FBSize %d\n", object.MiscState.FBSize);
207215
208216   int blend_index = (object.OtherModes.alpha_cvg_select ? 2 : 0) | ((object.OtherModes.rgb_dither_sel < 3) ? 1 : 0);
209217   int read_index = ((object.MiscState.FBSize - 2) << 1) | object.OtherModes.image_read_en;
r241815r241816
322330   INT32 news = 0;
323331   INT32 newt = 0;
324332
333#ifdef PTR64
334   assert(extent.userdata != (const void *)0xcccccccccccccccc);
335#else
336   assert(extent.userdata != (const void *)0xcccccccc);
337#endif
325338   rdp_span_aux *userdata = (rdp_span_aux*)extent.userdata;
326339
327340   INT32 m_clamp_s_diff[8];
r241815r241816
364377      dzinc = 0;
365378   }
366379
380   if (object.MiscState.FBSize < 2 || object.MiscState.FBSize > 4)
381      fatalerror("unsupported FBSize %d\n", object.MiscState.FBSize);
382
367383   int blend_index = (object.OtherModes.alpha_cvg_select ? 2 : 0) | ((object.OtherModes.rgb_dither_sel < 3) ? 1 : 0);
368384   int read_index = ((object.MiscState.FBSize - 2) << 1) | object.OtherModes.image_read_en;
369385   int write_index = ((object.MiscState.FBSize - 2) << 3) | (object.OtherModes.cvg_dest << 1);


Previous 199869 Revisions Next


© 1997-2024 The MAME Team