diff --git a/LICENSE.MD b/LICENSE.MD index ce4ff25..50b75b6 100644 Binary files a/LICENSE.MD and b/LICENSE.MD differ diff --git a/README.MD b/README.MD index ad21d94..de71bb2 100644 Binary files a/README.MD and b/README.MD differ diff --git a/make.sh b/make.sh index c78dacc..2022dde 100755 --- a/make.sh +++ b/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 :: diff --git a/src/BOOT.ASM b/src/BOOT.ASM index 3c4349e..ee307d5 100644 Binary files a/src/BOOT.ASM and b/src/BOOT.ASM differ diff --git a/src/ECHO.ASM b/src/ECHO.ASM index 50688e9..b3f7b2e 100644 Binary files a/src/ECHO.ASM and b/src/ECHO.ASM differ diff --git a/src/HELLO.ASM b/src/HELLO.ASM index ab81a21..b6627af 100644 Binary files a/src/HELLO.ASM and b/src/HELLO.ASM differ diff --git a/src/LOADF.INC b/src/LOADF.INC index e1dbf08..bacb453 100644 Binary files a/src/LOADF.INC and b/src/LOADF.INC differ diff --git a/src/PRINTLN.INC b/src/PRINTLN.INC index ac5dc55..4b269a1 100644 Binary files a/src/PRINTLN.INC and b/src/PRINTLN.INC differ diff --git a/src/PRINTSTR.INC b/src/PRINTSTR.INC index 57fde6b..fe6e87e 100644 Binary files a/src/PRINTSTR.INC and b/src/PRINTSTR.INC differ diff --git a/src/READLN.INC b/src/READLN.INC index 45ef949..73fe73d 100644 Binary files a/src/READLN.INC and b/src/READLN.INC differ diff --git a/src/READSTR.INC b/src/READSTR.INC index 6b1a371..8d55ed8 100644 Binary files a/src/READSTR.INC and b/src/READSTR.INC differ diff --git a/src/SYSTEM.ASM b/src/SYSTEM.ASM index 26bd8ad..cc0b296 100644 Binary files a/src/SYSTEM.ASM and b/src/SYSTEM.ASM differ diff --git a/src/TYPE.ASM b/src/TYPE.ASM new file mode 100644 index 0000000..6b7fa2f Binary files /dev/null and b/src/TYPE.ASM differ