echo ------------
echo COMPILING OS
echo ------------

make

echo ---------
echo Finished!
echo ---------
read -p "Do you want to write the IMG to Floppy? (/dev/sdb) (y/n) " yn

case $yn in 
	y )
	echo ---------------------
	echo Writing IMG to Floppy
	echo ---------------------

	sudo dd if=./build/main_floppy.img of=/dev/sdb status=progress

	echo ---------
	echo Finished!
	echo ---------

	;;
	n ) echo exiting...;
		exit;;
	* ) echo invalid response;
		exit 1;;
esac


