This commit is contained in:
2021-09-14 18:46:50 +03:00
parent d605c6a016
commit b6ddeca1c3
180 changed files with 5909 additions and 2039 deletions

View File

@@ -2,14 +2,12 @@
rem NASM and DJGPP executable paths:
set nasm_path=C:\nasm
set djgpp_path=C:\DJGPP\bin
set objpath=..\objects
set djgpp_path=C:\mingw\bin
set objpath=..\objects\video
set incpath=../include
@echo Building Video Drivers...
del %objpath%\video\vga03h.o
goto build
:error
@echo.
@@ -19,8 +17,8 @@ goto build
:build
@echo * Compiling Text Mode 0x03 video driver ...
%djgpp_path%\gcc.exe -Wall -O -fstrength-reduce -fomit-frame-pointer -nostdinc -fno-builtin -I%incpath% -c -o %objpath%/video/vga03h.o vga03h.c
:check
if not exist %objpath%\video\vga03h.o goto error
%djgpp_path%\gcc.exe -Wall -O -fstrength-reduce -fomit-frame-pointer -nostdinc -fno-builtin -I%incpath% -c -o vga03h.o vga03h.c
if not exist vga03h.o goto error
xcopy /Y *.o %objpath% >nul
del *.o