1 |
|
/* |
2 |
|
* SAM.h - Simple Assembler and Monitor With Integrated System Explorer |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
4 |
> |
* Frodo (C) 1994-1997,2002-2009 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
218 |
|
|
219 |
|
|
220 |
|
// Prototypes |
221 |
< |
static void error(char *s); |
221 |
> |
static void error(const char *s); |
222 |
|
static void handle_abort(...); |
223 |
|
static void init_abort(void); |
224 |
|
static void exit_abort(void); |
468 |
|
* Print error message |
469 |
|
*/ |
470 |
|
|
471 |
< |
static void error(char *s) |
471 |
> |
static void error(const char *s) |
472 |
|
{ |
473 |
|
fprintf(ferr, "*** %s\n", s); |
474 |
|
} |
2050 |
|
else |
2051 |
|
fprintf(fout, "Fore "); |
2052 |
|
|
2053 |
< |
fprintf(fout, "\n\nPending interrupts: "); |
2053 |
> |
fprintf(fout, "\nSS Coll: "); dump_spr_flags(vs.mm); |
2054 |
> |
fprintf(fout, "SD Coll: "); dump_spr_flags(vs.md); |
2055 |
> |
|
2056 |
> |
fprintf(fout, "\nPending interrupts: "); |
2057 |
|
dump_vic_ints(vs.irq_flag); |
2058 |
|
fprintf(fout, "Enabled interrupts: "); |
2059 |
|
dump_vic_ints(vs.irq_mask); |