Author Topic: How do I use calcnet for Axe?  (Read 13396 times)

0 Members and 4 Guests are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: How do I use calcnet for Axe?
« Reply #30 on: February 01, 2011, 11:55:42 pm »
According to the readme (which is only included in the Omni download version and WikiTI) you have to click the 3rd icon above each calc screens. There's the pause icon, the hi speed icon (lightning bolt), the link icon and another icon which is for screenshoting, I think.

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: How do I use calcnet for Axe?
« Reply #31 on: February 02, 2011, 10:11:33 am »
Wait, is this for Wabbit or PindurTI?
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: How do I use calcnet for Axe?
« Reply #32 on: February 03, 2011, 09:02:02 am »
Ok, swapping the last two pairs makes it not crash. Have not confirmed whether this actually makes it work tho. (Don't have another calc.)
See you, space cowboy...

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: How do I use calcnet for Axe?
« Reply #33 on: February 06, 2011, 01:55:10 am »
@Eeems: Then I would have to still visit and add watching to each new topic relevant to me, and then get tons of emails. I don't have that kind of time with research, classes, teaching, and personal projects. :)



Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: How do I use calcnet for Axe?
« Reply #34 on: February 06, 2011, 02:06:08 am »
On that note, I wonder if topic notifications actually sends the entire post content via e-mail? That said, if the quote is not included, then I guess it doesn't help much, since you have to check the topic anyway (and find it in the first place, which can take a while if you haven't visited for a few days)
« Last Edit: February 06, 2011, 02:07:10 am by DJ Omnimaga »

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: How do I use calcnet for Axe?
« Reply #35 on: February 07, 2011, 10:31:13 am »
The post is not included. I used to have notifications for my Eitrix forum, but the post doesn't show up in the email. However, the email does contain the link to the post, so simply clicking the link will take you to the post.
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: How do I use calcnet for Axe?
« Reply #36 on: February 07, 2011, 02:20:01 pm »
Ah ok X.x, I guess it's only for PMs, then.

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: How do I use calcnet for Axe?
« Reply #37 on: March 29, 2011, 03:33:26 pm »
I'm necroposting on the forum because I redid the basic CALCnet code so that it WORKS!
Code: [Select]
ClrHome
0→{L3}
Fill(L3, 5

Asm(CD0942)
0→T→A
Repeat getKey(15)
T+1→T
If (L1+275}=0 and (T>A)
.SEND
Asm(CD0C42)
rand^256+128+T→A
Copy(L3,L1+270,5
T→{L1+277}r
2→{L1+275}
128→{L1+276}
Disp T►Hex,":SEND",i
End
If {L1+13}
{L1+14}r→T
Disp T►Hex,":RCVD",i
Copy(L1+7,L3,5
Asm(CD0F42)
End
End
Asm(CD1242)
In this code, two calculators will actually send and recieve frames to each other, synchronizing the T variable.
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



Ashbad

  • Guest
Re: How do I use calcnet for Axe?
« Reply #38 on: March 29, 2011, 03:52:45 pm »
wow, sounds awesome ^-^

next step will be to make an axiom for this :D actually won't be as hard in assembly.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: How do I use calcnet for Axe?
« Reply #39 on: March 29, 2011, 03:55:50 pm »
That is great! An axiom would definitively be great, or at least an Axe routine available for download. I'm sure that Axe combined with gCn will cause many online games to be created.

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: How do I use calcnet for Axe?
« Reply #40 on: March 29, 2011, 04:00:24 pm »
Once I get this working completely, I'll probably convert this to an Axe Library or even an Axiom (although I'm not all that good at assembly, lol). I'll post it once I'm able to reliably transport ridiculously long and complex messages.

EDIT: And then I'll write it into Eitrix.
« Last Edit: March 29, 2011, 04:01:04 pm by Compynerd255 »
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: How do I use calcnet for Axe?
« Reply #41 on: March 29, 2011, 04:05:15 pm »
Cool. Will we be able to choose an amount of bytes to send at once and stuff like that, or will it just be one by one? Multiple bytes sending at once would be nice. I also wonder how will we interface between calcs (in 4 player mode, for example). I really need to concentrate and read the docs on Cemetech describing how CALCnet protocol works at one point...
« Last Edit: March 29, 2011, 04:05:41 pm by DJ_O »

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: How do I use calcnet for Axe?
« Reply #42 on: March 29, 2011, 04:24:54 pm »
The documents tell it all, but I'll give the rundown:
- In CALCnet, data transmission takes place in frames (the equivalent of packets). A frame contains a size word, the unique 5-byte address of the sender, and up to 255 bytes of data. To send a frame, one clears the send buffer, then stores the recipient, the data, and then the size, with the high bit of the MSB set.
- Each calculator has a unique 5-byte address that is assigned to it when CALCnet is initialized. When you send a message, you may either store their address to send a message only to them, or send a message to 0x0000000000 to send a message to all the calculators connected to the network (a broadcast frame).
- Because of CALCnet's nature, you could theoretically connect every single calc that TI has ever minted. :)
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: How do I use calcnet for Axe?
« Reply #43 on: March 29, 2011, 05:10:27 pm »
Think of all the processing power....
* Freyaday drools.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: How do I use calcnet for Axe?
« Reply #44 on: March 29, 2011, 07:57:05 pm »
I've made good progress this afternoon on a CALCnet library. What's cool about it is that not only does it send and recieve frames, but will also keep track of the 5-byte addresses of all the online players in any location you choose, up to the number you dictate. I still need to test it and tweak it, but expect something next week, if not sooner.

EDIT: And I just found out that the code I put up doesn't actually work very well: messages only get to one calc while the other suffers. And I also found out that when the Disp command scrolls the homescreen, the CALCnet signal values are tampered with.
« Last Edit: March 29, 2011, 07:59:57 pm by Compynerd255 »
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com