Gameloft still sells Asphalt games on iOS/Android (e.g., Asphalt 9: Legends ), which are free-to-play. If you just want a modern racing fix, those are legal and easily available. However, they lack the retro charm and offline simplicity of the DS original.
If you plan to play this via emulation, here is a quick tip: asphalt 4 elite racing ds rom