OpenSWE1R / openswe1r

An Open-Source port of the 1999 Game "Star Wars Episode 1: Racer"
https://openswe1r.github.io/
GNU General Public License v2.0
312 stars 26 forks source link

Boot KVM into protected mode and remove bios #159

Closed JayFoxRox closed 5 years ago

JayFoxRox commented 6 years ago

Touches #23 but does not close it yet.

This removes the need for the uc_kvm_loader.asm bios. This greatly enhances usability as you no longer require nasm to make the USE_VM=ON CMake option work.


After merge, the Build-Options article on the Wiki has to be modified to remove the bios / nasm paragraph.


This is a PR which was originally planned to happen later, with other Windows VM changes. However, the Windows VM stuff is currently stuck with problems in dependencies, so I decided to split this. As a result this code is very dirty and barely tested.

I'll clean it up in the next days, and then merge it soon. You can already review and test it though.

I'd especially like tests on different versions of Linux and different CPUs, in particular AMD CPUs would be interesting as I only have access to Intel machines.