Original project link is stated after, NetOS plans to continue the operating system solution CS2ASM.
NetOS is a compiler which translates C# code into x86/x64 assembly.
By using this compiler, you may create your own operating system using any language that compiles to CIL.
NetOS -a<address> -c<amd64> -f<bin,elf> -t<none,iso> -o<output> <input>
For example:
./NetOS -a0x100000 -camd64 -felf -tiso -ooutput.iso ConsoleApp1.dll
You can now try to run on bare metal, or via QEMU:
qemu-system-x86_64 -cdrom output.iso -cpu max -m 1G -enable-kvm -serial stdio
You need to have LLVM on your PATH to execute the ELF linker, LLD!
Be sure to remove the -enable-kvm
argument if you're not on Linux!
NetOS includes a (very incomplete) version of the .NET core library.
NetOS also includes a neat System.Platform.Amd64
namespace where simple drivers reside.
For the sake of simplicity, an example operating system that uses the System.Platform.Amd64
namespace has been included.
NetOS is not IL2CPU!
Currently, only the AMD64 platform is supported.