Skip to content

Releases

KonamiM2_MiSTer_20261121

Choose a tag to compare

@decoryah decoryah released this 21 Nov 09:49

Konami M2 for MiSTer - 20261121

Konami's M2 arcade board (1997-1998), the 3DO M2 hardware: two PowerPC 602s at 66.67 MHz, a triangle engine, an audio DSP and a CD
drive. Six MRAs and four cores: Tobe! Polystars (ver JAA, 1997), the light-gun games Evil Night (ver UBA, 1998), Hell Night
(ver EAA, 1998) and Total Vice (ver EBA, 1997), the fighting game Battle Tryst (ver JAC, 1998) and the football game Heat of
Eleven '98
(ver EAA, 1998).

Two picture fixes. Polystars' attract no longer flashes a pixel at its lower left, and on the SDRAM board's cores no pixel takes
another pixel's colour. Everything else is as in 20261119, at the same speed.

What's new

  • The flashing pixel in Polystars: in 20261119, a pixel at the lower left of the attract mode's picture flashed black or white.
    The core counted the video lines as MAME 0.289 does, 20 lines early. The M2's OS reads that count to know when the picture it has
    shown has been read out, and the game then clears that buffer for its next picture: with the count early, the clear began while
    the picture's last rows were still being shown, and its first pixel is the last row's left end. The count is now the line the
    display reads, as the M2 OS's own display code works it out, in all four cores. Every game's line interrupts now come where its OS
    asks for them.
  • The SDRAM board's cores (Hell Night, Battle Tryst, Heat of Eleven '98): a few pixels of some pictures took another pixel's
    colour. In a thin triangle, two pixels of different rows could reach the texture stage back to back, and the texture's detail level
    was then worked out across them, turning filtering on where it should be off. Each pixel now carries its own mark for the start of
    its row's span.

Install

  1. Unzip KonamiM2_MiSTer_20261121.zip over the root of the SD card:

    On the SD card What
    _Arcade/cores/KonamiM2_20261121.rbf Tobe! Polystars, Evil Night, Total Vice
    _Arcade/cores/KonamiM2HellNight_20261121.rbf Hell Night; needs the SDRAM board, any size (32, 64 or 128 MB)
    _Arcade/cores/KonamiM2Tryst_20261121.rbf Battle Tryst; needs the SDRAM board
    _Arcade/cores/KonamiM2Heat_20261121.rbf Heat of Eleven '98; needs the SDRAM board
    _Arcade/<game>.mra the six MRAs, each asking for its core above
    m2mpegd/m2mpegd Battle Tryst's movies' decoder
    m2mpegd/m2mpegd_service.sh starts and stops it
    m2mpegd/m2_mem_wc-5.15.1-MiSTer.ko, m2_mem_wc-6.18.38-MiSTer.ko a kernel module for a faster picture copy, for each of these MiSTer kernels; on another kernel the movies still play
    Scripts/m2mpegd_autostart_on.sh, Scripts/m2mpegd_autostart_off.sh turn starting the decoder at boot on and off

    From 20261119: only the four cores are new (the MRAs differ only in a comment: the converter's address). Delete the four
    _20261119.rbf cores from _Arcade/cores/. The decoder, its scripts, the disc files and your saves stay as they are.

  2. For Battle Tryst's movies: run m2mpegd_autostart_on from Scripts once: it starts the decoder, and from then on it
    starts at every boot. m2mpegd_autostart_off turns it off. Each script goes back to the menu by itself a few seconds after
    it's done. With only a CRT connected, MiSTer shows a notice about MiSTer.ini while a script runs: that's normal, wait for the
    menu to come back. If you turned it on for 20261119, it's still on.

  3. The disc files are as in 20261114 and 20261119: if you have them, keep them. Otherwise make each game's from the CHD in your own
    MAME 0.289 set. No ROMs or disc images are included.

    Game The CHD Makes
    Tobe! Polystars polystar/623jaa02.chd polystar_cd.zip, polystar_full.bin (546 MB), polystar_full.cue
    Evil Night evilngt/810uba02.chd evilngt_cd.zip, evilngt_full.bin (515 MB), evilngt_full.cue
    Total Vice totlvice/639eba01.chd totlvice_cd.zip, totlvice_full.bin (522 MB), totlvice_full.cue
    Hell Night hellngt/810eaa02.chd hellngt_cd.zip, hellngt_full.bin (515 MB), hellngt_full.cue
    Battle Tryst btltryst/636jac02.chd btltryst_cd.zip, btltryst_full.bin (423 MB), btltryst_full.cue
    Heat of Eleven '98 heatof11/703eaa02.chd heatof11_cd.zip, heatof11_full.bin (315 MB), heatof11_full.cue
    • Any of the six, in a browser: the
      Konami M2 CHD converter; for Polystars, with Repair gaps in
      Polystars music
      ticked. The conversion runs on your computer, and the CHD isn't uploaded.
    • Or with the repository's tools/m2disc.py (Python 3 and MAME's chdman, nothing else), from the folder you want the files
      in, for example python3 tools/m2disc.py btltryst/636jac02.chd. If chdman isn't on the PATH, give it after the CHD; on
      Windows, for example, py tools\m2disc.py btltryst\636jac02.chd C:\mame\chdman.exe.
  4. For each game, put your <set>.zip and <set>_cd.zip in games/mame/, and <set>_full.bin and <set>_full.cue in
    games/<set>/ (<set> is polystar, evilngt, totlvice, hellngt, btltryst or heatof11). Hell Night's set can be
    merged into Evil Night's evilngt.zip.

  5. Start the game from the Arcade menu. Once for each game, open the OSD and choose its <set>_full.bin under CD audio image; Main
    remembers it for that game and mounts it at each start. Without it the game runs without its music (and Battle Tryst without its
    data).

The OSD's version line reads v261121, the day the cores were built.

Video

  • Polystars, Evil Night, Total Vice, Battle Tryst, Heat of Eleven: 640 x 240 shown on a raster of 857 x 262, 15.56 kHz, 59.39 Hz,
    for a CRT as well as HDMI.
  • Hell Night: 512 x 384 shown on the arcade monitor's raster of 673 x 416, 24.77 kHz, 59.53 Hz (MAME: 24.76 kHz, 59.51 Hz). A CRT
    for it needs to take 24 kHz.
  • Aspect ratio: Original, Full Screen and the two custom ratios. Scale: Normal, V-Integer, HV-Integer, Narrower HV-Integer,
    HV-Integer+. CRT Adjust: Off, On; H-Size 0 to +5 and -16 to -1, H-Position -48 to +16 (in steps of 2 pixels), V-Shift -16 to
    +15.

Controls

  • Tobe! Polystars: a joystick, Shoot and Bomb, Start and Coin, for two players. The default pad layout: B shoots, A bombs,
    Start, Select for a coin.
  • Battle Tryst: a joystick, Guard, Punch and Kick, Start and Coin, for two players. The default pad layout: A guards,
    B punches, X kicks, Start, Select for a coin.
  • Heat of Eleven '98: a joystick, Pass/Tackle/Lifting, Long/Sliding/H.Lift and Shift (named as in the game's guides),
    Start and Coin, for two players. The default pad layout: A, B and X are the three buttons in that order, Start, Select for a coin.
  • Evil Night, Hell Night and Total Vice: a gun for each player, with Trigger and Reload, Start and Coin. The default pad
    layout: B is the trigger, A reloads, Start, Select for a coin; in Total Vice, X is Select (Service). Each player's Input is
    Controller (the default, with a crosshair), Mouse, Sinden or Light gun.
  • Every game: Pause (R) and Step (L).

OSD

CD audio image, Aspect ratio, Scale; CRT Adjust (page); for the gun games each player's Input and, for the Inputs in use, Controller
stick, Crosshair, Sinden border and Off-screen edge; Service mode; Pause when OSD is open; Advanced: CPU caches, SDRAM read timing, CPU
2 DEC interrupt; DIP Switches (Sound Output and Flip Screen; Evil Night and Hell Night only Flip Screen; none for Battle Tryst and Heat
of Eleven), Reset.

Checked

  • On a real MiSTer: this release's own four cores, with Polystars' attract showing no flashing pixel; on test builds, Hell
    Night, Battle Tryst and Heat of Eleven '98 played with the SDRAM board's colour fix (its few wrong pixels are too rare to watch
    for: the bench shows them).

  • In simulation: Polystars on the whole machine for 1,168 frames: its clear never writes a row of the picture being shown before
    the display has read it (without the fix, in 50 of the frames it did). The line count against the M2 OS's display code, followed in
    MAME's debugger: the OS takes picture line p to the count p + 24 in Polystars, the lines its display list has before the picture.
    The triangle engine's writes with the Z buffer in SDRAM, byte for byte those with it on the chip, on all nine sets of lists dumped
    from the games.

  • The files: the four cores are the ones tested on the board, byte for byte, built from this release's tree; m2mpegd and its
    scripts are 20261119's, byte for byte.

  • Quartus 17.0.2: each core's timing met on every clock (the slack on the worst path):

    Core ALMs (of 41,910) Machine, 66.67 MHz SDRAM, 133.33 MHz HDMI
    KonamiM2 36,968 (88 %) +1.505 ns +0.380 ns
    KonamiM2HellNight 37,926 (90 %) +1.309 ns +0.227 ns +0.290 ns
    KonamiM2Tryst 40,046 (96 %) +0.285 ns +0.229 ns +0.621 ns
    KonamiM2Heat 36,470 (87 %) +1.221 ns +0.422 ns +0.401 ns

Known differences / open points

  • Speed: Polystars ran stage 3 at 112 % of the real board's speed on release 20261110's core; where the board slows down, the
    core slows down less. The other games haven't been timed against a real board. Hell Night's continue screen (its 10 s take about
    14) and Battle Tryst's character select (about a third of its speed in 20261114) run slow; Battle Tryst's matches are close to full
    speed.
  • Battle Tryst's movies need m2mpegd running on the ARM (Install, step 2); without it they're black.
  • Games: all six of MAME's Konami M2 games...
Read more

KonamiM2_MiSTer_20261119

Choose a tag to compare

@decoryah decoryah released this 19 Nov 17:47

Konami M2 for MiSTer - 20261119

Konami's M2 arcade board (1997-1998), the 3DO M2 hardware: two PowerPC 602s at 66.67 MHz, a triangle engine, an audio DSP and a CD
drive. Six MRAs and four cores: Tobe! Polystars (ver JAA, 1997), the light-gun games Evil Night (ver UBA, 1998), Hell Night
(ver EAA, 1998) and Total Vice (ver EBA, 1997), the fighting game Battle Tryst (ver JAC, 1998) and the football game Heat of
Eleven '98
(ver EAA, 1998).

Battle Tryst's movies, CRT Adjust, and a new gun setup. Battle Tryst now plays its intro and attract movies, decoded on the
MiSTer's ARM by tallendorf's m2mpegd. Every core has rmonic79's CRT Adjust, Hell Night's 24 kHz one too. In the gun games each
player picks what they aim with, and the OSD shows only the settings that matter for it.

What's new

  • Battle Tryst's movies: the M2's MPEG unit has its registers in the FPGA and hands each picture to m2mpegd, a decoder on the
    MiSTer's ARM, which writes it back into game RAM, as NDS4MiSTer and DreamSTer do. It's in the release zip, and is turned on once
    from Scripts (Install, below). While another core runs it sleeps, waking once a second to see which core is loaded; it serves only
    Battle Tryst's core. Without it the game plays as before, with its movies black.
  • CRT Adjust (rmonic79's, in all four cores): H-Size, H-Position and V-Shift for an analog CRT, on its own OSD page. The picture
    is sized and moved through a line buffer while the sync keeps its timing, so the monitor stays locked. H-Position stops where the
    picture would reach into the hsync pulse or past the line's end, so a line is never cut. Off, the picture is exactly as before.
  • Gun games, one Input per player: P1, P2 and P3 Input are Controller (the default: the pad's stick and d-pad, with a
    crosshair), Mouse, Sinden or Light gun (GUN4IR and the like). Controller stick (Position, Move), Crosshair, Sinden
    border and Off-screen edge show only when an Input uses them. A crosshair shows once its player has aimed or fired.
  • Sinden light guns: the core draws the white border a Sinden needs (16, 24 or 8 px) while a player's Input is Sinden.
  • Pause and Step (every game; R and L on the pad): Player 1's Pause holds the machine and the sound; while paused, Step runs one
    frame, for screenshots. Pause when OSD is open in the OSD.
  • The M48T58: the board's battery-backed RAM and clock (Battle Tryst, Heat of Eleven, Evil Night, Hell Night). Its 8 KB is saved
    with the EEPROM in the same file in config/nvram/, and the clock starts from the MiSTer's. A save from 20261114 keeps its EEPROM
    settings.
  • The CPUs as a 602: a float result 3 clocks after its instruction (it was 5 or 8), as timed on a Panasonic FZ-35S, a retail M2;
    the instructions a 602 doesn't have go to its emulation trap, as on the chip.
  • The triangle engine's blender as on a real M2: dither, the 5-bit ALU select and the source alpha clamp, measured with test
    lists on a Panasonic FZ-35S. Its colour cache now reads and writes ahead of the pixels, and Battle Tryst's core has its faster
    compressed texture loads back.
  • Hell Night: a 64 KB Z cache (it was 16 KB): its continue screen's 10 s take about 14 (about 20 before). Its raster has a
    673-pixel line, 24.77 kHz and 59.53 Hz, MAME's rates within 0.1 %; before it ran 1.6 % slow.

Install

  1. Unzip KonamiM2_MiSTer_20261119.zip over the root of the SD card:

    On the SD card What
    _Arcade/cores/KonamiM2_20261119.rbf Tobe! Polystars, Evil Night, Total Vice
    _Arcade/cores/KonamiM2HellNight_20261119.rbf Hell Night; needs the SDRAM board, any size (32, 64 or 128 MB)
    _Arcade/cores/KonamiM2Tryst_20261119.rbf Battle Tryst; needs the SDRAM board
    _Arcade/cores/KonamiM2Heat_20261119.rbf Heat of Eleven '98; needs the SDRAM board
    _Arcade/<game>.mra the six MRAs, each asking for its core above
    m2mpegd/m2mpegd Battle Tryst's movies' decoder
    m2mpegd/m2mpegd_service.sh starts and stops it
    m2mpegd/m2_mem_wc-5.15.1-MiSTer.ko, m2_mem_wc-6.18.38-MiSTer.ko a kernel module for a faster picture copy, for each of these MiSTer kernels; on another kernel the movies still play
    Scripts/m2mpegd_autostart_on.sh, Scripts/m2mpegd_autostart_off.sh turn starting the decoder at boot on and off
  2. For Battle Tryst's movies: run m2mpegd_autostart_on from Scripts once: it starts the decoder, and from then on it
    starts at every boot. m2mpegd_autostart_off turns it off. Each script goes back to the menu by itself a few seconds after
    it's done. With only a CRT connected, MiSTer shows a notice about MiSTer.ini while a script runs: that's normal, wait for the
    menu to come back.

  3. The disc files are as in 20261114: if you have them, keep them. Otherwise make each game's from the CHD in your own MAME 0.289
    set. No ROMs or disc images are included.

    Game The CHD Makes
    Tobe! Polystars polystar/623jaa02.chd polystar_cd.zip, polystar_full.bin (546 MB), polystar_full.cue
    Evil Night evilngt/810uba02.chd evilngt_cd.zip, evilngt_full.bin (515 MB), evilngt_full.cue
    Total Vice totlvice/639eba01.chd totlvice_cd.zip, totlvice_full.bin (522 MB), totlvice_full.cue
    Hell Night hellngt/810eaa02.chd hellngt_cd.zip, hellngt_full.bin (515 MB), hellngt_full.cue
    Battle Tryst btltryst/636jac02.chd btltryst_cd.zip, btltryst_full.bin (423 MB), btltryst_full.cue
    Heat of Eleven '98 heatof11/703eaa02.chd heatof11_cd.zip, heatof11_full.bin (315 MB), heatof11_full.cue
    • Any of the six, in a browser: the
      Konami M2 CHD converter; for Polystars, with Repair gaps in
      Polystars music
      ticked. The conversion runs on your computer, and the CHD isn't uploaded.
    • Or with the repository's tools/m2disc.py (Python 3 and MAME's chdman, nothing else), from the folder you want the files
      in, for example python3 tools/m2disc.py btltryst/636jac02.chd. If chdman isn't on the PATH, give it after the CHD; on
      Windows, for example, py tools\m2disc.py btltryst\636jac02.chd C:\mame\chdman.exe.
  4. For each game, put your <set>.zip and <set>_cd.zip in games/mame/, and <set>_full.bin and <set>_full.cue in
    games/<set>/ (<set> is polystar, evilngt, totlvice, hellngt, btltryst or heatof11). Hell Night's set can be
    merged into Evil Night's evilngt.zip.

  5. Start the game from the Arcade menu. Once for each game, open the OSD and choose its <set>_full.bin under CD audio image; Main
    remembers it for that game and mounts it at each start. Without it the game runs without its music (and Battle Tryst without its
    data).

The OSD's version line reads v261119, the day the cores were built.

Video

  • Polystars, Evil Night, Total Vice, Battle Tryst, Heat of Eleven: 640 x 240 shown on a raster of 857 x 262, 15.56 kHz, 59.39 Hz,
    for a CRT as well as HDMI.
  • Hell Night: 512 x 384 shown on the arcade monitor's raster of 673 x 416, 24.77 kHz, 59.53 Hz (MAME: 24.76 kHz, 59.51 Hz). A CRT
    for it needs to take 24 kHz.
  • Aspect ratio: Original, Full Screen and the two custom ratios. Scale: Normal, V-Integer, HV-Integer, Narrower HV-Integer,
    HV-Integer+. CRT Adjust: Off, On; H-Size 0 to +5 and -16 to -1, H-Position -48 to +16 (in steps of 2 pixels), V-Shift -16 to
    +15.

Controls

  • Tobe! Polystars: a joystick, Shoot and Bomb, Start and Coin, for two players. The default pad layout: B shoots, A bombs,
    Start, Select for a coin.
  • Battle Tryst: a joystick, Guard, Punch and Kick, Start and Coin, for two players. The default pad layout: A guards,
    B punches, X kicks, Start, Select for a coin.
  • Heat of Eleven '98: a joystick, Pass/Tackle/Lifting, Long/Sliding/H.Lift and Shift (named as in the game's guides),
    Start and Coin, for two players. The default pad layout: A, B and X are the three buttons in that order, Start, Select for a coin.
  • Evil Night, Hell Night and Total Vice: a gun for each player, with Trigger and Reload, Start and Coin. The default pad
    layout: B is the trigger, A reloads, Start, Select for a coin; in Total Vice, X is Select (Service).
  • Every game: Pause (R) and Step (L).

OSD

CD audio image, Aspect ratio, Scale; CRT Adjust (page); for the gun games each player's Input and, for the Inputs in use, Controller
stick, Crosshair, Sinden border and Off-screen edge; Service mode; Pause when OSD is open; Advanced: CPU caches, SDRAM read timing, CPU
2 DEC interrupt; DIP Switches (Sound Output and Flip Screen; Evil Night and Hell Night only Flip Screen; none for Battle Tryst and Heat
of Eleven), Reset.

Checked

  • On a real MiSTer: the repository owner tested all of tallendorf's changes in this release together on his last test build, the
    gun games' Input settings, Battle Tryst's movies with m2mpegd and its auto-start scripts, and, on this release's own cores, CRT
    Adjust on a CRT. By tallendorf, on a MiSTerPi (kernel 5.15.1) and a DE10-Nano (6.18.38), both with the SDRAM board: Battle Tryst's
    intro and attract movies looped, watched for tears and sound, none seen; the DE10-Nano ran the decoder overnight, 27,404 pictures,
    none late, no errors.
  • In simulation: CRT Adjust on both rasters (On at 0 / 0 / 0 the same picture in the same place as Off; every H-Size at every
    H-Position keeps each line whole, after the hsync pulse and inside the line; V-Shift by whole lines); the triangle engine's writes on
    the lists dumped from Polystars, byte for byte MAME's; the 3-clock float ...
Read more

KonamiM2_MiSTer_20261114

Choose a tag to compare

@decoryah decoryah released this 15 Nov 13:49

Konami M2 for MiSTer - 20261114

Konami's M2 arcade board (1997-1998), the 3DO M2 hardware: two PowerPC 602s at 66.67 MHz, a triangle engine, an audio DSP and a CD
drive. Six MRAs and four cores: Tobe! Polystars (ver JAA, 1997), the light-gun games Evil Night (ver UBA, 1998), Hell Night
(ver EAA, 1998) and Total Vice (ver EBA, 1997), the fighting game Battle Tryst (ver JAC, 1998) and the football game Heat of
Eleven '98
(ver EAA, 1998).

Three new games, each on its own core, for the SDRAM board. Hell Night, Battle Tryst and Heat of Eleven '98 are tallendorf's work,
with the Z buffer in the SDRAM board's memory based on the repository owner's Gaelco 3D core. Like the first three, they're tested and
working on a real MiSTer: played by the repository owner on this release's cores, and by tallendorf on a MiSTerPi, a MultiSystem 2 and
a DE10-Nano. With them every game of MAME's Konami M2 driver is supported, Total Vice in its EBA version.

What's new

  • Hell Night: Evil Night's European version. It draws only in High Res, on the arcade monitor: 512 x 384 at about 24 kHz, where
    the other games draw 640 x 240 for a TV. Its core, KonamiM2HellNight, keeps the 384 KB Z buffer in the SDRAM board's memory, with
    a 16 KB Z cache. Its MRA takes the EEPROM and the M48T58 from a split, non-merged or merged set (in a merged one, from
    evilngt.zip's hellngt/ folder), and sets SOUND VOLUME to 20 of 30, as Evil Night's.
  • Battle Tryst: its core, KonamiM2Tryst, has the Z buffer in the SDRAM board's memory, the CD's data sectors streamed from the
    mounted btltryst_full.bin (the data track is 367 MB), compressed texture loads, and the MPEG unit's control, so the game gets past
    its MPEG intro (which shows black).
  • Heat of Eleven '98: its core, KonamiM2Heat, has the Z buffer in the SDRAM board's memory.
  • A freeze after hours, fixed: the M2 OS's scheduler could run on CPU 2 from its decrementer interrupt and corrupt CPU 1's task
    queue. Battle Tryst and Hell Night froze after hours of attract. CPU 2's decrementer interrupt is now an OSD option, Off by
    default (DEC still counts); On is the 602's own behaviour.
  • The triangle engine, closer to MAME: texels that run on into the next word, the texture blend's 255 − t, the master mode's
    dither off, the minify step within one row. The CPUs' frsqrte follows the 602's table.
  • Faster triangle engine and DSP: the next triangle is set up while one is drawn, a source buffer is read in the pipeline, and
    pixels the clips would throw away aren't walked; the DSP's instructions take fewer clocks.
  • OSD, Advanced page: CPU caches (32 KB, 16 KB, 8 KB, or 4 KB as the 602 itself, each side, at reset; Hell Night's core is fixed
    at 32 KB), SDRAM read timing (Normal, Late: for a slow SDRAM module, in the three SDRAM cores), CPU 2 DEC interrupt (above).
  • CD audio: a data read stops the CD audio, as MAME's drive does.
  • Disc files: tools/m2disc.py and the browser converter make Hell Night's, Battle Tryst's and Heat of Eleven's from MAME 0.289's
    CHDs, and from the Redump-based ones that go round.

Install

  1. Unzip KonamiM2_MiSTer_20261114.zip over the root of the SD card. It adds four cores to _Arcade/cores/ and six MRAs to
    _Arcade/:

    Core MRAs Needs
    KonamiM2_20261114.rbf Tobe! Polystars, Evil Night, Total Vice
    KonamiM2HellNight_20261114.rbf Hell Night the SDRAM board, any size (32, 64 or 128 MB)
    KonamiM2Tryst_20261114.rbf Battle Tryst the SDRAM board, any size (32, 64 or 128 MB)
    KonamiM2Heat_20261114.rbf Heat of Eleven '98 the SDRAM board, any size (32, 64 or 128 MB)
  2. Make each game's disc files from the CHD in your own MAME 0.289 set. No ROMs or disc images are included. If you have the first
    three games' files from 20261112, keep them.

    Game The CHD Makes
    Tobe! Polystars polystar/623jaa02.chd polystar_cd.zip, polystar_full.bin (546 MB), polystar_full.cue
    Evil Night evilngt/810uba02.chd evilngt_cd.zip, evilngt_full.bin (515 MB), evilngt_full.cue
    Total Vice totlvice/639eba01.chd totlvice_cd.zip, totlvice_full.bin (522 MB), totlvice_full.cue
    Hell Night hellngt/810eaa02.chd hellngt_cd.zip, hellngt_full.bin (515 MB), hellngt_full.cue
    Battle Tryst btltryst/636jac02.chd btltryst_cd.zip, btltryst_full.bin (423 MB), btltryst_full.cue
    Heat of Eleven '98 heatof11/703eaa02.chd heatof11_cd.zip, heatof11_full.bin (315 MB), heatof11_full.cue
    • Any of the six, with the repository's tools/m2disc.py (Python 3 and MAME's chdman, nothing else), from the folder you
      want the files in, for example:

      python3 tools/m2disc.py hellngt/810eaa02.chd
      python3 tools/m2disc.py btltryst/636jac02.chd
      python3 tools/m2disc.py heatof11/703eaa02.chd
      

      If chdman isn't on the PATH, give it after the CHD; on Windows, for example,
      py tools\m2disc.py btltryst\636jac02.chd C:\mame\chdman.exe.

    • Any of the six, in a browser: the
      Konami M2 CHD converter; for Polystars, with Repair gaps in
      Polystars music
      ticked. The conversion runs on your computer, and the CHD isn't uploaded.

  3. For each game, put your <set>.zip and <set>_cd.zip in games/mame/, and <set>_full.bin and <set>_full.cue in
    games/<set>/ (<set> is polystar, evilngt, totlvice, hellngt, btltryst or heatof11). Hell Night's set can be
    merged into Evil Night's evilngt.zip.

  4. Start the game from the Arcade menu. Once for each game, open the OSD and choose its <set>_full.bin under CD audio image; Main
    remembers it for that game and mounts it at each start. Without it the game runs without its music (and Battle Tryst without its
    data).

The OSD's version line reads v261114 (Heat of Eleven's core v261115), the day the cores were built.

Video

  • Polystars, Evil Night, Total Vice, Battle Tryst, Heat of Eleven: 640 x 240 shown on a raster of 857 x 262, 15.56 kHz, 59.39 Hz,
    for a CRT as well as HDMI.
  • Hell Night: 512 x 384 shown on the arcade monitor's raster of 684 x 416, 24.37 kHz, 58.58 Hz (MAME: 24.76 kHz, 59.51 Hz). A CRT
    for it needs to take 24 kHz.
  • Aspect ratio: Original, Full Screen and the two custom ratios. Scale: Normal, V-Integer, HV-Integer, Narrower HV-Integer,
    HV-Integer+.

Controls

  • Tobe! Polystars: a joystick, Shoot and Bomb, Start and Coin, for two players. The default pad layout: B shoots, A bombs,
    Start, Select for a coin.
  • Battle Tryst: a joystick, Guard, Punch and Kick, Start and Coin, for two players. The default pad layout: A guards,
    B punches, X kicks, Start, Select for a coin.
  • Heat of Eleven '98: a joystick, Pass/Tackle/Lifting, Long/Sliding/H.Lift and Shift (named as in the game's guides),
    Start and Coin, for two players. The default pad layout: A, B and X are the three buttons in that order, Start, Select for a coin.
  • Evil Night, Hell Night and Total Vice: a gun for each player, with Trigger and Reload, Start and Coin. The default pad
    layout: B is the trigger, A reloads, Start, Select for a coin; in Total Vice, X is Select (Service).

OSD

CD audio image, Aspect ratio, Scale; for the gun games each player's stick (Auto, Aim, D-pad), the mouse's player and the crosshairs;
Service mode; Advanced: CPU caches, SDRAM read timing, CPU 2 DEC interrupt; DIP Switches (Sound Output and Flip Screen; Evil Night and
Hell Night only Flip Screen; none for Battle Tryst and Heat of Eleven), Reset.

Checked

  • On a real MiSTer: the repository owner played Hell Night, Battle Tryst and Heat of Eleven '98 on this release's cores, with the
    SDRAM board, as Tobe! Polystars, Evil Night and Total Vice before them. By tallendorf, on a MiSTerPi, a MultiSystem 2 and a DE10-Nano with the SDRAM board:
    Hell Night and Heat of Eleven '98 played, a Battle Tryst match played; Hell Night's attract for 10 h without a freeze, and Battle
    Tryst's for 17.2 h and 16.6 h on a debug build forcing CPU 2's decrementer every half second, with the OSD's gate.

  • In simulation (Verilator): the triangle engine's writes on the lists dumped from Polystars, Evil Night and Total Vice, byte for
    byte as before or closer to MAME, never further; the video timing, the BDA and the video unit of the first three games' core
    clock for clock the same as before Hell Night's raster was added; the boot to the attract mode; the CPUs against a reference model
    with random programs and interrupts.

  • The disc files: MAME 0.289's own CHDs of Hell Night, Battle Tryst and Heat of Eleven give the same data sectors as the
    Redump-based CHDs the games were tested with. From those CHDs the browser converter's files are byte for byte tools/m2disc.py's.

  • Quartus 17.0.2: each core's timing met on every clock (the slack on the worst path):

    Core ALMs (of 41,910) Machine, 66.67 MHz SDRAM, 133.33 MHz HDMI
    KonamiM2 38,761 (92 %) +1.152 ns +0.407 ns
    KonamiM2HellNight 41,439 (99 %) +0.603 ns +0.111 ns +0.073 ns
    KonamiM2Tryst 41,396 (99 %) +0.592 ns +0.148 ns +0.146 ns
    KonamiM2Heat 40,223 (96 %) +0.881 ns +0.591 ns +0.356 ns

Known differences / open points

  • Speed: in Polystars, where the real board slows down, the core slows down less. The other games haven't been timed against a
    real board. Hell Night's continue screen (its 10 s take about 17) and Battle Tryst's character select (about a third of its speed)
    run slow; Battle Tryst's ma...
Read more

KonamiM2_MiSTer_20261112

Choose a tag to compare

@decoryah decoryah released this 11 Nov 23:24

Konami M2 for MiSTer - 20261112

Konami's M2 arcade board (1997-1998), the 3DO M2 hardware: two PowerPC 602s at 66.67 MHz, a triangle engine, an audio DSP and a CD
drive. Three MRAs: Tobe! Polystars (ver JAA, 1997), Konami's 3D shooter, and the light-gun games Evil Night (ver UBA, 1998) and
Total Vice (ver EBA, 1997).

Two new games, with light guns. Tested on a real MiSTer by the repository owner: Evil Night and Total Vice played, with their music
and sound effects.

What's new

  • Evil Night and Total Vice: Konami's light-gun games on the M2, for up to three players in Evil Night and two in Total Vice. New in
    the core for them: the YMZ280B sample chip of their boards (sample for sample a port of MAME's, on Evil Night's own writes), the guns,
    their boards' 16 MB of RAM and room for their larger discs (up to 64 MB of data track).
  • Light guns: aim with a light gun that MiSTer sees as a pad's analog stick (Sinden, GUN4IR), a pad's stick or d-pad, or a mouse;
    Trigger and Reload; a crosshair for each player if you want one. Reload (Button 2) does what each game wants: in Evil Night, Players
    1 and 3 aim up and Player 2 presses a button; in Total Vice, each player shoots off the screen.
  • Sound effects without clicks: the audio DSP takes fewer clocks per instruction. Total Vice's effects program needed more time
    than a sample has, which gave clicks; it now takes at most 1319 of the 1512 clocks. The sound is also output on the 44.1 kHz tick.
  • Volume and blood: the EEPROMs in Evil Night's and Total Vice's MAME sets hold the factory sound volume, which is just as quiet in
    MAME. The MRAs set Evil Night's SOUND VOLUME to 20 of 30 (12 in the set) and Total Vice's VOLUME and GUN VOLUME to 24 of 31 (4 in the
    set), and Total Vice's VIOLENT MODE to BLOODY (CLEAN in the set). Both can be changed in the games' service menus.
  • Total Vice's service menu opens an item only with Player 2's Start: while Service mode is On, Player 1's Button 3 (Select
    (Service)
    , X on the pad) does the same, so one controller is enough.
  • Picture: 240p's vertical sync is where CEA-861 has it, so the last lines show on scalers that cut them off before (Total Vice's
    INSERT COINS).
  • OSD: CD audio image first, then Aspect ratio and Scale, then the guns' options, Service mode and the DIP switches.
  • Disc files: the new tools/m2disc.py makes a game's files from its CHD in one step, for all three games (below), and so does
    the browser converter now.

Install

  1. Unzip KonamiM2_MiSTer_20261112.zip over the root of the SD card. It adds _Arcade/cores/KonamiM2_20261112.rbf and three MRAs to
    _Arcade/: Tobe! Polystars (ver JAA).mra (only a comment differs from 20261110's), Evil Night (ver UBA).mra and
    Total Vice (ver EBA).mra.

  2. Make each game's disc files from the CHD in your own MAME 0.289 set. No ROMs or disc images are included. If you have Polystars'
    from 20261110, keep them.

    Game The CHD Makes
    Tobe! Polystars polystar/623jaa02.chd polystar_cd.zip, polystar_full.bin (546 MB), polystar_full.cue
    Evil Night evilngt/810uba02.chd evilngt_cd.zip, evilngt_full.bin (515 MB), evilngt_full.cue
    Total Vice totlvice/639eba01.chd totlvice_cd.zip, totlvice_full.bin (522 MB), totlvice_full.cue
    • Any of the three, with the repository's tools/m2disc.py (Python 3 and MAME's chdman, nothing else), from the folder you
      want the files in:

      python3 tools/m2disc.py polystar/623jaa02.chd
      python3 tools/m2disc.py evilngt/810uba02.chd
      python3 tools/m2disc.py totlvice/639eba01.chd
      

      If chdman isn't on the PATH, give it after the CHD; on Windows, for example,
      py tools\m2disc.py totlvice\639eba01.chd C:\mame\chdman.exe. It repairs Polystars' music (the 28 gaps of MAME's bad dump), and
      pads Total Vice's data track, which its CHD keeps as 2048-byte sectors, so that the core finds the music. It turns down Total
      Vice's other versions (AAB, JAD, UAC), which the core doesn't run.

    • Any of the three, in a browser: the Konami M2 CHD converter; for
      Polystars, with Repair gaps in Polystars music ticked. The conversion runs on your computer, and the CHD isn't uploaded.

  3. For each game, put your <set>.zip and <set>_cd.zip in games/mame/, and <set>_full.bin and <set>_full.cue in
    games/<set>/ (<set> is polystar, evilngt or totlvice).

  4. Start the game from the Arcade menu. Once for each game, open the OSD and choose its <set>_full.bin under CD audio image; Main
    remembers it for that game and mounts it at each start. The MRA also asks for it, but Main releases up to 20261010 don't act on
    that. Without it the game runs without its music.

The OSD's version line reads v261111, the day the core was built.

Video

  • The signal: 640 x 240 shown on a raster of 857 x 262, 15.56 kHz, 59.39 Hz, near MAME's 768 x 262 at 59.36 Hz, with a TV's
    blanking and CEA-861's vertical sync. For a CRT as well as HDMI.
  • Aspect ratio: Original, Full Screen and the two custom ratios.
  • Scale: Normal, V-Integer, HV-Integer, Narrower HV-Integer, HV-Integer+.

Controls

  • Tobe! Polystars: a joystick, Shoot and Bomb, Start and Coin, for two players. The default pad layout: B shoots, A bombs,
    Start, Select for a coin.
  • Evil Night and Total Vice: a gun for each player, with Trigger and Reload, Start and Coin. The default pad layout: B is
    the trigger, A reloads, Start, Select for a coin; in Total Vice, X is Select (Service).

OSD

CD audio image, Aspect ratio, Scale; for the gun games each player's stick (Auto, Aim, D-pad), the mouse's player and the crosshairs;
Service mode, DIP Switches (Sound Output and Flip Screen, Evil Night only Flip Screen), Reset.

Checked

  • On a real MiSTer: by the repository owner: Evil Night and Total Vice played, the guns' trigger and reload, their music and sound
    effects, on builds of this design (the last differed only in Button 3 and a sound test option). Tobe! Polystars as in 20261110:
    the whole game played through, the speed timed on stage 3 against a video of the real board.
  • Against MAME 0.289, in simulation (Verilator): the YMZ280B sample for sample against a port of MAME's on Evil Night's own writes;
    the DSP against MAME's interpreter, and on MAME's dumps of each game's DSP program, the clocks it takes; Evil Night's and Total Vice's
    boot to the attract mode, and Polystars' still. The CPUs and the triangle engine as in 20261110.
  • The disc files: tools/m2disc.py's, for all three games, are byte for byte the ones played on the board, and so are the
    browser converter's for Evil Night and Total Vice.
  • Quartus 17.0.2: seed 4 (seeds 5 and 2 miss HDMI's timing): 37,938 ALMs (91 %), 538 of 553 M10K blocks, 64 of 112 DSPs. Timing
    is met on every clock: +1.071 ns on the machine's, +0.566 ns on HDMI's.

Known differences / open points

  • Evil Night's and Total Vice's speed hasn't been timed against a real board. In Polystars, where the real board slows down, the core
    slows down less.
  • Games: Hell Night (ver EAA), Evil Night's other version, is planned: its picture and its guns' range differ. Total Vice's JAD,
    AAB and UAC sets, Battle Tryst and Heat of Eleven '98 are marked not working in MAME 0.289, so the core can't be checked against it
    for them.
  • MPEG: the 3DO M2's MPEG video decoder isn't in the core. No Konami M2 game is known to need it: MAME has only an empty stand-in
    for it and runs all three games without one.
  • No CRT Adjust and no Scandoubler Fx yet. The volume is each game's own, in its service menu.

Credits

MAME (the konamim2 driver and the 3DO M2 devices by Phil Bennett, the PowerPC core by Aaron Giles and R. Belmont, the YMZ280B by Aaron
Giles), tallendorf (the single-precision float units, the FP-unavailable exception, the triangle engine and DSP fixes, Heat of Eleven's
build, tools/cdimage.py's older CHDs), the repository owner's Slap Shot core (the light guns), the repository owner's Gaelco 3D core
(the platform layer, the benches, the packaging), and the MiSTer framework.

KonamiM2_MiSTer_20261110

Choose a tag to compare

@decoryah decoryah released this 10 Nov 18:41

Konami M2 for MiSTer - 20261110

Konami's M2 arcade board (1997-1998), the 3DO M2 hardware: two PowerPC 602s at 66.67 MHz, a triangle engine, an audio DSP and a CD
drive. One MRA: Tobe! Polystars (ver JAA, 1997), Konami's 3D shooter.

Full speed, and no gaps in the music. Tested on a real MiSTer by the repository owner: the whole game played through.

What's new

  • Speed: the CPUs are faster: data caches of two 16 KB ways, a load or store each clock, float results passed on as they leave
    the pipeline, a faster divide and square root, and tallendorf's single-precision float units, as the 602 has. Stage 3, timed against
    a video of the real board, takes 154.8 s where the board takes 173.6 s: 112 % of its speed (110 % before the lava, 133 % in it,
    106 % after). Where the real board slows down, the core slows down less. 20261106 ran at about 83 % of the real board's speed.
  • Music: short gaps in the music, most of them in the stage 7 boss fight. They're in the disc image: MAME marks 623jaa02.chd as a
    bad dump, and its music has 28 stretches of 0.35 s of silence, where the ripper's reads failed. The new tools/cdfix.py fills each
    from the same music elsewhere in its track, as the music repeats (Install, step 3). With the repaired image, a whole game played
    without a gap.
  • From tallendorf's pull requests: textures drawn smaller than their size use the minify filter; literal texels and texture loads
    from any byte address fixed; the blender as in the BDA spec's reference model; the DSP takes fewer clocks per instruction; the CPUs'
    FP-unavailable exception, so tasks don't share the float registers. Also a build for Heat of Eleven '98 with its own MRA, which isn't
    in this release.
  • Room: the core uses 87 % of the chip, down from 99 %, thanks to the single-precision float units.

Install

  1. Unzip KonamiM2_MiSTer_20261110.zip over the root of the SD card. It adds Tobe! Polystars (ver JAA).mra to _Arcade/ (the same as
    20261106's) and _Arcade/cores/KonamiM2_20261110.rbf.

  2. If you have the disc's images from 20261106, keep them and go on to step 3. If not, make them from your own MAME 0.289 set's
    623jaa02.chd (polystar/623jaa02.chd), in either of these ways. No ROMs or disc images are included.

    • In a browser: choose the CHD in the Konami M2 CHD converter and download the
      three files it makes: polystar_cd.zip, polystar_full.bin and polystar_full.cue. The conversion runs on your computer, and the CHD isn't
      uploaded. It needs a desktop browser (Chrome or Edge) and about 2 GB of free memory, and takes only this disc.

    • By hand: with MAME's chdman and the repository's tools/cdimage.py:

      chdman extractcd -i polystar/623jaa02.chd -o polystar_full.cue -ob polystar_full.bin
      python3 tools/cdimage.py chdman polystar/623jaa02.chd polystar_cd.bin
      zip polystar_cd.zip polystar_cd.bin
      

      The first makes the whole disc, for the music (polystar_full.bin, 546 MB, with its .cue); the second its data track (polystar_cd.bin, 24 MB).

  3. Repair the music with the repository's tools/cdfix.py (Python 3, nothing else needed):

    python3 tools/cdfix.py polystar_full.bin
    

    It repairs the file in place, after checking it: a file that isn't this image, or is already repaired, is left alone. It holds
    only positions; all the audio comes from your image.

  4. Put your polystar.zip and polystar_cd.zip in games/mame/, and polystar_full.bin and polystar_full.cue in games/polystar/.

  5. Start the game from the Arcade menu. Once, open the OSD and choose polystar_full.bin under CD audio image; Main remembers it and
    mounts it at each start. The MRA also asks for it, but Main releases up to 20261010 don't act on that. Without it the game runs
    without its music.

The OSD's version line reads v261109, the day the core was built.

Video

  • The signal: 640 x 240 shown on a raster of 857 x 262, 15.56 kHz, 59.39 Hz, near MAME's 768 x 262 at 59.36 Hz, with a TV's blanking.
    For a CRT as well as HDMI.
  • Aspect ratio: Original, Full Screen and the two custom ratios.
  • Scale: Normal, V-Integer, HV-Integer, Narrower HV-Integer, HV-Integer+.

Controls

A joystick, Shoot and Bomb, Start and Coin, for two players. The default pad layout: B shoots, A bombs, Start, Select for a coin.

OSD

Aspect ratio, Scale, CD audio image, Service mode, DIP Switches (Sound Output, Flip Screen), Reset.

Checked

  • On a real MiSTer: by the repository owner: the whole game played through on this build, more than once; with the repaired disc
    image, a whole game without a gap in the music. The speed timed on stage 3 against a video of the real board.
  • Against MAME 0.289, in simulation (Verilator): the boot from the CD image to the title screen, the CPUs against MAME's instruction
    traces, and the triangle engine's writes byte for byte MAME's on the lists dumped from the game. The CPUs also against a reference
    model on random programs, with random memory delays and interrupts, and the caches' coherence.
  • Quartus 17.0.2: seed 2 (all four seeds tried meet timing): 36,562 ALMs (87 %), 539 of 553 M10K blocks, 60 of 112 DSPs. Timing is
    met on every clock: +1.592 ns on the machine's, +0.221 ns on HDMI's.

Known differences / open points

  • Where the real board slows down, the core slows down less: in stage 3's lava, it runs a third faster than the board.
  • MAME only estimates the triangle engine's timing, so the speed is compared with the real board, not MAME.
  • Games: this core plays Tobe! Polystars, the only MRA. The other Konami M2 games aren't supported yet:
    • Total Vice (ver EBA) and Evil Night / Hell Night are planned. They work in MAME 0.289, haven't been run on this core yet, and may
      need more of the board, such as Evil Night's light guns.
    • Total Vice's JAD, AAB and UAC sets, Battle Tryst and Heat of Eleven '98 are marked not working in MAME 0.289, so the core can't be
      checked against it for them.
  • MPEG: the 3DO M2's MPEG video decoder isn't in the core. No Konami M2 game is known to need it: MAME has only an empty stand-in
    for it and runs Polystars, Total Vice and Evil Night without one.
  • No CRT Adjust, no Scandoubler Fx and no volume yet.

Credits

MAME (the konamim2 driver and the 3DO M2 devices by Phil Bennett, the PowerPC core by Aaron Giles and R. Belmont), tallendorf (the
single-precision float units, the FP-unavailable exception, the triangle engine and DSP fixes, Heat of Eleven's build,
tools/cdimage.py's older CHDs), the repository owner's Gaelco 3D core (the platform layer, the benches, the packaging), and the MiSTer
framework.

KonamiM2_MiSTer_20261106

Choose a tag to compare

@decoryah decoryah released this 06 Nov 17:57

Konami M2 for MiSTer - 20261106

Konami's M2 arcade board (1997-1998), the 3DO M2 hardware: two PowerPC 602s at 66.67 MHz, a triangle engine, an audio DSP and a CD
drive. One MRA: Tobe! Polystars (ver JAA, 1997), Konami's 3D shooter.

Faster, with the sound fixed, the service settings saved and the board's DIP switches in the OSD. Tested on a real MiSTer by the
repository owner.

What's new

  • Speed: the triangle engine draws faster. The attract mode's gameplay demo, from STAGE 1 START to the first OPTION x2, takes
    102.9 s, where a video of the real board takes 85.0 s: about 83 % of the real board's speed in gameplay. The title and intro scenes
    run at the real board's pace.
  • Sound: sound effects, and later the music, could drop out after a while and stay gone. Fixed.
  • Picture: the ground could be drawn over the houses in places, and a few pixels were missing at the picture's lower left. Fixed.
  • Service settings are saved: what's set in the service menu (Free Play, difficulty and the rest) is kept on the SD card, in
    config/nvram/, and loaded at the next start. MiSTer saves it when the OSD is opened.
  • DIP switches: the board's two, Sound Output (Stereo by default) and Flip Screen, under DIP Switches in the OSD.
  • Controls: the buttons have the game's names, Shoot and Bomb, with a default pad layout. The Service button is gone: Coin does
    the same, and the OSD's Service mode opens the service menu.
  • tools/cdimage.py: a CHD whose data track is stored at 2048 bytes a sector (an older dump) now works. From tallendorf's pull request.

Install

  1. Unzip KonamiM2_MiSTer_20261106.zip over the root of the SD card. It adds Tobe! Polystars (ver JAA).mra to _Arcade/ and
    _Arcade/cores/KonamiM2_20261106.rbf. Use this release's MRA: the settings save, the DIP switches and the button names are in it.

  2. Make the disc's images from your own MAME 0.289 set's 623jaa02.chd (polystar/623jaa02.chd), in either of these ways. No ROMs or disc
    images are included.

    • In a browser: choose the CHD in the Konami M2 CHD converter and download the
      three files it makes: polystar_cd.zip, polystar_full.bin and polystar_full.cue. The conversion runs on your computer, and the CHD isn't
      uploaded. It needs a desktop browser (Chrome or Edge) and about 2 GB of free memory, and takes only this disc.

    • By hand: with MAME's chdman and the repository's tools/cdimage.py:

      chdman extractcd -i polystar/623jaa02.chd -o polystar_full.cue -ob polystar_full.bin
      python3 tools/cdimage.py chdman polystar/623jaa02.chd polystar_cd.bin
      zip polystar_cd.zip polystar_cd.bin
      

      The first makes the whole disc, for the music (polystar_full.bin, 546 MB, with its .cue); the second its data track (polystar_cd.bin, 24 MB).

  3. Put your polystar.zip and polystar_cd.zip in games/mame/, and polystar_full.bin and polystar_full.cue in games/polystar/.

  4. Start the game from the Arcade menu. Once, open the OSD and choose polystar_full.bin under CD audio image; Main remembers it and
    mounts it at each start. The MRA also asks for it, but Main releases up to 20261010 don't act on that. Without it the game runs
    without its music.

The OSD's version line reads v261106.

Video

  • The signal: 640 x 240 shown on a raster of 857 x 262, 15.56 kHz, 59.39 Hz, near MAME's 768 x 262 at 59.36 Hz, with a TV's blanking.
    For a CRT as well as HDMI.
  • Aspect ratio: Original, Full Screen and the two custom ratios.
  • Scale: Normal, V-Integer, HV-Integer, Narrower HV-Integer, HV-Integer+.

Controls

A joystick, Shoot and Bomb, Start and Coin, for two players. The default pad layout: B shoots, A bombs, Start, Select for a coin.

OSD

Aspect ratio, Scale, CD audio image, Service mode, DIP Switches (Sound Output, Flip Screen), Reset.

Checked

  • On a real MiSTer: by the repository owner: the attract mode looped for 90 minutes and games were played, with music and sound
    effects throughout, on a test build without the settings save and the DIP switches. On this build: saving the service settings, the DIP switches and the new controls checked, the attract mode and a game played.
  • Against MAME 0.289, in simulation (Verilator): the boot from the CD image to the title screen, the CPUs against MAME's instruction
    traces, and the triangle engine's writes byte for byte MAME's on the lists dumped from the game.
  • Quartus 17.0.2: the best of four seeds (seed 4): 41,451 ALMs (99 %), 441 of 553 M10K blocks, 69 of 112 DSPs. Timing is 0.362 ns short on the machine's clock, and met on the
    HDMI clock.

Known differences / open points

  • About 83 % of the real board's speed in gameplay, as above. This is the next job.
  • MAME only estimates the triangle engine's timing, so the speed is compared with the real board, not MAME.
  • Games: this core plays Tobe! Polystars, the only MRA. The other Konami M2 games aren't supported yet:
    • Total Vice (ver EBA) and Evil Night / Hell Night are planned. They work in MAME 0.289, haven't been run on this core yet, and may
      need more of the board, such as Evil Night's light guns.
    • Total Vice's JAD, AAB and UAC sets, Battle Tryst and Heat of Eleven '98 are marked not working in MAME 0.289, so the core can't be
      checked against it for them.
  • MPEG: the 3DO M2's MPEG video decoder isn't in the core. No Konami M2 game is known to need it: MAME has only an empty stand-in
    for it and runs Polystars, Total Vice and Evil Night without one.
  • No CRT Adjust, no Scandoubler Fx and no volume: the chip has no room for them now.

Credits

MAME (the konamim2 driver and the 3DO M2 devices by Phil Bennett, the PowerPC core by Aaron Giles and R. Belmont), tallendorf
(tools/cdimage.py), the repository owner's Gaelco 3D core (the platform layer, the benches, the packaging), and the MiSTer framework.

KonamiM2_MiSTer_20261105

Choose a tag to compare

@decoryah decoryah released this 05 Nov 08:32

Konami M2 for MiSTer - 20261105

Konami's M2 arcade board (1997-1998), the 3DO M2 hardware: two PowerPC 602s at 66.67 MHz, a triangle engine, an audio DSP and a CD
drive. One MRA: Tobe! Polystars (ver JAA, 1997), Konami's 3D shooter.

First release. Tested on a real MiSTer by the repository owner, on HDMI and a Sony CRT: it plays, with its music and sound effects,
but heavy scenes run below the real board's speed.
It was also checked in simulation against MAME 0.289 (below).

Install

  1. Unzip KonamiM2_MiSTer_20261105.zip over the root of the SD card. It adds Tobe! Polystars (ver JAA).mra to _Arcade/ and
    _Arcade/cores/KonamiM2_20261105.rbf.

  2. Make the disc's images from your own MAME 0.289 set's 623jaa02.chd (polystar/623jaa02.chd), in either of these ways. No ROMs or disc
    images are included.

    • In a browser: choose the CHD in the Konami M2 CHD converter and download the
      three files it makes: polystar_cd.zip, polystar_full.bin and polystar_full.cue. The conversion runs on your computer, and the CHD isn't
      uploaded. It needs a desktop browser (Chrome or Edge) and about 2 GB of free memory, and takes only this disc.

    • By hand: with MAME's chdman and the repository's tools/cdimage.py:

      chdman extractcd -i polystar/623jaa02.chd -o polystar_full.cue -ob polystar_full.bin
      python3 tools/cdimage.py chdman polystar/623jaa02.chd polystar_cd.bin
      zip polystar_cd.zip polystar_cd.bin
      

      The first makes the whole disc, for the music (polystar_full.bin, 546 MB, with its .cue); the second its data track (polystar_cd.bin, 24 MB).

  3. Put your polystar.zip and polystar_cd.zip in games/mame/, and polystar_full.bin and polystar_full.cue in games/polystar/.

  4. Start the game from the Arcade menu. Once, open the OSD and choose polystar_full.bin under CD audio image; Main remembers it and
    mounts it at each start. The MRA also asks for it, but Main releases up to 20261010 don't act on that. Without it the game runs
    without its music.

With a recent Main_MiSTer the ROM and the data track are copied to the DDR3 in one go (the MRA's address= attribute); with an older
one they are streamed, with the same RBF and MRA.

The OSD's version line reads v261105.

Speed

Heavy scenes run below the real board's speed, and the game itself slows with them, as game time follows the pictures. Measured at the
start of stage 1: about 30 pictures a second, where the real board gives about 44.6.

Video

  • The signal: 640 x 240 shown on a raster of 857 x 262, 15.56 kHz, 59.39 Hz, near MAME's 768 x 262 at 59.36 Hz, with a TV's blanking.
    For a CRT as well as HDMI.
  • Aspect ratio: Original, Full Screen and the two custom ratios.
  • Scale: Normal, V-Integer, HV-Integer, Narrower HV-Integer, HV-Integer+.

Controls

A joystick and three buttons, Button 1, Button 2 and Button 3 (generic names for now), Start, Coin and Service, for two
players, set up in MiSTer's button mapping.

OSD

Aspect ratio, Scale, CD audio image, Service mode, Reset.

Checked

  • On a real MiSTer: by the repository owner: the attract mode looped for 60 minutes without a freeze, then a game with its music and
    sound effects, fades and song changes included. The picture on HDMI and on a Sony CRT.
  • Against MAME 0.289, in simulation (Verilator):
    • from power-on the machine loads the OS from the CD image and shows the same boot checks and title screen;
    • the CPUs against MAME's instruction traces, the caches' coherence on their own bench;
    • the Triangle Engine's writes are byte for byte MAME's on the lists dumped from the game.
  • Quartus 17.0.2: the best of four seeds (seed 7): 41,273 ALMs (98 %), 461 of 553 M10K blocks, 69 of 112 DSPs. Timing is 0.264 ns short
    on the machine's clock, and met on the HDMI clock (+0.034 ns). The runs above were on this build.

Known differences / open points

  • Below the real board's speed in heavy scenes, as above. This is the next job.
  • MAME only estimates the triangle engine's timing, so the speed is compared with the real board, not MAME.
  • Only Tobe! Polystars has been run. Total Vice, Evil Night / Hell Night, Battle Tryst and Heat of Eleven '98 are the same board, not tried.
  • The board's MPEG hardware isn't in the core.
  • No CRT Adjust, no Scandoubler Fx and no volume: the chip has no room for them now.
  • Not checked: stages beyond those played, and a whole game to its end.

Credits

MAME (the konamim2 driver and the 3DO M2 devices by Phil Bennett, the PowerPC core by Aaron Giles and R. Belmont), the repository
owner's Gaelco 3D core (the platform layer, the benches, the packaging), and the MiSTer framework.