Jump to content

Welcome to 1Emulation.com
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

Official DS Wifi FAQ

- - - - -

  • This topic is locked This topic is locked
31 replies to this topic

#23
yorel

yorel

    Novice

  • Members
  • 29 posts
Click to view battle stats
Thanks. :naughty:

#24
Yooz Urnaim

Yooz Urnaim

    Newbie Poster

  • Members
  • 1 posts
Click to view battle stats
How precise can timestamps be generated on the DS? I see that sgstair mentioned microsecond counters in his Hardware Reference page; are discrete microseconds (1 E-6 seconds) as precise as the DS can count? Or can it count fractions of microseconds as well? If so, how small of a fraction? 1/10 microseconds (1 E-7 seconds)? 1/100?...

#25
sgstair

sgstair

    Proud Fan

  • Emulator Author
  • 203 posts
  • Location:The depths of the Internet
Click to view battle stats

How precise can timestamps be generated on the DS? I see that sgstair mentioned microsecond counters in his Hardware Reference page; are discrete microseconds (1 E-6 seconds) as precise as the DS can count? Or can it count fractions of microseconds as well? If so, how small of a fraction? 1/10 microseconds (1 E-7 seconds)? 1/100?...

<{POST_SNAPBACK}>

Technically the DS timer system can operate at a maximum resolution of about 33MHz, I think. (which is 32 times more accurate than a microsecond timer)

-Stephen

#26
Two9A

Two9A

    DSemu hacker

  • Emulator Author
  • 181 posts
  • Location:The United Kingdom of Great Britain, Northern Ireland, and the Dependencies of the Isle of Man and the Channel Islands
  • Interests:Why, hacking of course.
Click to view battle stats

Technically the DS timer system can operate at a maximum resolution of about 33MHz, I think.

Of course, then your problem becomes how to service interrupts that happen every two clocks. Not sure you can do a great deal in that amount of time. :)

#27
sgstair

sgstair

    Proud Fan

  • Emulator Author
  • 203 posts
  • Location:The depths of the Internet
Click to view battle stats

Technically the DS timer system can operate at a maximum resolution of about 33MHz, I think.

Of course, then your problem becomes how to service interrupts that happen every two clocks. Not sure you can do a great deal in that amount of time. :)

<{POST_SNAPBACK}>

blah, you don't need to service an interrupt every 2 clocks, just read whenever you like and you get a cycle accurate count.

-Stephen

#28
Grey

Grey

    Novice

  • Members
  • 33 posts
  • Location:Alberta
Click to view battle stats
Is it possible at all to change the timeout value for things such as autoconnect or recv? I find that if those operations fail for any reasons, it takes a long time, (if ever) for them to come back (I've never actually waited that long). This essentially freezes up the DS if there's a failure. So... is there a way to change the timeout?

#29
sgstair

sgstair

    Proud Fan

  • Emulator Author
  • 203 posts
  • Location:The depths of the Internet
Click to view battle stats

Is it possible at all to change the timeout value for things such as autoconnect or recv?  I find that if those operations fail for any reasons, it takes a long time, (if ever) for them to come back (I've never actually waited that long).  This essentially freezes up the DS if there's a failure.  So... is there a way to change the timeout?

<{POST_SNAPBACK}>

Well.... yes and no.
Autoconnect does time out, but even so, you are in charge of the loop that waits until it's connected, so you are responsible for stopping it early if you want to.
it is possible that recv() will never return in the current version of the lib, but work is being done to fix this - additionally you can switch to non-blocking mode and recv() will always return immediately.

-Stephen

#30
BasiX

BasiX

    Newbie Poster

  • Members
  • 4 posts
Click to view battle stats
Hi! I'm new on this forum and I have a question: Why can my DS not connect to my internet / router if I use my normal WFC-settings? When I play online games, such as Mario Kart DS, it works fine. But i can't connect with homebrew software... (My connection is WEP secured) PLEAS HELP :P

#31
sgstair

sgstair

    Proud Fan

  • Emulator Author
  • 203 posts
  • Location:The depths of the Internet
Click to view battle stats
BasiX: this is likely due to lack of shared key authentication support, or possibly because your AP is not broadcasting it's SSID - both of these issues are in the pipeline and will be resolved soon though!

-Stephen

#32
regothealien

regothealien

    Beginner

  • Members
  • 17 posts
Click to view battle stats
very complicated all i know is to turn ur pc on then play a ds game that is wifi competable and off you go




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users