Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
"Cemetech Shall Rule the World!"
Published by KermMartian on October 13, 2006 at 7:39:59 AM CST | Discuss this article (37)

CALCnet2.2


A historic occasion! At 8:31AM EST, on this Friday, October 13th, 2006, CALCnet2.2 successfully sent and acknowledged its first message across a calculator network. In roughly 1/200th of a second, one of four networked emulated calculators sent 5 receiver SID bytes, 5 sender SID bytes, 2 size bytes, and the ascii message, "Cemetech shall rule the world!" to another one. The CALCnet2.2 routines were running as semi-blocking interrupts coexisting with a Doors CS 6 beta running at nearly full speed in the foreground. This heralds a major milestone for Doors CS, CALCnet2, and globalCALCnet: now that sending and receiving between calculators is possible, all of the wide and varied applications of calculator networking are ready to be explored.

For those unfamiliar with CALCnet2.2, it is the third major revision of the CALCnet protocol, and the first to be brought fully to fruition. CALCnet, later appended the designation 1.0 when later CALCnet protocols were developed, was interrupt-based yet built on a highly error-prone system. Since it was one of my first forays into z80 assembly programming, the code was extraordinarily buggy, not to mention uncompilable. CALCnet2 was my second wave of efforts on the project, in which I made great numbers of improvements to the theory behind the protocol. CALCnet2 owed a substantial percentage of its inspiration to a networking paper published by MaxCoderz' Timendus on ticalc.org, yet even this version was never completely written. Finally, in July 2006, I sat down and worked out a version of CALCnet based enough on CALCnet2 not to deserve a new major version number, but encompassing a vast number of improvements. Especially stressed was the amount of error checking; unlike any previous iteration of CALCnet, it was specifically designed to be used as an interrupt. Calculators are now identified not by cascading, dynamic assignation during network connection, but by the 5-byte unique serial number every real (non-emulated) calculator contains from its creation. This eliminates all of the network integrity checks that had been necessary in CALCnet2.2. In addition, all routines are heavily protected against locking up the calculator, and by using a pair of buffers instead of directly sending data between client programs and the interrupt, the CALCnet2.2 interrupt's actions are completely transparent to the client programs running on the calculator.

In the next few days, CALCnet2.2 will continue to be debugged, and I will be working on some fancy-looking demos. The only minor drawback of testing CALCnet2.2 on emulated hardware is that I also have to fake SIDs, since ROM images do not contain SIDs. Oh, and I have successfully tested Cn2 as working across all known TI-83+ ROM images.

Without further ado, here's the proof of this momentous occasion: the contents of the receiving calc's 256-byte receive buffer:
oncalc
Cemetech  shall rule the world!


Permalink
2006 Articles
January 2006 January 2006 [Back to News Archives Index]

» 225 | 200 | 450,000 | Doors CS 5.4 Progress published January 1, 2006 by KermMartian
» Doors CS 5.4 Beta 3! published January 5, 2006 by KermMartian
» Doors CS 6: GStack Progress published January 9, 2006 by KermMartian
» Final Doors CS 5.4 Beta News published January 15, 2006 by KermMartian
» 30,000 Posts! published January 17, 2006 by KermMartian
» Doors CS Website published January 22, 2006 by KermMartian
» The Complete TI-BASIC Tutorial: Online published January 27, 2006 by KermMartian

February 2006 February 2006 [Back to News Archives Index]

» mobileTunes Converter Progress published February 2, 2006 by KermMartian
» Martian Jumps to #14 at ticalc.org published February 14, 2006 by KermMartian
» New Site Design: Phase I Complete published February 16, 2006 by KermMartian
» Site Design: Phase II + Search published February 26, 2006 by KermMartian

March 2006 March 2006 [Back to News Archives Index]

» Final DCS Beta: 5.4 beta 5 published March 3, 2006 by KermMartian
» First Doors CS App Build! published March 8, 2006 by KermMartian
» Doors CS 5.5 Beta 1 published March 14, 2006 by KermMartian
» 300 Users; Other Milestones published March 25, 2006 by KermMartian
» Hays Games Joins Cemetech published March 31, 2006 by KermMartian

April 2006 April 2006 [Back to News Archives Index]

» SourceCoder 2 Beta 2 published April 4, 2006 by KermMartian
» House of a Thousand Topics published April 12, 2006 by KermMartian
» New SC2 Beta Features published April 21, 2006 by KermMartian

May 2006 May 2006 [Back to News Archives Index]

» Scarth v1.0 Released published May 18, 2006 by KermMartian
» SAX Fixes; Cemetech Labs published May 26, 2006 by KermMartian
» Doors CS 6 GUI Rendering Progresses published May 26, 2006 by KermMartian
» Doors CS 6 Roadmap published May 31, 2006 by KermMartian

June 2006 June 2006 [Back to News Archives Index]

» Cemetech Contest 1: Sudoku published June 1, 2006 by KermMartian
» Doors CS 6 Rendering Routines Finished published June 3, 2006 by KermMartian
» 400 Registered Users published June 22, 2006 by KermMartian
» Sudoku Contest Deadline published June 30, 2006 by KermMartian

July 2006 July 2006 [Back to News Archives Index]

» Sudoku Contest Results published July 5, 2006 by KermMartian
» One Million Words published July 5, 2006 by KermMartian
» [BL] PsiWing Released published July 9, 2006 by KermMartian
» [BL] Kart2 Released published July 9, 2006 by KermMartian
» Doors CS 5.5 Beta 2 published July 11, 2006 by KermMartian
» Basic Tutor Updated published July 15, 2006 by KermMartian
» CemetechAI Beta 1 published July 17, 2006 by KermMartian
» Cemetech Contest 2: Strategy published July 23, 2006 by KermMartian
» Doors CS 5.6 Beta 1: MOS Support published July 24, 2006 by KermMartian
» Missing Posts Rescued published July 25, 2006 by KermMartian
» Five Hundred Thousand Downloads published July 25, 2006 by KermMartian
» Forum Exceeds Fifty Thousand Posts published July 27, 2006 by KermMartian
» Doors CS 5.6 Beta 2 published July 28, 2006 by KermMartian

August 2006 August 2006 [Back to News Archives Index]

» Doors CS Updates: DCS Menu; GUI Routines published August 8, 2006 by KermMartian
» DCS Wiki published August 10, 2006 by KermMartian
» DSC6: Cursor Editing published August 13, 2006 by KermMartian
» Doors CS 5.7 Beta 1 published August 14, 2006 by KermMartian
» wordNet v0.1 alpha published August 21, 2006 by KermMartian
» [BL] CPRR Engine Announced published August 24, 2006 by KermMartian

September 2006 September 2006 [Back to News Archives Index]

» DCS6: Progress To 5.7 Beta 2 published September 1, 2006 by KermMartian
» DCS 5.7 Beta 2, Writeback published September 6, 2006 by KermMartian
» DCS6 GUI: Text Input published September 11, 2006 by KermMartian
» DCS6: Associated Programs: Icon published September 16, 2006 by KermMartian
» DCS6: Associated Programs: Passthru published September 19, 2006 by KermMartian
» Lies published September 20, 2006 by KermMartian
» Host Downtime published September 26, 2006 by KermMartian

October 2006 October 2006 [Back to News Archives Index]

» DCS6: SEs; TabFunctions published October 4, 2006 by KermMartian
» Latest Site Features published October 10, 2006 by KermMartian
» "Cemetech Shall Rule the World!" published October 13, 2006 by KermMartian
» Doors CS 5.8 Beta 1 published October 15, 2006 by KermMartian
» Sixty Thousand Posts published October 17, 2006 by KermMartian
» Cemetech Contest 3: 3D published October 18, 2006 by KermMartian
» Doors CS 5.8 Beta 2 published October 23, 2006 by KermMartian
» Archives File, Author Stats Tracking published October 24, 2006 by KermMartian
» Cemetech Microsummaries published October 25, 2006 by KermMartian
» New IRC Channel: #Cemetech published October 26, 2006 by KermMartian

November 2006 November 2006 [Back to News Archives Index]

» Doors CS 5.8 Beta 3 published November 1, 2006 by KermMartian
» CemetechAI 3 published November 6, 2006 by KermMartian
» Doors CS 5.8 Beta 4 published November 13, 2006 by KermMartian
» SAX Released as phpBB Mod published November 15, 2006 by KermMartian
» Doors CS 5.8 :: Link Menu Completed published November 27, 2006 by KermMartian
» Google News™ Trends published November 29, 2006 by KermMartian

December 2006 December 2006 [Back to News Archives Index]

» Bot Deletion published December 1, 2006 by KermMartian
» Digg Frontpage: Pokemon Purple published December 15, 2006 by KermMartian
» Aftermath of the Digg Effect published December 17, 2006 by KermMartian
» GIMP Tutorial: Trendy Glossy "Web 2.0" Buttons published December 18, 2006 by KermMartian
» Security Alert :: 403 Errors published December 22, 2006 by KermMartian
» WorldTrends Beta 4 published December 22, 2006 by KermMartian
» Doors CS 5.9 Beta 1 published December 27, 2006 by KermMartian
» Cemetech Moves to v5 published December 29, 2006 by KermMartian
» BF RTI, Dark Shadow 2 published December 31, 2006 by KermMartian

Advertisement