• Someone run this:

    From Amcleod@VERT to All on Thu Jun 22 23:25:32 2000
    Please somebody - run this BAJA mod and give me the results that it displays:ãã STR TQBFã SET TQBF "The quick brown fox jumps over the lazy dog."ã INT C16 C32ã CRC16 C16 TQBFã CRC32 C32 TQBFã PRINTF "CRC16 / 32 of [%s] = %ld / %ld\r\n" TQBF C16 C32ã PRINT "Thanks, @SYSOP@!\r\n"ããI'd appreciate it!ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to Amcleod on Fri Jun 23 07:37:30 2000
    RE: Someone run this:ãBY: Amcleod to All on Fri Jun 23 2000 06:25 amãã > STR TQBFã > SET TQBF "The quick brown fox jumps over the lazy dog."ã > INT C16 C32ã > CRC16 C16 TQBFã > CRC32 C32 TQBFã > PRINTF "CRC16 / 32 of [%s] = %ld / %ld\r\n" TQBF C16 C32ã > PRINT "Thanks, @SYSOP@!\r\n"ããCRC16 / 32 of [The quick brown fox jumps over the lazy dog.] = 58035 /ã1368401385ãThanks, digital man!ãã:-)ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Amcleod@VERT to Digital Man on Fri Jun 23 13:27:52 2000
    RE: Someone run this:ãBY: Digital Man to Amcleod on Fri Jun 23 2000 02:37 pmãã > CRC16 / 32 of [The quick brown fox jumps over the lazy dog.] = 58035 /ã > 1368401385ã > Thanks, digital man!ããYay! Thanks muchly, @SYSOP@ ;-)ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Beta@VERT/ROVER to Amcleod on Fri Jun 23 17:02:00 2000
    RE: Someone run this:ãBY: Amcleod to All on Fri Jun 23 2000 06:25 amãã > Please somebody - run this BAJA mod and give me the results that it displaysã > ã > STR TQBFã > SET TQBF "The quick brown fox jumps over the lazy dog."ã > INT C16 C32ã > CRC16 C16 TQBFã > CRC32 C32 TQBFã > PRINTF "CRC16 / 32 of [%s] = %ld / %ld\r\n" TQBF C16 C32ã > PRINT "Thanks, @SYSOP@!\r\n"ã > ã > I'd appreciate it!ããDo you realize how much time I spent thinking up that code????? Your's isãnicer, but mine worked... :) HereããThe quick brown fox jumps over the lazy dog.ã1368401385ã58035ããFrom this codeãã!include sbbsdefs.incãint crc16 crc32ãstr bfoxãset bfox "The quick brown fox jumps over the lazy dog."ãCRC16 crc16 bfoxãCRC32 crc32 bfoxãprint bfoxãprint \r\nãprint crc32ãprint \r\nãprint crc16ããAnd you know what? The Ver3 node shows a different output then my local verã2.3 node... I'll post it's outputin a sec.. :)ãBetaããThis is what the ver 2.3 local node gives me for an outputããThe quick brown fox jumps over the lazy dog.ã9705ã58035ãã(Same code, go figure)ãã---ã þ Synchronet þ Synchronet, no other BBS had such cool mods!ã
  • From Amcleod@VERT to Beta on Fri Jun 23 23:49:43 2000
    RE: Someone run this:ãBY: Beta to Amcleod on Sat Jun 24 2000 12:02 amãã > This is what the ver 2.3 local node gives me for an outputã > ã > The quick brown fox jumps over the lazy dog.ã > 9705ã > 58035ã > ã > (Same code, go figure)ããUh-oh! This is not good. In fact this is evil! Different results for CRC32ãon the same .BIN file? Baaaad!ããYou better draw this to DM's attention!ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Amcleod@VERT to Beta on Fri Jun 23 23:52:04 2000
    RE: Someone run this:ãBY: Beta to Amcleod on Sat Jun 24 2000 12:02 amãã > Do you realize how much time I spent thinking up that code????? Your's isã > nicer, but mine worked... :) Hereã > ã > The quick brown fox jumps over the lazy dog.ã > 1368401385ã > 58035ããGoody! My perl module agrees with your resolds (and DM's which were -ãobviously - the same). I guess that means I have not hosed up the conversionãof his code, then!ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From John Guillory@VERT/MAINLINE to DIGITAL MAN on Sat Jun 24 01:34:00 2000
    STR TQBFãDM> > SET TQBF "The quick brown fox jumps over the lazy dog."ãDM> > INT C16 C32ãDM> > CRC16 C16 TQBFãDM> > CRC32 C32 TQBFãDM> > PRINTF "CRC16 / 32 of [%s] = %ld / %ld\r\n" TQBF C16 C32ãDM> > PRINT "Thanks, @SYSOP@!\r\n"ããDM>CRC16 / 32 of [The quick brown fox jumps over the lazy dog.] = 58035 /ãDM>1368401385ãDM>Thanks, digital man!ããDM>:-)ãFor the clueless new sysop who is dieing to know, how do I execute aã.bin from synchronet without having to add it to the menu? I've triedã;EXEC (* on renegade menus, then EXEC), but one time windows said anãillegal operation occured, the next time it seemed to ignore the call...ãIf you saved the above as test.src and compiled it to test.bin, do youãuse:ãã;exec testã;exec test.binãor something else?ãã * SLMR 2.1 * "This is down. Down is good. This is up. Up is no." - ãã---ã þ Synchronet þ MainLine Consulting BBS //\/\\ (337) 431-7189ã
  • From John Guillory@VERT/MAINLINE to BETA on Sat Jun 24 01:38:00 2000
    And you know what? The Ver3 node shows a different output then my local verãBE>2.3 node... I'll post it's outputin a sec.. :)ãBE>Betaã This is *Strange*, while there's many different ways of doing CRC16ã and CRC32, I'd expect the CRC16 and CRC32 to be the same identicalã routines used in both 2.3 and 3.0 ...ããã * SLMR 2.1 * A rose is a rose, but a decent enchilada... Now you're taãã---ã þ Synchronet þ MainLine Consulting BBS //\/\\ (337) 431-7189ã
  • From Digital Man@VERT to Beta on Sat Jun 24 08:01:24 2000
    RE: Someone run this:ãBY: Beta to Amcleod on Sat Jun 24 2000 12:02 amãã > > Please somebody - run this BAJA mod and give me the results that it displã > >ã > > STR TQBFã > > SET TQBF "The quick brown fox jumps over the lazy dog."ã > > INT C16 C32ã > > CRC16 C16 TQBFã > > CRC32 C32 TQBFã > > PRINTF "CRC16 / 32 of [%s] = %ld / %ld\r\n" TQBF C16 C32ã > > PRINT "Thanks, @SYSOP@!\r\n"ã > >ã > > I'd appreciate it!ã > ã > Do you realize how much time I spent thinking up that code????? Your's isã > nicer, but mine worked... :) Hereã > ã > The quick brown fox jumps over the lazy dog.ã > 1368401385ã > 58035ã > ã > From this codeã > ã > !include sbbsdefs.incã > int crc16 crc32ã > str bfoxã > set bfox "The quick brown fox jumps over the lazy dog."ã > CRC16 crc16 bfoxã > CRC32 crc32 bfoxã > print bfoxã > print \r\nã > print crc32ã > print \r\nã > print crc16ã > ã > And you know what? The Ver3 node shows a different output then my local verã > 2.3 node... I'll post it's outputin a sec.. :)ã > Betaã > ã > This is what the ver 2.3 local node gives me for an outputã > ã > The quick brown fox jumps over the lazy dog.ã > 9705ã > 58035ããI think the problem is in your code. Use printf (like Angus' example) and youãshould see the same results on both versions.ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to John Guillory on Sat Jun 24 08:02:47 2000
    RE: Someone run this:ãBY: John Guillory to DIGITAL MAN on Sat Jun 24 2000 08:34 amãã > For the clueless new sysop who is dieing to know, how do I execute aã > .bin from synchronet without having to add it to the menu? I've triedã > ;EXEC (* on renegade menus, then EXEC), but one time windows said anã > illegal operation occured, the next time it seemed to ignore the call...ã > If you saved the above as test.src and compiled it to test.bin, do youã > use:ã > ã > ;exec testã > ;exec test.binã > or something else?ãã;EXEC *testããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to John Guillory on Sat Jun 24 08:03:29 2000
    RE: Someone run this:ãBY: John Guillory to BETA on Sat Jun 24 2000 08:38 amãã > This is *Strange*, while there's many different ways of doing CRC16ã > and CRC32, I'd expect the CRC16 and CRC32 to be the same identicalã > routines used in both 2.3 and 3.0 ...ããThey are identical. The problem was in Beta's module.ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Beta@VERT/ROVER to John Guillory on Mon Jul 3 15:59:00 2000
    RE: Someone run this:ãBY: John Guillory to DIGITAL MAN on Sat Jun 24 2000 08:34 amãã > For the clueless new sysop who is dieing to know, how do I execute aã > .bin from synchronet without having to add it to the menu? I've triedã > ;EXEC (* on renegade menus, then EXEC), but one time windows said anã > illegal operation occured, the next time it seemed to ignore the call...ã > If you saved the above as test.src and compiled it to test.bin, do youã > use:ããUse ã;exec*testãBetaãã---ã þ Synchronet þ Synchronet, no other BBS had such cool mods!ã