Compatibility for iOS? #675
Replies: 4 comments
-
Box86/box64 are not system emulator, but more "compatibility layer", using the actual system on whta it is running on and "just" translate the CPU, keeping most of the libraries calls as-is. I'm not familiar with the inners of iOS (is it based on BSD like macOS?), but, to give an example, even Android (that is based on Linux), box86 doesn't run directly and needs a software like "Termux" to have a full Linux system to then run box86. So, I guess a Termux like software would be needed first. |
Beta Was this translation helpful? Give feedback.
-
(Converting this ticket to a discussion) |
Beta Was this translation helpful? Give feedback.
-
I believe that iOS is based on BSD. It seams like its a heavily modified version of macOS. As for Termux, it seams like the closest thing for iOS is iSH, which is "A project to get a Linux shell running on iOS, using usermode x86 emulation and syscall translation." |
Beta Was this translation helpful? Give feedback.
-
Yeah, I'd absolutely like to see box86 and box64 on iOS. This could open up a new world of possibilities for running x86_64 Linux-based Gamemaker and Unity games on iOS. Yes, iOS is at least partially based on BSD. I use iSH a lot but I'm not sure an App Store app (i.e. no JIT) has enough power to run something like box86 at a good speed. To run as a native app, the box86 developer would probably have to figure out how to port the dynarec to iOS. It's certainly possible and probably doable, it'd just take some time. But getting Linux userspace functionality as an iOS app would be difficult. On the other hand, iSH provides exactly what we need in terms of getting something like Linux's userspace on iOS. Someone could fork it and add non-App Store JIT that only works when activated with AltJIT/SideJIT/TrollJIT/etc. iSH's "JIT" is specialized and is similar to an interpreted emulator (see the README) so that it can be approved for the App Store. Jailbroken devices expose userspace and this could be done there too if we could figure out how to get box86 to work directly on the iOS kernel/BSD, but that's not as practical since that's way more difficult than sideloading an app. In the mean time, does box86 work on iSH? If so, how? |
Beta Was this translation helpful? Give feedback.
-
I would love to be able to use something like this to finally be able to do something so extreme it will make every apple lover cry out in rage... run Undertale on an iPhone. In all seriousness though, it would be awesome if you could make it work on iOS. Although I can see that iOS is very different from linux and it would probably require a lot of work. I am honestly just curious if its possible or if ill be stuck with UTM.
Beta Was this translation helpful? Give feedback.
All reactions