Can you give me your files[kickstart32.s kmain.d linker32.ld makefile]?
lobo via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Oct 28 21:38:11 PDT 2015
On Wednesday, 28 October 2015 at 11:01:14 UTC, guodemone wrote:
> My english is poor.
>
> My code to build is wrong.so need make some improvements.
> I would like to refer to your 32-bit code, make some
> improvements.
>
> My Email: 704975494 at qq.com
> very very thank you.
I've uploaded a dummy kernel with bootloader to Github. Hopefully
it will help you.
https://github.com/swamplobo/lyrebirdos
A few points:
* The Makefile uses DMD but if you prefer you can use the
gdc_Makefile to switch compilers easily.
* This example uses GRUB, which you can replace this if you wish.
I did once I got things working (I've now gone back to GRUB
because it has some nice features).
* I use qemu, VirtualBox and real hardware to test. I recommend
testing in a VM before trying real hardware.
* The name Lyrebird OS is just the name I chose, rename to
whatever you like.
* Keep at it because it's very rewarding watching your own kernel
grow.
bye,
lobo
More information about the Digitalmars-d-learn
mailing list