luxos/buildOS.bat
2021-09-14 18:34:14 +03:00

40 lines
962 B
Batchfile

@echo off
@echo ********************************************************
@echo ** CTA OS Builder **
@echo ** **
@echo ** CTA Operating System version 0.1 **
@echo ** (c) 2010 CTA Systems Inc. **
@echo ********************************************************
@echo.
set nasm_path=C:\nasm
set djgpp_path=C:\DJGPP\bin
:floppy_no
xcopy A:\NUL >nul
if errorlevel 5 goto floppy_yes
@echo Insert a floppy disk, and press any key to continue.
@pause >nul
goto floppy_no
:floppy_yes
@echo Formatting disk...
format A: /q <scripts\format >nul
@echo.
:bootloader
cd SysBoot
@echo.
call makeall.bat
cd..
:kernel
cd SysCore
call makeallh.bat
cd..
@echo ************************ Done ************************
@echo.