Commit Graph

409 Commits

Author SHA1 Message Date
ksherlock
516d0e1439
-D__USE_W32_SOCKETS 2019-02-20 13:28:40 -05:00
Kelvin Sherlock
bef27e165e defer to CMake's optimization level. set to release by default. 2019-02-20 00:09:53 -05:00
Kelvin Sherlock
82e976d8e2 add back missing header. 2019-02-20 00:09:25 -05:00
Kelvin Sherlock
3ce34e0e27 lookup addresses for abslong and pc. 2019-02-20 00:09:05 -05:00
Kelvin Sherlock
be9724acfc minor tweaks for nifty list format. 2019-02-20 00:08:21 -05:00
Kelvin Sherlock
367d337674 2 unhandled ^Cs will abort 2019-02-20 00:07:59 -05:00
Kelvin Sherlock
6dd598be0c disassemble prodos mli calls. 2019-02-19 22:18:22 -05:00
Kelvin Sherlock
62dcf4f9d2 clean up socket stuff a little bit to compile better with msys2 2019-02-19 21:57:52 -05:00
Kelvin Sherlock
9f3c0feb39 load tools and gs/os calls from NList.Data 2019-02-19 21:49:35 -05:00
Kelvin Sherlock
58351d1db7 win32 missing strndup 2019-02-19 19:48:39 -05:00
ksherlock
b9e36df2bb
mingw/win32 lacks strndup. 2019-02-18 11:24:08 -05:00
ksherlock
8584df91f5
win32 compiler fixes. 2019-02-18 11:08:57 -05:00
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
682dc0c562 host mli - opening/closing a directory would close fd 0 (aka stdin). 2019-02-17 22:23:22 -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
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
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