trunk/src/mame/drivers/rockrage.c
r241725 | r241726 | |
210 | 210 | }; |
211 | 211 | |
212 | 212 | static GFXDECODE_START( rockrage ) |
213 | | GFXDECODE_ENTRY( "gfx1", 0, charlayout, 64, 32 ) /* colors 00..31, but using 2 lookup tables */ |
214 | | GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 32, 1 ) /* colors 32..63 */ |
| 213 | GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 32 ) /* colors 00..31, using 2 lookup tables */ |
| 214 | GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 512, 16 ) /* colors 32..47, using lookup table */ |
215 | 215 | GFXDECODE_END |
216 | 216 | |
217 | 217 | /*************************************************************************** |
r241725 | r241726 | |
227 | 227 | m_rombank->configure_entries(0, 8, &ROM[0x10000], 0x2000); |
228 | 228 | |
229 | 229 | save_item(NAME(m_vreg)); |
230 | | save_item(NAME(m_layer_colorbase)); |
231 | 230 | } |
232 | 231 | |
233 | 232 | void rockrage_state::machine_reset() |
r241725 | r241726 | |
268 | 267 | MCFG_K007420_PALETTE("palette") |
269 | 268 | |
270 | 269 | MCFG_GFXDECODE_ADD("gfxdecode", "palette", rockrage) |
271 | | MCFG_PALETTE_ADD("palette", 64 + 2*16*16) |
| 270 | MCFG_PALETTE_ADD("palette", 16*16*3) |
272 | 271 | MCFG_PALETTE_INDIRECT_ENTRIES(64) |
273 | 272 | MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR) |
274 | 273 | MCFG_PALETTE_ENDIANNESS(ENDIANNESS_LITTLE) |
r241725 | r241726 | |
310 | 309 | ROM_LOAD( "620l10.8g", 0x020000, 0x20000, CRC(06d108e0) SHA1(cae8c5f2fc4e84bc7adbf27f71a18a74968c4296) ) /* One "K" & one "L" code version??? */ |
311 | 310 | |
312 | 311 | ROM_REGION( 0x0300, "proms", 0 ) |
313 | | ROM_LOAD( "620k09.11g", 0x00000, 0x00100, CRC(9f0e0608) SHA1(c95bdb370e4a91f27afbd5ff3b39b2e0ad87da73) ) /* layer 0 lookup table */ |
| 312 | ROM_LOAD( "620k07.13g", 0x00000, 0x00100, CRC(b6135ee0) SHA1(248a978987cff86c2bbad10ef332f63a6abd5bee) ) /* layer 0 lookup table */ |
314 | 313 | ROM_LOAD( "620k08.12g", 0x00100, 0x00100, CRC(b499800c) SHA1(46fa4e071ebceed12027de109be1e16dde5e846e) ) /* layer 1 lookup table */ |
315 | | ROM_LOAD( "620k07.13g", 0x00200, 0x00100, CRC(b6135ee0) SHA1(248a978987cff86c2bbad10ef332f63a6abd5bee) ) /* sprite lookup table, but its not used */ |
316 | | /* because it's always 0 1 2 ... f */ |
| 314 | ROM_LOAD( "620k09.11g", 0x00200, 0x00100, CRC(9f0e0608) SHA1(c95bdb370e4a91f27afbd5ff3b39b2e0ad87da73) ) /* sprite lookup table */ |
| 315 | |
317 | 316 | ROM_REGION( 0x08000, "vlm", 0 ) /* VLM3050 data */ |
318 | 317 | ROM_LOAD( "620k04.6e", 0x00000, 0x08000, CRC(8be969f3) SHA1(9856b4c13fac77b645aed67a08cb4965b4966492) ) |
319 | 318 | ROM_END |
r241725 | r241726 | |
339 | 338 | ROM_LOAD( "620g10b.8f", 0x030000, 0x10000, CRC(1618854a) SHA1(0afb34a9ed97f13c1910acd7767cb8546ea7e6cd) ) |
340 | 339 | |
341 | 340 | ROM_REGION( 0x0300, "proms", 0 ) |
342 | | ROM_LOAD( "620k09.11g", 0x00000, 0x00100, CRC(9f0e0608) SHA1(c95bdb370e4a91f27afbd5ff3b39b2e0ad87da73) ) /* layer 0 lookup table */ |
| 341 | ROM_LOAD( "620k07.13g", 0x00000, 0x00100, CRC(b6135ee0) SHA1(248a978987cff86c2bbad10ef332f63a6abd5bee) ) /* layer 0 lookup table */ |
343 | 342 | ROM_LOAD( "620k08.12g", 0x00100, 0x00100, CRC(b499800c) SHA1(46fa4e071ebceed12027de109be1e16dde5e846e) ) /* layer 1 lookup table */ |
344 | | ROM_LOAD( "620k07.13g", 0x00200, 0x00100, CRC(b6135ee0) SHA1(248a978987cff86c2bbad10ef332f63a6abd5bee) ) /* sprite lookup table, but its not used */ |
345 | | /* because it's always 0 1 2 ... f */ |
| 343 | ROM_LOAD( "620k09.11g", 0x00200, 0x00100, CRC(9f0e0608) SHA1(c95bdb370e4a91f27afbd5ff3b39b2e0ad87da73) ) /* sprite lookup table */ |
| 344 | |
346 | 345 | ROM_REGION( 0x08000, "vlm", 0 ) /* VLM3050 data */ |
347 | 346 | ROM_LOAD( "620k04.6e", 0x00000, 0x08000, CRC(8be969f3) SHA1(9856b4c13fac77b645aed67a08cb4965b4966492) ) /* Same rom but labeled as ver "G" */ |
348 | 347 | ROM_END |
r241725 | r241726 | |
364 | 363 | ROM_LOAD( "620k10.8g", 0x020000, 0x20000, CRC(0d1a95ab) SHA1(be565424f17af31dcd07004c6be03bbb00aef514) ) |
365 | 364 | |
366 | 365 | ROM_REGION( 0x0300, "proms", 0 ) |
367 | | ROM_LOAD( "620k09.11g", 0x00000, 0x00100, CRC(9f0e0608) SHA1(c95bdb370e4a91f27afbd5ff3b39b2e0ad87da73) ) /* layer 0 lookup table */ |
| 366 | ROM_LOAD( "620k07.13g", 0x00000, 0x00100, CRC(b6135ee0) SHA1(248a978987cff86c2bbad10ef332f63a6abd5bee) ) /* layer 0 lookup table */ |
368 | 367 | ROM_LOAD( "620k08.12g", 0x00100, 0x00100, CRC(b499800c) SHA1(46fa4e071ebceed12027de109be1e16dde5e846e) ) /* layer 1 lookup table */ |
369 | | ROM_LOAD( "620k07.13g", 0x00200, 0x00100, CRC(b6135ee0) SHA1(248a978987cff86c2bbad10ef332f63a6abd5bee) ) /* sprite lookup table, but its not used */ |
370 | | /* because it's always 0 1 2 ... f */ |
| 368 | ROM_LOAD( "620k09.11g", 0x00200, 0x00100, CRC(9f0e0608) SHA1(c95bdb370e4a91f27afbd5ff3b39b2e0ad87da73) ) /* sprite lookup table */ |
| 369 | |
371 | 370 | ROM_REGION( 0x08000, "vlm", 0 ) /* VLM3050 data */ |
372 | 371 | ROM_LOAD( "620k04.6e", 0x00000, 0x08000, CRC(8be969f3) SHA1(9856b4c13fac77b645aed67a08cb4965b4966492) ) |
373 | 372 | ROM_END |