Dragon OS is a small minimalistic OS written in python and being able to execute terminal apps and TUI apps written in Python. The DragonKernel can execute programs written in DragonScript, a syntax being similar to Assembly, but it does not support everything that Assembly can do and it doesn't fully work like this language
-
Launching
- Starting the system should be ONLY done from
launch.pyORlaunch.sh - Always use
sudocommand to start. - To avoid making
__pycache__folders, potentially breaking a part of a system, you can do these things:- Type
sudo pythonX -B launch.py(replace X with a number of your python command, likepython3) - Use
launch.shto do everything for you
- Type
- Starting the system should be ONLY done from
-
Initializing
- Checking for privilleges. You must run this with root privilleges.
- Counting folders in your root directory. System will stop when the amount of folders is lesser than the amount of folders that are required. See Dragon root directory to see more
- Checking folder names. System will stop when there will be any missing required folders
These steps can be omitted when in
/reg/BOOT.cfgthe valueFastBoot/skip_root_ckeckingis set to1
-
Getting and checking devices
- Loading
.ddevfiles from/dev - Checking for USB devices and assigning new USB devices
- Checking for SATA/PCI devices and assigning new SATA/PCI devices
- Checking for RAM, assigning new RAM pieces and checking for amount of it
- Checking for CPU devices and assigning new CPU devices
- Checking for any disks and assigning new disks and checking free space
- Checking for monitor(s) and assigning new monitor(s)
These steps can be omitted when in
/reg/BOOT.cfgthe valueFastBoot/skip_initis set to1To stop halting system and exitting to the terminal, you can change any value in/reg/BOOT.cfginhalt_when_X_404whereXstands for either:usb,sata_pci,cpuTo stop halting system when RAM and disk are too low changehalt_when_X_too lowwhereXstands for either:ram,disk_spaceTo stop halting on any internal error, sethalt_on_internal_errorto0
- Loading
The system