Rename kernel to bdos
This commit is contained in:
parent
d789131eb6
commit
f81de2bfe8
11 changed files with 12 additions and 11 deletions
13
Makefile
13
Makefile
|
@ -1,8 +1,9 @@
|
|||
FLOPPY = 360
|
||||
BIOS = 0xFA00
|
||||
|
||||
RAM = 0x10000
|
||||
|
||||
PROGRAMS = $(patsubst %.asm,%.com,$(wildcard com/*.asm))
|
||||
DISTFILES = rdos.bin $(PROGRAMS)
|
||||
DISTFILES = bdos.bin $(PROGRAMS)
|
||||
ROMS =
|
||||
|
||||
QEMU_ARCH = $(shell uname -m)
|
||||
|
@ -11,7 +12,7 @@ QEMU_ARGS = $(addprefix --option-rom ,$(ROMS))
|
|||
|
||||
NASM = nasm
|
||||
NASM_ARGS = -s -Ilib -Plib/nasmcomp.asm -w-macro-params
|
||||
NASM_ARGS += -DBIOS=$(BIOS)
|
||||
NASM_ARGS += -DRAM=$(RAM)
|
||||
|
||||
EMUL = utils/emul
|
||||
|
||||
|
@ -32,9 +33,9 @@ endif
|
|||
|
||||
default: fdimage.img
|
||||
|
||||
# Kernel image
|
||||
rdos.bin: kernel/*.asm lib/*.asm
|
||||
$(NASM) $(NASM_ARGS) -o $@ -I kernel kernel/main.asm
|
||||
# BDOS image
|
||||
bdos.bin: bdos/*.asm lib/*.asm
|
||||
$(NASM) $(NASM_ARGS) -o $@ -I bdos bdos/main.asm
|
||||
|
||||
# Boot sectors
|
||||
boot/%.bs: boot/%.asm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue