Shellscript improvement plus FAT driver implementations

- Improved the run bash script to exit when an error occurs in one of the sub tasks
- Wrote basic FAT16 functions that should give enough information to properly implement the rest of the driver
- FAT structure namings are now in accordence with the microsoft spec of March 2005
This commit is contained in:
2023-02-23 23:54:02 +01:00
parent 50bf952a49
commit a77621faf5
20 changed files with 760 additions and 495 deletions

21
run.sh
View File

@ -1,12 +1,25 @@
#!/bin/bash
PROC=$$
# Build the Corelib static library
(cd CoreLib
if ! make; then
echo "Build failed!"
kill -10 $PROC
fi)
cd CoreLib
make
cd ../kernel
# Build the kernel image
(cd kernel
make clean
make
cd ..
if ! make; then
echo "Build failed!"
kill -10 $PROC
fi)
./scripts/update_harddrive.sh
./scripts/run_qemu.sh