Feat: Kernel has now a functions for better screen printing
This commit is contained in:
@@ -6,6 +6,7 @@ set -e # Exit on any error
|
||||
echo "==================================="
|
||||
echo " SoraOS Build System v1.0"
|
||||
echo "==================================="
|
||||
echo ""
|
||||
|
||||
# Colors
|
||||
GREEN='\033[0;32m'
|
||||
@@ -17,7 +18,7 @@ NC='\033[0m'
|
||||
echo -e "Preparing build environment...${NC}"
|
||||
echo -e "Creating Folders${NC}"
|
||||
mkdir -p bin obj boot include
|
||||
echo -e "${GREEN}✓ ${NC}Folders created.${NC}"
|
||||
echo -e "${GREEN}✓${NC} Folders created.${NC}"
|
||||
|
||||
# Step 1: Assemble Stage 1 bootloader (MBR - 512 bytes)
|
||||
echo -e "${BLUE}[1/6]${NC} Assembling Stage 1 bootloader (MBR)..."
|
||||
@@ -46,7 +47,7 @@ cat ./bin/boot.bin ./bin/elevator.bin ./bin/kernel.bin > os.bin
|
||||
# Pad to floppy size (1.44MB)
|
||||
# FIX: Uncomment the line below if you want to ensure the image is exactly 1.44MB
|
||||
#
|
||||
# truncate -s 1440K os-image.bin
|
||||
truncate -s 1440K os.bin
|
||||
|
||||
echo ""
|
||||
echo -e "${GREEN}✓ Build complete!${NC}"
|
||||
|
||||
Reference in New Issue
Block a user