Page 1 of 1

Pure64 0.9.0

Posted: Mon Apr 02, 2018 4:34 pm
by tay10r
About ten years ago, Pure64 0.7.0 was released on OSDev.org.

You can check it out at viewtopic.php?f=2&t=31060

Today, after tens of thousands lines of code, version 0.9.0 is released (version 0.8.0 was released in 2016.)

Here's some of the highlights:

- A utility program, 'pure64' is used to create disk images.
- specify disk layout and features with configuration files
- file system interface to the disk allows placing kernels into the disk image by path instead of disk offset

This last release was aimed at improving the ease of use of the project by the community.
It should be easy now, for other projects to load their kernel using without doing a lot of other work.
Here's the steps you would take to use it.

1. Create the configuration file, called pure64-config.txt. At the minimum, you have to specify the architecture that the image is for. While currently only x86_64 is supported, riscv64 will be supported in the next release. The following configuration file creates a disk image, with GPT partitions, and an MBR boot sector.

Code: Select all

arch: x86_64
bootsector: mbr
partition_scheme: gpt
2. Run the initialization command.

Code: Select all

pure64 init
3. Add the kernel to the file system.

Code: Select all

pure64 kernel.elf /boot/kernel
I'm including release files for Windows and Linux, so you don't have to go through the trouble of installing the cross compilers required to build it.

Here's a link to the release page: https://github.com/ReturnInfinity/Pure6 ... tag/v0.9.0

If you use vim, I made a short plugin to highlight Pure64 config files. Here's a link to the project: https://github.com/ReturnInfinity/Pure64Vim

Here's an image of the config file.

Image

Please ask questions, if you have any.