I have tried to re-write debugsrch.c
- Moved all related classes into header file. - Converted all linked lists with simple_list template. - Included search_entry class into search_map class as private. - Added the pointer of "debug_search_manager" into running_machine class and accessor via "debug_search()". - Moved global initializer from debugcmd.c to constructor of debug_search_manager. - Disabled global initializing if basename is "empty". - Changed MAX_RESULTS_DISPLAY from 1000 to 500. - Fixed duplicated address translation in case of phisical != logical (Z180, HuC6280 etc). - Added output string for address space with single character ("p"(program), "i"(io), "d"(data)) when "dsinfo" prints global info. - Replaced output string for search size with full ("1"->"byte", "2"->"word", "4"->"double word", "8"->"quad word") when "dsinfo" prints search map info. - Added new debugger search command "redo" to restore results from "undo". - Added single search command, "dse"(equal), "dsn"(notequal), "dsl"(less), "dsg"(greater), "dsi"(increment), "dsd"(decrement).
Especially, Aaron's re-written cheat.c is one of the best sources to re-write, very thanks.
[ATTACHED IMAGE - CLICK FOR FULL SIZE]
"Any company has no power to stop people emulating"
MAME is the emulator of no giving in the pressure from any company even if they don't allow
|