Previous | 199869 Revisions | Next |
r37146 Sunday 12th April, 2015 at 21:11:40 UTC by Luca Elia |
---|
sigmab98.c: fixed position of zoomed sprites and added sprite RAM buffer. Emulated background color register. Removed some ROM patches [Luca Elia] New games added or promoted from NOT_WORKING status --------------------------------------------------- Minna Atsumare! Dodge Hero [anonyMous, Luca Elia] Itazura Daisuki! Sushimaru Kun [anonyMous, Luca Elia] Burning Sanrinsya - Burning Tricycle [anonyMous, Luca Elia] Transformers Beast Wars II [anonyMous, Luca Elia] New games marked as GAME_NOT_WORKING ------------------------------------ Minna Ganbare! Dash Hero [anonyMous, Luca Elia] |
[src/mame] | mame.lst |
[src/mame/drivers] | sigmab98.c |
r245657 | r245658 | |
---|---|---|
10 | 10 | NVRAM : 93C46, Battery |
11 | 11 | |
12 | 12 | Graphics are made of sprites only. |
13 | Each sprite is composed of X x Y tiles and can be zoomed / shrunk. | |
13 | Each sprite is composed of X x Y tiles and can be zoomed / shrunk and rotated. | |
14 | 14 | Tiles can be 16x16x4 or 16x16x8. |
15 | 15 | |
16 | ---------------------------------------------------------------- | |
16 | Some videos: | |
17 | https://www.youtube.com/channel/UCYFiPd3FukrmNJa3pfIKf-Q/search?query=sigma | |
18 | https://www.youtube.com/channel/UCYFiPd3FukrmNJa3pfIKf-Q/search?query=sammy | |
19 | https://www.youtube.com/user/analysis08/search?query=sammy | |
20 | http://www.nicozon.net/watch/sm14334996 | |
17 | 21 | |
22 | Dumped games: | |
23 | ||
24 | 1997 Minna Atsumare! Dodge Hero b9802 https://youtu.be/2eXDQnKCT6A | |
25 | 1997 Itazura Daisuki! Sushimaru Kun b9803 https://youtu.be/nhvbZ71KWr8 | |
26 | 1997 GeGeGe no Kitarou Youkai Slot b9804 | |
27 | 1997 Burning Sanrinsya b9805 | |
28 | 1997 PEPSI Man b9806 https://youtu.be/p3cbZ67m4lo | |
29 | 1998 Transformers Beast Wars II b9808 | |
30 | 1997 Uchuu Tokkyuu Medalian b9809 https://youtu.be/u813kBOZbwI | |
31 | 2000 Minna Ganbare! Dash Hero b9811 | |
32 | ||
33 | -------------------------------------------------------------------------------------- | |
34 | ||
18 | 35 | Sammy Kids Medal Series |
19 | 36 | |
20 | 37 | CPU : KL5C80A120FP (Z80 Compatible High Speed Microcontroller) |
r245657 | r245658 | |
31 | 48 | |
32 | 49 | Dumped games: |
33 | 50 | |
34 | Animal Catch | |
35 | Itazura Monkey | |
36 | Taihou de Doboon | |
37 | Pye-nage Taikai | |
38 | Hae Hae Ka Ka Ka | |
51 | 2000 Animal Catch https://youtu.be/U4L5EwWbxqw | |
52 | 2000 Itazura Monkey https://youtu.be/GHxiqUQRpV8 | |
53 | 2000 Pye-nage Taikai https://youtu.be/oL2OIbrv-KI | |
54 | 2000 Taihou de Doboon https://youtu.be/loPP3jt0Ob0 | |
55 | 2001 Hae Hae Ka Ka Ka https://youtu.be/37IxYCg0tic | |
39 | 56 | |
40 | 57 | Games with the same cabinet which might be on the same hardware: |
41 | 58 | |
42 | 59 | 1999 Shatekids |
43 | 60 | 1999 Otakara Locomo |
44 | 61 | 1999 Dokidoki Kingyosukui |
45 | 2000 Taihou de Doboon | |
46 | 2000 Pye-nage Taikai | |
47 | 2000 Animal Catch | |
48 | 2000 Itazura Monkey | |
49 | 62 | 2000 Otoshicha Ottotto |
50 | 63 | 2000 Go Go Cowboy |
51 | 64 | 2001 Mushitori Meijin |
52 | 65 | 2001 Morino Dodgeball Senshuken |
53 | 66 | 2001 Waiwai Wanage |
54 | 2001 Hae Hae Ka Ka Ka | |
55 | 67 | 2001 Zarigani Tsuri |
56 | 68 | 2001 Kotekitai Slot |
57 | 69 | 2002 Shateki Yokochou |
r245657 | r245658 | |
68 | 80 | from: |
69 | 81 | http://www.tsc-acnet.com/index.php?sort=8&action=cataloglist&s=1&mode=3&genre_id=40&freeword=%25A5%25B5%25A5%25DF%25A1%25BC |
70 | 82 | |
83 | -------------------------------------------------------------------------------------- | |
84 | ||
71 | 85 | To Do: |
72 | 86 | |
73 | 87 | - KL5C80 emulation is needed to consolidate the sammymdl games in one memory map and to run the BIOS |
74 | - Remove ROM patches from gegege, pepsiman | |
75 | - gegege checks the EEPROM output after reset, and wants a timed 0->1 transition or locks up while | |
88 | - Sprites rotation, e.g. logo in dashhero, pepsiman https://youtu.be/p3cbZ67m4lo?t=1m24s, tdoboon https://youtu.be/loPP3jt0Ob0 | |
89 | - Remove ROM patches: gegege checks the EEPROM output after reset, and wants a timed 0->1 transition or locks up while | |
76 | 90 | saving setting in service mode. Using a reset_delay of 7 works, unless when "play style" is set |
77 | 91 | to "coin" (it probably changes the number of reads from port $C0). |
78 | 92 | I guess the reset_delay mechanism should be implemented with a timer in eeprom.c. |
79 | - animalc needs a green backgound during part of the intro (floating animals in and out of the screen). | |
80 | This can be achieved using either pen 0 or ff as background color, but messes up the other games. | |
81 | 93 | - pyenaget intro: when the theater scrolls out to the left, the train should scroll in from the right, |
82 | 94 | with no visible gaps. It currently leaves the screen empty instead, for several seconds. |
95 | - dashhero does not acknowledge the button bashing correctly, it's very hard to win (a slower pace works better!) | |
83 | 96 | |
84 | 97 | Notes: |
85 | 98 | |
r245657 | r245658 | |
89 | 102 | |
90 | 103 | #include "emu.h" |
91 | 104 | #include "cpu/z80/z80.h" |
105 | #include "video/bufsprite.h" | |
92 | 106 | #include "sound/okim9810.h" |
93 | 107 | #include "sound/ymz280b.h" |
94 | 108 | #include "machine/eepromser.h" |
95 | 109 | #include "machine/nvram.h" |
96 | 110 | #include "machine/ticket.h" |
97 | 111 | |
98 | ||
99 | 112 | class sigmab98_state : public driver_device |
100 | 113 | { |
101 | 114 | public: |
102 | 115 | sigmab98_state(const machine_config &mconfig, device_type type, const char *tag) |
103 | 116 | : driver_device(mconfig, type, tag), |
104 | 117 | m_maincpu(*this,"maincpu"), |
118 | m_buffered_spriteram(*this, "spriteram"), | |
105 | 119 | m_spriteram(*this, "spriteram"), |
120 | m_vregs(*this, "vregs"), | |
121 | m_vtable(*this, "vtable"), | |
106 | 122 | m_nvram(*this, "nvram"), |
107 | 123 | m_eeprom(*this, "eeprom"), |
108 | 124 | m_gfxdecode(*this, "gfxdecode"), |
109 | 125 | m_screen(*this, "screen"), |
110 | m_palette(*this, "palette") { } | |
126 | m_palette(*this, "palette") | |
127 | { } | |
111 | 128 | |
112 | 129 | required_device<cpu_device> m_maincpu; |
113 | optional_shared_ptr<UINT8> m_spriteram; | |
130 | optional_device<buffered_spriteram8_device> m_buffered_spriteram; // not on sammymdl? | |
131 | optional_shared_ptr<UINT8> m_spriteram; // optional as some games allocate it themselves (due to banking) | |
132 | optional_shared_ptr<UINT8> m_vregs; // optional as some games allocate it themselves (due to banking) | |
133 | optional_shared_ptr<UINT8> m_vtable; // optional as some games allocate it themselves (due to banking) | |
114 | 134 | required_shared_ptr<UINT8> m_nvram; |
115 | 135 | required_device<eeprom_serial_93cxx_device> m_eeprom; |
116 | 136 | required_device<gfxdecode_device> m_gfxdecode; |
r245657 | r245658 | |
132 | 152 | UINT8 m_vblank_vector; |
133 | 153 | UINT8 m_timer0_vector; |
134 | 154 | UINT8 m_timer1_vector; |
135 | DECLARE_WRITE8_MEMBER(regs_w); | |
136 | DECLARE_READ8_MEMBER(regs_r); | |
137 | DECLARE_WRITE8_MEMBER(regs2_w); | |
138 | DECLARE_READ8_MEMBER(regs2_r); | |
155 | ||
156 | DECLARE_WRITE8_MEMBER(gegege_regs_w); | |
157 | DECLARE_READ8_MEMBER(gegege_regs_r); | |
158 | DECLARE_WRITE8_MEMBER(gegege_regs2_w); | |
159 | DECLARE_READ8_MEMBER(gegege_regs2_r); | |
160 | ||
161 | DECLARE_WRITE8_MEMBER(dodghero_regs_w); | |
162 | DECLARE_READ8_MEMBER(dodghero_regs_r); | |
163 | DECLARE_WRITE8_MEMBER(dodghero_regs2_w); | |
164 | DECLARE_READ8_MEMBER(dodghero_regs2_r); | |
165 | ||
166 | DECLARE_WRITE8_MEMBER(dashhero_regs_w); | |
167 | DECLARE_READ8_MEMBER(dashhero_regs_r); | |
168 | DECLARE_WRITE8_MEMBER(dashhero_regs2_w); | |
169 | DECLARE_READ8_MEMBER(dashhero_regs2_r); | |
170 | ||
171 | DECLARE_WRITE8_MEMBER(vregs_w); | |
172 | DECLARE_READ8_MEMBER(vregs_r); | |
173 | DECLARE_READ8_MEMBER(d013_r); | |
174 | DECLARE_READ8_MEMBER(d021_r); | |
175 | ||
139 | 176 | DECLARE_WRITE8_MEMBER(c4_w); |
140 | 177 | DECLARE_WRITE8_MEMBER(c6_w); |
141 | 178 | DECLARE_WRITE8_MEMBER(c8_w); |
179 | ||
142 | 180 | DECLARE_WRITE8_MEMBER(animalc_rombank_w); |
143 | 181 | DECLARE_READ8_MEMBER(animalc_rombank_r); |
144 | 182 | DECLARE_WRITE8_MEMBER(animalc_rambank_w); |
145 | 183 | DECLARE_READ8_MEMBER(animalc_rambank_r); |
184 | ||
146 | 185 | DECLARE_READ8_MEMBER(unk_34_r); |
186 | DECLARE_WRITE8_MEMBER(vblank_w); | |
147 | 187 | DECLARE_READ8_MEMBER(vblank_r); |
148 | DECLARE_WRITE8_MEMBER(vblank_w); | |
149 | 188 | DECLARE_WRITE8_MEMBER(sammymdl_coin_w); |
150 | 189 | DECLARE_WRITE8_MEMBER(sammymdl_leds_w); |
151 | 190 | DECLARE_WRITE8_MEMBER(sammymdl_hopper_w); |
152 | 191 | DECLARE_READ8_MEMBER(sammymdl_coin_hopper_r); |
192 | ||
153 | 193 | DECLARE_WRITE8_MEMBER(haekaka_rombank_w); |
154 | 194 | DECLARE_READ8_MEMBER(haekaka_rombank_r); |
155 | 195 | DECLARE_WRITE8_MEMBER(haekaka_rambank_w); |
r245657 | r245658 | |
159 | 199 | DECLARE_WRITE8_MEMBER(haekaka_b000_w); |
160 | 200 | DECLARE_WRITE8_MEMBER(haekaka_leds_w); |
161 | 201 | DECLARE_WRITE8_MEMBER(haekaka_coin_w); |
202 | ||
162 | 203 | DECLARE_WRITE8_MEMBER(itazuram_rombank_w); |
163 | 204 | DECLARE_READ8_MEMBER(itazuram_rombank_r); |
164 | 205 | DECLARE_WRITE8_MEMBER(itazuram_rambank_w); |
r245657 | r245658 | |
166 | 207 | DECLARE_WRITE8_MEMBER(itazuram_nvram_palette_w); |
167 | 208 | DECLARE_WRITE8_MEMBER(itazuram_palette_w); |
168 | 209 | DECLARE_READ8_MEMBER(itazuram_palette_r); |
210 | ||
169 | 211 | DECLARE_WRITE8_MEMBER(tdoboon_rombank_w); |
170 | 212 | DECLARE_READ8_MEMBER(tdoboon_rombank_r); |
171 | 213 | DECLARE_WRITE8_MEMBER(tdoboon_rambank_w); |
172 | 214 | DECLARE_READ8_MEMBER(tdoboon_rambank_r); |
173 | 215 | DECLARE_READ8_MEMBER(tdoboon_c000_r); |
174 | 216 | DECLARE_WRITE8_MEMBER(tdoboon_c000_w); |
217 | ||
175 | 218 | void show_outputs(); |
176 | 219 | void show_3_outputs(); |
177 | 220 | DECLARE_WRITE8_MEMBER(eeprom_w); |
178 | 221 | DECLARE_READ8_MEMBER(sammymdl_eeprom_r); |
179 | 222 | DECLARE_WRITE8_MEMBER(sammymdl_eeprom_w); |
223 | ||
224 | DECLARE_DRIVER_INIT(dodghero); | |
225 | DECLARE_DRIVER_INIT(b3rinsya); | |
226 | DECLARE_DRIVER_INIT(tbeastw2); | |
227 | DECLARE_DRIVER_INIT(dashhero); | |
180 | 228 | DECLARE_DRIVER_INIT(gegege); |
181 | 229 | DECLARE_DRIVER_INIT(pepsiman); |
182 | 230 | DECLARE_DRIVER_INIT(itazuram); |
183 | 231 | DECLARE_DRIVER_INIT(animalc); |
184 | 232 | DECLARE_DRIVER_INIT(ucytokyu); |
185 | 233 | DECLARE_DRIVER_INIT(haekaka); |
234 | ||
235 | DECLARE_MACHINE_RESET(sigmab98); | |
186 | 236 | DECLARE_MACHINE_RESET(sammymdl); |
237 | ||
187 | 238 | UINT32 screen_update_sigmab98(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
188 | 239 | void screen_eof_sammymdl(screen_device &screen, bool state); |
189 | INTERRUPT_GEN_MEMBER(gegege_vblank_interrupt); | |
190 | TIMER_DEVICE_CALLBACK_MEMBER(sammymd1_irq); | |
240 | INTERRUPT_GEN_MEMBER(sigmab98_vblank_interrupt); | |
241 | TIMER_DEVICE_CALLBACK_MEMBER(sammymdl_irq); | |
191 | 242 | void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, int pri_mask); |
192 | 243 | }; |
193 | 244 | |
r245657 | r245658 | |
223 | 274 | 7 Y (Low) |
224 | 275 | 8 Shrink Factor (<< 8, High) |
225 | 276 | 9 Shrink Factor (<< 8, Low) |
226 | a | |
227 | b | |
277 | a ? rotation, see dashhero (Sigma logo) | |
278 | b ? and pepsiman (when falling) | |
228 | 279 | c 7654 3--- |
229 | 280 | ---- -210 Delta X (High) |
230 | 281 | d Delta X (Low) |
r245657 | r245658 | |
236 | 287 | |
237 | 288 | void sigmab98_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, int pri_mask) |
238 | 289 | { |
239 | UINT8 *end = m_spriteram - 0x10; | |
240 | UINT8 *s = end + m_spriteram.bytes(); | |
290 | UINT8 *end = (m_buffered_spriteram ? m_buffered_spriteram->buffer() : m_spriteram) - 0x10; | |
291 | UINT8 *s = end + 0x1000; | |
241 | 292 | |
242 | 293 | for ( ; s != end; s -= 0x10 ) |
243 | 294 | { |
244 | int gfx, code, color, zoom, dim, scale; | |
295 | int gfx, code, color, zoom, /*rot,*/ dim, scale; | |
245 | 296 | int sx, nx, x, x0, x1, dx, flipx; |
246 | 297 | int sy, ny, y, y0, y1, dy, flipy; |
247 | 298 | |
r245657 | r245658 | |
265 | 316 | |
266 | 317 | sy = (s[ 0x06 ] & 0x03) * 256 + s[ 0x07 ]; |
267 | 318 | |
268 | zoom = (s[ 0x08 ] & 0xff) * 256 + s[ 0x09 ]; | |
319 | zoom = (s[ 0x08 ] & 0xff) * 256 + s[ 0x09 ]; // 0x100 means no zoom | |
269 | 320 | |
270 | dx = (s[ 0x0c ] & 0x03) * 256 + s[ 0x0d ]; | |
271 | dy = (s[ 0x0e ] & 0x03) * 256 + s[ 0x0f ]; | |
321 | // rot = (s[ 0x0a ] & 0xff) * 256 + s[ 0x0b ]; // unimplemented! | |
272 | 322 | |
323 | dx = (s[ 0x0c ] & 0xff) * 256 + s[ 0x0d ]; | |
324 | dy = (s[ 0x0e ] & 0xff) * 256 + s[ 0x0f ]; | |
325 | ||
273 | 326 | // Sign extend the position |
274 | 327 | sx = (sx & 0x1ff) - (sx & 0x200); |
275 | 328 | sy = (sy & 0x1ff) - (sy & 0x200); |
276 | dx = (dx & 0x1ff) - (dx & 0x200); | |
277 | dy = (dy & 0x1ff) - (dy & 0x200); | |
329 | dx = (dx & 0x7fff) - (dx & 0x8000); | |
330 | dy = (dy & 0x7fff) - (dy & 0x8000); | |
278 | 331 | |
279 | // Add shift (negated, as it seems more correct in haekaka) | |
280 | sx -= dx; | |
281 | sy -= dy; | |
282 | ||
283 | 332 | // Use fixed point values (16.16), for accuracy |
284 | 333 | sx <<= 16; |
285 | 334 | sy <<= 16; |
286 | 335 | |
287 | 336 | zoom = (1 << 16) / (zoom ? zoom : 1); |
288 | 337 | dim = (0x10 << 8) * zoom; |
338 | // Add shift (negated) | |
339 | sx -= (dx << 8) * zoom; | |
340 | sy -= (dy << 8) * zoom; | |
289 | 341 | scale = dim / 0x10; |
290 | 342 | |
291 | 343 | // Let's approximate to the nearest greater integer value |
r245657 | r245658 | |
331 | 383 | } |
332 | 384 | #endif |
333 | 385 | |
334 | bitmap.fill(m_palette-> | |
386 | bitmap.fill(m_palette->pens()[0x100], cliprect); | |
335 | 387 | |
336 | 388 | // Draw from priority 3 (bottom, converted to a bitmask) to priority 0 (top) |
337 | 389 | draw_sprites(bitmap, cliprect, layers_ctrl & 8); |
r245657 | r245658 | |
342 | 394 | return 0; |
343 | 395 | } |
344 | 396 | |
397 | /*************************************************************************** | |
345 | 398 | |
399 | Video Regs | |
400 | ||
401 | Offset: Bits: Value: | |
402 | ||
403 | 01 Screen Width / 2 - 1 | |
404 | 03 | |
405 | 05 | |
406 | 07 | |
407 | 09 Screen Height - 1 | |
408 | 0b | |
409 | 0d | |
410 | 0f | |
411 | 11 | |
412 | 13 76-- ---- | |
413 | --5- ---- VBlank? | |
414 | ---4 3--- | |
415 | ---- -2-- Sprites Buffered? | |
416 | ---- --10 | |
417 | 15 | |
418 | 17 | |
419 | 19 | |
420 | 1b Background Color (Low) | |
421 | 1d Background Color (High) | |
422 | 1f | |
423 | 21 | |
424 | ||
425 | ***************************************************************************/ | |
426 | ||
427 | WRITE8_MEMBER(sigmab98_state::vregs_w) | |
428 | { | |
429 | m_vregs[offset] = data; | |
430 | ||
431 | switch (offset) | |
432 | { | |
433 | case 0x1b: // background color | |
434 | case 0x1d: | |
435 | { | |
436 | int x = (m_vregs[0x1d] << 8) + m_vregs[0x1b]; | |
437 | int r = (x >> 10) & 0x1f; | |
438 | int g = (x >> 5) & 0x1f; | |
439 | int b = (x >> 0) & 0x1f; | |
440 | m_palette->set_pen_color(0x100, pal5bit(r), pal5bit(g), pal5bit(b)); | |
441 | break; | |
442 | } | |
443 | // default: | |
444 | // logerror("%s: unknown video reg written: %02x = %02x\n", machine().describe_context(), offset, data); | |
445 | } | |
446 | } | |
447 | ||
448 | READ8_MEMBER(sigmab98_state::vregs_r) | |
449 | { | |
450 | switch (offset) | |
451 | { | |
452 | default: | |
453 | logerror("%s: unknown video reg read: %02x\n", machine().describe_context(), offset); | |
454 | return m_vregs[offset]; | |
455 | } | |
456 | } | |
457 | ||
458 | READ8_MEMBER(sigmab98_state::d013_r) | |
459 | { | |
460 | // bit 5 must go 0->1 (vblank?) | |
461 | // bit 2 must set (sprite buffered? triggered by pulsing bit 3 of port C6?) | |
462 | return (m_screen->vblank() ? 0x20 : 0) | 0x04; | |
463 | // return machine().rand(); | |
464 | } | |
465 | READ8_MEMBER(sigmab98_state::d021_r) | |
466 | { | |
467 | // bit 5 must be 0? | |
468 | return 0; | |
469 | // return machine().rand(); | |
470 | } | |
471 | ||
472 | ||
346 | 473 | /*************************************************************************** |
347 | 474 | |
348 | 475 | Memory Maps |
349 | 476 | |
350 | 477 | ***************************************************************************/ |
351 | 478 | |
479 | /*************************************************************************** | |
480 | Minna Atsumare! Dodge Hero | |
481 | ***************************************************************************/ | |
352 | 482 | |
483 | // rombank | |
484 | WRITE8_MEMBER(sigmab98_state::dodghero_regs_w) | |
485 | { | |
486 | if (offset == 0) | |
487 | { | |
488 | m_reg = data; | |
489 | return; | |
490 | } | |
491 | ||
492 | switch ( m_reg ) | |
493 | { | |
494 | case 0x1f: | |
495 | m_rombank = data; | |
496 | if (data >= 0x18) | |
497 | logerror("%s: unknown rom bank = %02x\n", machine().describe_context(), data); | |
498 | else | |
499 | membank("rombank")->set_entry(data * 2); | |
500 | break; | |
501 | ||
502 | case 0x9f: | |
503 | m_rombank = data; | |
504 | if (data >= 0x18) | |
505 | logerror("%s: unknown rom bank2 = %02x\n", machine().describe_context(), data); | |
506 | else | |
507 | membank("rombank")->set_entry(data * 2 + 1); | |
508 | break; | |
509 | ||
510 | default: | |
511 | logerror("%s: unknown reg written: %02x = %02x\n", machine().describe_context(), m_reg, data); | |
512 | } | |
513 | } | |
514 | READ8_MEMBER(sigmab98_state::dodghero_regs_r) | |
515 | { | |
516 | if (offset == 0) | |
517 | return m_reg; | |
518 | ||
519 | switch ( m_reg ) | |
520 | { | |
521 | case 0x1f: | |
522 | case 0x9f: | |
523 | return m_rombank; | |
524 | ||
525 | default: | |
526 | logerror("%s: unknown reg read: %02x\n", machine().describe_context(), m_reg); | |
527 | return 0x00; | |
528 | } | |
529 | } | |
530 | ||
531 | // rambank | |
532 | WRITE8_MEMBER(sigmab98_state::dodghero_regs2_w) | |
533 | { | |
534 | if (offset == 0) | |
535 | { | |
536 | m_reg2 = data; | |
537 | return; | |
538 | } | |
539 | ||
540 | switch ( m_reg2 ) | |
541 | { | |
542 | case 0x37: | |
543 | m_rambank = data; | |
544 | switch (data) | |
545 | { | |
546 | case 0x32: | |
547 | membank("rambank")->set_entry(0); | |
548 | break; | |
549 | case 0x36: | |
550 | membank("rambank")->set_entry(1); | |
551 | break; | |
552 | default: | |
553 | logerror("%s: unknown ram bank = %02x\n", machine().describe_context(), data); | |
554 | } | |
555 | break; | |
556 | ||
557 | default: | |
558 | logerror("%s: unknown reg2 written: %02x = %02x\n", machine().describe_context(), m_reg2, data); | |
559 | } | |
560 | } | |
561 | READ8_MEMBER(sigmab98_state::dodghero_regs2_r) | |
562 | { | |
563 | if (offset == 0) | |
564 | return m_reg2; | |
565 | ||
566 | switch ( m_reg2 ) | |
567 | { | |
568 | case 0x37: | |
569 | return m_rambank; | |
570 | ||
571 | default: | |
572 | logerror("%s: unknown reg2 read: %02x\n", machine().describe_context(), m_reg2); | |
573 | return 0x00; | |
574 | } | |
575 | } | |
576 | ||
577 | static ADDRESS_MAP_START( dodghero_mem_map, AS_PROGRAM, 8, sigmab98_state ) | |
578 | AM_RANGE( 0x0000, 0x7fff ) AM_ROM | |
579 | AM_RANGE( 0x8000, 0xa7ff ) AM_ROMBANK("rombank") | |
580 | ||
581 | AM_RANGE( 0xa800, 0xb7ff ) AM_RAM AM_SHARE("spriteram") | |
582 | ||
583 | AM_RANGE( 0xc800, 0xc9ff ) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") | |
584 | ||
585 | AM_RANGE( 0xd001, 0xd07f ) AM_RAM AM_SHARE("vtable") | |
586 | ||
587 | AM_RANGE( 0xd813, 0xd813 ) AM_READ(d013_r) | |
588 | AM_RANGE( 0xd821, 0xd821 ) AM_READ(d021_r) | |
589 | AM_RANGE( 0xd800, 0xd821 ) AM_READWRITE(vregs_r, vregs_w) AM_SHARE("vregs") | |
590 | AM_RANGE( 0xd800, 0xdfff ) AM_RAMBANK("rambank") // not used, where is it mapped? | |
591 | ||
592 | AM_RANGE( 0xe000, 0xefff ) AM_RAM AM_SHARE("nvram") // battery | |
593 | ||
594 | AM_RANGE( 0xf000, 0xffff ) AM_RAM | |
595 | ADDRESS_MAP_END | |
596 | ||
597 | static ADDRESS_MAP_START( dodghero_io_map, AS_IO, 8, sigmab98_state ) | |
598 | ADDRESS_MAP_GLOBAL_MASK(0xff) | |
599 | ||
600 | AM_RANGE( 0x00, 0x01 ) AM_DEVREADWRITE("ymz", ymz280b_device, read, write ) | |
601 | ||
602 | AM_RANGE( 0xa0, 0xa1 ) AM_READWRITE(dodghero_regs_r, dodghero_regs_w ) | |
603 | // AM_RANGE( 0xa2, 0xa3 ) | |
604 | AM_RANGE( 0xa4, 0xa5 ) AM_READWRITE(dodghero_regs2_r, dodghero_regs2_w ) | |
605 | ||
606 | AM_RANGE( 0xc0, 0xc0 ) AM_READ_PORT( "EEPROM" ) AM_WRITE(eeprom_w) | |
607 | AM_RANGE( 0xc2, 0xc2 ) AM_READ_PORT( "BUTTON" ) | |
608 | AM_RANGE( 0xc4, 0xc4 ) AM_READ_PORT( "PAYOUT" ) AM_WRITE(c4_w ) | |
609 | AM_RANGE( 0xc6, 0xc6 ) AM_WRITE(c6_w ) | |
610 | AM_RANGE( 0xc8, 0xc8 ) AM_WRITE(c8_w ) | |
611 | ADDRESS_MAP_END | |
612 | ||
353 | 613 | /*************************************************************************** |
354 | 614 | GeGeGe no Kitarou Youkai Slot |
355 | 615 | ***************************************************************************/ |
356 | 616 | |
357 | 617 | // rombank |
358 | WRITE8_MEMBER(sigmab98_state::regs_w) | |
618 | WRITE8_MEMBER(sigmab98_state::gegege_regs_w) | |
359 | 619 | { |
360 | 620 | if (offset == 0) |
361 | 621 | { |
r245657 | r245658 | |
377 | 637 | logerror("%s: unknown reg written: %02x = %02x\n", machine().describe_context(), m_reg, data); |
378 | 638 | } |
379 | 639 | } |
380 | READ8_MEMBER(sigmab98_state::regs_r) | |
640 | READ8_MEMBER(sigmab98_state::gegege_regs_r) | |
381 | 641 | { |
382 | 642 | if (offset == 0) |
383 | 643 | return m_reg; |
r245657 | r245658 | |
394 | 654 | } |
395 | 655 | |
396 | 656 | // rambank |
397 | WRITE8_MEMBER(sigmab98_state::regs2_w) | |
657 | WRITE8_MEMBER(sigmab98_state::gegege_regs2_w) | |
398 | 658 | { |
399 | 659 | if (offset == 0) |
400 | 660 | { |
r245657 | r245658 | |
423 | 683 | logerror("%s: unknown reg2 written: %02x = %02x\n", machine().describe_context(), m_reg2, data); |
424 | 684 | } |
425 | 685 | } |
426 | READ8_MEMBER(sigmab98_state::regs2_r) | |
686 | READ8_MEMBER(sigmab98_state::gegege_regs2_r) | |
427 | 687 | { |
428 | 688 | if (offset == 0) |
429 | 689 | return m_reg2; |
r245657 | r245658 | |
445 | 705 | void sigmab98_state::show_outputs() |
446 | 706 | { |
447 | 707 | #ifdef MAME_DEBUG |
448 | ||
708 | popmessage("0: %02X 4: %02X 6: %02X 8: %02X", m_c0, m_c4, m_c6, m_c8); | |
449 | 709 | #endif |
450 | 710 | } |
451 | 711 | |
r245657 | r245658 | |
479 | 739 | // Port c6 |
480 | 740 | // 03 lockout (active low, 02 is cleared when reaching 99 credits) |
481 | 741 | // 04 pulsed on coin in |
482 | // 08 | |
742 | // 08 buffer sprites? | |
483 | 743 | // 10 led? |
484 | // 20 blink | |
744 | // 20 led? (starts blinking after coin in) | |
485 | 745 | WRITE8_MEMBER(sigmab98_state::c6_w) |
486 | 746 | { |
487 | 747 | coin_lockout_w(machine(), 0, (~data) & 0x02); |
488 | 748 | |
489 | 749 | coin_counter_w(machine(), 0, data & 0x04); |
490 | 750 | |
491 | set_led_status(machine(), 1, data & 0x08); | |
492 | set_led_status(machine(), 2, data & 0x10); | |
493 | set_led_status(machine(), 3, data & 0x20); // | |
751 | if ((data & 0x08) && !(m_c6 & 0x08)) | |
752 | m_buffered_spriteram->copy(); | |
494 | 753 | |
754 | set_led_status(machine(), 1, data & 0x10); | |
755 | set_led_status(machine(), 2, data & 0x20); | |
756 | ||
495 | 757 | m_c6 = data; |
496 | 758 | show_outputs(); |
497 | 759 | } |
r245657 | r245658 | |
515 | 777 | |
516 | 778 | AM_RANGE( 0xc000, 0xc1ff ) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") |
517 | 779 | |
518 | AM_RANGE( 0xc800, 0xc87f ) AM_RAM | |
780 | AM_RANGE( 0xc800, 0xc87f ) AM_RAM AM_SHARE("vtable") | |
519 | 781 | |
520 | // AM_RANGE( 0xd001, 0xd021 ) AM_RAM | |
782 | AM_RANGE( 0xd013, 0xd013 ) AM_READ(d013_r) | |
783 | AM_RANGE( 0xd021, 0xd021 ) AM_READ(d021_r) | |
784 | AM_RANGE( 0xd000, 0xd021 ) AM_READWRITE(vregs_r, vregs_w) AM_SHARE("vregs") | |
785 | ||
521 | 786 | AM_RANGE( 0xd800, 0xdfff ) AM_RAMBANK("rambank") |
522 | 787 | |
523 | 788 | AM_RANGE( 0xe000, 0xefff ) AM_RAM AM_SHARE("nvram") // battery |
r245657 | r245658 | |
528 | 793 | static ADDRESS_MAP_START( gegege_io_map, AS_IO, 8, sigmab98_state ) |
529 | 794 | ADDRESS_MAP_GLOBAL_MASK(0xff) |
530 | 795 | |
531 | AM_RANGE( 0x00, 0x01 ) AM_DEVWRITE("ymz", ymz280b_device, write ) | |
796 | AM_RANGE( 0x00, 0x01 ) AM_DEVREADWRITE("ymz", ymz280b_device, read, write ) | |
532 | 797 | |
533 | AM_RANGE( 0xa0, 0xa1 ) AM_READWRITE(regs_r, regs_w ) | |
798 | AM_RANGE( 0xa0, 0xa1 ) AM_READWRITE(gegege_regs_r, gegege_regs_w ) | |
534 | 799 | // AM_RANGE( 0xa2, 0xa3 ) |
535 | AM_RANGE( 0xa4, 0xa5 ) AM_READWRITE(regs2_r, regs2_w ) | |
800 | AM_RANGE( 0xa4, 0xa5 ) AM_READWRITE(gegege_regs2_r, gegege_regs2_w ) | |
536 | 801 | |
537 | AM_RANGE( 0xc0, 0xc0 ) AM_READ_PORT( "EEPROM" ) | |
538 | AM_RANGE( 0xc0, 0xc0 ) AM_WRITE(eeprom_w) | |
802 | AM_RANGE( 0xc0, 0xc0 ) AM_READ_PORT( "EEPROM" ) AM_WRITE(eeprom_w) | |
803 | AM_RANGE( 0xc2, 0xc2 ) AM_READ_PORT( "BUTTON" ) | |
804 | AM_RANGE( 0xc4, 0xc4 ) AM_READ_PORT( "PAYOUT" ) AM_WRITE(c4_w ) | |
805 | AM_RANGE( 0xc6, 0xc6 ) AM_WRITE(c6_w ) | |
806 | AM_RANGE( 0xc8, 0xc8 ) AM_WRITE(c8_w ) | |
539 | 807 | |
540 | AM_RANGE( 0xc2, 0xc2 ) AM_READ_PORT( "IN1" ) | |
808 | AM_RANGE( 0xe5, 0xe5 ) AM_READNOP // during irq | |
809 | ADDRESS_MAP_END | |
541 | 810 | |
542 | AM_RANGE( 0xc4, 0xc4 ) AM_READ_PORT( "IN2" ) | |
543 | AM_RANGE( 0xc4, 0xc4 ) AM_WRITE(c4_w ) | |
811 | /*************************************************************************** | |
812 | Minna Ganbare! Dash Hero | |
813 | ***************************************************************************/ | |
544 | 814 | |
815 | // rambank | |
816 | WRITE8_MEMBER(sigmab98_state::dashhero_regs2_w) | |
817 | { | |
818 | if (offset == 0) | |
819 | { | |
820 | m_reg2 = data; | |
821 | return; | |
822 | } | |
823 | ||
824 | switch ( m_reg2 ) | |
825 | { | |
826 | case 0x75: | |
827 | case 0xb5: | |
828 | case 0xf5: | |
829 | m_rambank = data; | |
830 | switch (data) | |
831 | { | |
832 | case 0x32: | |
833 | membank("rambank")->set_entry(0); | |
834 | break; | |
835 | case 0x34: | |
836 | membank("rambank")->set_entry(1); | |
837 | break; | |
838 | case 0x36: | |
839 | membank("rambank")->set_entry(2); | |
840 | break; | |
841 | case 0x39: | |
842 | membank("rambank")->set_entry(3); | |
843 | break; | |
844 | default: | |
845 | logerror("%s: unknown ram bank = %02x\n", machine().describe_context(), data); | |
846 | } | |
847 | break; | |
848 | ||
849 | default: | |
850 | logerror("%s: unknown reg2 written: %02x = %02x\n", machine().describe_context(), m_reg2, data); | |
851 | } | |
852 | } | |
853 | READ8_MEMBER(sigmab98_state::dashhero_regs2_r) | |
854 | { | |
855 | if (offset == 0) | |
856 | return m_reg2; | |
857 | ||
858 | switch ( m_reg2 ) | |
859 | { | |
860 | case 0x75: | |
861 | case 0xb5: | |
862 | case 0xf5: | |
863 | return m_rambank; | |
864 | ||
865 | default: | |
866 | logerror("%s: unknown reg2 read: %02x\n", machine().describe_context(), m_reg2); | |
867 | return 0x00; | |
868 | } | |
869 | } | |
870 | ||
871 | static ADDRESS_MAP_START( dashhero_io_map, AS_IO, 8, sigmab98_state ) | |
872 | ADDRESS_MAP_GLOBAL_MASK(0xff) | |
873 | ||
874 | AM_RANGE( 0x00, 0x01 ) AM_DEVREADWRITE("ymz", ymz280b_device, read, write ) | |
875 | ||
876 | AM_RANGE( 0xa0, 0xa1 ) AM_READWRITE(gegege_regs_r, gegege_regs_w ) | |
877 | // AM_RANGE( 0xa2, 0xa3 ) | |
878 | AM_RANGE( 0xa4, 0xa5 ) AM_READWRITE(dashhero_regs2_r, dashhero_regs2_w ) | |
879 | ||
880 | AM_RANGE( 0xc0, 0xc0 ) AM_READ_PORT( "EEPROM" ) AM_WRITE(eeprom_w) | |
881 | AM_RANGE( 0xc2, 0xc2 ) AM_READ_PORT( "BUTTON" ) | |
882 | AM_RANGE( 0xc4, 0xc4 ) AM_READ_PORT( "PAYOUT" ) AM_WRITE(c4_w ) | |
545 | 883 | AM_RANGE( 0xc6, 0xc6 ) AM_WRITE(c6_w ) |
546 | ||
547 | 884 | AM_RANGE( 0xc8, 0xc8 ) AM_WRITE(c8_w ) |
548 | 885 | |
549 | 886 | AM_RANGE( 0xe5, 0xe5 ) AM_READNOP // during irq |
r245657 | r245658 | |
699 | 1036 | void sigmab98_state::show_3_outputs() |
700 | 1037 | { |
701 | 1038 | #ifdef MAME_DEBUG |
702 | ||
1039 | popmessage("COIN: %02X LED: %02X HOP: %02X", m_out[0], m_out[1], m_out[2]); | |
703 | 1040 | #endif |
704 | 1041 | } |
705 | 1042 | // Port 31 |
r245657 | r245658 | |
757 | 1094 | AM_RANGE( 0xb000, 0xbfff ) AM_RAMBANK("sprbank") |
758 | 1095 | |
759 | 1096 | AM_RANGE( 0xd000, 0xd1ff ) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") |
760 | AM_RANGE( 0xd800, 0xd87f ) AM_RAM | |
1097 | AM_RANGE( 0xd800, 0xd87f ) AM_RAM AM_SHARE("vtable") | |
761 | 1098 | |
762 | 1099 | AM_RANGE( 0xe011, 0xe011 ) AM_WRITENOP // IRQ Enable? Screen disable? |
763 | 1100 | AM_RANGE( 0xe013, 0xe013 ) AM_READWRITE(vblank_r, vblank_w ) // IRQ Ack? |
1101 | AM_RANGE( 0xe000, 0xe021 ) AM_READWRITE(vregs_r, vregs_w) AM_SHARE("vregs") | |
764 | 1102 | |
765 | 1103 | AM_RANGE( 0xfe00, 0xffff ) AM_RAM // High speed internal RAM |
766 | 1104 | ADDRESS_MAP_END |
r245657 | r245658 | |
820 | 1158 | case 0x1f: |
821 | 1159 | |
822 | 1160 | case 0x65: // SPRITERAM |
823 | case 0x67: // PALETTE RAM + TABLE + REGS | |
1161 | case 0x67: // PALETTE RAM + VTABLE + VREGS | |
824 | 1162 | break; |
825 | 1163 | |
826 | 1164 | default: |
r245657 | r245658 | |
922 | 1260 | if (offset < 0x1000) |
923 | 1261 | return m_spriteram[offset]; |
924 | 1262 | |
925 | case 0x67: // PALETTERAM + TABLE | |
1263 | case 0x67: // PALETTERAM + VTABLE + VREGS | |
926 | 1264 | if (offset < 0x200) |
927 | 1265 | return m_paletteram[offset]; |
928 | else if (offset == (0xc013-0xb000)) | |
929 | return haekaka_vblank_r(space, offset); | |
1266 | else if ((offset >= 0x800) && (offset < 0x880)) | |
1267 | { | |
1268 | return m_vtable[offset-0x800]; | |
1269 | } | |
1270 | else if (offset >= (0xc000-0xb000) && offset <= (0xc021-0xb000)) | |
1271 | { | |
1272 | if (offset == (0xc013-0xb000)) | |
1273 | return haekaka_vblank_r(space, 0); | |
1274 | return vregs_r(space, offset-(0xc000-0xb000)); | |
1275 | } | |
930 | 1276 | break; |
931 | 1277 | } |
932 | 1278 | |
r245657 | r245658 | |
946 | 1292 | } |
947 | 1293 | break; |
948 | 1294 | |
949 | case 0x67: // PALETTERAM + TABLE | |
1295 | case 0x67: // PALETTERAM + VTABLE + VREGS | |
950 | 1296 | if (offset < 0x200) |
951 | 1297 | { |
952 | 1298 | m_palette->write(space, offset, data); |
953 | // m_generic_paletteram_8[offset] = data; | |
954 | 1299 | return; |
955 | 1300 | } |
956 | 1301 | else if ((offset >= 0x800) && (offset < 0x880)) |
957 | 1302 | { |
958 | | |
1303 | m_vtable[offset-0x800] = data; | |
959 | 1304 | return; |
960 | 1305 | } |
1306 | else if (offset >= (0xc000-0xb000) && offset <= (0xc021-0xb000)) | |
1307 | { | |
1308 | vregs_w(space, offset-(0xc000-0xb000), data); | |
1309 | return; | |
1310 | } | |
961 | 1311 | break; |
962 | 1312 | } |
963 | 1313 | |
r245657 | r245658 | |
983 | 1333 | WRITE8_MEMBER(sigmab98_state::haekaka_coin_w) |
984 | 1334 | { |
985 | 1335 | coin_counter_w(machine(), 0, data & 0x01 ); // medal out |
986 | // data & 0x02 ? | |
987 | // data & 0x04 ? | |
988 | // data & 0x10 ? | |
1336 | // data & 0x02 ? | |
1337 | // data & 0x04 ? | |
1338 | // data & 0x10 ? | |
989 | 1339 | |
990 | 1340 | m_out[0] = data; |
991 | 1341 | show_3_outputs(); |
r245657 | r245658 | |
1051 | 1401 | m_rombank = data; |
1052 | 1402 | switch (data) |
1053 | 1403 | { |
1404 | // case 0x0f: // demo mode, after title | |
1405 | ||
1054 | 1406 | case 0x14: // 3800 IS ROM |
1055 | 1407 | membank("rombank0")->set_base(rom + 0x8000); |
1056 | 1408 | membank("rombank1")->set_base(rom + 0x9000); |
r245657 | r245658 | |
1157 | 1509 | m_rambank = data; |
1158 | 1510 | switch (data) |
1159 | 1511 | { |
1160 | case 0x52: membank("palbank")->set_base(m_nvram); | |
1512 | case 0x52: membank("palbank")->set_base(m_nvram); break; | |
1161 | 1513 | case 0x64: membank("palbank")->set_base(m_paletteram); break; |
1162 | 1514 | default: |
1163 | 1515 | logerror("%s: unknown ram bank = %02x, reg2 = %02x\n", machine().describe_context(), data, m_reg2); |
r245657 | r245658 | |
1191 | 1543 | if (m_rambank == 0x64) |
1192 | 1544 | { |
1193 | 1545 | m_palette->write(space, offset, data); |
1194 | // m_generic_paletteram_8[offset] = data; | |
1195 | 1546 | } |
1196 | 1547 | else if (m_rambank == 0x52) |
1197 | 1548 | { |
r245657 | r245658 | |
1209 | 1560 | { |
1210 | 1561 | if (offset < 0x200) |
1211 | 1562 | m_palette->write(space, offset, data); |
1212 | // m_generic_paletteram_8[offset] = data; | |
1213 | 1563 | } |
1214 | 1564 | else |
1215 | 1565 | { |
r245657 | r245658 | |
1228 | 1578 | AM_RANGE( 0x4800, 0x57ff ) AM_READ_BANK( "rombank1" ) AM_WRITE_BANK( "sprbank1" ) |
1229 | 1579 | |
1230 | 1580 | AM_RANGE( 0x5800, 0x59ff ) AM_READWRITE(itazuram_palette_r, itazuram_palette_w ) |
1231 | AM_RANGE( 0x6000, 0x607f ) AM_RAM | |
1581 | AM_RANGE( 0x6000, 0x607f ) AM_RAM AM_SHARE("vtable") | |
1232 | 1582 | |
1233 | 1583 | AM_RANGE( 0x6811, 0x6811 ) AM_WRITENOP // IRQ Enable? Screen disable? |
1234 | 1584 | AM_RANGE( 0x6813, 0x6813 ) AM_WRITENOP // IRQ Ack? |
1585 | AM_RANGE( 0x6800, 0x6821 ) AM_READWRITE(vregs_r, vregs_w) AM_SHARE("vregs") | |
1235 | 1586 | AM_RANGE( 0xdc00, 0xfdff ) AM_READ_BANK( "palbank" ) AM_WRITE(itazuram_nvram_palette_w ) AM_SHARE( "nvram" ) // nvram | paletteram |
1236 | 1587 | |
1237 | 1588 | AM_RANGE( 0xfe00, 0xffff ) AM_RAM // High speed internal RAM |
r245657 | r245658 | |
1300 | 1651 | case 0x1f: |
1301 | 1652 | |
1302 | 1653 | case 0x64: // SPRITERAM |
1303 | case 0x66: // PALETTE RAM + TABLE | |
1304 | case 0x67: // REGS | |
1654 | case 0x66: // PALETTE RAM + VTABLE | |
1655 | case 0x67: // VREGS | |
1305 | 1656 | break; |
1306 | 1657 | |
1307 | 1658 | default: |
r245657 | r245658 | |
1399 | 1750 | return m_spriteram[offset]; |
1400 | 1751 | break; |
1401 | 1752 | |
1402 | case 0x66: // PALETTERAM + TABLE | |
1753 | case 0x66: // PALETTERAM + VTABLE | |
1403 | 1754 | if (offset < 0x200) |
1404 | 1755 | return m_paletteram[offset]; |
1756 | else if ((offset >= 0x800) && (offset < 0x880)) | |
1757 | { | |
1758 | return m_vtable[offset-0x800]; | |
1759 | } | |
1405 | 1760 | break; |
1406 | 1761 | |
1407 | case 0x67: // REGS | |
1408 | if (offset == (0xc013-0xc000)) | |
1409 | return haekaka_vblank_r(space, offset); | |
1762 | case 0x67: // VREGS | |
1763 | if (offset >= (0xc000-0xc000) && offset <= (0xc021-0xc000)) | |
1764 | { | |
1765 | if (offset == (0xc013-0xc000)) | |
1766 | return haekaka_vblank_r(space, 0); | |
1767 | return vregs_r(space, offset-(0xc000-0xc000)); | |
1768 | } | |
1410 | 1769 | break; |
1411 | 1770 | } |
1412 | 1771 | |
r245657 | r245658 | |
1426 | 1785 | } |
1427 | 1786 | break; |
1428 | 1787 | |
1429 | case 0x66: // PALETTERAM + TABLE | |
1788 | case 0x66: // PALETTERAM + VTABLE | |
1430 | 1789 | if (offset < 0x200) |
1431 | 1790 | { |
1432 | 1791 | m_palette->write(space, offset, data); |
1433 | // m_generic_paletteram_8[offset] = data; | |
1434 | 1792 | return; |
1435 | 1793 | } |
1436 | 1794 | else if ((offset >= 0x800) && (offset < 0x880)) |
1437 | 1795 | { |
1438 | | |
1796 | m_vtable[offset-0x800] = data; | |
1439 | 1797 | return; |
1440 | 1798 | } |
1441 | 1799 | break; |
1800 | ||
1801 | case 0x67: // VREGS | |
1802 | if (offset >= (0xc000-0xc000) && offset <= (0xc021-0xc000)) | |
1803 | { | |
1804 | vregs_w(space, offset-(0xc000-0xc000), data); | |
1805 | return; | |
1806 | } | |
1807 | break; | |
1442 | 1808 | } |
1443 | 1809 | |
1444 | 1810 | logerror("%s: unknown write to %02x = %02x with rombank = %02x\n", machine().describe_context(), offset+0xc000, data, m_rombank); |
r245657 | r245658 | |
1510 | 1876 | ***************************************************************************/ |
1511 | 1877 | |
1512 | 1878 | /*************************************************************************** |
1513 | | |
1879 | Sigma B-98 Games | |
1514 | 1880 | ***************************************************************************/ |
1515 | 1881 | |
1516 | static INPUT_PORTS_START( gegege ) | |
1517 | ||
1882 | // 1 button (plus bet and payout) | |
1883 | static INPUT_PORTS_START( sigma_1b ) | |
1518 | 1884 | PORT_START("EEPROM") |
1519 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) // protection? checks. Must be 0 | |
1520 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") // protection? checks. Must be 0 | |
1885 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) // Related to d013. Must be 0 | |
1886 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") // Related to d013. Must be 0 | |
1521 | 1887 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
1522 | 1888 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
1523 | 1889 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
r245657 | r245658 | |
1525 | 1891 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
1526 | 1892 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_93cxx_device, do_read) |
1527 | 1893 | |
1528 | PORT_START(" | |
1894 | PORT_START("BUTTON") | |
1529 | 1895 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(5) // ? (coin error, pulses mask 4 of port c6) |
1530 | 1896 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(5) PORT_NAME("Medal") // coin/medal in (coin error) |
1531 | 1897 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("hopper", ticket_dispenser_device, line_r) |
1532 | 1898 | PORT_SERVICE( 0x08, IP_ACTIVE_LOW ) |
1533 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Bet") // bet / select in test menu | |
1534 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Play") // play game / select in test menu | |
1899 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_CODE(KEYCODE_1) // bet / select in test menu | |
1900 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) | |
1535 | 1901 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
1536 | 1902 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
1537 | 1903 | |
1538 | PORT_START("IN2") | |
1539 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Pay Out") // pay out / change option in test menu | |
1904 | PORT_START("PAYOUT") | |
1905 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) // pay out / change option in test menu | |
1540 | 1906 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
1541 | 1907 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
1542 | 1908 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
r245657 | r245658 | |
1544 | 1910 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
1545 | 1911 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
1546 | 1912 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
1547 | ||
1548 | 1913 | INPUT_PORTS_END |
1549 | 1914 | |
1550 | /*************************************************************************** | |
1551 | PEPSI Man | |
1552 | ***************************************************************************/ | |
1915 | // 3 buttons (plus bet and payout) | |
1916 | static INPUT_PORTS_START( sigma_3b ) | |
1917 | PORT_INCLUDE( sigma_1b ) | |
1553 | 1918 | |
1554 | static INPUT_PORTS_START( pepsiman ) | |
1919 | PORT_MODIFY("BUTTON") | |
1920 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) | |
1921 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 ) | |
1922 | INPUT_PORTS_END | |
1555 | 1923 | |
1556 | PORT_START("EEPROM") | |
1557 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) // protection? checks. Must be 0 | |
1558 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") // protection? checks. Must be 0 | |
1559 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1560 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1561 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1562 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1563 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1564 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_93cxx_device, do_read) | |
1924 | // 5 buttons (plus bet and payout) | |
1925 | static INPUT_PORTS_START( sigma_5b ) | |
1926 | PORT_INCLUDE( sigma_1b ) | |
1565 | 1927 | |
1566 | PORT_START("IN1") | |
1567 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(5) // ? (coin error, pulses mask 4 of port c6) | |
1568 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(5) PORT_NAME("Medal") // coin/medal in (coin error) | |
1569 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("hopper", ticket_dispenser_device, line_r) | |
1570 | PORT_SERVICE( 0x08, IP_ACTIVE_LOW ) | |
1571 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_CODE(KEYCODE_1) // bet / select in test menu | |
1572 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Rock (Gu)") | |
1573 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Scissors (Choki)") | |
1574 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Paper (Par)") | |
1928 | PORT_MODIFY("BUTTON") | |
1929 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) | |
1930 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 ) | |
1575 | 1931 | |
1576 | PORT_START("IN2") | |
1577 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) // pay out / enter in test menu | |
1578 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1579 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1580 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1581 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1582 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1583 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1584 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1585 | ||
1932 | PORT_MODIFY("PAYOUT") | |
1933 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) | |
1934 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) | |
1586 | 1935 | INPUT_PORTS_END |
1587 | 1936 | |
1588 | /*************************************************************************** | |
1589 | Uchuu Tokkyuu Medalian | |
1590 | ***************************************************************************/ | |
1937 | // Joystick (plus bet and payout) | |
1938 | static INPUT_PORTS_START( sigma_js ) | |
1939 | PORT_INCLUDE( sigma_1b ) | |
1591 | 1940 | |
1592 | static INPUT_PORTS_START( ucytokyu ) | |
1593 | ||
1594 | PORT_START("EEPROM") | |
1595 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) // protection? checks. Must be 0 | |
1596 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") // protection? checks. Must be 0 | |
1597 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1598 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1599 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1600 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1601 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1602 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_93cxx_device, do_read) | |
1603 | ||
1604 | PORT_START("IN1") | |
1605 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(10) // ? (coin error, pulses mask 4 of port c6) | |
1606 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(10) PORT_NAME("Medal") // coin/medal in (coin error) | |
1607 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("hopper", ticket_dispenser_device, line_r) | |
1608 | PORT_SERVICE( 0x08, IP_ACTIVE_LOW ) | |
1609 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_CODE(KEYCODE_1) // bet / enter in test menu | |
1941 | PORT_MODIFY("BUTTON") | |
1610 | 1942 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) |
1611 | 1943 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) |
1612 | 1944 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) |
1613 | 1945 | |
1614 | PORT_START("IN2") | |
1615 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) // pay out / back in test menu | |
1946 | PORT_MODIFY("PAYOUT") | |
1616 | 1947 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) |
1617 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1618 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1619 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1620 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1621 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1622 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
1623 | ||
1624 | 1948 | INPUT_PORTS_END |
1625 | 1949 | |
1626 | 1950 | /*************************************************************************** |
r245657 | r245658 | |
1679 | 2003 | ***************************************************************************/ |
1680 | 2004 | |
1681 | 2005 | /*************************************************************************** |
1682 | | |
2006 | Sigma B-98 Games | |
1683 | 2007 | ***************************************************************************/ |
1684 | 2008 | |
1685 | IN | |
2009 | MACHINE_RESET_MEMBER(sigmab98_state,sigmab98) | |
1686 | 2010 | { |
2011 | m_rombank = 0; | |
2012 | membank("rombank")->set_entry(0); | |
2013 | ||
2014 | m_rambank = 0; | |
2015 | membank("rambank")->set_entry(0); | |
2016 | } | |
2017 | ||
2018 | INTERRUPT_GEN_MEMBER(sigmab98_state::sigmab98_vblank_interrupt) | |
2019 | { | |
1687 | 2020 | device.execute().set_input_line_and_vector(0, HOLD_LINE, 0x5a); |
1688 | 2021 | } |
1689 | 2022 | |
1690 | static MACHINE_CONFIG_START( g | |
2023 | static MACHINE_CONFIG_START( sigmab98, sigmab98_state ) | |
1691 | 2024 | MCFG_CPU_ADD("maincpu", Z80, 10000000) // !! TAXAN KY-80, clock @X1? !! |
1692 | 2025 | MCFG_CPU_PROGRAM_MAP(gegege_mem_map) |
1693 | 2026 | MCFG_CPU_IO_MAP(gegege_io_map) |
1694 | MCFG_CPU_VBLANK_INT_DRIVER("screen", sigmab98_state, g | |
2027 | MCFG_CPU_VBLANK_INT_DRIVER("screen", sigmab98_state, sigmab98_vblank_interrupt) | |
1695 | 2028 | |
2029 | MCFG_MACHINE_RESET_OVERRIDE(sigmab98_state, sigmab98) | |
2030 | ||
1696 | 2031 | MCFG_NVRAM_ADD_0FILL("nvram") |
1697 | 2032 | MCFG_EEPROM_SERIAL_93C46_ADD("eeprom") |
1698 | 2033 | |
1699 | 2034 | MCFG_TICKET_DISPENSER_ADD("hopper", attotime::from_msec(200), TICKET_MOTOR_ACTIVE_LOW, TICKET_STATUS_ACTIVE_LOW ) |
1700 | 2035 | |
2036 | // video hardware | |
1701 | 2037 | MCFG_SCREEN_ADD("screen", RASTER) |
1702 | 2038 | MCFG_SCREEN_REFRESH_RATE(60) // ? |
1703 | 2039 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */) // game reads vblank state |
1704 | MCFG_SCREEN_SIZE(0x | |
2040 | MCFG_SCREEN_SIZE(0x140, 0x100) | |
1705 | 2041 | MCFG_SCREEN_VISIBLE_AREA(0,0x140-1, 0,0xf0-1) |
1706 | 2042 | MCFG_SCREEN_UPDATE_DRIVER(sigmab98_state, screen_update_sigmab98) |
1707 | 2043 | MCFG_SCREEN_PALETTE("palette") |
1708 | 2044 | |
1709 | 2045 | MCFG_GFXDECODE_ADD("gfxdecode", "palette", sigmab98) |
1710 | MCFG_PALETTE_ADD("palette", 0x100) | |
2046 | MCFG_PALETTE_ADD("palette", 0x100 + 1) | |
1711 | 2047 | MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB) |
1712 | 2048 | MCFG_PALETTE_ENDIANNESS(ENDIANNESS_BIG) |
1713 | 2049 | |
2050 | MCFG_BUFFERED_SPRITERAM8_ADD("spriteram") | |
2051 | ||
1714 | 2052 | // sound hardware |
1715 | 2053 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
1716 | 2054 | |
r245657 | r245658 | |
1719 | 2057 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
1720 | 2058 | MACHINE_CONFIG_END |
1721 | 2059 | |
2060 | static MACHINE_CONFIG_DERIVED( dodghero, sigmab98 ) | |
2061 | MCFG_CPU_MODIFY("maincpu") | |
2062 | MCFG_CPU_PROGRAM_MAP( dodghero_mem_map ) | |
2063 | MCFG_CPU_IO_MAP( dodghero_io_map ) | |
2064 | MACHINE_CONFIG_END | |
2065 | ||
2066 | static MACHINE_CONFIG_DERIVED( gegege, sigmab98 ) | |
2067 | MCFG_CPU_MODIFY("maincpu") | |
2068 | MCFG_CPU_PROGRAM_MAP( gegege_mem_map ) | |
2069 | MCFG_CPU_IO_MAP( gegege_io_map ) | |
2070 | MACHINE_CONFIG_END | |
2071 | ||
2072 | static MACHINE_CONFIG_DERIVED( dashhero, sigmab98 ) | |
2073 | MCFG_CPU_MODIFY("maincpu") | |
2074 | MCFG_CPU_PROGRAM_MAP( gegege_mem_map ) | |
2075 | MCFG_CPU_IO_MAP( dashhero_io_map ) | |
2076 | ||
2077 | MCFG_DEVICE_REMOVE("nvram") // FIXME: does not survive between sessions otherwise | |
2078 | MACHINE_CONFIG_END | |
2079 | ||
2080 | ||
1722 | 2081 | /*************************************************************************** |
1723 | 2082 | Sammy Medal Games |
1724 | 2083 | ***************************************************************************/ |
r245657 | r245658 | |
1728 | 2087 | m_maincpu->set_state_int(Z80_PC, 0x400); // code starts at 400 ??? (000 = cart header) |
1729 | 2088 | } |
1730 | 2089 | |
2090 | TIMER_DEVICE_CALLBACK_MEMBER(sigmab98_state::sammymdl_irq) | |
2091 | { | |
2092 | int scanline = param; | |
2093 | ||
2094 | if(scanline == 240) | |
2095 | m_maincpu->set_input_line_and_vector(0,HOLD_LINE, m_vblank_vector); | |
2096 | ||
2097 | if(scanline == 128) | |
2098 | m_maincpu->set_input_line_and_vector(0,HOLD_LINE, m_timer0_vector); | |
2099 | ||
2100 | if(scanline == 32) | |
2101 | m_maincpu->set_input_line_and_vector(0,HOLD_LINE, m_timer1_vector); | |
2102 | } | |
2103 | ||
1731 | 2104 | static MACHINE_CONFIG_START( sammymdl, sigmab98_state ) |
1732 | 2105 | MCFG_CPU_ADD("maincpu", Z80, XTAL_20MHz / 2) // !! KL5C80A120FP @ 10MHz? (actually 4 times faster than Z80) !! |
1733 | 2106 | MCFG_CPU_PROGRAM_MAP( animalc_map ) |
r245657 | r245658 | |
1742 | 2115 | |
1743 | 2116 | // video hardware |
1744 | 2117 | MCFG_SCREEN_ADD("screen", RASTER) |
1745 | MCFG_SCREEN_REFRESH_RATE(60) | |
2118 | MCFG_SCREEN_REFRESH_RATE(60) // ? | |
2119 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */) // game reads vblank state | |
1746 | 2120 | MCFG_SCREEN_SIZE(0x140, 0x100) |
1747 | 2121 | MCFG_SCREEN_VISIBLE_AREA(0, 0x140-1, 0, 0xf0-1) |
1748 | 2122 | MCFG_SCREEN_UPDATE_DRIVER(sigmab98_state, screen_update_sigmab98) |
r245657 | r245658 | |
1750 | 2124 | MCFG_SCREEN_PALETTE("palette") |
1751 | 2125 | |
1752 | 2126 | MCFG_GFXDECODE_ADD("gfxdecode", "palette", sigmab98) |
1753 | MCFG_PALETTE_ADD("palette", 0x100) | |
2127 | MCFG_PALETTE_ADD("palette", 0x100 + 1) | |
1754 | 2128 | MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB) |
1755 | 2129 | MCFG_PALETTE_ENDIANNESS(ENDIANNESS_BIG) |
1756 | 2130 | |
2131 | // MCFG_BUFFERED_SPRITERAM8_ADD("spriteram") | |
2132 | ||
1757 | 2133 | // sound hardware |
1758 | 2134 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
1759 | 2135 | |
r245657 | r245658 | |
1762 | 2138 | MCFG_SOUND_ROUTE(1, "rspeaker", 0.80) |
1763 | 2139 | MACHINE_CONFIG_END |
1764 | 2140 | |
1765 | ||
1766 | /*************************************************************************** | |
1767 | Animal Catch | |
1768 | ***************************************************************************/ | |
1769 | ||
1770 | TIMER_DEVICE_CALLBACK_MEMBER(sigmab98_state::sammymd1_irq) | |
1771 | { | |
1772 | int scanline = param; | |
1773 | ||
1774 | if(scanline == 240) | |
1775 | m_maincpu->set_input_line_and_vector(0,HOLD_LINE, m_vblank_vector); | |
1776 | ||
1777 | if(scanline == 128) | |
1778 | m_maincpu->set_input_line_and_vector(0,HOLD_LINE, m_timer0_vector); | |
1779 | ||
1780 | if(scanline == 32) | |
1781 | m_maincpu->set_input_line_and_vector(0,HOLD_LINE, m_timer1_vector); | |
1782 | } | |
1783 | ||
1784 | 2141 | static MACHINE_CONFIG_DERIVED( animalc, sammymdl ) |
1785 | 2142 | MCFG_CPU_MODIFY("maincpu") |
1786 | 2143 | MCFG_CPU_PROGRAM_MAP( animalc_map ) |
1787 | 2144 | MCFG_CPU_IO_MAP( animalc_io ) |
1788 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", sigmab98_state, sammymd | |
2145 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", sigmab98_state, sammymdl_irq, "screen", 0, 1) | |
1789 | 2146 | MACHINE_CONFIG_END |
1790 | 2147 | |
1791 | /*************************************************************************** | |
1792 | Hae Hae Ka Ka Ka | |
1793 | ***************************************************************************/ | |
1794 | ||
1795 | 2148 | static MACHINE_CONFIG_DERIVED( haekaka, sammymdl ) |
1796 | 2149 | MCFG_CPU_MODIFY("maincpu") |
1797 | 2150 | MCFG_CPU_PROGRAM_MAP( haekaka_map ) |
1798 | 2151 | MCFG_CPU_IO_MAP( haekaka_io ) |
1799 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", sigmab98_state, sammymd | |
2152 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", sigmab98_state, sammymdl_irq, "screen", 0, 1) | |
1800 | 2153 | MACHINE_CONFIG_END |
1801 | 2154 | |
1802 | /*************************************************************************** | |
1803 | Itazura Monkey | |
1804 | ***************************************************************************/ | |
1805 | ||
1806 | 2155 | static MACHINE_CONFIG_DERIVED( itazuram, sammymdl ) |
1807 | 2156 | MCFG_CPU_MODIFY("maincpu") |
1808 | 2157 | MCFG_CPU_PROGRAM_MAP( itazuram_map ) |
1809 | 2158 | MCFG_CPU_IO_MAP( itazuram_io ) |
1810 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", sigmab98_state, sammymd | |
2159 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", sigmab98_state, sammymdl_irq, "screen", 0, 1) | |
1811 | 2160 | MACHINE_CONFIG_END |
1812 | 2161 | |
1813 | /*************************************************************************** | |
1814 | Pye-nage Taikai | |
1815 | ***************************************************************************/ | |
1816 | ||
1817 | 2162 | static MACHINE_CONFIG_DERIVED( pyenaget, sammymdl ) |
1818 | 2163 | MCFG_CPU_MODIFY("maincpu") |
1819 | 2164 | MCFG_CPU_PROGRAM_MAP( haekaka_map ) |
1820 | 2165 | MCFG_CPU_IO_MAP( pyenaget_io ) |
1821 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", sigmab98_state, sammymd | |
2166 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", sigmab98_state, sammymdl_irq, "screen", 0, 1) | |
1822 | 2167 | MACHINE_CONFIG_END |
1823 | 2168 | |
1824 | /*************************************************************************** | |
1825 | Taihou de Doboon | |
1826 | ***************************************************************************/ | |
1827 | ||
1828 | 2169 | static MACHINE_CONFIG_DERIVED( tdoboon, sammymdl ) |
1829 | 2170 | MCFG_CPU_MODIFY("maincpu") |
1830 | 2171 | MCFG_CPU_PROGRAM_MAP( tdoboon_map ) |
1831 | 2172 | MCFG_CPU_IO_MAP( tdoboon_io ) |
1832 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", sigmab98_state, sammymd | |
2173 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", sigmab98_state, sammymdl_irq, "screen", 0, 1) | |
1833 | 2174 | |
1834 | 2175 | MCFG_SCREEN_MODIFY("screen") |
1835 | 2176 | MCFG_SCREEN_VISIBLE_AREA(0,0x140-1, 0+4,0xf0+4-1) |
r245657 | r245658 | |
1844 | 2185 | |
1845 | 2186 | /*************************************************************************** |
1846 | 2187 | |
2188 | Minna Atsumare! Dodge Hero | |
2189 | ||
2190 | ***************************************************************************/ | |
2191 | ||
2192 | ROM_START( dodghero ) | |
2193 | ROM_REGION( 0x20000, "maincpu", 0 ) | |
2194 | ROM_LOAD( "b9802-1d.ic7", 0x00000, 0x20000, CRC(093492e3) SHA1(d4dd104dc2410d97add532eea031cbc1ede3b0b1) ) | |
2195 | ||
2196 | ROM_REGION( 0x100000, "sprites", 0 ) | |
2197 | ROM_LOAD( "b9802-2.ic12", 0x00000, 0x80000, CRC(bb810ab8) SHA1(02bb1bb9b6dd0d24401c8a8c579f5ebcba963d8f) ) | |
2198 | ROM_LOAD( "b9802-3a.ic13", 0x80000, 0x80000, CRC(8792e487) SHA1(c5ed8059cd40a00656016b33762a04b9bedd7f06) ) | |
2199 | ||
2200 | ROM_REGION( 0x100000, "ymz", 0 ) | |
2201 | ROM_LOAD( "b9802-5.ic16", 0x00000, 0x80000, CRC(4840bdbd) SHA1(82f286ef848df9b6dcb5ff3b3aaa11d8e93e995b) ) | |
2202 | ROM_LOAD( "b9802-6.ic26", 0x80000, 0x80000, CRC(d83d8537) SHA1(9a5afdc68417db828a09188d653552452930b136) ) | |
2203 | ROM_END | |
2204 | ||
2205 | DRIVER_INIT_MEMBER(sigmab98_state,dodghero) | |
2206 | { | |
2207 | // ROM banks | |
2208 | UINT8 *rom = memregion("maincpu")->base(); | |
2209 | membank("rombank")->configure_entries(0, 0x18*2, rom + 0x8000, 0x800); | |
2210 | ||
2211 | // RAM banks | |
2212 | UINT8 *bankedram = auto_alloc_array(machine(), UINT8, 0x800 * 2); | |
2213 | membank("rambank")->configure_entries(0, 2, bankedram, 0x800); | |
2214 | } | |
2215 | ||
2216 | /*************************************************************************** | |
2217 | ||
2218 | Itazura Daisuki! Sushimaru Kun | |
2219 | ||
2220 | ***************************************************************************/ | |
2221 | ||
2222 | ROM_START( sushimar ) | |
2223 | ROM_REGION( 0x20000, "maincpu", 0 ) | |
2224 | ROM_LOAD( "b9803-1c.ic7", 0x00000, 0x20000, CRC(8ad3b7be) SHA1(14d8cec6723f230d4167de91b5b1103fe40755bc) ) | |
2225 | ||
2226 | ROM_REGION( 0x100000, "sprites", 0 ) | |
2227 | ROM_LOAD( "b9803-2.ic12", 0x00000, 0x80000, CRC(cae710a4) SHA1(c0511412d8feaa032b8bcd72074522d1b90f22b2) ) | |
2228 | ROM_LOAD( "b9803-03.ic13", 0x80000, 0x80000, CRC(f69f37f6) SHA1(546045b50dbc3ef45fc4dd1c7f2f6a23dfdc53d8) ) | |
2229 | ||
2230 | ROM_REGION( 0x80000, "ymz", 0 ) | |
2231 | ROM_LOAD( "b9803-5a.ic16", 0x00000, 0x80000, CRC(da3f36aa) SHA1(0caffbe6726afd41763f25378f8820724aa7bbce) ) | |
2232 | ROM_END | |
2233 | ||
2234 | /*************************************************************************** | |
2235 | ||
1847 | 2236 | GeGeGe no Kitarou Youkai Slot |
1848 | 2237 | |
1849 | 2238 | (C) 1997 Banpresto, Sigma |
r245657 | r245658 | |
1894 | 2283 | { |
1895 | 2284 | UINT8 *rom = memregion("maincpu")->base(); |
1896 | 2285 | |
1897 | // Protection? | |
1898 | rom[0x0bdd] = 0xc9; | |
2286 | // Related to d013 | |
2287 | // rom[0x0bdd] = 0xc9; | |
1899 | 2288 | |
1900 | rom[0x0bf9] = 0xc9; | |
2289 | // rom[0x0bf9] = 0xc9; | |
1901 | 2290 | |
1902 | rom[0x0dec] = 0x00; | |
1903 | rom[0x0ded] = 0x00; | |
2291 | // rom[0x0dec] = 0x00; | |
2292 | // rom[0x0ded] = 0x00; | |
1904 | 2293 | |
1905 | 2294 | // EEPROM timing checks |
1906 | 2295 | rom[0x8138] = 0x00; |
r245657 | r245658 | |
1920 | 2309 | membank("rambank")->set_entry(0); |
1921 | 2310 | } |
1922 | 2311 | |
2312 | /*************************************************************************** | |
1923 | 2313 | |
2314 | Burning Sanrinsya - Burning Tricycle | |
2315 | ||
2316 | ***************************************************************************/ | |
2317 | ||
2318 | ROM_START( b3rinsya ) | |
2319 | ROM_REGION( 0x20000, "maincpu", 0 ) | |
2320 | ROM_LOAD( "b9805-1c.ic7", 0x00000, 0x20000, CRC(a8cde2f4) SHA1(74d1f3f1710084d788a71dec0366f2c3f756fdf8) ) | |
2321 | ||
2322 | ROM_REGION( 0x100000, "sprites", 0 ) | |
2323 | ROM_LOAD( "b9805-2.ic12", 0x00000, 0x80000, CRC(7ec2e957) SHA1(1eb9095663d4f8f8f0c77f151918af1978332b3d) ) | |
2324 | ROM_LOAD( "b9805-3.ic13", 0x80000, 0x80000, CRC(449d0848) SHA1(63e91e4be8b58a6ebf1777ed5a9c23416bacba48) ) | |
2325 | ||
2326 | ROM_REGION( 0x80000, "ymz", 0 ) | |
2327 | ROM_LOAD( "b9805-5.ic16", 0x00000, 0x80000, CRC(f686f886) SHA1(ab68d12c5cb3a9fbc8a178739f39a2ff3104a0a1) ) | |
2328 | ROM_END | |
2329 | ||
2330 | DRIVER_INIT_MEMBER(sigmab98_state,b3rinsya) | |
2331 | { | |
2332 | UINT8 *rom = memregion("maincpu")->base(); | |
2333 | ||
2334 | // EEPROM timing checks | |
2335 | rom[0x8138] = 0x00; | |
2336 | rom[0x8139] = 0x00; | |
2337 | ||
2338 | rom[0x8164] = 0x00; | |
2339 | rom[0x8165] = 0x00; | |
2340 | ||
2341 | // ROM banks | |
2342 | membank("rombank")->configure_entries(0, 0x18, rom + 0x8000, 0x1000); | |
2343 | membank("rombank")->set_entry(0); | |
2344 | ||
2345 | // RAM banks | |
2346 | UINT8 *bankedram = auto_alloc_array(machine(), UINT8, 0x800 * 2); | |
2347 | membank("rambank")->configure_entries(0, 2, bankedram, 0x800); | |
2348 | membank("rambank")->set_entry(0); | |
2349 | } | |
2350 | ||
1924 | 2351 | /*************************************************************************** |
1925 | 2352 | |
1926 | 2353 | PEPSI Man |
r245657 | r245658 | |
1943 | 2370 | { |
1944 | 2371 | UINT8 *rom = memregion("maincpu")->base(); |
1945 | 2372 | |
1946 | // Protection? | |
1947 | rom[0x058a] = 0xc9; | |
2373 | // Related to d013 | |
2374 | // rom[0x058a] = 0xc9; | |
1948 | 2375 | |
1949 | rom[0x05a6] = 0xc9; | |
2376 | // rom[0x05a6] = 0xc9; | |
1950 | 2377 | |
1951 | rom[0xa00e] = 0x00; | |
1952 | rom[0xa00f] = 0x00; | |
2378 | // rom[0xa00e] = 0x00; | |
2379 | // rom[0xa00f] = 0x00; | |
1953 | 2380 | |
1954 | 2381 | // EEPROM timing checks |
1955 | 2382 | rom[0x8138] = 0x00; |
r245657 | r245658 | |
1969 | 2396 | membank("rambank")->set_entry(0); |
1970 | 2397 | } |
1971 | 2398 | |
2399 | /*************************************************************************** | |
1972 | 2400 | |
2401 | Transformers Beast Wars II | |
2402 | ||
2403 | ***************************************************************************/ | |
2404 | ||
2405 | ROM_START( tbeastw2 ) | |
2406 | ROM_REGION( 0x20000, "maincpu", 0 ) | |
2407 | ROM_LOAD( "b9808-1b.ic7.bin", 0x00000, 0x20000, CRC(65f7e079) SHA1(d421da3c99d62d3228e1b9c1cfb2de51f0fcc56e) ) | |
2408 | ||
2409 | ROM_REGION( 0x180000, "sprites", 0 ) | |
2410 | ROM_LOAD( "b9808-2.ic12.bin", 0x000000, 0x80000, CRC(dda5c2d2) SHA1(1bb21e7251df93b0f502b716e958d81f4e4e46dd) ) | |
2411 | ROM_LOAD( "b9808-3.ic13.bin", 0x080000, 0x80000, CRC(80df49c6) SHA1(14342be3a176cdf015c0ac07a4f1c109862c67aa) ) | |
2412 | ROM_LOAD( "b9808-4.ic17.bin", 0x100000, 0x80000, CRC(d90961ea) SHA1(c2f226a528238eafc1ba37200da4ee6ce9b54325) ) | |
2413 | ||
2414 | ROM_REGION( 0x100000, "ymz", 0 ) | |
2415 | ROM_LOAD( "b9808-5.ic16.bin", 0x00000, 0x80000, CRC(762c6d5f) SHA1(0d4e35b7f346c8cc0c49163474f34c1fc462998a) ) | |
2416 | ROM_LOAD( "b9808-6.ic26.bin", 0x80000, 0x80000, CRC(9ed759c9) SHA1(963db80b8a107ce9292bbc776ba91bc76ad82d5b) ) | |
2417 | ROM_END | |
2418 | ||
2419 | DRIVER_INIT_MEMBER(sigmab98_state,tbeastw2) | |
2420 | { | |
2421 | UINT8 *rom = memregion("maincpu")->base(); | |
2422 | ||
2423 | // EEPROM timing checks | |
2424 | rom[0x8138] = 0x00; | |
2425 | rom[0x8139] = 0x00; | |
2426 | ||
2427 | rom[0x8164] = 0x00; | |
2428 | rom[0x8165] = 0x00; | |
2429 | ||
2430 | // ROM banks | |
2431 | membank("rombank")->configure_entries(0, 0x18, rom + 0x8000, 0x1000); | |
2432 | membank("rombank")->set_entry(0); | |
2433 | ||
2434 | // RAM banks | |
2435 | UINT8 *bankedram = auto_alloc_array(machine(), UINT8, 0x800 * 2); | |
2436 | membank("rambank")->configure_entries(0, 2, bankedram, 0x800); | |
2437 | membank("rambank")->set_entry(0); | |
2438 | } | |
2439 | ||
1973 | 2440 | /*************************************************************************** |
1974 | 2441 | |
1975 | 2442 | Uchuu Tokkyuu Medalian |
r245657 | r245658 | |
1994 | 2461 | { |
1995 | 2462 | UINT8 *rom = memregion("maincpu")->base(); |
1996 | 2463 | |
1997 | // Protection? | |
1998 | rom[0x0bfa] = 0xc9; | |
2464 | // Related to d013 | |
2465 | // rom[0x0bfa] = 0xc9; | |
1999 | 2466 | |
2000 | rom[0x0c16] = 0xc9; | |
2467 | // rom[0x0c16] = 0xc9; | |
2001 | 2468 | |
2002 | rom[0xa43a] = 0x00; | |
2003 | rom[0xa43b] = 0x00; | |
2469 | // rom[0xa43a] = 0x00; | |
2470 | // rom[0xa43b] = 0x00; | |
2004 | 2471 | |
2005 | 2472 | // EEPROM timing checks |
2006 | 2473 | rom[0x8138] = 0x00; |
r245657 | r245658 | |
2020 | 2487 | membank("rambank")->set_entry(0); |
2021 | 2488 | } |
2022 | 2489 | |
2490 | /*************************************************************************** | |
2023 | 2491 | |
2492 | Minna Ganbare! Dash Hero | |
2493 | ||
2494 | ***************************************************************************/ | |
2495 | ||
2496 | ROM_START( dashhero ) | |
2497 | ROM_REGION( 0x20000, "maincpu", 0 ) | |
2498 | ROM_LOAD( "b098111-0101.ic7", 0x00000, 0x20000, CRC(46488393) SHA1(898bafbf5273b368cf963d863fb93e9fa0da816f) ) | |
2499 | ||
2500 | ROM_REGION( 0x180000, "sprites", 0 ) | |
2501 | ROM_LOAD( "b98114-0100.ic12", 0x000000, 0x80000, CRC(067625ea) SHA1(f9dccfc85adbb840da7512db0c88f554b453d2d2) ) | |
2502 | ROM_LOAD( "b98115-0100.ic13", 0x080000, 0x80000, CRC(d6f0b89d) SHA1(33b5f2f6529fd9a145ccb1b4deffabf5fa0d46cb) ) | |
2503 | ROM_LOAD( "b98116-0100.ic17", 0x100000, 0x80000, CRC(c0dbe953) SHA1(a75e202a0c1be988b8fd7d4ee23ebc82f6110e5f) ) | |
2504 | ||
2505 | ROM_REGION( 0x80000, "ymz", 0 ) | |
2506 | ROM_LOAD( "b098112-0100.ic16", 0x00000, 0x80000, CRC(26e5d6f5) SHA1(6fe6a26e51097886db58a6619b12a73cd21e7130) ) | |
2507 | ROM_END | |
2508 | ||
2509 | DRIVER_INIT_MEMBER(sigmab98_state,dashhero) | |
2510 | { | |
2511 | UINT8 *rom = memregion("maincpu")->base(); | |
2512 | ||
2513 | // EEPROM timing checks | |
2514 | rom[0x8138] = 0x00; | |
2515 | rom[0x8139] = 0x00; | |
2516 | ||
2517 | rom[0x8162] = 0x00; | |
2518 | rom[0x8163] = 0x00; | |
2519 | ||
2520 | // ROM banks | |
2521 | membank("rombank")->configure_entries(0, 0x18, rom + 0x8000, 0x1000); | |
2522 | membank("rombank")->set_entry(0); | |
2523 | ||
2524 | // RAM banks | |
2525 | UINT8 *bankedram = auto_alloc_array(machine(), UINT8, 0x800 * 4); | |
2526 | membank("rambank")->configure_entries(0, 4, bankedram, 0x800); | |
2527 | membank("rambank")->set_entry(0); | |
2528 | } | |
2529 | ||
2530 | ||
2024 | 2531 | /*************************************************************************** |
2025 | 2532 | |
2026 | 2533 | Sammy Medal Games |
r245657 | r245658 | |
2267 | 2774 | m_spriteram.allocate(0x1000); |
2268 | 2775 | memset(m_spriteram, 0, 0x1000); |
2269 | 2776 | |
2777 | m_vregs.allocate(0x22); | |
2778 | memset(m_vregs, 0, 0x22); | |
2779 | ||
2780 | m_vtable.allocate(0x80); | |
2781 | memset(m_vtable, 0, 0x80); | |
2782 | ||
2270 | 2783 | m_rombank = 0x65; |
2271 | 2784 | m_rambank = 0x53; |
2272 | 2785 | |
r245657 | r245658 | |
2282 | 2795 | |
2283 | 2796 | ***************************************************************************/ |
2284 | 2797 | |
2285 | GAME( 1997, gegege, 0, gegege, gegege, sigmab98_state, gegege, ROT0, "Banpresto / Sigma", "GeGeGe no Kitarou Youkai Slot", 0 ) | |
2286 | GAME( 1997, pepsiman, 0, gegege, pepsiman, sigmab98_state, pepsiman, ROT0, "Sigma", "PEPSI Man", 0 ) | |
2287 | GAME( 1997, ucytokyu, 0, gegege, ucytokyu, sigmab98_state, ucytokyu, ROT0, "Sigma", "Uchuu Tokkyuu Medalian", 0 ) // Banpresto + others in the ROM | |
2798 | GAME( 1997, dodghero, 0, dodghero, sigma_1b, sigmab98_state, dodghero, ROT0, "Sigma", "Minna Atsumare! Dodge Hero", GAME_IMPERFECT_GRAPHICS ) | |
2799 | GAME( 1997, sushimar, 0, dodghero, sigma_3b, sigmab98_state, dodghero, ROT0, "Sigma", "Itazura Daisuki! Sushimaru Kun", GAME_IMPERFECT_GRAPHICS ) | |
2800 | GAME( 1997, gegege, 0, gegege, sigma_1b, sigmab98_state, gegege, ROT0, "Sigma / Banpresto", "GeGeGe no Kitarou Youkai Slot", GAME_IMPERFECT_GRAPHICS ) | |
2801 | GAME( 1997, b3rinsya, 0, gegege, sigma_5b, sigmab98_state, b3rinsya, ROT0, "Sigma", "Burning Sanrinsya - Burning Tricycle", GAME_IMPERFECT_GRAPHICS ) // 1997 in the rom | |
2802 | GAME( 1997, pepsiman, 0, gegege, sigma_3b, sigmab98_state, pepsiman, ROT0, "Sigma", "PEPSI Man", GAME_IMPERFECT_GRAPHICS ) | |
2803 | GAME( 1998, tbeastw2, 0, gegege, sigma_3b, sigmab98_state, tbeastw2, ROT0, "Sigma / Transformer Production Company / Takara", "Transformers Beast Wars II", GAME_IMPERFECT_GRAPHICS ) // 1997 in the rom | |
2804 | GAME( 1997, ucytokyu, 0, gegege, sigma_js, sigmab98_state, ucytokyu, ROT0, "Sigma", "Uchuu Tokkyuu Medalian", GAME_IMPERFECT_GRAPHICS ) // Banpresto + others in the ROM | |
2805 | GAME( 2000, dashhero, 0, dashhero, sigma_1b, sigmab98_state, dashhero, ROT0, "Sigma", "Minna Ganbare! Dash Hero", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING ) // 1999 in the rom | |
2288 | 2806 | // Sammy Medal Games: |
2289 | GAME( 2000, sammymdl, 0, sammymdl, sammymdl, driver_device, 0, ROT0, "Sammy", "Sammy Medal Game System Bios", GAME_IS_BIOS_ROOT ) | |
2290 | GAME( 2000, animalc, sammymdl, animalc, sammymdl, sigmab98_state, animalc, ROT0, "Sammy", "Animal Catch", 0 ) | |
2291 | GAME( 2000, itazuram, sammymdl, itazuram, sammymdl, sigmab98_state, itazuram, ROT0, "Sammy", "Itazura Monkey", 0 ) | |
2292 | GAME( 2000, pyenaget, sammymdl, pyenaget, sammymdl, sigmab98_state, haekaka, ROT0, "Sammy", "Pye-nage Taikai", 0 ) | |
2293 | GAME( 2000, tdoboon, sammymdl, tdoboon, haekaka, sigmab98_state, haekaka, ROT0, "Sammy", "Taihou de Doboon", 0 ) | |
2294 | GAME( 2001, haekaka, sammymdl, haekaka, haekaka, sigmab98_state, haekaka, ROT0, "Sammy", "Hae Hae Ka Ka Ka", 0 ) | |
2807 | GAME( 2000, sammymdl, 0, sammymdl, sammymdl, driver_device, 0, ROT0, "Sammy", "Sammy Medal Game System Bios", GAME_IS_BIOS_ROOT ) | |
2808 | GAME( 2000, animalc, sammymdl, animalc, sammymdl, sigmab98_state, animalc, ROT0, "Sammy", "Animal Catch", GAME_IMPERFECT_GRAPHICS ) | |
2809 | GAME( 2000, itazuram, sammymdl, itazuram, sammymdl, sigmab98_state, itazuram, ROT0, "Sammy", "Itazura Monkey", GAME_IMPERFECT_GRAPHICS ) | |
2810 | GAME( 2000, pyenaget, sammymdl, pyenaget, sammymdl, sigmab98_state, haekaka, ROT0, "Sammy", "Pye-nage Taikai", GAME_IMPERFECT_GRAPHICS ) | |
2811 | GAME( 2000, tdoboon, sammymdl, tdoboon, haekaka, sigmab98_state, haekaka, ROT0, "Sammy", "Taihou de Doboon", GAME_IMPERFECT_GRAPHICS ) | |
2812 | GAME( 2001, haekaka, sammymdl, haekaka, haekaka, sigmab98_state, haekaka, ROT0, "Sammy", "Hae Hae Ka Ka Ka", GAME_IMPERFECT_GRAPHICS ) |
r245657 | r245658 | |
---|---|---|
9726 | 9726 | jwildb52h // (c) 199? Sigma |
9727 | 9727 | |
9728 | 9728 | // Sigma B98 / Sammy Medal Games |
9729 | gegege // (c) 1997 Banpresto / Sigma | |
9730 | pepsiman // (c) 1997 Sigma | |
9731 | ucytokyu // (c) 1997 Sigma | |
9729 | dodghero // b9802 (c) 1997 Sigma | |
9730 | sushimar // b9803 (c) 1997 Sigma | |
9731 | gegege // b9804 (c) 1997 Sigma / Banpresto | |
9732 | b3rinsya // b9805 (c) 1997 Sigma | |
9733 | pepsiman // b9806 (c) 1997 Sigma | |
9734 | tbeastw2 // b9808 (c) 1998 Sigma / Transformer Production Company / Takara | |
9735 | ucytokyu // b9809 (c) 1997 Sigma | |
9736 | dashhero // b9811 (c) 1999 Sigma | |
9732 | 9737 | sammymdl // (c) 2000-2003 Sammy |
9733 | 9738 | animalc // (c) 2000 Sammy |
9734 | 9739 | itazuram // (c) 2000 Sammy |
https://github.com/mamedev/mame/commit/cffd83b571ab490313d57ba98c3e549daaed22d4 |
Previous | 199869 Revisions | Next |