X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=debug.c;h=7e60196089b68d11d0c6dbdf823e68a77e70d284;hp=cb12e3da0f1c4b19af72b4f0d45c10ab09fa0add;hb=d0c28c349ddfb8393568037f68bddbe8979ce0df;hpb=bae665568253091714d5b32ad634d9024f40ee10 diff --git a/debug.c b/debug.c index cb12e3d..7e60196 100644 --- a/debug.c +++ b/debug.c @@ -3,7 +3,7 @@ // DEBUG.C - Debugging Messages // Copyright (C) 199x Landon Dyer, 2011-2012 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 -// Source Utilised with the Kind Permission of Landon Dyer +// Source utilised with the kind permission of Landon Dyer // #include "debug.h" @@ -18,7 +18,7 @@ static int siztab[4] = { 3, 5, 9, 9 }; // -// Print 'c' Visibly +// Print 'c' visibly // int visprt(char c) { @@ -115,7 +115,6 @@ int fudump(CHUNK * ch) } else { -// printf("`%s' ;\n", (*p.sy)->sname); printf("`%s' ;", (*p.sy)->sname); p.sy++; } @@ -188,12 +187,14 @@ int mudump(void) // -// Dump memory from 'start' for 'count' bytes; `flg' is the following ORed together: +// Dump memory from 'start' for 'count' bytes; `flg' is the following ORed +// together: // 0 - bytes // 1 - words // 2 - longwords // -// if `base' is not -1, then print it at the start of each line, incremented accordingly. +// if `base' is not -1, then print it at the start of each line, incremented +// accordingly. // int mdump(char * start, LONG count, int flg, LONG base) { @@ -243,8 +244,8 @@ int mdump(char * start, LONG count, int flg, LONG base) base += 1 << (flg & 3); } - // Print remaining bit of ascii; the hairy expression computes the number of - // spaces to print to make the ascii line up nicely. + // Print remaining bit of ASCII; the hairy expression computes the number + // of spaces to print to make the ASCII line up nicely. if (j != i) { k = ((16 - (i - j)) / (1 << (flg & 3))) * siztab[flg & 3]; @@ -333,7 +334,7 @@ int dumptok(TOKEN * tk) // -// Dump Everything +// Dump everything // int dump_everything(void) {