~vdupras/duskbsd-qemu

1ca5bb70b8f5ea3f851e995de7614e57c33bdea8 — Virgil Dupras 8 months ago b5cd2a4
WE HAVE PROMPT!!!
3 files changed, 4 insertions(+), 5 deletions(-)

M Makefile
M duskos
D hello.txt
M Makefile => Makefile +3 -3
@@ 46,12 46,12 @@ duskos:
$(KEXEC): | duskos
	make -C duskos/netbsd kexec

fat.img: mbr.bin $(KEXEC) hello.txt
	dd if=/dev/zero of=$@ bs=512 count=2880
fat.img: mbr.bin $(KEXEC)
	dd if=/dev/zero of=$@ bs=1M count=10
	mformat -i $@ ::
	dd if=mbr.bin of=$@ bs=1 count=450 seek=62 skip=62 conv=notrunc
	mcopy -i $@ $(KEXEC) ::kexec
	mcopy -i $@ hello.txt ::
	mcopy -sQ -i $@ duskos/fs/* ::

.PHONY: run
run: fat.img $(KERNEL)

M duskos => duskos +1 -1
@@ 1,1 1,1 @@
Subproject commit 25e8c4c22c25b5bfe20e39c3beb7a8ff68bd2d8d
Subproject commit 0e1267ef3f871a50cd18b59e3d2a0224b0ebb923

D hello.txt => hello.txt +0 -1
@@ 1,1 0,0 @@
Hello, this is just to test file I/O.