Is it possible to implement Unicorn Emulation Framework in rEFInd or anything similar to that to emulate CPU instructions and architecture to be able to execute any bootloader from this boot manager. Basically if boot manager detects that an Windows/Ubuntu ARM64 bootloader is installed, it will use that framework to emulate support for that architecture and execute that bootloader that could lead to booting ARM64 OS on Intel/AMD CPUs natively without needing to run the full VM in the booted system to execute softwares and OS that are created for different architectures. So, I would love to try to test and use rEFInd boot manager as default boot manager that will basically emulate in-real-time correct architecture for selected installed bootloader. Imagine setting Windows Bootloader (ARM64) as default with turned off timeouts in rEFInd and rEFInd set as default in UEFI/BIOS that leads to using rEFInd to execute an bootloader (and basically using Unicorn Framework with correct architecture to support that bootloader) on Intel/AMD machine : ) Or maybe any other framework or something that can emulate CPU instructions and architectures on that level.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes we all know that but this framework is not an pure emulator too so there is a high possibility of using one of these frameworks to dynamically be translator between two different CPU architectures (one is host architecture that will get translated memory and stuff and one is target architecture that we want to run but it's not supported by default in the host machine). Framework is better than emulator in this case. Just download an example executables from Unicorn/Quiling framework (shared library recommended), put framework file (dll shared library) into C:\Windows\System32 and test it yourself. You can also look at the source code of those examples for each architecture to see how emulation without emulator works in this case and how it's translated without any full emulator nor VMs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to implement Unicorn Emulation Framework in rEFInd or anything similar to that to emulate CPU instructions and architecture to be able to execute any bootloader from this boot manager. Basically if boot manager detects that an Windows/Ubuntu ARM64 bootloader is installed, it will use that framework to emulate support for that architecture and execute that bootloader that could lead to booting ARM64 OS on Intel/AMD CPUs natively without needing to run the full VM in the booted system to execute softwares and OS that are created for different architectures. So, I would love to try to test and use rEFInd boot manager as default boot manager that will basically emulate in-real-time correct architecture for selected installed bootloader. Imagine setting Windows Bootloader (ARM64) as default with turned off timeouts in rEFInd and rEFInd set as default in UEFI/BIOS that leads to using rEFInd to execute an bootloader (and basically using Unicorn Framework with correct architecture to support that bootloader) on Intel/AMD machine : ) Or maybe any other framework or something that can emulate CPU instructions and architectures on that level.
rEFInd is a bootloader not an emulator.
Yes we all know that but this framework is not an pure emulator too so there is a high possibility of using one of these frameworks to dynamically be translator between two different CPU architectures (one is host architecture that will get translated memory and stuff and one is target architecture that we want to run but it's not supported by default in the host machine). Framework is better than emulator in this case. Just download an example executables from Unicorn/Quiling framework (shared library recommended), put framework file (dll shared library) into C:\Windows\System32 and test it yourself. You can also look at the source code of those examples for each architecture to see how emulation without emulator works in this case and how it's translated without any full emulator nor VMs.