Yes, you can turn your computer into a wireless access point for your Nintendo DS without buying a dedicated router, provided you have the right hardware. Here's a practical walkthrough of the process.
The DS supports only WEP security, not WPA or WPA2, so keep that in mind throughout setup.
If it isn't already installed, set up your Wi-Fi adapter. For PCI cards, power off and install the card. For USB or PCMCIA adapters, install the drivers and software first, then connect the device.
Open the configuration utility that came with your adapter rather than letting Windows manage it. The built-in Windows wireless utility often won't do what you need here.
Look for an option to set the adapter as an access point, or use ad hoc mode. Many adapters based on common chipsets support this.
Set your SSID (network name) to something unique. If your adapter has a "turbo" mode, turn it off. Pick a Wi-Fi channel that isn't crowded in your area, and keep power settings high for now.
Since the DS only supports WEP, enable it using either Shared Key or Open System. Use a 64-bit key made of 10 characters (numbers 0-9 and letters A-F). If you have four key fields, enter the same value in each.
Your access point isn't online yet. Bridge it to your main connection, either through the adapter's utility or by using Windows: select both connections in Network Properties, then choose Advanced, then Bridge Connections.
Launch a Wi-Fi-enabled game, go to settings, and search for an access point. Select your SSID, enter your WEP key, and let the game test the connection. If it succeeds, you're ready to play.
For extra security, find your DS's MAC address in its Wi-Fi settings, then configure your access point to accept only that MAC address. You can also disable SSID broadcasting once you're connected.
The biggest hurdle is usually the adapter's software, and not every adapter will cooperate. Results vary by hardware, but with the right setup, it's entirely doable. Good luck, and happy gaming!