Source file descriptions
Source file descriptions
This page provides a list of source files that make up the Dexter kernel and provides a brief description of each. This page is a work in progress.
boot.asm
boot.asm contains the assembly code that starts the boot process and changes the CPU from 16-bit real mode to 32-bit protected mode.
config.h
config.h contains definitions providing text replacements for magic numbers.
console.c
console.c is where you'll find functions to initialize the text console as well as writing to the screen. The print and cprint functions are the current preferred way to write to the console.
console.h
console.h should be included to use the terminal functions in the console.c file. It also defines VGA_HEIGHT and VGA_WIDTH.
disk.c
disk.c is the low level disk functions to initialize the disk devices and read from individual disk sectors.
disk.h
disk.h should be included to use the disk functions in the disk.c file. It also contains definitions for the disk struct type and DEXTER_DISK_TYPE.