OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 2:25 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: microNET
PostPosted: Wed Dec 02, 2020 9:57 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 11, 2020 9:46 pm
Posts: 363
Location: United States
Announcing microNET, the micro operating system.

The vision for microNET is for use in systems where performance is crucial, such as RasPi, embedded operations, etc., but also have compatibility with commonplace .NET/Windows applications so as to be useful.

Our GitHub: https://github.com/microNET-OS

Currently, we do not have support for ARM, as our vision suggests, nor do we have any compatibillity layer.

Though we do currently have a reasonably developed OS for testing out your typing skills.

:lol:

Our current features:

1. UEFI support
2. 64-bit support
3. Graphics mode driver
4. Interrupts
5. Keyboard input

Please, we need your help with testing the OS on real hardware. It's a one man team here, and I only have so many computers...

_________________
Skylight: https://github.com/austanss/skylight

I make stupid mistakes and my vision is terrible. Not a good combination.

NOTE: Never respond to my posts with "it's too hard".


Top
 Profile  
 
 Post subject: Re: microNET
PostPosted: Wed Dec 02, 2020 10:08 am 
Offline
Member
Member
User avatar

Joined: Tue Sep 15, 2020 8:07 am
Posts: 264
Location: London, UK
I'm not going to build it, do you have a prebuilt disk image I can boot with Qemu?

_________________
CuriOS: A single address space GUI based operating system built upon a fairly pure Microkernel/Nanokernel. Download latest bootable x86 Disk Image: https://github.com/h5n1xp/CuriOS/blob/main/disk.img.zip
Discord:https://discord.gg/zn2vV2Su


Top
 Profile  
 
 Post subject: Re: microNET
PostPosted: Wed Dec 02, 2020 10:38 am 
Offline
Member
Member

Joined: Fri Nov 22, 2019 5:46 am
Posts: 590
I would be willing to build it from source and test it on real HW, but I don't know how to build it, since it is spread over 4 repositories.

Greetings
Peter


Top
 Profile  
 
 Post subject: Re: microNET
PostPosted: Wed Dec 02, 2020 10:42 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 11, 2020 9:46 pm
Posts: 363
Location: United States
My latest release in the microCORE repository has a full ISO.

_________________
Skylight: https://github.com/austanss/skylight

I make stupid mistakes and my vision is terrible. Not a good combination.

NOTE: Never respond to my posts with "it's too hard".


Top
 Profile  
 
 Post subject: Re: microNET
PostPosted: Wed Dec 02, 2020 10:43 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 11, 2020 9:46 pm
Posts: 363
Location: United States
You can also, to build from source, clone the microNET repository. Then you run make clone and then make image or make qemu

_________________
Skylight: https://github.com/austanss/skylight

I make stupid mistakes and my vision is terrible. Not a good combination.

NOTE: Never respond to my posts with "it's too hard".


Top
 Profile  
 
 Post subject: Re: microNET
PostPosted: Wed Dec 02, 2020 2:44 pm 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
rizxt wrote:
but also have compatibility with commonplace .NET/Windows applications so as to be useful.

That is possible, but note that Wine and ReactOS have been in development for maybe 20 years and still have fairly low compatibility. You can try, and if you want to, go for it. Just know it won't happen overnight :) . I wanted to do the same, and now I have more OSDev experience, emulating Unix is hard, let a lone Windows API. And no, your signature doesn't apply to what I am saying, because you can do it, it is just very very hard. Good work so far, though :D .

_________________
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg


Top
 Profile  
 
 Post subject: Re: microNET
PostPosted: Wed Dec 02, 2020 3:32 pm 
Offline
Member
Member
User avatar

Joined: Thu Oct 13, 2016 4:55 pm
Posts: 1584
rizxt wrote:
Please, we need your help with testing the OS on real hardware.
I took a quick look at your source, and I'm 100% sure it won't start in qemu for several reasons. Most likely it will simply triple-fault. There's no way I'm going to risk trying this on a real hardware.

Please ask for testing help if you can boot your OS properly in at least one emulator.

Cheers,
bzt


Top
 Profile  
 
 Post subject: Re: microNET
PostPosted: Wed Dec 02, 2020 4:29 pm 
Offline
Member
Member

Joined: Fri Nov 22, 2019 5:46 am
Posts: 590
rizxt wrote:
My latest release in the microCORE repository has a full ISO.

There isn't an ISO in the microCORE repo.

Greetings
Peter


Top
 Profile  
 
 Post subject: Re: microNET
PostPosted: Wed Dec 02, 2020 5:22 pm 
Offline
Member
Member
User avatar

Joined: Sun Oct 11, 2020 9:46 pm
Posts: 363
Location: United States
bzt wrote:
rizxt wrote:
Please, we need your help with testing the OS on real hardware.
I took a quick look at your source, and I'm 100% sure it won't start in qemu for several reasons. Most likely it will simply triple-fault. There's no way I'm going to risk trying this on a real hardware.

Please ask for testing help if you can boot your OS properly in at least one emulator.

Cheers,
bzt

I've tested this on my computer and it works perfectly fine, and it boots in QEMU perfectly fine, with OVMF (no CSM).

Not sure about the latest source, but the latest release boots perfectly fine.

_________________
Skylight: https://github.com/austanss/skylight

I make stupid mistakes and my vision is terrible. Not a good combination.

NOTE: Never respond to my posts with "it's too hard".


Top
 Profile  
 
 Post subject: Re: microNET
PostPosted: Thu Dec 10, 2020 10:56 am 
Offline
Member
Member
User avatar

Joined: Mon May 22, 2017 5:56 am
Posts: 812
Location: Hyperspace
nexos wrote:
rizxt wrote:
but also have compatibility with commonplace .NET/Windows applications so as to be useful.

That is possible, but note that Wine and ReactOS have been in development for maybe 20 years and still have fairly low compatibility.

This seems to be more like Mono than Wine. I'm not sure, but I think many developers try to keep compatibility with Mono or even develop for it directly. This must help keep the .NET software ecosystem portable, if you get what I mean. And, as ReactOS uses Wine code (IIUC), microNET might perhaps use Mono code. I don't know whether it's efficient or not, but I assume it can't be bad.

_________________
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie


Top
 Profile  
 
 Post subject: Re: microNET
PostPosted: Thu Dec 10, 2020 12:59 pm 
Offline
Member
Member
User avatar

Joined: Thu Oct 13, 2016 4:55 pm
Posts: 1584
rizxt wrote:
I've tested this on my computer and it works perfectly fine, and it boots in QEMU perfectly fine, with OVMF (no CSM).
Please forgive me, but seeing things like this makes me sceptical:
Code:
setupPaging:
   ; Fetch the pointer to the paging directory
   mov rax, [rsp + 4]
   mov cr3, rax
There's no way this won't crash really badly.

This popa also guaranteed to crash. And calling pusha will do exactly nothing.

Not to mention the hardcoded, unaligned, arbitrary addresses like this:
Code:
uint32_t *buffer = (uint32_t *)0xB00B1E5;
What was your intention, anyway? What if that address is not free and used by an UEFI run-time service on a real machine?

eekee wrote:
microNET might perhaps use Mono code. I don't know whether it's efficient or not, but I assume it can't be bad.
They might want to take a look at https://www.nanoframework.net/ (I'm not sure how portable that is, but at least there's a ChibiOS port and its .NET interpreter is MIT licensed).

Cheers,
bzt


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: SemrushBot [Bot] and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group