Oh sorry did not know that. hmmThat's copyrighted code, we can't share that here. Get it somewhere else.
Oh, and BTW it doesn't crash. It's known you can't run the DS BIOS on 3DS, as it restarts the console at the end of the setup, so you can't get further.