Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 95 users online: 0 members, 64 guests and 31 bots. Members: None. Bots: VoilaBot (2), Spinn3r (1), MSN/Bing (3), Magpie Crawler (4), VoilaBot (1), Googlebot (18), MSN/Bing (2).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
| Author |
Message |
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 25 Sep 2010 10:05:37 pm Post subject: CALCnet Chat |
|
|
So, I recently built a CALCnet hub, and have decided to start working on a chat program for it. With quite a bit of help from Kerm, I've gotten the GUI basically in place:
Hopefully, once Kerm gets CALCnet out there, I'll be able to move forward with this and get something up and running (btw, Kerm, work on re-randomizing backoff). I still need to add a GUI at load that asks for username and all that jazz, but this has been just a few days work (which was spent mostly learning the DCS GUI system, and basically learning z80). _________________ Shaun |
|
| Back to top |
|
|
qazz42

Vampire Killer

Joined: 07 Apr 2010 Posts: 4177
|
Posted: 25 Sep 2010 10:12:29 pm Post subject: |
|
|
O_O wow, this looks awsome
though, I will nevar replace TI-Mail  _________________
 |
|
| Back to top |
|
|
alberthrocks
Power User

Joined: 29 Jul 2010 Posts: 403
|
Posted: 25 Sep 2010 10:32:14 pm Post subject: |
|
|
Nice program! BASIC or ASM?
Also (you probably know it already), you should put "Me:"/"Other:" before the message when receiving and sending. Better yet, since this IS Calcnet2, allow the person to assign themselves an ID (aka nick in IRC terms), and then use that for prefixing.  |
|
| Back to top |
|
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 25 Sep 2010 10:39:34 pm Post subject: |
|
|
It's ASM (hence basically learning z80). My understanding is, at first (at least) that CALCnet will not have a BASIC API.
| Quote: | | I still need to add a GUI at load that asks for username | Once that's up, it'll prefix the output. _________________ Shaun |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55762 Location: Earth, Sol, Milky Way
|
Posted: 26 Sep 2010 08:00:28 am Post subject: |
|
|
Will there be a user list of any type? It would be nice to maintain a user list based on broadcasts of username, have a new name be added when it's first seen in a message, or when it's first seen as a broacast, then have names "time out" just like on IRC if they haven't broadcast themselves for a while. Just some random thoughts. Maintaining the list of connected clients is probably going to be the hardest part. _________________
 |
|
| Back to top |
|
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 26 Sep 2010 08:43:23 am Post subject: |
|
|
Hmm, I hadn't thought of a GUI-side user list yet. I'll probably make it so that you have to press a key to see it (like Y= or something); that way it won't take up any screen real-estate while you're chatting.
As far as maintaining it code-side, I've got a few thoughts for how that might work. We'll see how it goes. _________________ Shaun |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55762 Location: Earth, Sol, Milky Way
|
Posted: 26 Sep 2010 12:37:19 pm Post subject: |
|
|
| merthsoft wrote: | Hmm, I hadn't thought of a GUI-side user list yet. I'll probably make it so that you have to press a key to see it (like Y= or something); that way it won't take up any screen real-estate while you're chatting.
As far as maintaining it code-side, I've got a few thoughts for how that might work. We'll see how it goes. | That sounds good. I look forward to the ideas that you have regarding maintaining the list of users to take care of things like people pulling out the cord from their calc, cleanly leaving the program, and of course connecting to the network using the chat client in the first place. _________________
 |
|
| Back to top |
|
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 27 Sep 2010 12:07:17 am Post subject: |
|
|
Not a huge update, but here's some more GUI stuff:
A big part of this is just leaning the DCS GUI system, which, while intuitive, is a little strange sometimes. _________________ Shaun |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55762 Location: Earth, Sol, Milky Way
|
Posted: 27 Sep 2010 12:12:08 am Post subject: |
|
|
Looking amazing so far, Merth! Some of the strangenesses are probably you finding things non-intuitive that I find intuitive, and some of them are awkwards workarounds for much more awkward technical obstacles.  _________________
 |
|
| Back to top |
|
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 27 Sep 2010 12:17:26 am Post subject: |
|
|
I think the biggest thing has been screen- vs. gui-coords, which is just me, I imagine. The other big thing (which has hung me up quite a few times) is when to do a call ResetAppPage. That is technical stuff I assume. _________________ Shaun |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55762 Location: Earth, Sol, Milky Way
|
Posted: 27 Sep 2010 12:21:07 am Post subject: |
|
|
| merthsoft wrote: | | I think the biggest thing has been screen- vs. gui-coords, which is just me, I imagine. The other big thing (which has hung me up quite a few times) is when to do a call ResetAppPage. That is technical stuff I assume. | In DCS7 I had learned enough to have found a way around that, but since all the DCS ASM programs already did that, I elected to just leave it in. It's a side-effect of the combination of how the GUI/mouse system works and DCS being a multi-page app. _________________
 |
|
| Back to top |
|
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 28 Sep 2010 11:47:39 pm Post subject: |
|
|
Alright, so I've got most of the infrastructure set up or at least designed, so once I actually get CALCnet, it shouldn't be too much to get it working ! _________________ Shaun |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55762 Location: Earth, Sol, Milky Way
|
Posted: 28 Sep 2010 11:50:28 pm Post subject: |
|
|
| merthsoft wrote: | Alright, so I've got most of the infrastructure set up or at least designed, so once I actually get CALCnet, it shouldn't be too much to get it working ! | That's great to hear, Merth. The Doors CS integration is rapidly progressing, although I'll need to remember to re-integrate the various switches for faking the CID for the sake of testing on emulators (which don't support CIDs natively), the long-suffering random backoff, and the reported Nspire problems. Oh, and force 6MHz mode in the interrupt. _________________
 |
|
| Back to top |
|
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 28 Sep 2010 11:52:27 pm Post subject: |
|
|
Don't forget to re-randomize backoff. _________________ Shaun |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55762 Location: Earth, Sol, Milky Way
|
Posted: 28 Sep 2010 11:57:20 pm Post subject: |
|
|
| merthsoft wrote: | | Don't forget to re-randomize backoff. | Thanks for the reminder, Merth.  _________________
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55762 Location: Earth, Sol, Milky Way
|
Posted: 06 Oct 2010 08:56:22 pm Post subject: |
|
|
Bumpity bump! How's this going? We were just talking about it tonight on the Have Calc, Will Program show. _________________
 |
|
| Back to top |
|
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 06 Oct 2010 10:52:50 pm Post subject: |
|
|
Alright, so, due to the help of the awesome Kerm, it's actually sending between calcs now. It's not perfect, and still needs quite a bit of work, but I was able to send a message from one calc to two different calc (it didn't make it to the fourth). Tomorrow I will get some screenshots and some pictures. _________________ Shaun |
|
| Back to top |
|
|
elfprince13

OVER NINE THOUSAND!

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

Site Admin

Joined: 14 Mar 2005 Posts: 55762 Location: Earth, Sol, Milky Way
|
Posted: 06 Oct 2010 11:07:37 pm Post subject: |
|
|
| merthsoft wrote: | | Alright, so, due to the help of the awesome Kerm, it's actually sending between calcs now. It's not perfect, and still needs quite a bit of work, but I was able to send a message from one calc to two different calc (it didn't make it to the fourth). Tomorrow I will get some screenshots and some pictures. | Yay Merthsoft! Merth has put the lion's share of work into this, and I'm proud of what he's done so far. Unfortunately, he'll probably need to maintain a list of network users the way NetPong does, but that's a discussion for another day. _________________
 |
|
| Back to top |
|
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 06 Oct 2010 11:22:24 pm Post subject: |
|
|
 _________________ Shaun |
|
| 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.036557 seconds.
|