Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS support? #274

Open
Samuel525432 opened this issue Sep 24, 2024 · 3 comments
Open

iOS support? #274

Samuel525432 opened this issue Sep 24, 2024 · 3 comments

Comments

@Samuel525432
Copy link

I was thinking the other day can pcem make a iOS version?

@BlastBlaster17
Copy link

Maybe, if we could somehow compile this for macOS and make an XCode project from it. But some people might be put off by the fact that it doesn't include ROM files. But before we can make an iOS version, we'd have to generate an XCode project somehow with CMake, Then, we'd have to come up with a way to convert the wxWidgets GUI to Cocoa. And then we would need a C and/or C++ binding for Swift or Objective-C for the actual meat of the program. After this, there's the issue of "iOS runs on ARM, PCem emulates x86," but that shouldn't be that big of a problem, since it already emulates the CPU at the low-level anyway. But then, of course, we would need to somehow convert touchscreen functions to the movement of a mouse, and also implement a virtual keyboard. So, it shouldn't be impossible, but it would take a lot of work and dedication, and it might not even make its way onto the App Store. So, if someone wants to fork this and try making an iOS version, you're more than welcome to.

@BlastBlaster17
Copy link

This hopefully should also give us the advantage of a macOS build. DGMW, there's already a build for BSD, which macOS is partially based on, but some of the code might need to be altered for the "non-free" stuff.

@Samuel525432
Copy link
Author

Maybe just maybe you can use Vulkan or MoltenVK
MoltenVK Is kinda similar to Vulkan but for iOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants