nifanfa / moos Goto Github PK
View Code? Open in Web Editor NEWC# x64 operating system programming with the .NET native ahead-of-time compilation technology.
Home Page: https://github.com/nifanfa/MOOS/wiki
License: The Unlicense
C# x64 operating system programming with the .NET native ahead-of-time compilation technology.
Home Page: https://github.com/nifanfa/MOOS/wiki
License: The Unlicense
Running on an I7 6700K bare metal, OS freezes/crashes without any output at Native.Sti()
call in ThreadPool.Initialize()
Line 145 in 10737de
Same ISO works fine in QEMU, Can try to extract more information with WriteLines prior if it'd be at all helpful 😅
Console.WriteLine before and after the call in question, output looks like:
Happens with GC & GUI disabled, or enabled. Both work in VM. APIC build var can't be disabled without code changes; Timer and presumably other stuff uses it without compiler ifs.
惊了,这个项目居然是和我同龄的人做的!果断star
It can be solved by sending IPI to application processors. but sendipi doesn't work. it can't occur any interrupt.
Will this work on AMD cpu?
By simply use iretq
Each thread contain a IDTStack for switching to other threads
想探讨下nativeaot的...[email protected]
Native aot compiler will optimize the code faster by using float point registers. but thread won't save the status of float point registers which could make faults.
It cause general protection exception running on virtual machine softwares except qemu.
Will it support USB mouse and keyboard?
Only the first key will be accepted. idk what is the cause
牛B,不服不行啊
Hello,
I want to know if there is a way to use a custom VHD disk or expand size of initrd.vhd. To add more files on the disk
Thanks
The invite is expired.
See Internal.Runtime.CompilerHelpers.InteropHelpers
TCP: https://github.com/nifanfa/MOOS/blob/main/Kernel/NET/Complex/TCP.cs
EHCI(USB2.0): https://github.com/nifanfa/MOOS/blob/main/Kernel/Driver/EHCI.cs looks like this driver only work with qemu...
the current APIC driver will cause triple fault
是否能像cosmos一样提供userkit(支持完全重写处理过程的特性)像模板一样安装到VS2022,我觉得更多人可能更愿意在USB/磁盘驱动/TCP/进程/线程等基础设施构建完成后构建自己的OS
例如可以通过MOOS KERNEL ABSTRACT 模板创建拥有绝大多数功能的kernel,然后提供重写以处理内核中的各种过程而不用更改源代码,并且在此基础上创建类似于win的csrss.exe子系统之类的/或者linux里直接运行的示范
此外,OS应该尽量使用.NET API,然后编译时处理为MOOS API,避免双份同名API带来的污染,
尽管十分艰难,但是令人兴奋,毕竟比起fork项目,大家更喜欢调用库
催更!催更!催更!搞快点!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.