24 lines
440 B
Batchfile
24 lines
440 B
Batchfile
@echo off
|
|
set nasm_path=C:\nasm
|
|
set djgpp_path=C:\DJGPP\bin
|
|
|
|
goto build
|
|
|
|
:error
|
|
@echo.
|
|
@echo There have been build errors. Building halted.
|
|
@pause
|
|
exit
|
|
|
|
:build
|
|
|
|
@echo Compiling stage 2...
|
|
del stage2.cta
|
|
%nasm_path%\nasm.exe -f bin stage2.asm -o stage2.cta
|
|
|
|
:test
|
|
if not exist stage2.cta goto error
|
|
|
|
:copy
|
|
@echo Copying stage 2 to floppy...
|
|
copy stage2.cta A:\stage2.cta >nul |