trunk/hash/megadriv.xml
| r21464 | r21465 | |
| 16683 | 16683 | </part> |
| 16684 | 16684 | </software> |
| 16685 | 16685 | |
| 16686 | | <software name="pokemona" cloneof="pokemon" supported="no"> |
| 16687 | | <description>Pocket Monsters (Alt)</description> |
| 16686 | <software name="pokemona" cloneof="pokemon"> |
| 16687 | <description>Pocket Monsters (Alt Protection)</description> |
| 16688 | 16688 | <year>199?</year> |
| 16689 | 16689 | <publisher><unlicensed></publisher> |
| 16690 | 16690 | <part name="cart" interface="megadriv_cart"> |
| 16691 | <feature name="slot" value="rom_pokea" /> |
| 16691 | 16692 | <dataarea name="rom" size="2097152"> |
| 16692 | 16693 | <rom name="pocket monsters (unl) (alt).bin" size="2097152" crc="fb176667" sha1="3d667aea1b6fa980dddcc10e65845a6831491792" offset="000000" loadflag="load16_word_swap" /> |
| 16693 | 16694 | </dataarea> |
trunk/src/mess/drivers/megadriv.c
| r21464 | r21465 | |
| 336 | 336 | SLOT_INTERFACE_INTERNAL("rom_lion3", MD_ROM_LION3) |
| 337 | 337 | SLOT_INTERFACE_INTERNAL("rom_mcpir", MD_ROM_MCPIR) |
| 338 | 338 | SLOT_INTERFACE_INTERNAL("rom_mjlov", MD_ROM_MJLOV) |
| 339 | SLOT_INTERFACE_INTERNAL("rom_pokea", MD_ROM_POKEA) |
| 339 | 340 | SLOT_INTERFACE_INTERNAL("rom_pokestad", MD_ROM_POKESTAD) |
| 340 | 341 | SLOT_INTERFACE_INTERNAL("rom_realtec", MD_ROM_REALTEC) |
| 341 | 342 | SLOT_INTERFACE_INTERNAL("rom_redcl", MD_ROM_REDCL) |
trunk/src/mess/machine/md_rom.c
| r21464 | r21465 | |
| 42 | 42 | const device_type MD_ROM_LION2 = &device_creator<md_rom_lion2_device>; |
| 43 | 43 | const device_type MD_ROM_LION3 = &device_creator<md_rom_lion3_device>; |
| 44 | 44 | const device_type MD_ROM_MCPIR = &device_creator<md_rom_mcpirate_device>; |
| 45 | const device_type MD_ROM_POKEA = &device_creator<md_rom_pokea_device>; |
| 45 | 46 | const device_type MD_ROM_POKESTAD = &device_creator<md_rom_pokestad_device>; |
| 46 | 47 | const device_type MD_ROM_REALTEC = &device_creator<md_rom_realtec_device>; |
| 47 | 48 | const device_type MD_ROM_REDCL = &device_creator<md_rom_redcl_device>; |
| r21464 | r21465 | |
| 115 | 116 | } |
| 116 | 117 | |
| 117 | 118 | md_rom_rx3_device::md_rom_rx3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 118 | | : md_std_rom_device(mconfig, MD_ROM_SMB2, "MD Rockman X3", tag, owner, clock) |
| 119 | : md_std_rom_device(mconfig, MD_ROM_RX3, "MD Rockman X3", tag, owner, clock) |
| 119 | 120 | { |
| 120 | 121 | } |
| 121 | 122 | |
| r21464 | r21465 | |
| 130 | 131 | } |
| 131 | 132 | |
| 132 | 133 | md_rom_kof99_device::md_rom_kof99_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 133 | | : md_std_rom_device(mconfig, MD_ROM_KOF99, "MD KOF 99", tag, owner, clock) |
| 134 | : md_std_rom_device(mconfig, MD_ROM_KOF99, "MD KOF 99 (and others)", tag, owner, clock) |
| 134 | 135 | { |
| 135 | 136 | } |
| 136 | 137 | |
| r21464 | r21465 | |
| 164 | 165 | { |
| 165 | 166 | } |
| 166 | 167 | |
| 168 | md_rom_pokea_device::md_rom_pokea_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 169 | : md_std_rom_device(mconfig, MD_ROM_POKEA, "MD Pokemon (Alt Protection)", tag, owner, clock) |
| 170 | { |
| 171 | } |
| 172 | |
| 167 | 173 | md_rom_pokestad_device::md_rom_pokestad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 168 | 174 | : md_std_rom_device(mconfig, MD_ROM_POKESTAD, "MD Pokemon Stadium", tag, owner, clock) |
| 169 | 175 | { |
| r21464 | r21465 | |
| 769 | 775 | } |
| 770 | 776 | |
| 771 | 777 | /*------------------------------------------------- |
| 778 | POKEMON ALT |
| 779 | -------------------------------------------------*/ |
| 780 | |
| 781 | READ16_MEMBER(md_rom_pokea_device::read_a13) |
| 782 | { |
| 783 | if (offset == 0x00/2) return 0x14; |
| 784 | if (offset == 0x02/2) return 0x01; |
| 785 | if (offset == 0x3e/2) return 0x1f; |
| 786 | else return 0xffff; |
| 787 | } |
| 788 | |
| 789 | /*------------------------------------------------- |
| 772 | 790 | REALTEC |
| 773 | 791 | -------------------------------------------------*/ |
| 774 | 792 | |
trunk/src/mess/machine/md_rom.h
| r21464 | r21465 | |
| 254 | 254 | virtual DECLARE_READ16_MEMBER(read); |
| 255 | 255 | }; |
| 256 | 256 | |
| 257 | // ======================> md_rom_pokea_device |
| 258 | |
| 259 | class md_rom_pokea_device : public md_std_rom_device |
| 260 | { |
| 261 | public: |
| 262 | // construction/destruction |
| 263 | md_rom_pokea_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 264 | |
| 265 | // device-level overrides |
| 266 | virtual void device_config_complete() { m_shortname = "md_rom_pokea"; } |
| 267 | |
| 268 | // reading and writing |
| 269 | virtual DECLARE_READ16_MEMBER(read_a13); |
| 270 | }; |
| 271 | |
| 257 | 272 | // ======================> md_rom_pokestad_device |
| 258 | 273 | |
| 259 | 274 | class md_rom_pokestad_device : public md_std_rom_device |
| r21464 | r21465 | |
| 539 | 554 | extern const device_type MD_ROM_LION3; |
| 540 | 555 | extern const device_type MD_ROM_MCPIR; |
| 541 | 556 | extern const device_type MD_ROM_MJLOV; |
| 557 | extern const device_type MD_ROM_POKEA; |
| 542 | 558 | extern const device_type MD_ROM_POKESTAD; |
| 543 | 559 | extern const device_type MD_ROM_REALTEC; |
| 544 | 560 | extern const device_type MD_ROM_REDCL; |
trunk/src/mess/machine/md_slot.c
| r21464 | r21465 | |
| 272 | 272 | { LIONK3, "rom_lion3" }, |
| 273 | 273 | { MC_PIRATE, "rom_mcpir" }, |
| 274 | 274 | { MJLOVER, "rom_mjlov" }, |
| 275 | { POKEMONA, "rom_pokea" }, |
| 275 | 276 | { REALTEC, "rom_realtec" }, |
| 276 | 277 | { REDCL_EN, "rom_redcl" }, |
| 277 | 278 | { REDCLIFF, "rom_redcl" }, |
trunk/src/mess/machine/md_slot.h
| r21464 | r21465 | |
| 55 | 55 | LIONK3, /* Lion King 3, Super Donkey Kong 99, Super King Kong 99 */ |
| 56 | 56 | MC_PIRATE, /* Super 19 in 1, Super 15 in 1, 12 in 1 and a few more multicarts */ |
| 57 | 57 | MJLOVER, /* Mahjong Lover */ |
| 58 | POKEMONA, /* Pocket Monster Alt Protection */ |
| 58 | 59 | REALTEC, /* Whac a Critter/Mallet legend, Defend the Earth, Funnyworld/Ballonboy */ |
| 59 | 60 | REDCLIFF, /* Romance of the Three Kingdoms - Battle of Red Cliffs, already decoded from .mdx format */ |
| 60 | 61 | REDCL_EN, /* The encoded version... */ |