Remove BASE macro and companions

This commit is contained in:
Nero 2020-03-31 19:46:59 +00:00
parent c67894551b
commit 9044e3948c
2 changed files with 4 additions and 4 deletions

View File

@ -42,15 +42,15 @@ vga11.com: cp437.bin
# COM programs
%.com: com/%.asm
$(NASM) $(NASM_ARGS) -DBASE=0x0100 -DCOM -o $@ $<
$(NASM) $(NASM_ARGS) -o $@ $<
# Bootloaders, first sector on partition
%.bs: boot/%.asm
$(NASM) $(NASM_ARGS) -DBASE=0x7C00 -DBOOT -o $@ $<
$(NASM) $(NASM_ARGS) -o $@ $<
# BIOS option roms
%.rom: rom/%.asm utils/fix-rom
$(NASM) $(NASM_ARGS) -DBASE=0x0000 -DROM -o $@ $< && utils/fix-rom $@
$(NASM) $(NASM_ARGS) -o $@ $< && utils/fix-rom $@
fdimage.img: fat.bs $(DISTFILES)
mformat -C -i $@ -f $(FLOPPY) -B fat.bs ::

View File

@ -1,4 +1,4 @@
org BASE
org 0x7C00
main:
mov ax, [es:bx+0x0A]