Commit Graph

371 Commits

Author SHA1 Message Date
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
Kelvin Sherlock
b353a7ff22 cleanup headers a bit 2019-01-02 19:53:34 -05:00
Kelvin Sherlock
4923efb5fc cleanup to build under msys2/mingw64 2019-01-02 18:45:14 -05:00
Kelvin Sherlock
ecf6c58661 improved ethernet startup. use device name instead of index into a list that could change. 2018-12-31 20:51:14 -05:00
Kelvin Sherlock
4da1a246c7 get rid of the -enet flag, for now. 2018-12-31 20:50:07 -05:00
Kelvin Sherlock
fae38450e9 tap cleanup, more *BSD support. 2018-12-31 20:49:39 -05:00
Kelvin Sherlock
aaeda41baf unix mtu/mac code for pcap. 2018-12-31 20:49:07 -05:00
Kelvin Sherlock
4af3cf0761 untested win32 mac code. 2018-12-31 20:48:34 -05:00
Kelvin Sherlock
04314d7bb0 dead code, no longer needed as of Uthernet Link Layer 1.0.2 2018-12-31 20:48:07 -05:00
Kelvin Sherlock
41b01509ad rawnet - replace ugly transmit/receive functions with read/write. 2018-12-30 15:53:54 -05:00
Kelvin Sherlock
5884e751bc rawnet - close pcap if not an ethernet device. 2018-12-30 15:51:53 -05:00
Kelvin Sherlock
c4796f77ec rawnet - add rawnet_status() call to check if interface is open. 2018-12-30 15:50:41 -05:00
Kelvin Sherlock
324c9a191f win32 - support for npcap which is a successor to winpcap. winpcap is still supported. 2018-12-30 15:49:29 -05:00
Kelvin Sherlock
0b03aad15d tap/tun interface (alpha!) 2018-12-29 15:04:14 -05:00