X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=debug.c;h=e3ef93fd458b31cb956dcf888ea27cbc1f3869b6;hp=1b9b651515202ec2da47006af0a0d259fce563e2;hb=c59f7a33730dacf753e066a4002e2f749051a137;hpb=bdbf34766f4d074a5933eb1326fe4ce03d249e10 diff --git a/debug.c b/debug.c index 1b9b651..e3ef93f 100644 --- a/debug.c +++ b/debug.c @@ -7,6 +7,7 @@ // #include "debug.h" +#include "6502.h" #include "amode.h" #include "direct.h" #include "expr.h" @@ -220,8 +221,6 @@ int mdump(char * start, LONG count, int flg, LONG base) start[i+2] & 0xFF, start[i+3] & 0xFF); i += 4; break; - case 3: - break; } if (base != -1) @@ -417,6 +416,10 @@ void DumpTokens(TOKEN * tokenBuffer) // int dump_everything(void) { + // FFS + if ((currentorg[1] - currentorg[0]) == 0) + sect[M6502].sfcode = NULL; + for(int i=1; i