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:
CrazyEttin 2021-06-26 18:55:47 +03:00
parent 92d93714bd
commit 2544d96a81
13 changed files with 21 additions and 2 deletions

Binary file not shown.

BIN
README.MD

Binary file not shown.

23
make.sh
View File

@ -11,12 +11,18 @@ fi
nasm SYSTEM.ASM -f bin -o ../bin/SYSTEM.BIN nasm SYSTEM.ASM -f bin -o ../bin/SYSTEM.BIN
nasm ECHO.ASM -f bin -o ../bin/ECHO.BIN nasm ECHO.ASM -f bin -o ../bin/ECHO.BIN
nasm HELLO.ASM -f bin -o ../bin/HELLO.BIN nasm HELLO.ASM -f bin -o ../bin/HELLO.BIN
nasm TYPE.ASM -f bin -o ../bin/TYPE.BIN
cd .. cd ..
if [ "$1" = "-1440" ] if [ "$1" = "-1440" ]
then mkfs.fat -C EttinOS.img 1440 1>/dev/null then
else mkfs.fat -C EttinOS.img 360 1>/dev/null 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 fi
mlabel -i EttinOS-src.img ::ETTINOS-SRC
if which rw > /dev/null 2>&1 if which rw > /dev/null 2>&1
then rw -i bin/BOOT.BIN -o EttinOS.img -b 512 -c 1x 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 LICENSE.MD ::
mcopy -i EttinOS.img bin/ECHO.BIN :: mcopy -i EttinOS.img bin/ECHO.BIN ::
mcopy -i EttinOS.img bin/HELLO.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 ::

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
src/TYPE.ASM Normal file

Binary file not shown.