MAX_CMD_LEN = 4, /* Each assembly command is 3 characeters long */
/* The stack works from the top down in page $100 to $1ff */
STACK_TOP = 0x1ff,
MAX_CMD_LEN = 4, /* Each assembly command is 3 characeters long */
/* The stack works from the top down in page $100 to $1ff */
STACK_TOP = 0x1ff,
ZERO, ZERO_X, ZERO_Y,
ABS_VALUE, ABS_OR_BRANCH, ABS_X, ABS_Y,
ABS_LABEL_X, ABS_LABEL_Y, DCB_PARAM
ZERO, ZERO_X, ZERO_Y,
ABS_VALUE, ABS_OR_BRANCH, ABS_X, ABS_Y,
ABS_LABEL_X, ABS_LABEL_Y, DCB_PARAM
/* Plotter is a function that will be called everytime a pixel
needs to be updated. The first two parameter are the x and y
/* Plotter is a function that will be called everytime a pixel
needs to be updated. The first two parameter are the x and y
-typedef void (*Plotter) (Bit8, Bit8, Bit8, void*);
+typedef void (*m6502_Plotter) (Bit8, Bit8, Bit8, void*);
-void eval_file(machine_6502 *machine, char *filename,
- Plotter plot, void *plotterState);
+void m6502_eval_file(machine_6502 *machine, const char *filename,
+ m6502_Plotter plot, void *plotterState);
-void start_eval_file(machine_6502 *machine, char *filename,
- Plotter plot, void *plotterState);
+void m6502_start_eval_file(machine_6502 *machine, const char *filename,
+ m6502_Plotter plot, void *plotterState);
/* trace() - Prints to output the current value of registers, the
current nmemonic, memory address and value. */
/* trace() - Prints to output the current value of registers, the
current nmemonic, memory address and value. */