Add emulator to run 8086 native assembler on linux
This commit is contained in:
parent
59f0720934
commit
fcb4db25ad
2 changed files with 232 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -11,6 +11,8 @@ QEMU_ARGS = $(addprefix --option-rom ,$(ROMS))
|
|||
NASM = nasm
|
||||
NASM_ARGS = -s -I lib
|
||||
|
||||
EMUL = utils/emul
|
||||
|
||||
ifdef KVM
|
||||
QEMU_ARGS += --enable-kvm
|
||||
endif
|
||||
|
@ -52,7 +54,7 @@ hdimage.img: boot/mbr.bs fdimage.img
|
|||
|
||||
clean:
|
||||
find -name '*.lst' -delete
|
||||
rm -f $$(cat .gitignore) programs/*.com boot/*.bs
|
||||
rm -f $$(cat .gitignore) programs/*.com boot/*.bs utils/emul
|
||||
|
||||
qemu-floppy: fdimage.img $(ROMS)
|
||||
$(QEMU) $(QEMU_ARGS) -boot c -fda fdimage.img
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue