Commit Graph

526 Commits

Author SHA1 Message Date
Matt Keller
9df65dfd85 fix macos dependencies
Needs cmake and pkg-config to build on macos (still possible without
pkg-config by using ccmake and editing flags/libraries manually, which
is a pain.)
2019-07-28 16:08:38 -04:00
Dagen Brock
c7d128f216
unspecial the version 2019-05-11 10:32:24 -05:00
Dagen Brock
403cee6ca7
Merge pull request #73 from ksherlock/merge_logging
Merge duplicate logging
2019-05-11 10:20:08 -05:00
Dagen Brock
9d44843aab
Merge pull request #74 from digarok/ks-master
Ks master
2019-05-11 10:18:29 -05:00
Dagen Brock
1c4ed18142
Merge branch 'master' into ks-master 2019-05-11 10:15:23 -05:00
Dagen Brock
5d70ec1a6c gitlab-ci integration for cmake - all platforms 2019-05-11 09:10:08 -05:00
Kelvin Sherlock
5a21b96f52 host fst fix
reported in c.e.a2 - when dropping into p8, fst_shutdown is called.  when returning to gs/os, fst_startup is NOT called.

This effective unmounts the host file system, permanently, since it assumed fst_startup would get called again.

fst_shutdown code now closes any open files but does not otherwise unmount.
2019-05-11 09:07:13 -05:00
Kelvin Sherlock
1a06196ae7 eliminate the g_fatal_log array since fatal_printf() shows warning messages immediately. 2019-04-11 19:40:02 -04:00
Kelvin Sherlock
f842678e43 fatal_printf - show an alert immediately.
win32 - actually show the alert.
2019-04-09 13:00:22 -04:00
Kelvin Sherlock
308363c47a move fatal_printf logging to glog.c file with other logging that does the same thing. 2019-04-09 00:02:00 -04:00
Kelvin Sherlock
a02f323fb5 cygwin - reset stdin/stdout/stderr to use the win32 console. 2019-04-08 21:12:57 -04:00
Dagen Brock
c20361a66d
Merge pull request #71 from ksherlock/win32_adb_keycodes
clean up windows key mapping to use adb names codes.
2019-04-08 06:27:40 -05:00
Dagen Brock
adc7e778a1
Merge pull request #70 from ksherlock/host_fst_p8_fix
host fst fix when switching to prodos-8
2019-04-08 06:25:35 -05:00
Dagen Brock
1021431651
Merge pull request #69 from ksherlock/fflush_stderr
Good catch.  Thanks
2019-04-08 06:19:22 -05:00
Kelvin Sherlock
091b020876 clean up windows key mapping to use adb names codes. also fixes a few mistakes with keypad values. 2019-04-07 11:21:54 -04:00
Kelvin Sherlock
865b3d901b host fst fix
reported in c.e.a2 - when dropping into p8, fst_shutdown is called.  when returning to gs/os, fst_startup is NOT called.

This effective unmounts the host file system, permanently, since it assumed fst_startup would get called again.

fst_shutdown code now closes any open files but does not otherwise unmount.
2019-04-07 10:38:35 -04:00
Kelvin Sherlock
1433791eaa fflush stderr since MSVCRT's stdio doesn't support line-oriented buffering, as it should. 2019-04-07 10:35:06 -04:00
Kelvin Sherlock
1d1033f110 win32 control-c handler 2019-04-07 00:30:06 -04:00
Kelvin Sherlock
2d97efcaff fflush stderr since MSVCRT's stdio doesn't support line-oriented buffering, as it should. 2019-04-06 23:16:52 -04:00
Kelvin Sherlock
e91201cff4 fixup offset a little bit. 2019-04-06 20:55:05 -04:00
Kelvin Sherlock
a7a0138754 simplify readline a bit. EOF will auto-print a CR if there was a prompt. 2019-04-06 20:54:37 -04:00
Kelvin Sherlock
290f36c4d3 no longer planning on using the debug modes 2019-04-06 20:53:41 -04:00
Kelvin Sherlock
320ab4e486 fixup some bugs with relative address calculation, show error offset, 2019-04-06 14:43:00 -04:00
Kelvin Sherlock
e253200c71 !! to invoke sweet 16 mini assembler. 2019-04-06 13:50:47 -04:00
Kelvin Sherlock
1c1eef4383 mini assembler fixups. 2019-04-06 13:50:29 -04:00
Kelvin Sherlock
5d206ac4c0 sweet 16 assembler. 2019-04-06 01:18:41 -04:00
Kelvin Sherlock
5c903ffeb1 change disasm format to put byte first. 2019-04-05 19:13:11 -04:00
Kelvin Sherlock
0a6fd86d78 don't bother compiling old TFE code. 2019-04-05 18:44:38 -04:00
Kelvin Sherlock
e21cfbb37a 0/1>mx to set both m and x bits. 2019-04-05 18:44:22 -04:00
Kelvin Sherlock
89d8b3efcf disassembler - inline debug name support.
See IIgs technote #103.
2019-04-05 18:43:54 -04:00
Dagen Brock
5fe0ce52b2 Merge branch 'win-build-fix' into 'master'
add definition

See merge request dbrock/gsplus!14
2019-03-28 18:01:49 +00:00
Dagen Brock
3f8cce8286 add definition 2019-03-28 12:45:27 -05:00
Kelvin Sherlock
237577d886 sweet 16 asm [wip] 2019-03-27 17:02:12 -04:00
Dagen Brock
1dd1677eac
Merge pull request #65 from ksherlock/ptr2word
cleanup pointer to integer casting
2019-03-27 08:23:35 -05:00
Dagen Brock
00e8bbd3e2
Merge pull request #64 from ksherlock/mli_fix
unix host mli bug fixes
2019-03-27 08:17:05 -05:00
Kelvin Sherlock
91c24bbf8b wasn't setting stderr fileno... 2019-03-26 23:37:16 -04:00
Kelvin Sherlock
3ef3173c36 Merge branch 'master' of https://github.com/ksherlock/gsplus 2019-03-26 23:16:27 -04:00
Kelvin Sherlock
30da497087 win32 console debugger
may need a little work, still.
2019-03-26 23:15:56 -04:00
Dagen Brock
a4442e6ea8
Merge pull request #63 from ksherlock/adb_keycodes
replace hard coded ADB keycode with nice enums.
2019-03-26 21:49:03 -05:00
Dagen Brock
da21cc54f7
Merge pull request #62 from ksherlock/win_ll_keyboard
Add Low-Level hook for Windows keyboard events
2019-03-26 21:47:02 -05:00
Kelvin Sherlock
eabcc72005 missing linux headers. 2019-03-25 16:34:31 -04:00
Kelvin Sherlock
2a82de3d54 remove unused comments/defines. 2019-03-24 11:25:50 -04:00
Kelvin Sherlock
c677f0f894 common code for i/w/h commands. 2019-03-24 03:11:16 -04:00
Kelvin Sherlock
bda785f98d add "w" command. 2019-03-23 20:49:41 -04:00
Kelvin Sherlock
07eeaf24b0 GSString-ify debug templates. 2019-03-23 00:28:39 -04:00
Kelvin Sherlock
90bf447606 debug templates - improved support for pstring/gsstring/cstring. 2019-03-22 00:14:09 -04:00
Kelvin Sherlock
6f7d6629bb memory breakpoints - proper handling for wrapped addresses. 2019-03-22 00:13:38 -04:00
Kelvin Sherlock
bf09880caf fix memory breakpoint range checking.
It's still broken for page/bank wrapped data.  Eg, sta <$ff stores @ $ff and $00
2019-03-21 22:12:30 -04:00
Kelvin Sherlock
5da4e5c39f fix mvp/mvn operand order. 2019-03-21 22:08:39 -04:00
Kelvin Sherlock
7e0963e12c remove old makefiles. 2019-03-21 18:31:15 -04:00