Skip to content

xccoreco/NetOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

Original project link is stated after, NetOS plans to continue the operating system solution CS2ASM.

NetOS

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.

Usage

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!

System.Private.Corlib

NetOS includes a (very incomplete) version of the .NET core library.

System.Platform.Amd64

NetOS also includes a neat System.Platform.Amd64 namespace where simple drivers reside.

Playground.ConsoleApp1

For the sake of simplicity, an example operating system that uses the System.Platform.Amd64 namespace has been included.

Screenshot

Notes

NetOS is not IL2CPU!
Currently, only the AMD64 platform is supported.

About

Mostly managed operating system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published