From: hachti Date: Tue, 21 Nov 2006 23:12:53 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://gitweb.hachti.de/?a=commitdiff_plain;h=036c929815adf3b1b8fa56ba0d52f2d9d51792c9;p=h316.git *** empty log message *** --- diff --git a/Makefile b/Makefile index ae181fc..ce34716 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Toplevel Makefile for Hachti's H316 stuff collection -SUBDIRS=pc-tools/ldc pc-tools/src-filters pc-tools/gnt pc-tools/boot-maker lib/iolib lib/fortran \ +SUBDIRS=pc-tools/ldc pc-tools/src-filters pc-tools/boot-maker lib/iolib lib/fortran \ lib/fortran lib/fortran/vpunch-help lib/iolib programs/mandelbrot\ programs/punchomat programs/tools systems diff --git a/pc-tools/ldc/ldc.c b/pc-tools/ldc/ldc.c index 81fd9e1..6a20558 100644 --- a/pc-tools/ldc/ldc.c +++ b/pc-tools/ldc/ldc.c @@ -16,8 +16,9 @@ #define MAX_BLOCK_SIZE 500 //#define DEBUG -//#define DEBUG_CHECKSUM -//#define DEBUG_STRUCTURE +#define DEBUG_CHECKSUM +#define DEBUG_STRUCTURE +#define DEBUG_COMBINE //#define IGNORE_CHECKSUM #define HARDCORE_DEBUG /********************************************************/ @@ -173,10 +174,9 @@ void combine466 (unsigned char *raw, unsigned char *data) result->tape.low = r3; #ifdef DEBUG_COMBINE - msgf ("combine466 (data) : %s%s%s", bin2str (r1, 4), bin2str (r2, 6), - bin2str (r3, 6)); - msgf ("combine466 (rawmem) : %s%s", bin2str (data[1], 8), - bin2str (data[0], 8)); + msgf ("combine466 (data) : %02x %02x %02x",r1,r2,r3, 6); +// msgf ("combine466 (rawmem) : %s%s", bin2str (data[1], 8), +// bin2str (data[0], 8)); msgf ("combine466 (structure): %s", bin2str (result->value, 16)); #endif }