Commit Graph

384 Commits

Author SHA1 Message Date
Kelvin Sherlock
5cb4f63993 Debugger - GSBug.Templates support.
address\temp TemplateName to print structured memory.

Also, registers now need a % prefix so as not to interfere with other commands.
2019-02-14 21:37:03 -05:00
Kelvin Sherlock
2f05a766b0 fix GNU readline bug. linking libhistory is not necessary. In fact, it causes a SIGSEGV. 2019-02-11 23:09:59 -05:00
Kelvin Sherlock
14e1fe18f8 move icon files around. 2019-02-11 20:15:30 -05:00
Kelvin Sherlock
4a0c190ce3 win32 readline support, maybe. 2019-02-11 18:11:45 -05:00
Kelvin Sherlock
0021956044 bug fixes. 2019-02-10 22:45:42 -05:00
Kelvin Sherlock
f9a86eed8a auto-select readline library by default. 2019-02-10 22:39:23 -05:00
Kelvin Sherlock
817792f94d ubuntu, debian, etc, have outdated version of re2c. imagine that. 2019-02-10 22:21:06 -05:00
Kelvin Sherlock
926e9b7e47 travis - need freetype. 2019-02-10 21:43:15 -05:00
Kelvin Sherlock
25caf2dbad add ;s stack command. 2019-02-10 21:42:15 -05:00
Kelvin Sherlock
fdcb504d9c use simpler signal interface. 2019-02-10 21:40:47 -05:00
Kelvin Sherlock
66fbd7f677 move readline code to separate file. 2019-02-10 21:40:22 -05:00
Kelvin Sherlock
964293a3b8 travis.yml 2019-02-09 00:17:00 -05:00
Kelvin Sherlock
ea9a16fc5f debug shell - ;l or l for list. 2019-02-06 22:54:41 -05:00
Kelvin Sherlock
2b1e04c3ac debug shell - allow registers as addresses. 2019-02-06 22:54:18 -05:00
Kelvin Sherlock
524d4a27e4 halt_printf, control-c, etc set a halt bit. This now invokes the debugger, asynchronously (ie, after the current instruction finishes execution). 2019-02-06 22:53:44 -05:00
Kelvin Sherlock
68260dcf6a debugger - new WANTS_BRK bit. setting it will cause BRKS to invoke the debugger instead of being handled within the 65816. 2019-02-06 22:50:38 -05:00
Kelvin Sherlock
dccb965631 eliminate overflow warnings when byteswapping. 2019-02-06 22:48:04 -05:00
Kelvin Sherlock
d0ed507ef4 debug shell - control-C sets asynchronous halt request. 2019-02-06 22:47:35 -05:00
Kelvin Sherlock
b08806c12a debug shell - : memory assignment 2019-02-06 22:46:46 -05:00
Kelvin Sherlock
b7ff6d56e8 debug shell - @ and ^ indirection. 2019-02-06 22:46:08 -05:00
Kelvin Sherlock
2fb1249c96 clean up windows key mapping to use adb names codes. also fixes a few mistakes with keypad values. 2019-02-04 23:45:39 -05:00
Kelvin Sherlock
35993914f9 update adb keycodes with F15-F20, use proper value for F keys, eliminate Mac OS arrow key mapping. 2019-02-04 20:43:12 -05:00
Kelvin Sherlock
82229498b4 adb keycodes. 2019-02-04 20:41:11 -05:00
Kelvin Sherlock
e62889901c fix up tcp debug to work with new debugger 2019-01-29 19:20:17 -05:00
Kelvin Sherlock
d47589374c bp/mp are now post-fix ops. 2019-01-29 19:18:08 -05:00
Kelvin Sherlock
619ea2109d remove dead code, update for new debugger code 2019-01-29 00:21:24 -05:00
Kelvin Sherlock
6034573693 udpated cmakefile for new debug code. 2019-01-28 23:04:55 -05:00
Kelvin Sherlock
c4aa64de48 new breakpoint code. 2019-01-28 23:04:20 -05:00
Kelvin Sherlock
0cf532c00d BRK / COP weren't pushing the current z/neg flags. 2019-01-28 23:03:04 -05:00
Kelvin Sherlock
81c74470ef PUSH16 MMU check was incorrect. 2019-01-28 22:59:00 -05:00
Kelvin Sherlock
0e2f35e7fe re-order instructions so zero/negative flags are set AFTER memory write (which may abort) 2019-01-28 22:01:29 -05:00
Kelvin Sherlock
8d60a2d437 clean up the disassembler a little bit. 2019-01-28 18:10:27 -05:00
Kelvin Sherlock
0c0c886be9 drop the g_dbg_step variable for now... 2019-01-26 17:14:39 -05:00
Kelvin Sherlock
66f3971027 add debug flag register to engine. 2019-01-26 17:07:40 -05:00
Kelvin Sherlock
f376e2a442 new memory checking [part 1]
_ macros bypass the memory checking code.
2019-01-26 17:06:48 -05:00
Kelvin Sherlock
7e87fc6968 replace inline asm for rdtsc with compiler intrinsics. 2019-01-26 16:50:59 -05:00
Kelvin Sherlock
38e691562c use c99 stdint types. 2019-01-22 22:37:20 -05:00
Kelvin Sherlock
ee078aeb19 remove breakpoint checks (to be added back later) 2019-01-22 21:52:00 -05:00
Kelvin Sherlock
77eb25fc71 use defines instead of bit shifts 2019-01-22 19:28:59 -05:00
Kelvin Sherlock
9f5a6566f5 sdl driver - support for the Home key. 2019-01-16 18:23:17 -05:00
Kelvin Sherlock
ad3ec85a1d shift-keypad . was generating a keypad comma. very strange. 2019-01-16 18:22:36 -05:00
Kelvin Sherlock
ff1022db8f sdl driver keymap mistakes. 2019-01-12 21:10:51 -05:00
Kelvin Sherlock
43b7330256 clean up CMake dependencies a little bit. 2019-01-10 20:36:17 -05:00
Kelvin Sherlock
5e852773ca os x - setuid helper utility to connect to the bridge interface. 2019-01-08 18:41:55 -05:00
Kelvin Sherlock
4a5d6effd5 to work around vmnet root/entitlement restrictions, add a stand-alone helper utility than can be setuid root.
vmnet_helper creates a vmnet connection then communicates back to GS+ via pipes to stdin/stdout and a simple binary messaging protocol.
2019-01-06 22:58:41 -05:00
Kelvin Sherlock
55de506812 msvc warnings 2019-01-04 22:58:56 -05:00
Kelvin Sherlock
1700285fd2 cleanup to build with MSVC. 2019-01-04 17:53:16 -05:00
Kelvin Sherlock
b0764fb93c build fix. 2019-01-02 21:49:48 -05:00
Kelvin Sherlock
f0bd88195b bsd tuntap documentation. 2019-01-02 21:49:38 -05:00
Kelvin Sherlock
7422409f53 remove stale old msvc projects 2019-01-02 21:48:55 -05:00