Giter Site home page Giter Site logo

Visual Studio project? about halfix HOT 6 OPEN

nepx avatar nepx commented on July 23, 2024
Visual Studio project?

from halfix.

Comments (6)

ergo720 avatar ergo720 commented on July 23, 2024 2

To anyone who is still interested: I have created this fork, which uses cmake to generate a Visual Studio project file that you can then use to build a native Windows application with Visual Studio 2022.

from halfix.

ergo720 avatar ergo720 commented on July 23, 2024 1

If you need it, you can use the vanilla branch in my fork, which only contains the Visual Studio changes. I don't think I will upstream because I'm no longer interested/don't need Halfix now, and I haven't used it for almost a year at this point.

from halfix.

nepx avatar nepx commented on July 23, 2024

I currently don't have Visual Studio installed (I'm working from Linux), so I apologize for not having these files set up. It can build on Windows, you just need MinGW+zlib+SDL+Node.js.

The codebase currently uses a number of GCC/Clang-isms (e.g. __attribute__((something)), some intrinsics for the bit functions), and that might not fly with MSVC.

from halfix.

Pixelsuft avatar Pixelsuft commented on July 23, 2024

Yes, I can compile it.

Same question: Is possible to create module for python, because halfix is written on C?

from halfix.

nepx avatar nepx commented on July 23, 2024

Same question: Is possible to create module for python, because halfix is written on C?

Of course. I don't know very much Python, but creating bindings seems feasible, the emulator is reasonably portable and well-behaved. Bear in mind that because the many fields are statically allocated, there can only be one CPU instance per process; this is true for Python as well as any other language.

from halfix.

vadosnaprimer avatar vadosnaprimer commented on July 23, 2024

To anyone who is still interested: I have created this fork, which uses cmake to generate a Visual Studio project file that you can then use to build a native Windows application with Visual Studio 2022.

Nice job! Mind sending a PR upstream?

from halfix.

Related Issues (20)

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.