Giter Site home page Giter Site logo

Need 64-bit support about vpinmame_spa HOT 2 CLOSED

jayfoxrox avatar jayfoxrox commented on June 14, 2024
Need 64-bit support

from vpinmame_spa.

Comments (2)

JayFoxRox avatar JayFoxRox commented on June 14, 2024 1

Any chance of this being updated for 64-bit?

No for multiple reasons.

First of all I'm personally no longer working on this; if a PR lands, I'll review it when I find time.
Note that I created https://github.com/JayFoxRox/stern-pba-emu but the code in this repository is by @djrobx.

However, more importantly, this is only loading the FarSight Studio / Stern DLLs which are 32-bit / x86 code.


(The following is written under the assumption that FarSight Studio / Stern don't ship x64 DLLs; if there are x64 DLLs then x64 support would be trivial)

You'd need a full Windows API wrapper and x86 emulator to continue running those DLLs if you wanted to run them in a 64-bit context "natively" - but that's potentially a lot of work.
For x64, an alternative would be to create a 32-bit thread / context using 32-bit CS/DS segments, but it's not trivial either and not as future-proof (wouldn't work on ARM for example).

A more trivial way to deal with this is to run the DLLs in a 32-bit process and communicate to it via network or shared-memory. It's a poor approach, but it's at least somewhat future-proof (qemu-user / full Windows VM for accessing the x86 DLL).

The proper solution is to just write a proper Spike system emulator (HLE or full system), which I had prototyped privately: https://www.patreon.com/posts/update-february-17686171
That way you run the actual code that runs on the real pinball machine.
It will be compatible with more games and it's more future-proof (access to all game versions, works on ARM/x86/x64/any, supports all game features such as secondary displays, etc.).


I'm going to close this issue, because I consider 64-bit to not be feasible in the current codebase / ecosystem; the proposed solutions would deserve their own projects.

Closed.

from vpinmame_spa.

djrobx avatar djrobx commented on June 14, 2024

All of the above is correct. At the time this project was created, TPA/SPA were 32 bit only, so there is no 64 bit DLL for this project to interface with. Even if there were, this project is not compatible with the DLLs provided with newer TPA/SPA builds. There is no benefit to running the existing tables in 64 bit mode, you can continue to just use a 32 bit VPX ecosystem for this purpose.

from vpinmame_spa.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.