driver
driver m92.c
source m92.c (m92.c on mamedev.org)
games Blade Master (World)
Cross Blades! (Japan)
Dream Soccer '94 (Japan)
Geostorm (Japan)
Gun Hohki (Japan)
Gunforce - Battle Fire Engulfed Terror Island (Japan)
Gunforce - Battle Fire Engulfed Terror Island (US)
Gunforce - Battle Fire Engulfed Terror Island (World)
Gunforce 2 (US)
Hook (Japan)
Hook (US)
Hook (World)
In The Hunt (US)
In The Hunt (World)
Kaitei Daisensou (Japan)
Lethal Thunder (World)
Major Title 2 (Japan)
Major Title 2 (World)
Mystic Riders (World)
Ninja Baseball Batman (US)
Perfect Soldiers (Japan)
R-Type Leo (Japan)
R-Type Leo (World)
Superior Soldiers (US)
The Irem Skins Game (US set 1)
The Irem Skins Game (US set 2)
Thunder Blaster (Japan)
Undercover Cops (Alpha Renewal Version)
Undercover Cops (Japan)
Undercover Cops (World)
Yakyuu Kakutou League-Man (Japan)
information 0.36b6 [Bryan McPhail, Chris Hardy, Oliver Bergmann]


TODO:

- Gunforce: Animated water sometimes doesn't appear on level 5 (but it always appears if you cheat and jump straight to the level). Almost certainly a core bug.

- Irem Skins: Eeprom load/save not yet implemented - when done, MT2EEP should be removed from the ROM definition.

- Perfect Soliders: Shortly into the fight, the sound CPU enters a tight loop, conitnuously writing to the status port and with interrupts disabled. I don't see how it is supposed to get out of that loop. Maybe it's not supposed to enter it at all?

- LeagueMan: Raster effects don't work properly (not even cpu time per line?).

- Dream Soccer 94: Slight priority problems when goal scoring animation is played.


NOTES:

- Driver: Emulation by Bryan McPhail. Thanks to Chris Hardy and Oliver Bergmann.

- Irem Skins Game has an eeprom and ticket payout(?). R-Type Leo & Lethal Thunder have a memory card.

- Many games use raster IRQ's for special video effects: Scrolling water in Undercover Cops and Score display in R-Type Leo.


WIP:

- 0.126u5: Removed driversm92.h. Fabio Priuli changed a lot of input related things in IREM M10->M107 boards. First of all, moved input definitions from drivers/m92.h to include/iremipt.h and removed completely drivers/m92.h (which only contained those definitions). Added more common inputs to iremipt.h and started to use that file in m62->m107 instead of local #defines. Finally, added diplocations to all the games in m62->m107 which were missing and it implemented coinage mode 2 through dipconditions in the drivers which didn't support it.

- 0.118u3: Added includesm92.h. Changed NEC V30 CPU core to use a 16-bit data bus [Aaron Giles, Philip Bennett, Pierpaolo Prazzoli].

- 0.116u4: Pierpaolo Prazzoli added wrap around x for sprites in the m92 driver.

- 0.115u1: Pierpaolo Prazzoli improved M92 sprite drawing.

- 0.113: Zsolt Vasvari removed unnecessary idle skipping code from the m92 driver. This allows removal of a couple of now-unused functions from cpuexec.

- 0.106u3: Massive dipswitch update to the M92 driver [Brian Troha, Guru, Yasuhiro Ogawa].

- 0.99u7: Pierpaolo Prazzoli fixed tilemap-tilemap drawing order in M92 driver. Aaron Giles fixed the M92 state saving.

- 0.98u2: Aaron Giles replaced direct access to Machine->scrbitmap in M92 driver with the use of force_partial_update().

- 0.66: Changed V33 CPU1 clock speed to 9MHz and V30 CPU2 to 7159090 Hz.

- 18th April 2002: Acho A. Tang improved the IREM GA-20 sound chip emulation which helps some of the games on the IREM M-92 hardware.

- 22nd January 2002: Bryan McPhail re-added Gunforce 2 to the IREM M-92 driver with some speedups.

- 11th January 2002: Acho A. Tang submitted a modification to the IREM GA20 sound chip emulation, which partially fixes some sample pitch problems in the IREM M-92 driver.

- 13th October 2001: Gerardo Oporto fixed some dipswitch settings in Irem M107 and M92 drivers.

- 0.55: Changed palettesize from 1024 to 2048 colors.

- 26th August 2001: Bryan McPhail improved the IREM M-92 driver, making Ninja Baseball Batman work.

- 25th July 2001: Marco Cassili fixed dipswitch settings in many M-92 games.

- 18th July 2001: Nicola Salmoria fixed several NEC CPU core bugs and errors in the IREM CPU decryption tables, and got sound working in Gunforce.

- 11th September 2000: Bryan McPhail sent in a huge Irem games update with a rewritten NEC core, fixing many bugs. R-Type Leo title screen was fixed as well as preliminary Irem GA20 custom sample player support was added.

- 29th April 2000: Bryan McPhail added the USA romset of In The Hunt to the M92 driver, and he fixed the slowdowns in V33 games.

- 18th January 2000: Bryan McPhail did some minor fixes to the M92 driver.

- 0.36b12: Changed V33 CPU1 clock speed to 18MHz.

- 3rd December 1999: Bryan McPhail sent in a M92 update with a few fixes to Gunforce and some speedups.

- 7th November 1999: Bryan McPhail added Perfect Soldiers to the M92 driver.

- 0.36b7: Changed V33 CPU1 clock speed to 20MHz.

- 9th October 1999: Bryan McPhail added Mystic Riders to the M92 driver (Gun Hohki World version).

- 29th September 1999: Bryan McPhail added Gun Hohki to the M92 driver.

- 0.36b6: Added m92.c/h driver and vidhrdwm92.c.

- 27th September 1999: Nicola modified the M92 video driver to implement the tile priorities in another way.

- 24th September 1999: Oliver Bergmann sent in a NEC V20, V30, V33 cpu core, and Bryan McPhail submitted an Irem M92 driver with support for Blademaster, Gunforce, Lethal Thunder, Hook, Undercover Cops, R-type Leo, Major Title 2 and In The Hunt, but none of the games have sound because of an encrypted sound CPU.

- 31st May 1999: Nicola added Spelunker to the M62 driver.

PCB information
bmaster Blade Master (World)
[02/05/98]
 
 Here are the proms for Blade Master by IREM CORP.
 If you need more info mail me!
 
 Possible CPU :  PLCC    D70136 ( NEC)
 For sound: YM2151
 
 -
gunforce Gunforce - Battle Fire Engulfed Terror Island (World)
[MAME]
 
 Gun Force
 1991, Irem Corp.
 
 PCB Layout
 ----------
 
 Top board (Standard M92 Main Board)
 
 M92-A-B   05C04170B1
 |---------------------------|-----|--------------------|
 |         MC3403  MC3403    |NANAO|                    |
 |   064D                    |GA20 |         DSW3       |
 |         MC3403  MC3403    |-----|                    |
 |                             YM2151                   |
 |   MC3403              YM3014                         |
 |                                                      |
 |J      CN6                           |-------|        |
 |                      D71059C        |NEC    |        |
 |A              6264                  |D71036L|        |
 |                      62256   18MHz  |V33    |        |
 |M                                    |-------|        |
 |               6264   62256                           |
 |M                           M92A-7J-.41(PAL)          |
 |                                     M92A-9J-.51(PAL) |
 |A                                                     |
 |                               |-----|     |-----|    |
 | CN4(4P)                       |NANAO|     |NANAO|    |
 |                               |GA21 |     |GA22 |    |
 |       M92A-3M-.11(PAL)        |-----|     |-----|    |
 |                                                      |
 |                       6264      6116                 |
 | CN5(3P)                                              |
 |       DSW2    DSW1    6264      6116      26.66666MHz|
 |------------------------------------------------------|
 Notes:
       V33 clock   : 9.000MHz
       GA20 clock  : 3.579545MHz (pin38)
       YM2151 clock: 3.579545MHz
       VSync       : 60Hz
 
       6116 : 2K x8 SRAM
       6264 : 8K x8 SRAM
       62256: 32K x8 SRAM
 
       CN4: Connector for 4th player controls
       CN5: Connector for 3rd player controls
       CN6: Connector for 2nd speaker (for stereo output)
 
       Custom chips:
                    NANAO GA20 (QFP80) - Sound chip
                    NANAO GA21 (QFP136)
                    NANAO GA22 (QFP160)
 
 
 
 Bottom board (Game Board, differs per game)
 
 M92-B-B   05C04171B1
 |--------------------------------------------------------|
 |              ROM_C0.9          ROM_001.29*  ROM_000.38 |
 |                        |-----|                         |
 |14.31818MHz   ROM_C1.10 |NANAO| ROM_011.30*  ROM_010.39 |
 |                        |GA23 |                         |
 | |----------| ROM_C2.11 |-----| ROM_021.31*  ROM_020.40 |
 | |NANAO     |                                           |
 | |08J27261A1| ROM_C3.12         ROM_031.32*  ROM_030.41 |
 | |011       |                                           |
 | |9108KK700 |                                           |
 | |----------|                                           |
 |                                                        |
 |               GF_B-SH0-.14                             |
 |                                                        |
 |                                       M92_B-7H-.43(PAL)|
 |                                                        |
 |               6264                  GF_B-L0-C.25       |
 |                                                        |
 |                                     GF_B-L1-C.26       |
 |               6264        62256                        |
 |  M92B-2L-.7(PAL)                    GF_B-H1-C.27       |
 |                           62256                        |
 |  ROM_DA.8     GF_B-SL0.17           GF_B-H0-C.28       |
 |                                                        |
 |--------------------------------------------------------|
 Notes:
       *: Unpopulated position (shown for reference for other M92 games)
 
       6264 : 8K x8 SRAM
       62256: 32K x8 SRAM
 
       Custom chips:
                    NANAO 08J27261A1 (PLCC84, encrypted V30 sound CPU, clocked at 14.31818MHz on pins 78 & 79)
                    NANAO GA23 (QFP180)
 
 -
gunforc2 Gunforce 2 (US)
[Jan/05/2002]
 
 Gunforce 2
 Irem, 1994
 
 This game runs on Irem M92 hardware.
 
 Top Board (CPU / Sound)
 -----------------------
 
 PCB No: M92-A-B   05C04170B1
 CPU   : NEC D70136 (V33)
 SND   : Nanao GA20 (80 pin PQFP), YM2151, YM3014
 OSC   : 18.000 MHz (Near V33), 26.66666MHz
 DIPs  : 8 position (x3)
 RAM   : 6264 (x6), 62256 (x2)
 PALs  : 16L8 (x3)
 
 Other : Nanao GA21 (136 pin PQFP)
         Nanao GA22 (160 pin PQFP)
 
 ROMs  :
 None
 
 
 Bottom Board (Video)
 --------------------
 
 PCB No: M92-B-G   05C04171G1
 OSC   : 14.31818 MHz
 RAM   : 6264 (x2), 62256 (x2)
 PALs  : 16L8 (x2), 16R4 (x1)
 
 Other : Nanao 08J27291A4 (84 pin PLCC)
         Nanao 08J27504A1 (160 pin PQFP)
 
 ROMs  :
 A2-H1-A.6F	27C020	\
 A2-H0-A.6H	27C020	 |   Main Program
 A2-L1-A.8F	27C020	 |
 A2-L0-A.8H	27C020	/
 
 A2_SHO.3L	27C512	\
 A2_SLO.5L	27C512	/    Sound Program
 
 A2_DA.1L	8M Mask	>    Sound
 
 A2_C0.1A	4M Mask	\
 A2_C1.1B	4M Mask  |
 A2_C2.3A	4M Mask  |   GFX - Tiles
 A2_C3.3B	4M Mask /
 
 A2_000.8A	8M Mask \
 A2_010.8B	8M Mask  |
 A2_020.8C	8M Mask  |   GFX - Sprites
 A2_030.8D	8M Mask /
 
 -
hook Hook (World)
[02/08/98]
 
 Here are the proms for HOOK by IREM CORP.
 If you have any trouble with this rom-archive
 Don't hesitate to mail me.
 
 
 Possible CPU :  PLCC    D70136 ( NEC)
 For sound: YM2151
 
 -
 
 [Mar/26/2005]
 
 Hook (Japan)  
   
 Irem 1992  
 
 
 CPU:
 1x V33 9MHz (main)
 1x V30 7.15909MHz (main)
 1x YM2151 3.579545MHz (sound)
 1x GA20 @ 3.579545MHz (sound)  
 
 ROMs:
 15x  
 
 Dumped 26/03/2005  
 
 -
inthunt In The Hunt (World)
[Nov/29/97]
 
 Possible CPU are:  PLCC    D8000011A1  (IREM) or
                                                          D70136 ( NEC)
 For sound: YM2151
 
 
 
 [Sep/26/99]
 
 Kaitei Daisensou
 (c)1993 IREM
 
 CPU   : V33 D71059C
 SOUND : YM2151 NANAO-GA20
 OSC.  : 18.000MHz 26.666MHz 14.31818MHz
 
 ITH-C0.BIN   ; BG CHR
 ITH-C1.BIN   ;  |
 ITH-C2.BIN   ;  |
 ITH-C3.BIN   ; /
 ITH-DA.BIN   ; VOICE DATA
 ITH-H0J.BIN  ; MAIN PRG
 ITH-H1J.BIN  ;  |
 ITH-L0J.BIN  ;  |
 ITH-L1J.BIN  ; /
 ITH-O00.BIN  ; OBJ CHR
 ITH-O10.BIN  ;  |
 ITH-O20.BIN  ;  |
 ITH-O30.BIN  ; /
 ITH-SH0.BIN  ; SOUND PRG
 ITH-SL0.BIN  ; /
 
 -
lethalth Lethal Thunder (World)
[Jan/16/98]
 
 Here are the proms for Lethal Thunder by IREM CORP.
 If you need more info mail me!
 
 Possible CPU :  PLCC    D70136 ( NEC)
 For sound: YM2151
 
 -
majtitl2 Major Title 2 (World)
[Aug/29/98]
 
 -------------------------------------------
 The Irem Skins Game by IREM CORP USA (1992)
 (Major Title 2)
 -------------------------------------------
 
 
 Location        Type     File ID    Checksum
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 PGM IC31 5F    27C2001    IS-L0-D     3FF4  [L0 ] [  MAIN PROG  ]
 PGM IC32 5J    27C2001    IS-L1       5CBE  [L1 ] [  MAIN PROG  ]
 PGM IC34 5M    27C2001    IS-H0-D     2F0B  [H0 ] [  MAIN PROG  ]
 PGM IC33 5L    27C2001    IS-H1       F5F2  [H1 ] [  MAIN PROG  ]
 PGM IC42 7A   LH538100*    K30        5F7D  [000] [ MOTION OBJ. ] 
 PGM IC43 7B   LH538100*    K31        9284  [010] [ MOTION OBJ. ]
 PGM IC44 7C   LH538100*    K32        EE38  [020] [ MOTION OBJ. ]
 PGM IC45 7D   LH538100*    K33        37E5  [030] [ MOTION OBJ. ]
 PGM IC9  3A   LH532100*    HR0        1F6E  [C0 ] [ BACKGROUNDS ]
 PGM IC10 3B   LH532100*    HR1        427A  [C1 ] [ BACKGROUNDS ]
 PGM IC11 3C   LH532100*    HR2        3914  [C2 ] [ BACKGROUNDS ]
 PGM IC12 3D   LH532100*    HR3        B7EC  [C3 ] [ BACKGROUNDS ]
 PGM IC14 3F     27C512    IS-SH0      6E24  [SH0] [ SOUND PROG  ] 
 PGM IC17 3M     27C512    IS-SL0      81A5  [SL0] [ SOUND PROG  ]
 PGM IC8  1M   LH534100*    K0D        0876  [DA ] [  PCM AUDIO  ] 
 PGM IC7  2L    PAL16L8    M92-B-2L    2138  
 PGM IC47 7H    PAL16L8    M92-B-7H    52EC
 CPU IC51 9J    PAL16L8    M92-A-9J    21AF
 CPU IC11 3M    PAL16L8    M92-A-3M    AF41
 CPU IC41 7J    PAL16L8    M92-A-7J    Fuse Protected
 
 
 Notes: CPU - CPU PCB        M92-A-B     MDK321V-0  05C04170B1
        PGM - Program PCB    M92-B-F     MDK311V-0  05C04171F1
 
            - PLDs are in the JEDEC format
            - PLD checksums are not the file checksums
 
          * - Custom ROMs have part numbers LH53(A)(B), where:
              A is the third digit of the ROM type number
              B is the ROM ID (File ID).         
 
              The last three digits of the ROM type number are
              replaced with the ROM ID. Eg. LH538K30 labelled ROM
   
        Compatible EPROMs (pin-out & memory):
        
        LH538100 (SHARP) 32pin DIP, masked 1048576x8-bit -> 27C080
        LH534100 (SHARP) 32pin DIP, masked  524288x8-bit -> 27C040
        LH532100 (SHARP) 32pin DIP, masked  262144x8-bit -> 27C020
 
 
 Brief hardware overview
 -----------------------
 
 Main processor   - NEC   uPD70136L-16     9.000 MHz   68 pin PLCC
 
 GFX              - NANAO GA22            13.000 MHz   160 pin PQFP 
                  - NANAO GA21            13.000 MHz   136 pin PQFP
                  - NANAO 08J27504A1      13.000 MHz   160 pin PQFP
 
 Sound processor  - NANAO 08J27291A7      14.318 MHz   84 pin PLCC
                  - NANAO GA20 custom                  80 pin PQFP
                  - YM2151
 
 -
nbbatman Ninja Baseball Batman (US)
[Okt/06/98]
 
 Yakyuu Kakutou League Man (Baseball Fighter)
 (c)1993 IREM
 
 CPU   : NANAO-08J27291A6/016 V33
 SOUND : YM2151 NANAO-GA20/6626
 (M92 SYSTEM)
 
 LM000.42    ; CHR ROM
 LM010.43    ;  |
 LM020.44    ;  |
 LM030.45    ; /
 LMA1-H0.34  ; MAIN PRG
 LMA1-H1.33  ;  |
 LMA1-L0.31  ;  |
 LMA1-L1.32  ; /
 LMA1-SH0.14 ; SOUND PRG
 LMA1-SL0.17 ; /
 LMC0.9      ; CHR ROM
 LMC1.10     ;  |
 LMC2.11     ;  |
 LMC3.12     ; /
 LMDA.8      ; VOICE DATA
 
 -
rtypeleo R-Type Leo (World)
[Nov/26/97]
 
 
 RType Leo Rom set
 
 System Board - M92
 
 This should be compatible with IREM's Lethal Thunder pcb.
 
 Bottom Board
 
 Main Processor - NEC V33 running at 10 Mhz (D70136L-10)
 
 D71059C interrupt controller (8259 compatible)
 
 4 * 64k SRAM
 2 * 16k SRAM
 2 * 256k SRAM
 
 Daughter board (Top)
 
 Custom Sound? processor - IREM D800001A1
 2 * 64k SRAM
 
 Sound chip - YM2151 + YM3014
 
 Roms
 
 NEC D23C4001 (masked) - C0->C3 - Character graphics (read as 27c040)
 NEC D23C8001 (masked) - 000-030 - Sprite graphics (read as 27c080)
 
 27c2001 - RTL-L0-D,RTL-H0-D
 27c010  - RTL-L1-D,RTL-H1-D - V33 program code
 27c512  - RTL-SHL0-A,RTL-SHH0-A - Sound code
 NEC D23C4001 (masked) - RTL-DA - Sound sample data
 
 Jumper Settings - Main board
 
 J2  - 16k (Note IC43 and IC44 are 6116-45 RAM chips)
 J3  - jumper B
 
 
 Jumper Settings - Daughter board
 
 J1  - S
 J2  - S
 J3  - OT
 J4  - 4.8M
 J5  - OT
 J6  - OT
 J7  - 4M
 J8  - OT
 J9  - OT
 J10 - 512
 J11 - 64k
 J12 - jumper across 2
 J13 - OT
 J14 - 8M
 J15 - 4.8M
 J16 - OT
 J17 - OT
 J18 - B
 
 
 
 
 [Mar/11/2002]
 
 R*Type Leo Version C by IREM 1992 
 
 Correct rom naming for RTL-L1- and RTL-H1- no revision letter after -
 
 Provided to you on 11-03-2002.
 
 -
 
uccops Undercover Cops (World)
[Oct/24/99]
 
 Undercover Cops
 (c)1992 IREM
 
 CPU   : V33 08J27291A5
 SOUND : YM2151 NANAO-GA20
 OSC.  : 18.000MHz 26.66666MHz 14.31818MHz
 
 UCA-C0.BIN  ; BG CHR
 UCA-C1.BIN  ;  |
 UCA-C2.BIN  ;  |
 UCA-C3.BIN  ; /
 UCA-DA.BIN  ; VOICE DATA
 UCA-H0.BIN  ; MAIN PRG
 UCA-H1.BIN  ;  |
 UCA-L0.BIN  ;  |
 UCA-L1.BIN  ; /
 UCA-O0.BIN  ; OBJ CHR
 UCA-O1.BIN  ;  |
 UCA-O2.BIN  ;  |
 UCA-O3.BIN  ; /
 UCA-SH0.BIN ; SOUND PRG
 UCA-SL0.BIN ; /
 
 -
 
 [12/11/97]
 
 Possible CPU :  PLCC    D70136 ( NEC)
 For sound: YM2151
 
 -
2004-2008 MAWS all copyrights belong to their respective owners