trunk/hash/casloopy.xml
| r252934 | r252935 | |
| 3 | 3 | <softwarelist name="casloopy" description="Casio Loopy cartridges"> |
| 4 | 4 | |
| 5 | 5 | <!-- Undumped titles: |
| 6 | | - Loopy Town no Oheya ga Hoshii! (ルーピータウンのおへやがほしい!) |
| 7 | 6 | - Little Romance (リトルロマンス) |
| 8 | | - Lupiton no Wonder Palette (ルピトンのワンダーパレット) |
| 9 | 7 | - Chakura-kun no Omajinai Paradise (チャクラくんのおまじないパラダイス) |
| 10 | 8 | - Magical Shop [add-on to extract images from vhs/dvd?] |
| 11 | 9 | --> |
| r252934 | r252935 | |
| 87 | 85 | </dataarea> |
| 88 | 86 | </part> |
| 89 | 87 | </software> |
| 88 | |
| 89 | <software name="loopytwn"> |
| 90 | <description>Loopy Town no Oheya ga Hoshii!</description> |
| 91 | <year>1996</year> |
| 92 | <publisher>Casio</publisher> |
| 93 | <info name="serial" value="XK-504"/> |
| 94 | <info name="alt_name" value="ルーピータウンのおへやがほしい!"/> |
| 95 | <part name="cart" interface="loopy_cart"> |
| 96 | <dataarea name="rom" size="0x300000"> |
| 97 | <rom name="CHIP1.IC104" size="0x200000" crc="bae71d45" sha1="79628715ccedd9bc3fd72d21fa9ea6513b88cf51" offset="0x000000" /> |
| 98 | <rom name="CHIP2.IC105" size="0x100000" crc="e0514d03" sha1="4dd02faa1ebf6754da0ade417e488512f3502620" offset="0x200000" /> |
| 99 | </dataarea> |
| 100 | </part> |
| 101 | </software> |
| 102 | |
| 103 | <software name="lupiton"> |
| 104 | <description>Lupiton no Wonder Palette</description> |
| 105 | <year>1995</year> |
| 106 | <publisher>Casio</publisher> |
| 107 | <info name="serial" value="XK-701"/> |
| 108 | <info name="alt_name" value="ルピトンのワンダーパレット"/> |
| 109 | <part name="cart" interface="loopy_cart"> |
| 110 | <dataarea name="rom" size="0x200000"> |
| 111 | <rom name="lupiton.bin" size="0x200000" crc="338a5af7" sha1="ddb3e2b363ef0325a1370511f3692ca47031cb46" offset="0x000000" /> |
| 112 | </dataarea> |
| 113 | </part> |
| 114 | </software> |
| 115 | |
| 90 | 116 | </softwarelist> |
trunk/src/mame/drivers/casloopy.cpp
| r252934 | r252935 | |
| 320 | 320 | |
| 321 | 321 | WRITE16_MEMBER(casloopy_state::vregs_w) |
| 322 | 322 | { |
| 323 | | if(offset != 6/2) |
| 324 | | printf("%08x %08x\n",offset*2,data); |
| 323 | // if(offset != 6/2) |
| 324 | // printf("%08x %08x\n",offset*2,data); |
| 325 | 325 | } |
| 326 | 326 | |
| 327 | 327 | READ16_MEMBER(casloopy_state::pal_r) |
| r252934 | r252935 | |
| 422 | 422 | AM_RANGE(0x0405b000, 0x0405b00f) AM_RAM AM_SHARE("vregs") // RGB555 brightness control plus scrolling |
| 423 | 423 | // AM_RANGE(0x05ffff00, 0x05ffffff) AM_READWRITE16(sh7021_r, sh7021_w, 0xffffffff) |
| 424 | 424 | // AM_RANGE(0x05ffff00, 0x05ffffff) - SH7021 internal i/o |
| 425 | | AM_RANGE(0x06000000, 0x061fffff) AM_READ(cart_r) |
| 425 | AM_RANGE(0x06000000, 0x062fffff) AM_READ(cart_r) |
| 426 | 426 | AM_RANGE(0x07000000, 0x070003ff) AM_RAM AM_SHARE("oram")// on-chip RAM, actually at 0xf000000 (1 kb) |
| 427 | 427 | AM_RANGE(0x09000000, 0x0907ffff) AM_RAM AM_SHARE("wram") |
| 428 | | AM_RANGE(0x0e000000, 0x0e1fffff) AM_READ(cart_r) |
| 428 | AM_RANGE(0x0e000000, 0x0e2fffff) AM_READ(cart_r) |
| 429 | 429 | AM_RANGE(0x0f000000, 0x0f0003ff) AM_RAM AM_SHARE("oram") |
| 430 | 430 | ADDRESS_MAP_END |
| 431 | 431 | |
| r252934 | r252935 | |
| 479 | 479 | UINT32 size = m_cart->common_get_size("rom"); |
| 480 | 480 | UINT8 *SRC, *DST; |
| 481 | 481 | dynamic_buffer temp; |
| 482 | | temp.resize(0x200000); |
| 482 | temp.resize(size); |
| 483 | 483 | |
| 484 | 484 | m_cart->rom_alloc(size, GENERIC_ROM32_WIDTH, ENDIANNESS_LITTLE); |
| 485 | 485 | |
| r252934 | r252935 | |
| 488 | 488 | m_cart->common_load_rom(&temp[0], size, "rom"); |
| 489 | 489 | |
| 490 | 490 | // fix endianness |
| 491 | | for (int i = 0; i < 0x200000; i += 4) |
| 491 | for (int i = 0; i < size; i += 4) |
| 492 | 492 | { |
| 493 | 493 | UINT8 tempa = SRC[i + 0]; |
| 494 | 494 | UINT8 tempb = SRC[i + 1]; |