[TI-ASM] The CRC: Killer or just overkill?
Moderator: MaxCoderz Staff
[TI-ASM] The CRC: Killer or just overkill?
I was considering the noise caused by (un)plugging the calc-to-calc cable and turned my attention to Milos Bazelides 16-bit CRC stuff. I want to be able to verify calc datastreams up to 1500 bytes (maybe in installments of 250) using either an oldskool checksum or his CRC, but only if the price is right. Speed will be a big factor and I don't even know if noise is a real issue on these cables. I was hoping some of the CLAP guys or somebody could shed some light on how bad link corruption can get.
Does CRC sound reasonable?
Does CRC sound reasonable?
My diet consists of nails, code-stealers, and HP fans.
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
- tr1p1ea
- Maxcoderz Staff
- Posts: 4141
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: I cant seem to get out of this cryogenic chamber!
- Contact:
I think that CRC might be a bit of an overkill. I guess the only way to determine if its needed is to do some testing. Its possible that there isnt much noise or that there is a very low failure rate as far as calc-to-calc cables are concerned.
It could however just be one of those 'for the sake of it' kind of things .
It could however just be one of those 'for the sake of it' kind of things .
In my experience, there is pretty much no noise at all on the calculator port. So I'd agree it's overkill.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
Surprised me too, you used to be the one shouting that more checksums is t3h 0wnz0rs, versus me shouting it kills performance and adds redundant code...
Anyway, Digitan, what are you coding? You've made me curious
Anyway, Digitan, what are you coding? You've made me curious
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Right now it's preliminary link stuff for the next Robot War installment. Hopefully with true plug-n-play so users won't have to halt things to startup multiplay anymore.
My diet consists of nails, code-stealers, and HP fans.
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
Actually CLAP has enough similarities that it's probably already compatible with RW1. Or very close. I might go with CLAP to keep from having to reinvent the wheel.
My diet consists of nails, code-stealers, and HP fans.
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
Do you plan on having two calculators communicating or more? If the answer is two, you might want to wait just a bit for the new library I'm working on that's specifically intended for use in fast games. If the answer is more, be warned that it is all highly experimental
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Party of 2 in this version. There's a some code to tell when the link isn't idling anymore. After that, it's in need of code to detect when another RW2 is on the link, codes to transfer 50-1500 bytes, and codes to detect a disconnect.
My diet consists of nails, code-stealers, and HP fans.
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
It's all pretty much there, except for the detection of a disconnect. It can detect a problem with data exchange though, so you could use that. Would require a few little hacks though
Anyway, I'd better just get the damned thing working again so I can release it and you can play with it a bit.
Anyway, I'd better just get the damned thing working again so I can release it and you can play with it a bit.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS