Begin mapping dos_header function