Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 98 users online: 6 members, 68 guests and 24 bots. Members: Ashbad, CalebHansberry, gbl08ma, qazz42, Spyro543. Bots: Spinn3r (1), Magpie Crawler (4), Googlebot (19).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
| Author |
Message |
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55729 Location: Earth, Sol, Milky Way
|
Posted: 02 Apr 2011 08:45:45 am Post subject: |
|
|
*bump* Just to keep everyone updated on this, I have made lots of updates to both the client and DCS with much-appreciated help from Shaun, Jon, and of course BrandonW. I will be testing it tonight, hopefully, if anyone wants to help. _________________
 |
|
| Back to top |
|
|
madmax2069
Advanced Newbie

Joined: 25 Mar 2011 Posts: 45
|
Posted: 02 Apr 2011 08:49:47 am Post subject: |
|
|
| I am up for testing |
|
| Back to top |
|
|
qazz42

Vampire Killer

Joined: 07 Apr 2010 Posts: 4176
|
Posted: 02 Apr 2011 09:04:06 am Post subject: |
|
|
| KermMartian wrote: | | *bump* Just to keep everyone updated on this, I have made lots of updates to both the client and DCS with much-appreciated help from Shaun, Jon, and of course BrandonW. I will be testing it tonight, hopefully, if anyone wants to help. |
ooh, I am working today on 3 projects, but I shall see if I can get some time later on. What time exactly will said testing take place? _________________
 |
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55729 Location: Earth, Sol, Milky Way
|
Posted: 02 Apr 2011 01:42:14 pm Post subject: |
|
|
At this point I expect that it will be around 8pm EDT, although I am not positive yet.  _________________
 |
|
| Back to top |
|
|
_player1537

Guru-in-Training

Joined: 25 Nov 2009 Posts: 2957
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55729 Location: Earth, Sol, Milky Way
|
Posted: 02 Apr 2011 05:28:38 pm Post subject: |
|
|
Thanks _player! I'm going to play a game of AoE with Sonlen now, and I'll leave my calculator connected via Chat to DUSB. I want to see if when the timeouts start to happen, the recovery code I've added will function properly.
Edit: Here's where we currently stand with Direct USB gCn, and why I'm not yet giving you guys a beta (still):
1) New features: the client will wait patiently for your calculator to be connected properly, so you can even start DCS, run Chat (or Oblit, or NetPong, or CnChess, or CnT, or whatever), then plug in your USB cable, then run the client. Or do them in a different order. It should all work
2) The CALCnet interrupt can now properly handle unplugging and replugging the cable without losing its mind
3) However, if for some reason the USB sending from the calculator times out, the OS send routine loses its mind now and kills the whole USB connection. The good thing is that timeouts are happening at all; it took tons of OS tracing with BrandonW's help to get it this far. However, it's important that I get it to behave better.
4) There's a glitch-type thing with ginormous frames being sent to the calculator after reconnect. I'm on it. _________________
 |
|
| Back to top |
|
|
qazz42

Vampire Killer

Joined: 07 Apr 2010 Posts: 4176
|
Posted: 02 Apr 2011 08:08:07 pm Post subject: |
|
|
sounds good Kerm, take you time, we shall live
hmm, does this mean that somone can interrupt a oblit game without going bonkers? _________________
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55729 Location: Earth, Sol, Milky Way
|
Posted: 02 Apr 2011 08:10:23 pm Post subject: |
|
|
| qazz42 wrote: | sounds good Kerm, take you time, we shall live
hmm, does this mean that somone can interrupt a oblit game without going bonkers? | Interrupt as in join in the middle? No, I'll have to modify Obliterate to properly handle that (or rather, detect and prevent problems from it). This has to do with exactly what MadMax is seeing right now, occasional calculator lockups that can be solved with On / On / Clear. _________________
 |
|
| Back to top |
|
|
qazz42

Vampire Killer

Joined: 07 Apr 2010 Posts: 4176
|
Posted: 02 Apr 2011 08:12:01 pm Post subject: |
|
|
Ah, I see, btw, it seems that an all-cap msg froze chat O-o. I would think that for the oblit problem you could just make a message that says "Sorry, there is a game running" or something of the like. Although I am sure in practice, that would be much harder >.> _________________
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55729 Location: Earth, Sol, Milky Way
|
Posted: 02 Apr 2011 08:22:01 pm Post subject: |
|
|
Yes, it would indeed be very challenging, but I'll try to come up with something reasonable. That's a very very secondary concern after tracking down how (if!) this problem can be fixed. _________________
 |
|
| Back to top |
|
|
qazz42

Vampire Killer

Joined: 07 Apr 2010 Posts: 4176
|
Posted: 02 Apr 2011 09:12:13 pm Post subject: |
|
|
ah, sonds fair enough, good luck with that, and, as always, I am always happy to help  _________________
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55729 Location: Earth, Sol, Milky Way
|
Posted: 02 Apr 2011 09:15:46 pm Post subject: |
|
|
| qazz42 wrote: | ah, sonds fair enough, good luck with that, and, as always, I am always happy to help  | Thanks a lot. To keep you guys up-to-date on what's going on, I am experimenting with what bit 3,(iy+41h) does based on some tracing; setting it appears to stop the calculator from killing the USB connection when a packet send times out, but leaving it set makes DUSB freeze at other points, so I'm trying setting it right before an attempted send and resetting it directly afterwards. _________________
 |
|
| Back to top |
|
|
geekboy1011

Expert

Joined: 19 Jul 2009 Posts: 592
|
Posted: 03 Apr 2011 10:14:31 am Post subject: |
|
|
Thats an interesting idea hope it works means less crashes and angry gcn restarts for us xD _________________ Cadan: CD : My (first?!?) mod of the cadan engine for a not so demoified version of the game :HOLD
Cn2.2 Wireless Bridge : Still in the design phase.
Contest #9 Cn2.2 Ika Shmup |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55729 Location: Earth, Sol, Milky Way
|
Posted: 03 Apr 2011 10:16:23 am Post subject: |
|
|
| geekboy1011 wrote: | | Thats an interesting idea hope it works means less crashes and angry gcn restarts for us xD | Thanks, geekboy. I've managed to get one hard freeze since the changes, so I'm not happy yet, so you guys still don't have something. I fixed another glitch in the gCnClient based on my changes, so automatic reconnection is pretty nifty now, but it's still not 100%. _________________
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55729 Location: Earth, Sol, Milky Way
|
|
| Back to top |
|
|
elfprince13

OVER NINE THOUSAND!

Joined: 23 May 2005 Posts: 10224 Location: A galaxy far far away......
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55729 Location: Earth, Sol, Milky Way
|
Posted: 10 Apr 2011 08:30:19 pm Post subject: |
|
|
| elfprince13 wrote: | | What sorts of bugs have you shot down so far? | All kinds of stuff. As suggested by Jonimus, the client doesn't try to send anything to the calculator until the first frame is received from the calculator, which means that the calculator won't freeze on the homescreen anymore because of constant USB activity when you first start the client. Also, I did tons of debugging on unplugging and replugging, and it works a lot better now, both hotplugging and just plugging in normally while the program (rather than the OS) is running. Remaining glitches include the one I mentioned, and one hard-to-reproduce case where the calculator forgets it knows how to handshake USB until you hotplug once with the OS active. _________________
 |
|
| Back to top |
|
|
elfprince13

OVER NINE THOUSAND!

Joined: 23 May 2005 Posts: 10224 Location: A galaxy far far away......
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55729 Location: Earth, Sol, Milky Way
|
Posted: 10 Apr 2011 08:54:55 pm Post subject: |
|
|
| elfprince13 wrote: | | Very interesting stuff. Good to hear that it is progressing so well! | Thanks, elfprince! Sadly, I've been a bit slowed down by all of the schoolwork and teaching crossing my desk, unfortunately. _________________
 |
|
| Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.040619 seconds.
|