-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MEGA65: cleanup and reorg uartmon stuff #11
Moving everything out of mega65.c which is uartmon into uart_monitor.c, well, at least allmost everything ... Still, no new feature is used from CPU65 emulation, just mainly reorganization of the source to look nicer for further hacking/developing.
- Loading branch information
Showing
4 changed files
with
153 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* A work-in-progess MEGA65 (Commodore-65 clone origins) emulator | ||
Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu | ||
Copyright (C)2016-2023 LGB (Gábor Lénárt) <[email protected]> | ||
Copyright (C)2016-2024 LGB (Gábor Lénárt) <[email protected]> | ||
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 | ||
|
@@ -50,20 +50,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ | |
#define SID_CYCLES_PER_SEC 1000000 | ||
#define AUDIO_SAMPLE_FREQ 44100 | ||
|
||
extern void m65mon_show_regs ( void ); | ||
extern void m65mon_set_pc ( const Uint16 addr ); | ||
extern void m65mon_dumpmem16 ( Uint16 addr ); | ||
extern void m65mon_dumpmem28 ( int addr ); | ||
extern void m65mon_setmem28 ( int addr, int cnt, Uint8* vals ); | ||
extern void m65mon_set_trace ( int m ); | ||
extern void m65mon_do_trace ( void ); | ||
#ifdef TRACE_NEXT_SUPPORT | ||
extern void m65mon_next_command ( void ); | ||
#endif | ||
extern void m65mon_empty_command ( void ); | ||
extern void m65mon_do_trace_c ( void ); | ||
extern void m65mon_breakpoint ( int brk ); | ||
|
||
extern void machine_set_speed ( int verbose ); | ||
|
||
extern void reset_mega65 ( void ); | ||
|
@@ -75,9 +61,13 @@ extern int mega65_set_model ( const Uint8 id ); | |
extern int dump_memory ( const char *fn ); | ||
extern int dump_screen ( const char *fn ); | ||
|
||
extern void set_breakpoint ( int brk ); | ||
|
||
extern Uint8 last_dd00_bits; | ||
extern const char *last_reset_type; | ||
extern int cpu_cycles_per_step; | ||
extern const char *cpu_clock_speed_string_p; | ||
extern int paused; | ||
extern int trace_step_trigger; | ||
|
||
#endif |
Oops, something went wrong.