# HG changeset patch # User lost # Date 1250314225 0 # Node ID 1106ec189e4f4f3dc8ef26fdf73552cea34d4390 # Parent a9a14e6b4bc89402433370be1742234978c459d3 Acknowledge the source of the crc calc for os9 diff -r a9a14e6b4bc8 -r 1106ec189e4f lwasm/lwasm.c --- a/lwasm/lwasm.c Sat Aug 15 05:26:02 2009 +0000 +++ b/lwasm/lwasm.c Sat Aug 15 05:30:25 2009 +0000 @@ -101,6 +101,8 @@ if (as -> outformat == OUTPUT_OS9 && as -> inmod) { // calc the CRC + // this is a direct transliteration from the nitros9 asm source + // to C; it can, no doubt, be optimized for 32 bit processing b &= 0xff; b ^= (as -> crc)[0];