Open Pixelsuft opened 3 years ago
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.
Yes, I can compile it.
Same question: Is possible to create module for python, because halfix is written on C?
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.
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.
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?
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.
Is it possible to create Visual Studio Project for Windows builds?