HNHacker News
TopNewBestAskShowJobs

amaneureka

224 karma · joined May 2, 2016

I am Programmer <3 !
submissionscomments
amaneureka··on Show HN: A new hobby OS from “scratch” in C#
oh! what's your name?
amaneureka··on Show HN: A new hobby OS from “scratch” in C#
Yes! https://github.com/amaneureka/AtomOS/blob/master/src/Kernel/...
amaneureka··on Show HN: A new hobby OS from “scratch” in C#
Indeed it is utilizing MMU for memory protection. But no that is not the final objective of project.
amaneureka··on Show HN: A new hobby OS from “scratch” in C#
I strongly recommend you to build the kernel once and check output assembly file. which should answer lot of your doubts like extra overhead of object loading. It's not exactly same how you are interpreting. I tried very hard in order to optimize the output code.
amaneureka··on Show HN: A new hobby OS from “scratch” in C#
I didn't mean that way. But I have updated the comment
amaneureka··on Show HN: A new hobby OS from “scratch” in C#
For couple of years I contributed to Cosmos and fixed some bugs in MOSA. But my design idea was much different from them. So I decided to start with a new project. And seems like it worked!
amaneureka··on Show HN: A new hobby OS from “scratch” in C#
It does not. new operator internally calls Heap.kmalloc https://github.com/amaneureka/AtomOS/blob/master/src/Kernel/...

To free any object instance I have to call Heap.Free

amaneureka··on Show HN: A new hobby OS from “scratch” in C#
Sure, Thanks :D
amaneureka··on Show HN: A new hobby OS from “scratch” in C#
Because It is not possible to run C# executable without .NET framework. I had to work on a compiler first. Source: https://github.com/amaneureka/AtomOS/tree/master/src/Compile... Which works on the top of Microsoft's IL Builder. Then it add compiler stubs to support .NET code and convert code into native x86 assembly. The assembly file is then passed through NAsm and proper linking chain to produce final Kernel ELF binary. Build.sh produces an ISO image which can be used to boot OS in either virtual machine or on real hardware.

I explained it here: https://www.reddit.com/r/programming/comments/5xlmc6/a_new_h...

amaneureka··on Show HN: A new hobby OS from “scratch” in C#
I am really sorry about lack of details on page. I am working on it and soon add more detailed documentation.

Meanwhile You can try building it and play around with source.

https://github.com/amaneureka/AtomOS/wiki/Build-Environment

amaneureka··on Show HN: A new hobby OS from “scratch” in C#
Yeah. And I managed to take it to the next level with dynamic executable loading and SVGA drivers.
amaneureka··on MLP based network which learns and play T-Rex game all by itself
A fun project T-Rex Chrome game player using machine learning. - MultiLayer Preceptron Neural Network (Tanh Layer) - Unsupervised Learning repo: https://github.com/amaneureka/T-Rex/ demo: http://amaneureka.github.io/T-Rex/