Dagen Brock
0a34f06de0
resolve conflicts
2019-08-16 14:41:29 -05:00
Dagen Brock
7385478565
Merge pull request #83 from mtklr/macos
...
fix macos dependencies
2019-08-16 14:12:06 -05:00
Dagen Brock
c35f70b040
Merge pull request #75 from ksherlock/upstream_master
...
mini assembler support for the debug shell.
2019-08-16 14:11:21 -05:00
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
Kelvin Sherlock
e8d6d17a1a
debugger - implement nifty list t command to lookup toolcall information.
...
example:
] 0101t
0001 (04408e) TLBootInit()
2019-06-02 13:32:21 -04:00
Kelvin Sherlock
df1ae6ad98
Merge branch 'mini_asm'
2019-06-02 11:06:00 -04:00
Kelvin Sherlock
ee2f72b17c
mini assembler support for the debug shell.
...
enter via !
exit via control-D or <blank>RETURN.
2019-05-28 21:38:14 -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
ksherlock
718683dd8d
Create mini-asm.md
2019-05-09 11:08:36 -04:00
Kelvin Sherlock
391681fb96
pre-calculate mnemonic hashes.
2019-05-05 16:59:24 -04:00
Kelvin Sherlock
379784c757
add GS/OS, P16, P8 macro support.
...
since nifty list uses the same names for all (with GS/P16/P8 prefixes which are stripped), P16 and P8 macros are more or less unavailable.
2019-04-18 21:58:28 -04:00
Kelvin Sherlock
13b78fb412
add long/short support to assume m/x bits.
2019-04-18 13:15:13 -04:00
Kelvin Sherlock
9cf84e82c6
mini asm uses/sets prev_addr.
2019-04-18 13:14:49 -04:00
Kelvin Sherlock
25f5593a81
replace the old disassembler tables
2019-04-15 20:51:37 -04:00
Kelvin Sherlock
63275ee4ea
JMP/JSR 00
2019-04-15 20:06:33 -04:00
Kelvin Sherlock
3ffa1d0e76
buffer overflow :(
2019-04-15 20:06:15 -04:00
Kelvin Sherlock
1afa610ab2
print current address/mx bits when entering the mini assembler.
2019-04-15 12:54:42 -04:00
Kelvin Sherlock
67fc8b82ab
add JMP/JML, JSR/JSL aliases.
2019-04-15 12:53:22 -04:00
Kelvin Sherlock
bd53440610
add BLT/BGE aliases.
2019-04-15 12:18:10 -04:00
Kelvin Sherlock
4c55800e23
mini assembler - support for toolcalls. uses the Nifty List tool list.
2019-04-14 23:28:08 -04:00
Kelvin Sherlock
b561811394
.
2019-04-14 18:32:26 -04:00
Kelvin Sherlock
c22c517214
fix relative calculation.
2019-04-14 18:32:12 -04:00
Kelvin Sherlock
79df8bf62e
modifier parsing.
2019-04-14 18:30:19 -04:00
Kelvin Sherlock
860d8601a3
case insensitive
2019-04-14 18:30:04 -04:00
Kelvin Sherlock
692c7deac1
allow PEA 12
2019-04-14 18:29:44 -04:00
Kelvin Sherlock
ac1b76753d
mini assembler
2019-04-14 17:41:46 -04: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
03fb088594
eliminate the g_fatal_log array since fatal_printf() shows warning messages immediately.
2019-04-11 19:38:29 -04:00
Kelvin Sherlock
9d6c9a4e6e
fatal_printf - show an alert immediately.
...
win32 - actually show the alert.
2019-04-10 21:11:14 -04:00
Kelvin Sherlock
886a1a591a
move fatal_printf logging to glog.c file with other logging that does the same thing.
2019-04-10 21:10:36 -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
e23f4494ca
Merge branch 'master' of https://github.com/ksherlock/gsplus
2019-04-08 21:13:21 -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
c8efadda95
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 01:14:35 -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