ksherlock
0e9cf9879b
use uintptr_t to cast ptr to int.
2019-02-18 10:56:43 -05:00
Kelvin Sherlock
fed51ab444
HISTORY_NO_DUP_FLAG currently missing from mingw wincon.h
2019-02-17 23:42:51 -05:00
Kelvin Sherlock
31ab8d4c6c
win32 typo.
2019-02-17 23:34:10 -05:00
Kelvin Sherlock
e9e9fcfd59
host mli - opening/closing a directory would close fd 0 (aka stdin).
2019-02-17 22:26:52 -05:00
Kelvin Sherlock
682dc0c562
host mli - opening/closing a directory would close fd 0 (aka stdin).
2019-02-17 22:23:22 -05:00
Kelvin Sherlock
b6406159bd
unix host mli bug fixes
...
1. file/directory storage types were reversed
2. month was off-by-one.
2019-02-17 18:47:32 -05:00
Kelvin Sherlock
78591a37d0
unix host mli bug fixes
...
1. file/directory storage types were reversed
2. month was off-by-one.
2019-02-17 18:46:19 -05:00
Kelvin Sherlock
216d1f1b35
push 24 mmu check was only checking 2 bytes. :/
2019-02-17 16:40:34 -05:00
Kelvin Sherlock
4e956a4e06
simplify mp check logic.
2019-02-17 14:37:51 -05:00
Kelvin Sherlock
86285cc43d
replace hard coded ADB keycode with nice enums.
...
There are also a couple fixes in the SDL keymap (home key, {, }, keypad numbers)
xdriver isn't updated because I don't care about x.
win32 driver isn't updated pending other win32 keymap patch.
2019-02-17 14:22:38 -05:00
Kelvin Sherlock
3c9a004a9e
store fields in separate array, not as part of record.
2019-02-16 23:56:27 -05:00
Kelvin Sherlock
9589abfda7
debugger - add toolcall and GS/OS call recognition to the disassembler.
2019-02-16 17:29:39 -05:00
Kelvin Sherlock
a65833d6d8
register assignment - assign from other registers (eg, %a=%x)
2019-02-16 17:27:56 -05:00
Kelvin Sherlock
a0976f82a8
ubuntu.
2019-02-14 22:43:39 -05:00
Kelvin Sherlock
0956f154fd
compile with old versions of re2c (*cough* ubuntu *cough*)
2019-02-14 22:24:42 -05:00
Kelvin Sherlock
44acfd5434
Debugger: %pc++, %s++, %s--
2019-02-14 21:54:23 -05:00
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
61858c4d62
Add Low-Level hook for Windows keyboard events
...
windows, alt, and control keys are handled separately, before windows can get a chance to act on them. This makes win usable as an option key and prevents things like alt-esc from minimizing the window.
Some combos (alt-control-delete, windows-L, etc) cannot be blocked.
2019-02-08 20:59:15 -05:00
Dagen Brock
1c8e2aecc4
Merge pull request #61 from ksherlock/master
...
more win32 focus fixes
2019-02-08 15:10:35 -06:00
Kelvin Sherlock
a76d26a0ad
drop all keys when window no longer active (not jut loss of focus). Also drop all pending keys that haven't been sent to the ADB yet.
2019-02-07 23:09:53 -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
Dagen Brock
2cde38ba3c
Merge pull request #57 from ksherlock/option_return
...
remove warning about parse_cli_options not returning a value.
2019-01-30 11:13:14 -06:00
Dagen Brock
225dca264d
Merge pull request #56 from ksherlock/cmake-3
...
cmake support.
2019-01-30 11:12:26 -06: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