Compare commits
2 Commits
9a829fc71c
...
f4cdb29095
Author | SHA1 | Date |
---|---|---|
Juhani Krekelä | f4cdb29095 | |
Juhani Krekelä | 19472fbbec |
4
Makefile
4
Makefile
|
@ -3,10 +3,10 @@
|
||||||
|
|
||||||
all: nor86.img
|
all: nor86.img
|
||||||
|
|
||||||
nor86.img: bootsector.bin kernel.bin CC0 README.md
|
nor86.img: bootsect.bin kernel.bin CC0 README.md
|
||||||
rm -f $@
|
rm -f $@
|
||||||
mkdosfs -C $@ 1440
|
mkdosfs -C $@ 1440
|
||||||
rw -i bootsector.bin -o $@
|
rw -i bootsect.bin -o $@
|
||||||
mcopy -i $@ CC0 ::
|
mcopy -i $@ CC0 ::
|
||||||
mcopy -i $@ README.md ::
|
mcopy -i $@ README.md ::
|
||||||
mcopy -i $@ kernel.bin ::
|
mcopy -i $@ kernel.bin ::
|
||||||
|
|
|
@ -162,7 +162,7 @@ found:
|
||||||
|
|
||||||
push bx
|
push bx
|
||||||
|
|
||||||
.tosector
|
.tosector:
|
||||||
; Adjust the cluster number to account for first two
|
; Adjust the cluster number to account for first two
|
||||||
; "clusters" in the FAT being used for metadata
|
; "clusters" in the FAT being used for metadata
|
||||||
sub ax, 2
|
sub ax, 2
|
Loading…
Reference in New Issue