Previous 15994 Revisions Next

r15068 Monday 30th April, 2012 at 06:52:14 UTC by Miodrag Milanović
Sync with MAME r16136 (no whatsnew)
[ROOT]makefile
[src/emu/machine]idectrl.c
[src/emu/sound]i5000.c sound.mak
[src/mame]mame.lst
[src/mame/drivers]epos.c meyc8088.c spacefb.c subsino2.c zaxxon.c
[src/mame/includes]scramble.h

src/mame/mame.lst
r15067r15068
39613961futspy         // (c) 1984
39623962razmataz      // modified 834-0213, 834-0214 (c) 1983
39633963ixion         // (c) 1983
3964congo         // 605-5167 (c) 1983
3965tiptop         // 605-5167 (c) 1983
3964congo         // 605-5167 (c) 1983 (2 board stack)
3965congoa         // 605-5167 (c) 1983 (3 board stack)
3966tiptop         // 605-5167 (c) 1983 (3 board stack)
39663967
39673968// Sega "LaserDisc hardware" games
39683969astron         // (c) 1983
r15067r15068
99579958spaceint      // [1980] Shoei
99589959spaceintj      // [1980] Shoei
99599960spacefb         // (c) [1980?] Nintendo
9960spacefbu      // (c) [1980?] Nintendo
99619961spacefbe      // (c) [1980?] Nintendo
9962spacefbe2      // (c) [1980?] Nintendo
9963spacefba      // (c) [1980?] Nintendo
99629964spacefbg      // 834-0031 (c) 1980 Gremlin
99639965spacefbb      // bootleg
99649966spacebrd      // bootleg
src/mame/includes/scramble.h
r15067r15068
88      : galaxold_state(mconfig, type, tag),
99        m_soundram(*this, "soundram") { }
1010
11   required_shared_ptr<UINT8> m_soundram;
11   optional_shared_ptr<UINT8> m_soundram;
1212   UINT8 m_cavelon_bank;
1313   UINT8 m_security_2B_counter;
1414   UINT8 m_xb;
src/mame/drivers/zaxxon.c
r15067r15068
13051305   ROM_LOAD( "1941a.u72",       0x0100, 0x0100, CRC(a5d0d97e) SHA1(2677508b44f9b7a6c6ee56e49a7b88073e80debe) )
13061306ROM_END
13071307
1308/*
1309Extra notes about Congo Bongo:
13081310
1309ROM_START( congo )
1310   ROM_REGION( 0x8000, "maincpu", 0 )
1311   ROM_LOAD( "congo1.u35",   0x0000, 0x2000, CRC(09355b5b) SHA1(0085ac7eb0035a88cb54cdd3dd6b2643141d39db) )
1312   ROM_LOAD( "congo2.u34",   0x2000, 0x2000, CRC(1c5e30ae) SHA1(7cc5420e0e7a2793a671b938c121ae4079f5b1b8) )
1313   ROM_LOAD( "congo3.u33",   0x4000, 0x2000, CRC(5ee1132c) SHA1(26294cd69ee43dfd29fc3642e8c04552dcdbaa49) )
1314   ROM_LOAD( "congo4.u32",   0x6000, 0x2000, CRC(5332b9bf) SHA1(8440cc6f92918b3b467a5a0b86c9defeb0a7db0e) )
1311There is known to be a version of Congo Bongo with official Sega "EPR" numbers. Sega game ID number for this set is 834-5197
13151312
1316   ROM_REGION( 0x2000, "audiocpu", 0 )
1317   ROM_LOAD( "congo17.u11",  0x0000, 0x2000, CRC(5024e673) SHA1(6f846146a4e29bcdfd5bd1bc5f1211d344cd5afa) )
13133 board stack with 834-5181 stickered as 834-5207 with standard 834-5167 video board & 834-5168 sound board.
1314EPR-5309A.rom1 @ U35
1315EPR-5310A.rom2 @ U34
1316EPR-5311A.rom3 @ U33
1317EPR-5312A.rom4 @ U32
13181318
1319   ROM_REGION( 0x1000, "gfx_tx", 0 )
1320   ROM_LOAD( "congo5.u76",   0x00000, 0x1000, CRC(7bf6ba2b) SHA1(3a2bd21b0e0e55cbd737c7b075492b5e8f944150) )
1319Uses the MR018 BPROM @ U68
13211320
1322   ROM_REGION( 0x6000, "gfx_bg", 0 )
1323   ROM_LOAD( "congo8.u93",   0x00000, 0x2000, CRC(db99a619) SHA1(499029197d26f9aea3ac15d66b5738ce7dea1f6c) )
1324   ROM_LOAD( "congo9.u94",   0x02000, 0x2000, CRC(93e2309e) SHA1(bd8a74332cac0cf85f319c1f35d04a4781c9d655) )
1325   ROM_LOAD( "congo10.u95",  0x04000, 0x2000, CRC(f27a9407) SHA1(d41c90c89ae28c92bf0c57927357d9b68ed7e0ef) )
1321Oddly, it seems most Congo Bongo board sets (2 & 3 board stacks) have hand written labels for the program roms. At least
1322all the PCB photos I found via Google as well as those included in a recent redump of both board set types.  And YES it's
1323actually "CONGO BONGO REV C ROM 2A" this is verified in several PCB photos.
13261324
1327   ROM_REGION( 0xc000, "gfx_spr", 0 )
1328   ROM_LOAD( "congo12.u78",  0x00000, 0x2000, CRC(15e3377a) SHA1(04a7fbfd58924359fae0ba76ed152f325f07beae) )
1329   ROM_LOAD( "congo13.u79",  0x02000, 0x2000, CRC(1d1321c8) SHA1(d12e156a24db105c5f941b7ef79f32181b616710) )
1330   ROM_LOAD( "congo11.u77",  0x04000, 0x2000, CRC(73e2709f) SHA1(14919facf08f6983c3a9baad031239a1b57c8202) )
1331   ROM_LOAD( "congo14.u104", 0x06000, 0x2000, CRC(bf9169fe) SHA1(303d68e38e9a47464f14dc5be6bff1be01b88bb6) )
1332   ROM_LOAD( "congo16.u106", 0x08000, 0x2000, CRC(cb6d5775) SHA1(b1f8ead6e6f8ad995baaeb7f8554d41ed2296fff) )
1333   ROM_LOAD( "congo15.u105", 0x0a000, 0x2000, CRC(7b15a7a4) SHA1(b1c05e60a1442e4dd56d197be8b768bcbf45e2d9) )
1325*/
13341326
1335   ROM_REGION( 0x4000, "tilemap_dat", 0 )
1336   ROM_LOAD( "congo6.u57",   0x0000, 0x2000, CRC(d637f02b) SHA1(29127149924c5bfdeb9456d7df2a5a5d14098794) )
1337   ROM_LOAD( "congo7.u58",   0x2000, 0x2000, CRC(80927943) SHA1(4683520c241d209c6cabeaead9b363f046c30f70) )
1327ROM_START( congo ) /* 2 board stack, Sega game ID number for this set is 834-5180 */
1328   ROM_REGION( 0x8000, "maincpu", 0 ) /* Located on 834-5181 PCB,  AKA Tip Top-CONTR II */
1329   ROM_LOAD( "congo_rev_c_rom1.u21",   0x0000, 0x2000, CRC(09355b5b) SHA1(0085ac7eb0035a88cb54cdd3dd6b2643141d39db) ) /* SUM16 written on label 044A */
1330   ROM_LOAD( "congo_rev_c_rom2a.u22",  0x2000, 0x2000, CRC(1c5e30ae) SHA1(7cc5420e0e7a2793a671b938c121ae4079f5b1b8) ) /* SUM16 written on label DD4D */
1331   ROM_LOAD( "congo_rev_c_rom3.u23",   0x4000, 0x2000, CRC(5ee1132c) SHA1(26294cd69ee43dfd29fc3642e8c04552dcdbaa49) ) /* SUM16 written on label C932 */
1332   ROM_LOAD( "congo_rev_c_rom4.u24",   0x6000, 0x2000, CRC(5332b9bf) SHA1(8440cc6f92918b3b467a5a0b86c9defeb0a7db0e) ) /* SUM16 written on label 5128 */
13381333
1339   ROM_REGION( 0x0200, "proms", 0 )
1340   ROM_LOAD( "congo.u68",    0x0000, 0x100, CRC(b788d8ae) SHA1(9765180f3087140c75e5953409df841787558160) )
1334   ROM_REGION( 0x2000, "audiocpu", 0 ) /* Located on 834-5181 PCB,  AKA Tip Top-CONTR II */
1335   ROM_LOAD( "tip_top_rom_17.u19",  0x0000, 0x2000, CRC(5024e673) SHA1(6f846146a4e29bcdfd5bd1bc5f1211d344cd5afa) )
1336
1337   ROM_REGION( 0x1000, "gfx_tx", 0 ) /* Located on 834-5181 PCB,  AKA Tip Top-CONTR II */
1338   ROM_LOAD( "tip_top_rom_5.u76",   0x00000, 0x1000, CRC(7bf6ba2b) SHA1(3a2bd21b0e0e55cbd737c7b075492b5e8f944150) )
1339
1340   ROM_REGION( 0x6000, "gfx_bg", 0 ) /* Located on 834-5167 PCB, AKA Tip Tip-VIDEO */
1341   ROM_LOAD( "tip_top_rom_8.u93",   0x00000, 0x2000, CRC(db99a619) SHA1(499029197d26f9aea3ac15d66b5738ce7dea1f6c) )
1342   ROM_LOAD( "tip_top_rom_9.u94",   0x02000, 0x2000, CRC(93e2309e) SHA1(bd8a74332cac0cf85f319c1f35d04a4781c9d655) )
1343   ROM_LOAD( "tip_top_rom_10.u95",  0x04000, 0x2000, CRC(f27a9407) SHA1(d41c90c89ae28c92bf0c57927357d9b68ed7e0ef) )
1344
1345   ROM_REGION( 0xc000, "gfx_spr", 0 ) /* Located on 834-5167 PCB, AKA Tip Tip-VIDEO */
1346   ROM_LOAD( "tip_top_rom_12.u78",  0x00000, 0x2000, CRC(15e3377a) SHA1(04a7fbfd58924359fae0ba76ed152f325f07beae) )
1347   ROM_LOAD( "tip_top_rom_13.u79",  0x02000, 0x2000, CRC(1d1321c8) SHA1(d12e156a24db105c5f941b7ef79f32181b616710) )
1348   ROM_LOAD( "tip_top_rom_11.u77",  0x04000, 0x2000, CRC(73e2709f) SHA1(14919facf08f6983c3a9baad031239a1b57c8202) )
1349   ROM_LOAD( "tip_top_rom_14.u104", 0x06000, 0x2000, CRC(bf9169fe) SHA1(303d68e38e9a47464f14dc5be6bff1be01b88bb6) )
1350   ROM_LOAD( "tip_top_rom_16.u106", 0x08000, 0x2000, CRC(cb6d5775) SHA1(b1f8ead6e6f8ad995baaeb7f8554d41ed2296fff) )
1351   ROM_LOAD( "tip_top_rom_15.u105", 0x0a000, 0x2000, CRC(7b15a7a4) SHA1(b1c05e60a1442e4dd56d197be8b768bcbf45e2d9) )
1352
1353   ROM_REGION( 0x4000, "tilemap_dat", 0 ) /* Located on 834-5167 PCB, AKA Tip Tip-VIDEO */
1354   ROM_LOAD( "tip_top_rom_6.u57",   0x0000, 0x2000, CRC(d637f02b) SHA1(29127149924c5bfdeb9456d7df2a5a5d14098794) )
1355   ROM_LOAD( "tip_top_rom_7.u58",   0x2000, 0x2000, CRC(80927943) SHA1(4683520c241d209c6cabeaead9b363f046c30f70) )
1356
1357   ROM_REGION( 0x0200, "proms", 0 ) /* Located on 834-5181 PCB,  AKA Tip Top-CONTR II */
1358   ROM_LOAD( "mr019.u87",    0x0000, 0x100, CRC(b788d8ae) SHA1(9765180f3087140c75e5953409df841787558160) ) /* BPROM type is a TBP28L22 per the schematics */
13411359   ROM_RELOAD(               0x0100, 0x100 )
13421360ROM_END
13431361
1344ROM_START( tiptop )
1345   ROM_REGION( 0x8000, "maincpu", 0 )
1362ROM_START( congoa ) /* 3 board stack, Sega game ID number for this set is 834-5156 */
1363   ROM_REGION( 0x8000, "maincpu", 0 ) /* Located on 834-5166 PCB  AKA Tip Top-CONTR */
1364   ROM_LOAD( "congo_rev_c_rom1.u35",   0x0000, 0x2000, CRC(09355b5b) SHA1(0085ac7eb0035a88cb54cdd3dd6b2643141d39db) ) /* SUM16 written on label 044A */
1365   ROM_LOAD( "congo_rev_c_rom2a.u34",  0x2000, 0x2000, CRC(1c5e30ae) SHA1(7cc5420e0e7a2793a671b938c121ae4079f5b1b8) ) /* SUM16 written on label DD4D */
1366   ROM_LOAD( "congo_rev_c_rom3.u33",   0x4000, 0x2000, CRC(5ee1132c) SHA1(26294cd69ee43dfd29fc3642e8c04552dcdbaa49) ) /* SUM16 written on label C932 */
1367   ROM_LOAD( "congo_rev_c_rom4.u32",   0x6000, 0x2000, CRC(5332b9bf) SHA1(8440cc6f92918b3b467a5a0b86c9defeb0a7db0e) ) /* SUM16 written on label 5128 */
1368
1369   ROM_REGION( 0x2000, "audiocpu", 0 ) /* Located on 834-5168 PCB  AKA Tip Top-SOUND */
1370   ROM_LOAD( "tip_top_rom_17.u11",  0x0000, 0x2000, CRC(5024e673) SHA1(6f846146a4e29bcdfd5bd1bc5f1211d344cd5afa) )
1371
1372   ROM_REGION( 0x1000, "gfx_tx", 0 ) /* Located on 834-5166 PCB  AKA Tip Top-CONTR */
1373   ROM_LOAD( "tip_top_rom_5.u76",   0x00000, 0x1000, CRC(7bf6ba2b) SHA1(3a2bd21b0e0e55cbd737c7b075492b5e8f944150) )
1374
1375   ROM_REGION( 0x6000, "gfx_bg", 0 ) /* Located on 834-5167 PCB, AKA Tip Tip-VIDEO */
1376   ROM_LOAD( "tip_top_rom_8.u93",   0x00000, 0x2000, CRC(db99a619) SHA1(499029197d26f9aea3ac15d66b5738ce7dea1f6c) )
1377   ROM_LOAD( "tip_top_rom_9.u94",   0x02000, 0x2000, CRC(93e2309e) SHA1(bd8a74332cac0cf85f319c1f35d04a4781c9d655) )
1378   ROM_LOAD( "tip_top_rom_10.u95",  0x04000, 0x2000, CRC(f27a9407) SHA1(d41c90c89ae28c92bf0c57927357d9b68ed7e0ef) )
1379
1380   ROM_REGION( 0xc000, "gfx_spr", 0 ) /* Located on 834-5167 PCB, AKA Tip Tip-VIDEO */
1381   ROM_LOAD( "tip_top_rom_12.u78",  0x00000, 0x2000, CRC(15e3377a) SHA1(04a7fbfd58924359fae0ba76ed152f325f07beae) )
1382   ROM_LOAD( "tip_top_rom_13.u79",  0x02000, 0x2000, CRC(1d1321c8) SHA1(d12e156a24db105c5f941b7ef79f32181b616710) )
1383   ROM_LOAD( "tip_top_rom_11.u77",  0x04000, 0x2000, CRC(73e2709f) SHA1(14919facf08f6983c3a9baad031239a1b57c8202) )
1384   ROM_LOAD( "tip_top_rom_14.u104", 0x06000, 0x2000, CRC(bf9169fe) SHA1(303d68e38e9a47464f14dc5be6bff1be01b88bb6) )
1385   ROM_LOAD( "tip_top_rom_16.u106", 0x08000, 0x2000, CRC(cb6d5775) SHA1(b1f8ead6e6f8ad995baaeb7f8554d41ed2296fff) )
1386   ROM_LOAD( "tip_top_rom_15.u105", 0x0a000, 0x2000, CRC(7b15a7a4) SHA1(b1c05e60a1442e4dd56d197be8b768bcbf45e2d9) )
1387
1388   ROM_REGION( 0x4000, "tilemap_dat", 0 ) /* Located on 834-5167 PCB, Tip Tip-VIDEO */
1389   ROM_LOAD( "tip_top_rom_6.u57",   0x0000, 0x2000, CRC(d637f02b) SHA1(29127149924c5bfdeb9456d7df2a5a5d14098794) )
1390   ROM_LOAD( "tip_top_rom_7.u58",   0x2000, 0x2000, CRC(80927943) SHA1(4683520c241d209c6cabeaead9b363f046c30f70) )
1391
1392   ROM_REGION( 0x0200, "proms", 0 ) /* Located on 834-5166 PCB  AKA Tip Top-CONTR */
1393   ROM_LOAD( "mr018.u68",    0x0000, 0x200, CRC(56b9f1ba) SHA1(32ae743087f7c2dfba6818df8e9d665d8d9a3ee7) ) /* dumped as TBP28S42, first 256 bytes match MR019 then 0xFF filled */
1394ROM_END
1395
1396ROM_START( tiptop ) /* 3 board stack */
1397   ROM_REGION( 0x8000, "maincpu", 0 ) /* Located on 834-5166 PCB  AKA Tip Top-CONTR */
13461398   ROM_LOAD( "tiptop1.u35",  0x0000, 0x2000, CRC(e19dc77b) SHA1(d3782dd55701e0f5cd426ad2771c1bd0264c366a) )
13471399   ROM_LOAD( "tiptop2.u34",  0x2000, 0x2000, CRC(3fcd3b6e) SHA1(2898807ee36fca7fbc06616c9a070604beb782b9) )
13481400   ROM_LOAD( "tiptop3.u33",  0x4000, 0x2000, CRC(1c94250b) SHA1(cb70a91d07b0a9c61a093f1b5d37f2e69d1345c1) )
13491401   ROM_LOAD( "tiptop4.u32",  0x6000, 0x2000, CRC(577b501b) SHA1(5cad98a60a5241ba9467aa03fcd94c7490e6dbbb) )
13501402
1351   ROM_REGION( 0x2000, "audiocpu", 0 )
1352   ROM_LOAD( "congo17.u11",  0x0000, 0x2000, CRC(5024e673) SHA1(6f846146a4e29bcdfd5bd1bc5f1211d344cd5afa) )
1403   ROM_REGION( 0x2000, "audiocpu", 0 ) /* Located on 834-5168 PCB  AKA Tip Top-SOUND */
1404   ROM_LOAD( "tip_top_rom_17.u11",  0x0000, 0x2000, CRC(5024e673) SHA1(6f846146a4e29bcdfd5bd1bc5f1211d344cd5afa) )
13531405
1354   ROM_REGION( 0x1000, "gfx_tx", 0 )
1355   ROM_LOAD( "congo5.u76",   0x00000, 0x1000, CRC(7bf6ba2b) SHA1(3a2bd21b0e0e55cbd737c7b075492b5e8f944150) )
1406   ROM_REGION( 0x1000, "gfx_tx", 0 ) /* Located on 834-5166 PCB  AKA Tip Top-CONTR */
1407   ROM_LOAD( "tip_top_rom_5.u76",   0x00000, 0x1000, CRC(7bf6ba2b) SHA1(3a2bd21b0e0e55cbd737c7b075492b5e8f944150) )
13561408
1357   ROM_REGION( 0x6000, "gfx_bg", 0 )
1358   ROM_LOAD( "congo8.u93",   0x00000, 0x2000, CRC(db99a619) SHA1(499029197d26f9aea3ac15d66b5738ce7dea1f6c) )
1359   ROM_LOAD( "congo9.u94",   0x02000, 0x2000, CRC(93e2309e) SHA1(bd8a74332cac0cf85f319c1f35d04a4781c9d655) )
1360   ROM_LOAD( "congo10.u95",  0x04000, 0x2000, CRC(f27a9407) SHA1(d41c90c89ae28c92bf0c57927357d9b68ed7e0ef) )
1409   ROM_REGION( 0x6000, "gfx_bg", 0 ) /* Located on 834-5167 PCB, AKA Tip Tip-VIDEO */
1410   ROM_LOAD( "tip_top_rom_8.u93",   0x00000, 0x2000, CRC(db99a619) SHA1(499029197d26f9aea3ac15d66b5738ce7dea1f6c) )
1411   ROM_LOAD( "tip_top_rom_9.u94",   0x02000, 0x2000, CRC(93e2309e) SHA1(bd8a74332cac0cf85f319c1f35d04a4781c9d655) )
1412   ROM_LOAD( "tip_top_rom_10.u95",  0x04000, 0x2000, CRC(f27a9407) SHA1(d41c90c89ae28c92bf0c57927357d9b68ed7e0ef) )
13611413
1362   ROM_REGION( 0xc000, "gfx_spr", 0 )
1363   ROM_LOAD( "congo12.u78",  0x00000, 0x2000, CRC(15e3377a) SHA1(04a7fbfd58924359fae0ba76ed152f325f07beae) )
1364   ROM_LOAD( "congo13.u79",  0x02000, 0x2000, CRC(1d1321c8) SHA1(d12e156a24db105c5f941b7ef79f32181b616710) )
1365   ROM_LOAD( "congo11.u77",  0x04000, 0x2000, CRC(73e2709f) SHA1(14919facf08f6983c3a9baad031239a1b57c8202) )
1366   ROM_LOAD( "congo14.u104", 0x06000, 0x2000, CRC(bf9169fe) SHA1(303d68e38e9a47464f14dc5be6bff1be01b88bb6) )
1367   ROM_LOAD( "congo16.u106", 0x08000, 0x2000, CRC(cb6d5775) SHA1(b1f8ead6e6f8ad995baaeb7f8554d41ed2296fff) )
1368   ROM_LOAD( "congo15.u105", 0x0a000, 0x2000, CRC(7b15a7a4) SHA1(b1c05e60a1442e4dd56d197be8b768bcbf45e2d9) )
1414   ROM_REGION( 0xc000, "gfx_spr", 0 ) /* Located on 834-5167 PCB, AKA Tip Tip-VIDEO */
1415   ROM_LOAD( "tip_top_rom_12.u78",  0x00000, 0x2000, CRC(15e3377a) SHA1(04a7fbfd58924359fae0ba76ed152f325f07beae) )
1416   ROM_LOAD( "tip_top_rom_13.u79",  0x02000, 0x2000, CRC(1d1321c8) SHA1(d12e156a24db105c5f941b7ef79f32181b616710) )
1417   ROM_LOAD( "tip_top_rom_11.u77",  0x04000, 0x2000, CRC(73e2709f) SHA1(14919facf08f6983c3a9baad031239a1b57c8202) )
1418   ROM_LOAD( "tip_top_rom_14.u104", 0x06000, 0x2000, CRC(bf9169fe) SHA1(303d68e38e9a47464f14dc5be6bff1be01b88bb6) )
1419   ROM_LOAD( "tip_top_rom_16.u106", 0x08000, 0x2000, CRC(cb6d5775) SHA1(b1f8ead6e6f8ad995baaeb7f8554d41ed2296fff) )
1420   ROM_LOAD( "tip_top_rom_15.u105", 0x0a000, 0x2000, CRC(7b15a7a4) SHA1(b1c05e60a1442e4dd56d197be8b768bcbf45e2d9) )
13691421
1370   ROM_REGION( 0x4000, "tilemap_dat", 0 )
1371   ROM_LOAD( "congo6.u57",   0x0000, 0x2000, CRC(d637f02b) SHA1(29127149924c5bfdeb9456d7df2a5a5d14098794) )
1372   ROM_LOAD( "congo7.u58",   0x2000, 0x2000, CRC(80927943) SHA1(4683520c241d209c6cabeaead9b363f046c30f70) )
1422   ROM_REGION( 0x4000, "tilemap_dat", 0 ) /* Located on 834-5167 PCB, AKA Tip Tip-VIDEO */
1423   ROM_LOAD( "tip_top_rom_6.u57",   0x0000, 0x2000, CRC(d637f02b) SHA1(29127149924c5bfdeb9456d7df2a5a5d14098794) )
1424   ROM_LOAD( "tip_top_rom_7.u58",   0x2000, 0x2000, CRC(80927943) SHA1(4683520c241d209c6cabeaead9b363f046c30f70) )
13731425
1374   ROM_REGION( 0x0200, "proms", 0 )
1375   ROM_LOAD( "congo.u68",    0x0000, 0x100, CRC(b788d8ae) SHA1(9765180f3087140c75e5953409df841787558160) )
1376   ROM_RELOAD(               0x0100, 0x100 )
1426   ROM_REGION( 0x0200, "proms", 0 ) /* Located on 834-5166 PCB  AKA Tip Top-CONTR */
1427   ROM_LOAD( "mr018.u68",    0x0000, 0x200, CRC(56b9f1ba) SHA1(32ae743087f7c2dfba6818df8e9d665d8d9a3ee7) ) /* dumped as TBP28S42, first 256 bytes match MR019 then 0xFF filled */
13771428ROM_END
13781429
13791430
r15067r15068
15321583 *************************************/
15331584
15341585/* these games run on standard Zaxxon hardware */
1535GAME( 1982, zaxxon,   0,      zaxxon,   zaxxon,   0,        ROT90,  "Sega",    "Zaxxon (set 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1586GAME( 1982, zaxxon,   0,      zaxxon,   zaxxon,   0,        ROT90,  "Sega",    "Zaxxon (set 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
15361587GAME( 1982, zaxxon2,  zaxxon, zaxxon,   zaxxon,   0,        ROT90,  "Sega",    "Zaxxon (set 2)",  GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
15371588GAME( 1982, zaxxon3,  zaxxon, zaxxon,   zaxxon,   0,        ROT90,  "Sega",    "Zaxxon (set 3)",  GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
15381589GAME( 1982, zaxxonj,  zaxxon, zaxxon,   zaxxon,   zaxxonj,  ROT90,  "Sega",    "Zaxxon (Japan)",  GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1539GAME( 1982, zaxxonb,  zaxxon, zaxxon,   zaxxon,   zaxxonj,  ROT90,  "bootleg", "Jackson",  GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1590GAME( 1982, zaxxonb,  zaxxon, zaxxon,   zaxxon,   zaxxonj,  ROT90,  "bootleg", "Jackson",         GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
15401591
15411592/* standard Zaxxon hardware but extra sound board plugged into 8255 PPI socket and encrypted cpu */
15421593GAME( 1982, szaxxon,  0,      zaxxon,   szaxxon,  szaxxon,  ROT90,  "Sega",    "Super Zaxxon (315-5013)",  GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
r15067r15068
15511602
15521603/* these games run on a slightly newer Zaxxon hardware with more ROM space and a */
15531604/* custom sprite DMA chip */
1554GAME( 1983, congo,    0,      congo,    congo,    0,        ROT90,  "Sega",    "Congo Bongo", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1555GAME( 1983, tiptop,   congo,  congo,    congo,    0,        ROT90,  "Sega",    "Tip Top", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1605GAME( 1983, congo,    0,      congo,    congo,    0,        ROT90,  "Sega",    "Congo Bongo (Rev C, 2 board stack)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1606GAME( 1983, congoa,   congo,  congo,    congo,    0,        ROT90,  "Sega",    "Congo Bongo (Rev C, 3 board stack)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1607GAME( 1983, tiptop,   congo,  congo,    congo,    0,        ROT90,  "Sega",    "Tip Top (3 board stack)",     GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/spacefb.c
r15067r15068
371371 *
372372 *************************************/
373373
374// pcb is revision 04 and has roms with suffix 'u'
374375ROM_START( spacefb )
375376   ROM_REGION( 0x10000, "maincpu", 0 )
376   ROM_LOAD( "5e.cpu",      0x0000, 0x0800, CRC(2d406678) SHA1(9dff1980fc5267313f99f9f67d2d83eda8aae00e) )
377   ROM_LOAD( "tst-c-u.5e",      0x0000, 0x0800, CRC(79c3527e) SHA1(5f2d9f3a8b573333e40e78222996f556ed6686ea) )
378   ROM_LOAD( "tst-c-u.5f",      0x0800, 0x0800, CRC(c0973965) SHA1(f0dcd820c0e0766368ef5d58c29ef090fc5cfdef) )
379   ROM_LOAD( "tst-c-u.5h",      0x1000, 0x0800, CRC(02c60ec5) SHA1(43b8553076c7c0e22e0708797c8f3d30fccf82ec) )
380   ROM_LOAD( "tst-c-u.5i",      0x1800, 0x0800, CRC(76fd18c7) SHA1(2db271269b8f810eb93e5e86d59251fe1f43769a) )
381   ROM_LOAD( "tst-c-u.5j",      0x2000, 0x0800, CRC(df52c97c) SHA1(54032c1ed694911079ffa45545b1e63ec8107fc4) )
382   ROM_LOAD( "tst-c-u.5k",      0x2800, 0x0800, CRC(1713300c) SHA1(9a7b6cc0d79cccadd4988e0e791c1598813b6552) )
383   ROM_LOAD( "tst-c-u.5m",      0x3000, 0x0800, CRC(6286f534) SHA1(c47d0df85a52c774a4bc26351fdae18795062b6e) )
384   ROM_LOAD( "tst-c-u.5n",      0x3800, 0x0800, CRC(1c9f91ee) SHA1(481a309fe9aa9ce6fd18d7d908c18790f594057d) )
385
386   ROM_REGION( 0x1000, "audiocpu", 0 )
387    ROM_LOAD( "ic20.snd",    0x0000, 0x0400, CRC(1c8670b3) SHA1(609124caa11498fc6a6bdf6cdbb8003bbc249dd8) )
388
389   ROM_REGION( 0x1000, "gfx1", 0 )  /* sprites */
390   ROM_LOAD( "tst-v-a.5k",      0x0000, 0x0800, CRC(236e1ff7) SHA1(575b8ed9ab054a864207e0fde3ae93cdcafbebf2) )
391   ROM_LOAD( "tst-v-a.6k",      0x0800, 0x0800, CRC(bf901a4e) SHA1(71207ad1ca60aa617dbbc3cd2e4e42520b7c8513) )
392
393   ROM_REGION( 0x0100, "gfx2", 0 )  /* bullets */
394   ROM_LOAD( "4i.vid",      0x0000, 0x0100, CRC(528e8533) SHA1(8e41eee1016c98a4f08acbd902daf8e32aa9d9ab) )
395
396   ROM_REGION( 0x0020, "proms", 0 )
397   ROM_LOAD( "mb7051.3n",   0x0000, 0x0020, CRC(465d07af) SHA1(25e246f7674c25d05e5f6e68db88c15aaa10cee1) )
398ROM_END
399
400// pcb is revision 03 and has roms with suffix 'e'
401ROM_START( spacefbe )
402   ROM_REGION( 0x10000, "maincpu", 0 )
403   ROM_LOAD( "tst-c-e.5e",      0x0000, 0x0800, CRC(77dda05b) SHA1(b8a42632587260509ba023c7e05d252972f90363) )
377404   ROM_LOAD( "tst-c-e.5f",      0x0800, 0x0800, CRC(89f0c34a) SHA1(4d8652fb7c4f22ddbac8c2d7ca7df675eaa2a447) )
378405   ROM_LOAD( "tst-c-e.5h",      0x1000, 0x0800, CRC(c4bcac3e) SHA1(5364d6fc9d3402b2def163dee7c39fe3fe57eea3) )
379406   ROM_LOAD( "tst-c-e.5i",      0x1800, 0x0800, CRC(61c00a65) SHA1(afc93e320478c70b3ddca8375fd648c9f2572dab) )
r15067r15068
396423   ROM_LOAD( "mb7051.3n",   0x0000, 0x0020, CRC(465d07af) SHA1(25e246f7674c25d05e5f6e68db88c15aaa10cee1) )
397424ROM_END
398425
399
400// pcb is revision 03 and has roms with suffix 'e'
401ROM_START( spacefbe )
426ROM_START( spacefbe2 )
402427   ROM_REGION( 0x10000, "maincpu", 0 )
403   ROM_LOAD( "tst-c-e.5e",      0x0000, 0x0800, CRC(77dda05b) SHA1(b8a42632587260509ba023c7e05d252972f90363) ) // only 5e differs to above set, by 2 bytes.
428   ROM_LOAD( "5e.cpu",      0x0000, 0x0800, CRC(2d406678) SHA1(9dff1980fc5267313f99f9f67d2d83eda8aae00e) ) // only 5e differs to above set, by 2 bytes.
404429   ROM_LOAD( "tst-c-e.5f",      0x0800, 0x0800, CRC(89f0c34a) SHA1(4d8652fb7c4f22ddbac8c2d7ca7df675eaa2a447) )
405430   ROM_LOAD( "tst-c-e.5h",      0x1000, 0x0800, CRC(c4bcac3e) SHA1(5364d6fc9d3402b2def163dee7c39fe3fe57eea3) )
406431   ROM_LOAD( "tst-c-e.5i",      0x1800, 0x0800, CRC(61c00a65) SHA1(afc93e320478c70b3ddca8375fd648c9f2572dab) )
r15067r15068
423448   ROM_LOAD( "mb7051.3n",   0x0000, 0x0020, CRC(465d07af) SHA1(25e246f7674c25d05e5f6e68db88c15aaa10cee1) )
424449ROM_END
425450
426// pcb is revision 04 and has roms with suffix 'u'
427ROM_START( spacefbu )
451// cpu pcb is revision 02, video pcb is revision 03. roms with handwritten suffix 'a'
452ROM_START( spacefba )
428453   ROM_REGION( 0x10000, "maincpu", 0 )
429   ROM_LOAD( "tst-c-u.5e",      0x0000, 0x0800, CRC(79c3527e) SHA1(5f2d9f3a8b573333e40e78222996f556ed6686ea) )
430   ROM_LOAD( "tst-c-u.5f",      0x0800, 0x0800, CRC(c0973965) SHA1(f0dcd820c0e0766368ef5d58c29ef090fc5cfdef) )
431   ROM_LOAD( "tst-c-u.5h",      0x1000, 0x0800, CRC(02c60ec5) SHA1(43b8553076c7c0e22e0708797c8f3d30fccf82ec) )
432   ROM_LOAD( "tst-c-u.5i",      0x1800, 0x0800, CRC(76fd18c7) SHA1(2db271269b8f810eb93e5e86d59251fe1f43769a) )
433   ROM_LOAD( "tst-c-u.5j",      0x2000, 0x0800, CRC(df52c97c) SHA1(54032c1ed694911079ffa45545b1e63ec8107fc4) )
434   ROM_LOAD( "tst-c-u.5k",      0x2800, 0x0800, CRC(1713300c) SHA1(9a7b6cc0d79cccadd4988e0e791c1598813b6552) )
435   ROM_LOAD( "tst-c-u.5m",      0x3000, 0x0800, CRC(6286f534) SHA1(c47d0df85a52c774a4bc26351fdae18795062b6e) )
436   ROM_LOAD( "tst-c-u.5n",      0x3800, 0x0800, CRC(1c9f91ee) SHA1(481a309fe9aa9ce6fd18d7d908c18790f594057d) )
454   ROM_LOAD( "tst-c-a.5e",      0x0000, 0x0800, CRC(5657bd2f) SHA1(0e615a7dd5efbbf6f543480bc150f45089c41d32) )
455   ROM_LOAD( "tst-c-a.5f",      0x0800, 0x0800, CRC(303b0294) SHA1(a2f5637e201739b440e7ea0868d2d5745fbb4f5b) )
456   ROM_LOAD( "tst-c-a.5h",      0x1000, 0x0800, CRC(49a26fe5) SHA1(851f62df651aa180b6fa236f4c54ed7791d92a21) )
457   ROM_LOAD( "tst-c-a.5i",      0x1800, 0x0800, CRC(c23025da) SHA1(ccc73ca9754b04e49733661cbd9e788b13163100) )
458   ROM_LOAD( "tst-c-a.5j",      0x2000, 0x0800, CRC(946bee5d) SHA1(6e668cec5986af3d319bf9aa8962a3d9008d0156) )
459   ROM_LOAD( "tst-c-a.5k",      0x2800, 0x0800, CRC(1713300c) SHA1(9a7b6cc0d79cccadd4988e0e791c1598813b6552) )
460   ROM_LOAD( "tst-c-a.5m",      0x3000, 0x0800, CRC(4cbe92fc) SHA1(903b617e42f740e94a6edb6a973dc0d57ac0abee) )
461   ROM_LOAD( "tst-c-a.5n",      0x3800, 0x0800, CRC(1a798fbf) SHA1(65ff2fe91c2037378314c4a68b2bd21fd167c64a) )
437462
438463   ROM_REGION( 0x1000, "audiocpu", 0 )
439    ROM_LOAD( "ic20.snd",    0x0000, 0x0400, CRC(1c8670b3) SHA1(609124caa11498fc6a6bdf6cdbb8003bbc249dd8) )
464    ROM_LOAD( "ic20.snd",    0x0000, 0x0400, BAD_DUMP CRC(1c8670b3) SHA1(609124caa11498fc6a6bdf6cdbb8003bbc249dd8) ) // not dumped from this board yet, rom taken from parent
440465
441466   ROM_REGION( 0x1000, "gfx1", 0 )  /* sprites */
442467   ROM_LOAD( "tst-v-a.5k",      0x0000, 0x0800, CRC(236e1ff7) SHA1(575b8ed9ab054a864207e0fde3ae93cdcafbebf2) )
443468   ROM_LOAD( "tst-v-a.6k",      0x0800, 0x0800, CRC(bf901a4e) SHA1(71207ad1ca60aa617dbbc3cd2e4e42520b7c8513) )
444469
445470   ROM_REGION( 0x0100, "gfx2", 0 )  /* bullets */
446   ROM_LOAD( "4i.vid",      0x0000, 0x0100, CRC(528e8533) SHA1(8e41eee1016c98a4f08acbd902daf8e32aa9d9ab) )
471   ROM_LOAD( "4i.vid",      0x0000, 0x0100, BAD_DUMP CRC(528e8533) SHA1(8e41eee1016c98a4f08acbd902daf8e32aa9d9ab) ) // not dumped from this board yet, rom taken from parent
447472
448473   ROM_REGION( 0x0020, "proms", 0 )
449   ROM_LOAD( "mb7051.3n",   0x0000, 0x0020, CRC(465d07af) SHA1(25e246f7674c25d05e5f6e68db88c15aaa10cee1) )
474   ROM_LOAD( "mb7051.3n",   0x0000, 0x0020, BAD_DUMP CRC(465d07af) SHA1(25e246f7674c25d05e5f6e68db88c15aaa10cee1) ) // not dumped from this board yet, rom taken from parent
450475ROM_END
451476
452477
r15067r15068
559584 *
560585 *************************************/
561586
562GAME( 1980, spacefb,  0,       spacefb, spacefb,  0, ROT270, "Nintendo", "Space Firebird (Nintendo, set 1)", GAME_IMPERFECT_COLORS | GAME_IMPERFECT_SOUND )
563GAME( 1980, spacefbu, spacefb, spacefb, spacefb,  0, ROT270, "Nintendo", "Space Firebird (Nintendo, set 2)", GAME_IMPERFECT_COLORS | GAME_IMPERFECT_SOUND )
564GAME( 1980, spacefbe, spacefb, spacefb, spacefb,  0, ROT270, "Nintendo", "Space Firebird (Nintendo, set 3)", GAME_IMPERFECT_COLORS | GAME_IMPERFECT_SOUND )
587GAME( 1980, spacefb,  0,       spacefb, spacefb,  0, ROT270, "Nintendo", "Space Firebird (rev. 04-u)", GAME_IMPERFECT_COLORS | GAME_IMPERFECT_SOUND )
588GAME( 1980, spacefbe, spacefb, spacefb, spacefb,  0, ROT270, "Nintendo", "Space Firebird (rev. 03-e set 1)", GAME_IMPERFECT_COLORS | GAME_IMPERFECT_SOUND )
589GAME( 1980, spacefbe2,spacefb, spacefb, spacefb,  0, ROT270, "Nintendo", "Space Firebird (rev. 03-e set 2)", GAME_IMPERFECT_COLORS | GAME_IMPERFECT_SOUND )
590GAME( 1980, spacefba, spacefb, spacefb, spacefb,  0, ROT270, "Nintendo", "Space Firebird (rev. 02-a)", GAME_IMPERFECT_COLORS | GAME_IMPERFECT_SOUND )
565591GAME( 1980, spacefbg, spacefb, spacefb, spacefb,  0, ROT270, "Nintendo (Gremlin license)", "Space Firebird (Gremlin)", GAME_IMPERFECT_COLORS | GAME_IMPERFECT_SOUND )
566592GAME( 1980, spacebrd, spacefb, spacefb, spacefb,  0, ROT270, "bootleg (Karateco)", "Space Bird (bootleg)", GAME_IMPERFECT_COLORS | GAME_IMPERFECT_SOUND )
567593GAME( 1980, spacefbb, spacefb, spacefb, spacefb,  0, ROT270, "bootleg", "Space Firebird (bootleg)", GAME_IMPERFECT_COLORS | GAME_IMPERFECT_SOUND )
src/mame/drivers/meyc8088.c
r15067r15068
2020#include "emu.h"
2121#include "cpu/i86/i86.h"
2222#include "machine/i8155.h"
23#include "machine/nvram.h"
2324#include "sound/dac.h"
24#include "machine/nvram.h"
25#include "video/resnet.h"
2526
2627class meyc8088_state : public driver_device
2728{
r15067r15068
5253
5354***************************************************************************/
5455
56/***************************************************************************
57
58  Convert the color PROMs into a more useable format.
59
60  The palette PROM is connected to the RGB output this way:
61  (even and uneven pins were switched around in the schematics)
62
63  bit 7 -- N/C
64        -- 820 ohm resistor  -- GREEN
65        --                   -- GREEN
66        -- 820 ohm resistor  -- BLUE
67        --                   -- BLUE
68        -- 820 ohm resistor  -- RED
69        --                   -- RED
70  bit 0 -- N/C
71
72  plus 330 ohm pullup resistors on all lines
73
74***************************************************************************/
75
76static const res_net_decode_info meyc8088_decode_info =
77{
78   1,      // there may be two proms needed to construct color
79   0, 31,   // start/end
80   //  R,   G,   B,
81   {   0,   0,   0, },      // offsets
82   {   1,   5,   3, },      // shifts
83   {0x03,0x03,0x03, }       // masks
84};
85
86static const res_net_info meyc8088_net_info =
87{
88   RES_NET_VCC_5V | RES_NET_VBIAS_5V | RES_NET_VIN_OPEN_COL,
89   {
90      { RES_NET_AMP_NONE, 330, 0, 2, { 1, 820 } },
91      { RES_NET_AMP_NONE, 330, 0, 2, { 1, 820 } },
92      { RES_NET_AMP_NONE, 330, 0, 2, { 1, 820 } }
93   }
94};
95
96PALETTE_INIT( meyc8088 )
97{
98   const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
99   rgb_t *rgb;
100
101   rgb = compute_res_net_all(machine, color_prom, &meyc8088_decode_info, &meyc8088_net_info);
102   palette_set_colors(machine, 0, rgb, 32);
103   auto_free(machine, rgb);
104}
105
55106static SCREEN_UPDATE_IND16( meyc8088 )
56107{
57108   meyc8088_state *state = screen.machine().driver_data<meyc8088_state>();
r15067r15068
315366   MCFG_SCREEN_VBLANK_STATIC(meyc8088)
316367
317368   MCFG_PALETTE_LENGTH(32)
369   MCFG_PALETTE_INIT(meyc8088)
318370
319371   /* sound hardware */
320372   MCFG_SPEAKER_STANDARD_MONO("mono")
r15067r15068
335387ROM_END
336388
337389
338GAME( 1984, gldarrow, 0,        meyc8088, gldarrow, 0, ROT0,  "Meyco Games, Inc.", "Golden Arrow (Standard G8-03)", GAME_NOT_WORKING | GAME_WRONG_COLORS )
390GAME( 1984, gldarrow, 0,        meyc8088, gldarrow, 0, ROT0,  "Meyco Games, Inc.", "Golden Arrow (Standard G8-03)", GAME_NOT_WORKING )
src/mame/drivers/subsino2.c
r15067r15068
9696   UINT8 m_dsw_mask;
9797   optional_shared_ptr<UINT16> m_outputs16;
9898   optional_shared_ptr<UINT8> m_outputs;
99   required_shared_ptr<UINT8> m_am188em_regs;
99   optional_shared_ptr<UINT8> m_am188em_regs;
100100   UINT16 m_bishjan_sel;
101101   UINT16 m_bishjan_input;
102102   DECLARE_WRITE8_MEMBER(ss9601_byte_lo_w);
src/mame/drivers/epos.c
r15067r15068
8989   ADDRESS_MAP_GLOBAL_MASK(0xff)
9090   AM_RANGE(0x10, 0x13) AM_DEVREADWRITE_LEGACY("ppi8255", ppi8255_r, ppi8255_w)
9191   AM_RANGE(0x20, 0x24) AM_WRITE(dealer_decrypt_rom)
92   AM_RANGE(0x34, 0x34) AM_DEVWRITE_LEGACY("aysnd", ay8910_data_w)
9293   AM_RANGE(0x38, 0x38) AM_READ_PORT("DSW")
93//  AM_RANGE(0x40, 0x40) AM_WRITE(watchdog_reset_w)
94   AM_RANGE(0x3C, 0x3C) AM_DEVWRITE_LEGACY("aysnd", ay8910_address_w)
95   AM_RANGE(0x40, 0x40) AM_WRITE(watchdog_reset_w)
9496ADDRESS_MAP_END
9597
9698
src/emu/sound/i5000.c
r15067r15068
4545
4646   m_rom_base = (UINT16 *)device().machine().root_device().memregion(":i5000snd")->base();
4747   m_rom_mask = device().machine().root_device().memregion(":i5000snd")->bytes() / 2 - 1;
48   
49   // register for savestates
50   for (int ch = 0; ch < 16; ch++)
51   {
52      save_item(NAME(m_channels[ch].is_playing), ch);
53      save_item(NAME(m_channels[ch].m_adpcm.m_signal), ch);
54      save_item(NAME(m_channels[ch].m_adpcm.m_step), ch);
55
56        save_item(NAME(m_channels[ch].address), ch);
57        save_item(NAME(m_channels[ch].freq_timer), ch);
58        save_item(NAME(m_channels[ch].freq_base), ch);
59        save_item(NAME(m_channels[ch].freq_min), ch);
60        save_item(NAME(m_channels[ch].sample), ch);
61        save_item(NAME(m_channels[ch].shift_pos), ch);
62        save_item(NAME(m_channels[ch].shift_amount), ch);
63        save_item(NAME(m_channels[ch].shift_mask), ch);
64        save_item(NAME(m_channels[ch].vol_r), ch);
65        save_item(NAME(m_channels[ch].vol_l), ch);
66        save_item(NAME(m_channels[ch].output_r), ch);
67        save_item(NAME(m_channels[ch].output_l), ch);
68   }
69   
70   save_item(NAME(m_regs));
4871}
4972
5073
src/emu/sound/sound.mak
r15067r15068
379379# OKI ADPCM sample players
380380#-------------------------------------------------
381381
382ifneq ($(filter OKIM6258 OKIM6295 OKIM9810,$(SOUNDS)),)
382ifneq ($(filter OKIM6258 OKIM6295 OKIM9810 I5000_SND,$(SOUNDS)),)
383383SOUNDOBJS += $(SOUNDOBJ)/okiadpcm.o
384384endif
385385
src/emu/machine/idectrl.c
r15067r15068
1212    DEBUGGING
1313***************************************************************************/
1414
15#define VERBOSE                  1
15#define VERBOSE                 
1616#define PRINTF_IDE_COMMANDS         0
1717#define PRINTF_IDE_PASSWORD         0
1818
makefile
r15067r15068
163163
164164# uncomment and specify architecture-specific optimizations here
165165# some examples:
166#   optimize for I686:   ARCHOPTS = -march=pentiumpro
167#   optimize for Core 2: ARCHOPTS = -march=core2
168#   optimize for G4:     ARCHOPTS = -mcpu=G4
166#   ARCHOPTS = -march=pentiumpro  # optimize for I686
167#   ARCHOPTS = -march=core2       # optimize for Core 2
168#   ARCHOPTS = -march=native      # optimize for local machine (auto detect)
169#   ARCHOPTS = -mcpu=G4           # optimize for G4
169170# note that we leave this commented by default so that you can
170171# configure this in your environment and never have to think about it
171172# ARCHOPTS =
r15067r15068
211212# uncomment next line to build zlib as part of MAME build
212213BUILD_ZLIB = 1
213214
215# uncomment next line to build libflac as part of MAME build
216BUILD_FLAC = 1
217
218# uncomment next line to build jpeglib as part of MAME build
219BUILD_JPEGLIB = 1
220
214221# uncomment next line to include the symbols
215222# SYMBOLS = 1
216223
r15067r15068
411418endif
412419
413420# need to ensure FLAC functions are statically linked
421ifeq ($(BUILD_FLAC),1)
414422DEFS += -DFLAC__NO_DLL
423endif
415424
425# define USE_SYSTEM_JPEGLIB if library shipped with MAME is not used
426ifneq ($(BUILD_JPEGLIB),1)
427DEFS += -DUSE_SYSTEM_JPEGLIB
428endif
416429
417430
431
418432#-------------------------------------------------
419433# compile flags
420434# CCOMFLAGS are common flags
r15067r15068
620634ZLIB =
621635endif
622636
637# add flac library
638ifeq ($(BUILD_FLAC),1)
639INCPATH += -I$(SRC)/lib/util
640FLAC_LIB = $(OBJ)/libflac.a
641# $(OBJ)/libflac++.a
642else
643LIBS += -lFLAC
644FLAC_LIB =
645endif
646
647# add jpeglib image library
648ifeq ($(BUILD_JPEGLIB),1)
649INCPATH += -I$(SRC)/lib/libjpeg
650JPEG_LIB = $(OBJ)/libjpeg.a
651else
652LIBS += -ljpeg
653JPEG_LIB =
654endif
655
623656# add SoftFloat floating point emulation library
624657SOFTFLOAT = $(OBJ)/libsoftfloat.a
625658
626659# add formats emulation library
627660FORMATS_LIB = $(OBJ)/libformats.a
628661
629JPEG_LIB = $(OBJ)/libjpeg.a
630
631662#-------------------------------------------------
632663# 'default' target needs to go here, before the
633664# include files which define additional targets
r15067r15068
637668
638669all: default tools
639670
640FLAC_LIB = $(OBJ)/libflac.a
641# $(OBJ)/libflac++.a
642671
643
6446727Z_LIB = $(OBJ)/lib7z.a
645673
646674#-------------------------------------------------

Previous 15994 Revisions Next


© 1998-2018 The MESS Team