How to build the kernel ...:
-Used Applications
NetBeans IDE (Use 8.2): I use it for the great functionality it has, when you download the project in the repository you will find the folders, for example, nbproject
created by NetBeans itself.
NASM: To compile everything from assembler
GCC: To compile C ++
-The root directory is SRC inside contains several projects. All projects are compiled using makefile commands, the makefile file is the
the first one that appears and the only one that appears as a file the others are directories.
Directories:
bootloader: this folder contains the assembly of the Disk image, I don't use a loader like GRUB, if I didn't decide implement a simple one (visit
https://github.com/ramonmayedo/mkfreeOS/wiki I explain more in details, it is for now the comments in Spanish).
Bootloader compilation: The bootloader generates an image.o file which is the one used in the virtual machine as a disk. To be able to compile the bootloader it is necessary to have the kernel compiled since the only thing it does in question is to assemble the image. It is in the image.asm file
Kernel compilation: A kernel.bin file that is previously used in the image assembly is compiled and generated in the end.
Library compilation: A library.lib file is generated that contains the implementation of all the functions that are in the library / includes header so that are used by our executable programs when they include it as a header.
GUImkfree compilation: gui.lib is generated that contains the implementation of all the functions of the graphic part. In addition to some window applications and the own graphic server. This is only minimal and is under development.
Soprogram folders: Contains all the programs that have been made so far, the most important being ini.elf, which is the one that gives visa to the entire system.
Isokernel compilation: Generate an ISO image of the kernel, it is under revision.
There is src / disk.img that contains a disk image in FAT32 which is where the kernel processes all processes.
When using the virtual machine quemu driver is configured, hard disk 0 the file ../src/bootloader/x86/image.o and on hard disk 1 the file ../src/disk.img