RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    lr-mame2003 driver improvement and backport

    Scheduled Pinned Locked Moved Ideas and Development
    mame2003mame-libretrodriverbackport
    507 Posts 30 Posters 254.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • darkniorD
      darknior
      last edited by

      FIX : Optional Williams sound with the speedups : https://github.com/libretro/mame2003-libretro/pull/159

      Removed in MAME61 these are the speedhacks that will significantly boost performance
      in the following Midway games..........

      All Midway Y-Unit
      All Midway T-Unit barring MK2 which uses DCS sound

      This could be of great benefit for users of this MAME core on lesser hardware. Drivers that will be affected by this change...

      • mcr68.c
      • midtunit.c
      • midyunit.c
      • williams.c
      • mcr_sndhrdw..c

      Life is game, just play it !

      Z 1 Reply Last reply Reply Quote 2
      • darkniorD
        darknior
        last edited by

        Might as well add Puzz Loop 2 which was playable from MAME 93.u2, this is the last of the later CPS dumps which can be added to the MAME78 codebase due to changes with the XOR decryption handling from MAME100 onwards.

        https://github.com/libretro/mame2003-libretro/pull/160

        Life is game, just play it !

        1 Reply Last reply Reply Quote 0
        • darkniorD
          darknior
          last edited by

          https://github.com/libretro/mame2003-libretro/pull/162

          0.91: David Haywood increased interleave in MegaSys1 driver, fixing speed in Avenging Spirit.

          Life is game, just play it !

          1 Reply Last reply Reply Quote 0
          • PeriodicLogicP
            PeriodicLogic
            last edited by

            Two possibly very simplistic questions...

            1. To take advantage of these improvements and backports, does one simply need to update lr-mame2003 from source?

            2. Does one still use the 0.78 roms, or does one need earlier/later roms to account for the changes being made?

            Thanks in advance,
            Rob

            arcadez2003A 1 Reply Last reply Reply Quote 0
            • Z
              zerojay @darknior
              last edited by

              @darknior said in lr-mame2003 driver improvement and backport:

              FIX : Optional Williams sound with the speedups : https://github.com/libretro/mame2003-libretro/pull/159

              Removed in MAME61 these are the speedhacks that will significantly boost performance
              in the following Midway games..........

              All Midway Y-Unit
              All Midway T-Unit barring MK2 which uses DCS sound

              This could be of great benefit for users of this MAME core on lesser hardware. Drivers that will be affected by this change...

              • mcr68.c
              • midtunit.c
              • midyunit.c
              • williams.c
              • mcr_sndhrdw..c

              I was really hoping that openice would be one of the games that would get these speed boosts. Oh well. Right now, it runs with slowdown on mame2003 and runs perfect speed on anything older but nvram doesn't get written out so it's useless.

              arcadez2003A markwkiddM 2 Replies Last reply Reply Quote 0
              • arcadez2003A
                arcadez2003 @PeriodicLogic
                last edited by

                @periodiclogic said in lr-mame2003 driver improvement and backport:

                Two possibly very simplistic questions...

                1. To take advantage of these improvements and backports, does one simply need to update lr-mame2003 from source?

                2. Does one still use the 0.78 roms, or does one need earlier/later roms to account for the changes being made?

                Thanks in advance,
                Rob

                Yes simply compile your own build from the latest source, all Roms that were supported previously are still MAME78 the newly supported games
                will need Roms from later MAME builds i think someone was gonna create a dat to help in that regard.

                Arcade Addict

                markwkiddM 1 Reply Last reply Reply Quote 1
                • arcadez2003A
                  arcadez2003 @zerojay
                  last edited by arcadez2003

                  @zerojay said in lr-mame2003 driver improvement and backport:

                  I was really hoping that openice would be one of the games that would get these speed boosts. Oh well. Right now, it runs with slowdown on mame2003 and runs perfect speed on anything older but nvram doesn't get written out so it's useless.

                  Totally experimental as i found it can break the sound in some T-Unit games not using the DCS soundcore, which will require a workaround to sort
                  but just now for testing purposes if you can compile your own build in the MAME-2003 source goto src/vidhrdw/midtunit and do this.......

                  #define FAST_DMA 1 /* DMAs complete immediately; reduces number of CPU switches */

                  This should boost up the performance in Open Ice Challenge but enough to playable on the Rpi im not sure..?? you'll need to try it and see.

                  Arcade Addict

                  Z 2 Replies Last reply Reply Quote 2
                  • Z
                    zerojay @arcadez2003
                    last edited by

                    @gamez-fan Thanks, I'll give it a shot and let you know.

                    1 Reply Last reply Reply Quote 0
                    • markwkiddM
                      markwkidd @arcadez2003
                      last edited by markwkidd

                      @gamez-fan said in lr-mame2003 driver improvement and backport:

                      i think someone was gonna create a dat to help in that regard.

                      Once the codebase and ROM checksums stabilize I'll put together a DAT. ( @gamez-fan I enjoy periodically checking the mame2003 commit log to see you at work with backports!)

                      For now if people want to experiment they might try MAME 0.139 (MAME 2010) and MAME 0.106 (AdvanceMAME) romsets. There is a good chance they will match since they are from a similar period to the one where most of these additions are coming from.

                      arcadez2003A 1 Reply Last reply Reply Quote 1
                      • markwkiddM
                        markwkidd @zerojay
                        last edited by

                        @zerojay said in lr-mame2003 driver improvement and backport:

                        nvram doesn't get written out

                        Could you say more about what you mean by this?

                        Z 1 Reply Last reply Reply Quote 0
                        • arcadez2003A
                          arcadez2003 @markwkidd
                          last edited by

                          @markwkidd said in lr-mame2003 driver improvement and backport:

                          Once the codebase and ROM checksums stabilize I'll put together a DAT. ( @gamez-fan I enjoy periodically checking the mame2003 commit log to see you at work with backports!)

                          Thanks man!! im going to add in support for a couple more games later and im plodding away on adding sound to another few, but im constrained
                          really by the codebase being 78 if it had been say 79 after all the CPU and Mem changes between those builds then far more could have been backported
                          as MAME 78 is missing support for alotta good Data East, Kaneko16, NMK16 and Sega games plus the Seibu Raiden Fighters Series.

                          It would have been interesting to have seen how some of the above games might performed in this older MAME core but alas not to be as the code for
                          those is either not there not compatable or the workload needed just too great.

                          Arcade Addict

                          1 Reply Last reply Reply Quote 1
                          • darkniorD
                            darknior
                            last edited by darknior

                            https://github.com/libretro/mame2003-libretro/pull/163

                            @gamez-fan Hook up the recently dumped sound MCU
                            Unfortunately i cant do the same for Vimana as the MCU needs some input tag handling
                            not compatable with the MAME78 input code.

                            Life is game, just play it !

                            1 Reply Last reply Reply Quote 1
                            • darkniorD
                              darknior
                              last edited by

                              WOAW excellent i love these games lol

                              https://github.com/libretro/mame2003-libretro/pull/164

                              @gamez-fan Rythm action games like Rock'n Tread are better with well music :)

                              Life is game, just play it !

                              1 Reply Last reply Reply Quote 0
                              • darkniorD
                                darknior
                                last edited by

                                https://github.com/libretro/mame2003-libretro/pull/166

                                Hyper Crash Gfx Fixes

                                Life is game, just play it !

                                1 Reply Last reply Reply Quote 0
                                • Z
                                  zerojay @markwkidd
                                  last edited by

                                  @markwkidd said in lr-mame2003 driver improvement and backport:

                                  @zerojay said in lr-mame2003 driver improvement and backport:

                                  nvram doesn't get written out

                                  Could you say more about what you mean by this?

                                  nvram doesn't get written to disk.

                                  markwkiddM 1 Reply Last reply Reply Quote 0
                                  • markwkiddM
                                    markwkidd @zerojay
                                    last edited by markwkidd

                                    @zerojay said in lr-mame2003 driver improvement and backport:

                                    @markwkidd said in lr-mame2003 driver improvement and backport:

                                    @zerojay said in lr-mame2003 driver improvement and backport:

                                    nvram doesn't get written out

                                    Could you say more about what you mean by this?

                                    nvram doesn't get written to disk.

                                    Yes, under what emulator and circumstances? All retroarch arcade emulators should be writing nvram.

                                    Z 1 Reply Last reply Reply Quote 0
                                    • Z
                                      zerojay @markwkidd
                                      last edited by

                                      @markwkidd said in lr-mame2003 driver improvement and backport:

                                      @zerojay said in lr-mame2003 driver improvement and backport:

                                      @markwkidd said in lr-mame2003 driver improvement and backport:

                                      @zerojay said in lr-mame2003 driver improvement and backport:

                                      nvram doesn't get written out

                                      Could you say more about what you mean by this?

                                      nvram doesn't get written to disk.

                                      Yes, under what emulator and circumstances? All retroarch arcade emulators should be writing nvram.

                                      mame2000. Looks like the source version does indeed write it out now but the binary one needs to be recompiled.

                                      Now if only we could get into the service menu or the usual MAME tab menu with just a controller...

                                      markwkiddM 1 Reply Last reply Reply Quote 0
                                      • darkniorD
                                        darknior
                                        last edited by

                                        https://github.com/libretro/mame2003-libretro/pull/168

                                        @gamez-fan Hook up sound MCU for Vimana
                                        Actually i spoke to soon it was possible to do this one without the input tags :)

                                        Life is game, just play it !

                                        1 Reply Last reply Reply Quote 0
                                        • markwkiddM
                                          markwkidd @zerojay
                                          last edited by

                                          @zerojay said in lr-mame2003 driver improvement and backport:

                                          Now if only we could get into the service menu or the usual MAME tab menu with just a controller...

                                          Thank you for checking on this. Could I ask you to post your experience trying to use the TAB menu with source-compiled mame2000 in this github issue? https://github.com/libretro/mame2000-libretro/issues/25

                                          1 Reply Last reply Reply Quote 0
                                          • darkniorD
                                            darknior
                                            last edited by

                                            https://github.com/libretro/mame2003-libretro/pull/172
                                            https://github.com/libretro/mame2003-libretro/pull/171

                                            Make DJ Boy work

                                            Life is game, just play it !

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.