The goal of this project is to configure the FreeMiNT kernel: in addition to the mint.cnf file, the kernel uses specific files if they are present, such as keyboard layouts or loadable modules. The kernel is also responsible for launching the initial program, usually a command interpreter or GEM..
Status: ☑️
Default settings
The kernel reads its configuration from the folder where it is located, which is a subfolder of the mint folder at the root of the bootable drive, and whose name is the kernel version number: drive_c/mint/1-19-0ea/.
This folder also contains loadable modules and keyboard keymaps.
Settings (mint.cnf)
Kernel
- No changes
Filesystem
- No changes
Commands
The most important commands are:
- exec to launch the execution of a command
- sln to create a symbolic link to the unified drive
U: - setenv to define an environment variable
Setting up the root filesystem
The directory structure used is as follows (note the mounting of c:/mint on /boot/):
sln c:/bin u:/bin
sln c:/mint u:/boot
sln c:/etc u:/etc
sln c:/home u:/home
sln c:/lib u:/lib
sln c:/mnt u:/mnt
sln c:/opt u:/opt
sln c:/root u:/root
sln c:/run u:/run
sln c:/sbin u:/sbin
sln c:/srv u:/srv
sln c:/tmp u:/tmp
sln c:/usr u:/usr
sln c:/var u:/var
You need to manually create the folders on c: if they don't already exist.
Environment variables
- SLBPATH : /c/usr/pkg/lib/slb;/c/lib/slb;/c/usr/lib/slb;/c/lib/gemsys/
- HOSTNAME : kfm
- LOGNAME, USER and HOME : updated by the ARAnyM startup script based on the Linux user who launches the emulator.
execute programs
exec u:/c/usr/pkg/libexec/fvdi/fvdi.prg- See the video configuration
Start system
GEM=c:/mint/1-19-0ea/xaaes/xaloader.prg- See the configuration of XaAES
Modules
- inet4.xdd
- nfeth.xif
Keyboards
Copy one of the keyboard/*.tbl files and rename it to keyboard.tbl in the system folder. See the ReadMe for more details on the available keyboard types.