X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=mark.c;h=ed76b4effc9116a5762d65bcbd4f9c73aab9d3bd;hp=3b3bd3ada80dd969415089218b95f5b0b59e6e5d;hb=29dd8f10767ccf362235d6f9e0fbf4f557af3d27;hpb=062214e62031c26d372edc2e68473ebb64f6a506 diff --git a/mark.c b/mark.c index 3b3bd3a..ed76b4e 100644 --- a/mark.c +++ b/mark.c @@ -3,7 +3,7 @@ // MARK.C - A record of things that are defined relative to any of the sections // 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 "mark.h" @@ -17,14 +17,14 @@ MCHUNK * curmch; // Current mark chunk PTR markptr; // Deposit point in current mark chunk LONG mcalloc; // #bytes alloc'd to current mark chunk LONG mcused; // #bytes used in current mark chunk -uint16_t curfrom; // Current "from" section +uint16_t curfrom; // Current "from" section //#define DEBUG_IMAGE_MARKING // -// Initialize Marker +// Initialize marker // void InitMark(void) { @@ -37,7 +37,7 @@ void InitMark(void) // // Wrap up marker (called after final mark is made) // -void stopmark(void) +void StopMark(void) { if (curmch) { @@ -286,7 +286,7 @@ printf(" validsegment(3): rflag = $%08X\n", rflag); { if (w & (DATA|BSS)) { - dp = objimage + BSDHDRSIZE + loc; + dp = objImage + BSDHDRSIZE + loc; diff = ((LONG)(*dp++ & 0xFF)) << 24; diff |= ((LONG)(*dp++ & 0xFF)) << 16; diff |= ((LONG)(*dp++ & 0xFF)) << 8; @@ -307,7 +307,7 @@ printf(" validsegment(4): diff = $%08X --> ", diff); if (rflag & 0x01) diff = ((diff >> 16) & 0x0000FFFF) | ((diff << 16) & 0xFFFF0000); - dp = objimage + BSDHDRSIZE + loc; + dp = objImage + BSDHDRSIZE + loc; *dp++ = (char)(diff >> 24); *dp++ = (char)(diff >> 16); *dp++ = (char)(diff >> 8);