Fix a bug in loadf that prevented reading clusters at a track boundary, write type, Ettinify the text files, and modify the readme and make.sh accordingly, and add a source disk image to make.sh.
This commit is contained in:
parent
92d93714bd
commit
2544d96a81
BIN
LICENSE.MD
BIN
LICENSE.MD
Binary file not shown.
23
make.sh
23
make.sh
|
@ -11,12 +11,18 @@ fi
|
|||
nasm SYSTEM.ASM -f bin -o ../bin/SYSTEM.BIN
|
||||
nasm ECHO.ASM -f bin -o ../bin/ECHO.BIN
|
||||
nasm HELLO.ASM -f bin -o ../bin/HELLO.BIN
|
||||
nasm TYPE.ASM -f bin -o ../bin/TYPE.BIN
|
||||
|
||||
cd ..
|
||||
if [ "$1" = "-1440" ]
|
||||
then mkfs.fat -C EttinOS.img 1440 1>/dev/null
|
||||
else mkfs.fat -C EttinOS.img 360 1>/dev/null
|
||||
then
|
||||
mkfs.fat -C EttinOS.img 1440 1>/dev/null
|
||||
mkfs.fat -C EttinOS-src.img 1440 1>/dev/null
|
||||
else
|
||||
mkfs.fat -C EttinOS.img 360 1>/dev/null
|
||||
mkfs.fat -C EttinOS-src.img 360 1>/dev/null
|
||||
fi
|
||||
mlabel -i EttinOS-src.img ::ETTINOS-SRC
|
||||
|
||||
if which rw > /dev/null 2>&1
|
||||
then rw -i bin/BOOT.BIN -o EttinOS.img -b 512 -c 1x
|
||||
|
@ -27,3 +33,16 @@ mcopy -i EttinOS.img README.MD ::
|
|||
mcopy -i EttinOS.img LICENSE.MD ::
|
||||
mcopy -i EttinOS.img bin/ECHO.BIN ::
|
||||
mcopy -i EttinOS.img bin/HELLO.BIN ::
|
||||
mcopy -i EttinOS.img bin/TYPE.BIN ::
|
||||
|
||||
mcopy -i EttinOS-src.img src/BOOT.ASM ::
|
||||
mcopy -i EttinOS-src.img src/SYSTEM.ASM ::
|
||||
mcopy -i EttinOS-src.img src/PRINTSTR.INC ::
|
||||
mcopy -i EttinOS-src.img src/READSTR.INC ::
|
||||
mcopy -i EttinOS-src.img src/PRINTLN.INC ::
|
||||
mcopy -i EttinOS-src.img src/READLN.INC ::
|
||||
mcopy -i EttinOS-src.img README.MD ::
|
||||
mcopy -i EttinOS-src.img LICENSE.MD ::
|
||||
mcopy -i EttinOS-src.img src/ECHO.ASM ::
|
||||
mcopy -i EttinOS-src.img src/HELLO.ASM ::
|
||||
mcopy -i EttinOS-src.img src/TYPE.ASM ::
|
||||
|
|
BIN
src/BOOT.ASM
BIN
src/BOOT.ASM
Binary file not shown.
BIN
src/ECHO.ASM
BIN
src/ECHO.ASM
Binary file not shown.
BIN
src/HELLO.ASM
BIN
src/HELLO.ASM
Binary file not shown.
BIN
src/LOADF.INC
BIN
src/LOADF.INC
Binary file not shown.
BIN
src/PRINTLN.INC
BIN
src/PRINTLN.INC
Binary file not shown.
BIN
src/PRINTSTR.INC
BIN
src/PRINTSTR.INC
Binary file not shown.
BIN
src/READLN.INC
BIN
src/READLN.INC
Binary file not shown.
BIN
src/READSTR.INC
BIN
src/READSTR.INC
Binary file not shown.
BIN
src/SYSTEM.ASM
BIN
src/SYSTEM.ASM
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue