--- Frodo4/Src/SAM.cpp 2003/07/01 17:51:17 1.2 +++ Frodo4/Src/SAM.cpp 2009/01/11 11:20:16 1.6 @@ -1,7 +1,7 @@ /* * SAM.h - Simple Assembler and Monitor With Integrated System Explorer * - * Frodo (C) 1994-1997,2002-2003 Christian Bauer + * Frodo (C) 1994-1997,2002-2009 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -218,7 +218,7 @@ static const char adr_length[] = {1, 1, // Prototypes -static void error(char *s); +static void error(const char *s); static void handle_abort(...); static void init_abort(void); static void exit_abort(void); @@ -468,7 +468,7 @@ void SAM(C64 *the_c64) * Print error message */ -static void error(char *s) +static void error(const char *s) { fprintf(ferr, "*** %s\n", s); } @@ -2050,7 +2050,10 @@ static void view_vic_state(void) else fprintf(fout, "Fore "); - fprintf(fout, "\n\nPending interrupts: "); + fprintf(fout, "\nSS Coll: "); dump_spr_flags(vs.mm); + fprintf(fout, "SD Coll: "); dump_spr_flags(vs.md); + + fprintf(fout, "\nPending interrupts: "); dump_vic_ints(vs.irq_flag); fprintf(fout, "Enabled interrupts: "); dump_vic_ints(vs.irq_mask);