16 lines
300 B
Batchfile
16 lines
300 B
Batchfile
|
@echo off
|
||
|
rem The name of the loader assembly file (without extension, must be .asm):
|
||
|
set loader_name=loader
|
||
|
|
||
|
rem NASM and DJGPP executable paths:
|
||
|
set nasm_path=C:\nasm
|
||
|
set djgpp_path=C:\DJGPP\bin
|
||
|
|
||
|
@echo on
|
||
|
%djgpp_path%\ld -T link.ld
|
||
|
@echo off
|
||
|
@echo.
|
||
|
@echo Done!
|
||
|
|
||
|
@pause
|
||
|
copy KERNEL.BIN A:\KERNEL.CTA
|