Thread overview | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
November 17, 2015 PowerNex - My 64bit kernel written in D | ||||
---|---|---|---|---|
| ||||
Hey! I have recently started working on a 64bit kernel written in only D (and a little bit of assembly where it is really needed). I finally got it to boot today in 64bit mode. All it currently do is just print some text and numbers to the screen. It uses Adam D. Ruppes minimal D runtime, with some small modifications. I have a precompiled ISO here, if anyone wants to try it: https://github.com/Vild/PowerNex/releases/tag/v0.0.0-ALPHA The project is fully opensource and located at https://github.com/Vild/PowerNex I livestream the development of this almost everyday at https://livecoding.tv/Wild/ Hopefully someone will find this interesting. All feedback is appreciated. //Dan |
November 18, 2015 Re: PowerNex - My 64bit kernel written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Wild | On 18/11/15 12:35 PM, Wild wrote:
> Hey!
>
> I have recently started working on a 64bit kernel written in only D (and
> a little bit of assembly where it is really needed).
> I finally got it to boot today in 64bit mode. All it currently do is
> just print some text and numbers to the screen.
>
> It uses Adam D. Ruppes minimal D runtime, with some small modifications.
>
> I have a precompiled ISO here, if anyone wants to try it:
> https://github.com/Vild/PowerNex/releases/tag/v0.0.0-ALPHA
>
> The project is fully opensource and located at
> https://github.com/Vild/PowerNex
> I livestream the development of this almost everyday at
> https://livecoding.tv/Wild/
>
> Hopefully someone will find this interesting.
> All feedback is appreciated.
>
> //Dan
So whats the plan?
- 32bit support
- ARM support
What else?
|
November 18, 2015 Re: PowerNex - My 64bit kernel written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | On Wednesday, 18 November 2015 at 03:04:49 UTC, Rikki Cattermole wrote: > On 18/11/15 12:35 PM, Wild wrote: >> Hey! >> >> I have recently started working on a 64bit kernel written in only D (and >> a little bit of assembly where it is really needed). >> I finally got it to boot today in 64bit mode. All it currently do is >> just print some text and numbers to the screen. >> >> It uses Adam D. Ruppes minimal D runtime, with some small modifications. >> >> I have a precompiled ISO here, if anyone wants to try it: >> https://github.com/Vild/PowerNex/releases/tag/v0.0.0-ALPHA >> >> The project is fully opensource and located at >> https://github.com/Vild/PowerNex >> I livestream the development of this almost everyday at >> https://livecoding.tv/Wild/ >> >> Hopefully someone will find this interesting. >> All feedback is appreciated. >> >> //Dan > > So whats the plan? > - 32bit support > - ARM support > > What else? Well, from the README I'd say the goal is a complete x86-64 OS > The goal is to have a whole OS written in D, where PowerNex powers the core. This project looks great and it's not easy writing a x86-64 bootloader even with GRUB and a reference to work from, Nice work! bye, lobo |
November 18, 2015 Re: PowerNex - My 64bit kernel written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Wild | On Tuesday, 17 November 2015 at 23:35:58 UTC, Wild wrote: > Hey! > > I have recently started working on a 64bit kernel written in only D (and a little bit of assembly where it is really needed). > I finally got it to boot today in 64bit mode. All it currently do is just print some text and numbers to the screen. > > It uses Adam D. Ruppes minimal D runtime, with some small modifications. > > I have a precompiled ISO here, if anyone wants to try it: https://github.com/Vild/PowerNex/releases/tag/v0.0.0-ALPHA > > The project is fully opensource and located at https://github.com/Vild/PowerNex > I livestream the development of this almost everyday at https://livecoding.tv/Wild/ > > Hopefully someone will find this interesting. > All feedback is appreciated. > > //Dan Nice! https://github.com/Vild/PowerNex/blob/master/kernel/src/io/textmode.d#L64 not should be "cast(slot[w*h] *)" ? |
November 18, 2015 Re: PowerNex - My 64bit kernel written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | On Wednesday, 18 November 2015 at 03:04:49 UTC, Rikki Cattermole wrote:
> So whats the plan?
> - 32bit support
> - ARM support
>
> What else?
Well don't have a fixed plan on what I want to implement.
I might do 32bit, I have not decided yet, but I think I will skip it.
I will not add ARM support because this would require alot more research.
Maybe in the future when PowerNex is in a more feature complete state.
The long term goal is that userspace programs should be able to use phobos.
|
November 18, 2015 Re: PowerNex - My 64bit kernel written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to lobo | On Wednesday, 18 November 2015 at 06:06:52 UTC, lobo wrote:
> This project looks great and it's not easy writing a x86-64 bootloader even with GRUB and a reference to work from, Nice work!
Thanks :D
|
November 18, 2015 Re: PowerNex - My 64bit kernel written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Wild | On 19/11/15 12:19 AM, Wild wrote:
> On Wednesday, 18 November 2015 at 03:04:49 UTC, Rikki Cattermole wrote:
>> So whats the plan?
>> - 32bit support
>> - ARM support
>>
>> What else?
>
> Well don't have a fixed plan on what I want to implement.
> I might do 32bit, I have not decided yet, but I think I will skip it.
>
> I will not add ARM support because this would require alot more research.
> Maybe in the future when PowerNex is in a more feature complete state.
>
> The long term goal is that userspace programs should be able to use phobos.
Ahh neato.
Will you being going down the path of libc/posix compat layer or straight up D all the way?
|
November 18, 2015 Re: PowerNex - My 64bit kernel written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Luis | On Wednesday, 18 November 2015 at 09:31:04 UTC, Luis wrote:
> Nice!
>
> https://github.com/Vild/PowerNex/blob/master/kernel/src/io/textmode.d#L64 not should be "cast(slot[w*h] *)" ?
Fixed and pushed, Thanks!
|
November 18, 2015 Re: PowerNex - My 64bit kernel written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | On Wednesday, 18 November 2015 at 11:20:58 UTC, Rikki Cattermole wrote:
> Will you being going down the path of libc/posix compat layer or straight up D all the way?
I want to go D all the way.
But if I have to get a libc, I will try and implement one in D.
|
November 18, 2015 Re: PowerNex - My 64bit kernel written in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Wild | On Wednesday, 18 November 2015 at 11:25:55 UTC, Wild wrote:
> On Wednesday, 18 November 2015 at 11:20:58 UTC, Rikki Cattermole wrote:
>> Will you being going down the path of libc/posix compat layer or straight up D all the way?
>
> I want to go D all the way.
> But if I have to get a libc, I will try and implement one in D.
Cool. Really cool!!
|
Copyright © 1999-2021 by the D Language Foundation