Remove nasm dependency
This commit is contained in:
parent
d89c916711
commit
6f8a24927a
2
Makefile
2
Makefile
@ -7,8 +7,6 @@ DISTFILES = $(KERNEL) $(PROGRAMS)
|
|||||||
FLOPPY = 1440
|
FLOPPY = 1440
|
||||||
|
|
||||||
# Programs used for building
|
# Programs used for building
|
||||||
NASM = nasm
|
|
||||||
NASM_ARGS = -s --before "cpu 8086" -DPRODUCT=$(PRODUCT) -DVERSION=$(VERSION)
|
|
||||||
AS = host/as
|
AS = host/as
|
||||||
SYS = ./sys.elf
|
SYS = ./sys.elf
|
||||||
|
|
||||||
|
16
README.md
16
README.md
@ -1,30 +1,18 @@
|
|||||||
## Primary goals
|
## Primary goals
|
||||||
|
|
||||||
- Run on 8086 or up
|
- Run on 8086
|
||||||
- Be able to load and execute a COM program from disk
|
- Be able to load and execute a COM program from disk
|
||||||
- Support for running programs in the NEC V30 8080 emulation mode
|
|
||||||
|
|
||||||
## Secondary goals
|
|
||||||
|
|
||||||
- CP/M syscall compatibility
|
|
||||||
- Terminal emulator for COM1 (like picocom on linux)
|
|
||||||
- Boot linux
|
|
||||||
- Editor (nano or ed-like)
|
|
||||||
- Self-hosting assembler
|
- Self-hosting assembler
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
You can generate a 3.5" floppy image with `make fd1440.img`, a 5.25" floppy with `make fd160.img`.
|
|
||||||
|
|
||||||
Build requirements:
|
Build requirements:
|
||||||
|
|
||||||
- make
|
- make
|
||||||
- nasm
|
- busybox awk for bootstrap assembler
|
||||||
- mtools >=4.0.20 (Debian buster or up)
|
- mtools >=4.0.20 (Debian buster or up)
|
||||||
|
|
||||||
Useful for testing:
|
Useful for testing:
|
||||||
|
|
||||||
- C compiler
|
- C compiler
|
||||||
- qemu-system-i386
|
- qemu-system-i386
|
||||||
|
|
||||||
The Makefile has other potentially interesting targets.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user