Define boot sector in a struct for easy of debugging.
Use uint* types instead of unsigned char/short/int.