~ndiddy/a65

dcc251bf35c82427eb0f4233940c3ea5629d3e92 — Nathan Misner 9 months ago 2ce9a2d master
fixed compiler warnings and typo in documentation
4 files changed, 4 insertions(+), 6 deletions(-)

M a65.c
M a65.html
M a65eval.c
M a65util.c
M a65.c => a65.c +1 -2
@@ 349,10 349,9 @@ static char date_buff[80];

static void pseudo_op() {
    SCRATCH char *s;
    SCRATCH unsigned count, *o, result, u;
    SCRATCH unsigned count, *o, u;
    SCRATCH SYMBOL *l;
	FILE *binfp;
	size_t size;

    o = obj;
    switch (opcod -> valu) {

M a65.html => a65.html +2 -2
@@ 17,7 17,7 @@ pre code {
    background-color: #eee;
    border: 1px solid #999;
    display: block;
    padding: 20px;
    padding: 10px 20px;
}
</style>
<meta charset="utf-8">


@@ 333,7 333,7 @@ would generate this export file:
<pre><code>; Autogenerated export file - do not modify!

InfiniteLoop      equ      $6500</code></pre>
<p>The EXP pseudo-op will throw a fatal error if tno export file was specified (otherwise
<p>The EXP pseudo-op will throw a fatal error if no export file was specified (otherwise
this could mess up your build process).</p>

<h3>Pseudo-ops -- IF, ELSE, ENDI</h3>

M a65eval.c => a65eval.c +1 -0
@@ 11,6 11,7 @@ arithmetic expressions.
*/

#include <ctype.h>
#include <string.h>

/*  Get global goodies:  */


M a65util.c => a65util.c +0 -2
@@ 54,7 54,6 @@ static void record();
SYMBOL *new_symbol(char *nam) {
    SCRATCH int i;
    SCRATCH SYMBOL **p, *q;
    void fatal_error();

    for (p = &sroot; (q = *p) && (i = strcmp(nam,q -> sname)); )
		p = i < 0 ? &(q -> left) : &(q -> right);


@@ 348,7 347,6 @@ static void check_page() {
static FILE *outfile = NULL;
static unsigned cnt = 0;
static unsigned addr = 0;
static unsigned bbase = 0;
static uint8_t buf[HEXSIZE];

/*  Binary file open routine.  If the file is already open, a warning	*/