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
d7a92f4441
cop/brk debugger support...
...
cop=1
brk=1
to enable brk/cop support. cop/brk instructions will be caught *BEFORE* execution and drop into the debugger shell. step/go/next will execute the instruction as normal. %pc++ will skip over the instruction.
2019-03-18 17:06:14 -04:00
Kelvin Sherlock
6ccf74f60d
merge other stuff
2019-03-08 00:30:19 -05:00
Kelvin Sherlock
f863c4cfa0
quit if the HALT_WANTOQUIT is set (ie, win32 closing the window)
2019-03-05 21:53:28 -05:00
ksherlock
97e6f17a31
fixup _WIN32/__CYGWIN__/WIN_SDL #defines
2019-02-21 13:56:57 -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
619ea2109d
remove dead code, update for new debugger code
2019-01-29 00:21:24 -05:00
Kelvin Sherlock
0c0c886be9
drop the g_dbg_step variable for now...
2019-01-26 17:14:39 -05:00
Kelvin Sherlock
b0764fb93c
build fix.
2019-01-02 21:49:48 -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
7a6ea5ef99
remove unused variables.
2018-12-19 21:07:25 -05:00
Kelvin Sherlock
ba50807910
tfe -> rawnet.
2018-12-14 20:37:39 -05:00
Kelvin Sherlock
5f2a5e4348
remove warning about parse_cli_options not returning a value.
2018-12-13 21:50:43 -05:00
Dagen Brock
5e009305f8
v0.14 release
2018-09-11 17:06:05 -05:00
Dagen Brock
7df808cf4a
add scaling options and fix speedups
2018-08-30 09:55:10 -05:00
Dagen Brock
9b708a2ad8
resolve builds on windows with new fst objects
2018-08-24 11:40:25 -05:00
Kelvin Sherlock
3390a35f84
host mli support
...
intercepts ProDOS MLI calls for the /HOST/ path.
2018-08-20 15:43:06 -04:00
Dagen Brock
5d6bc63bf7
Merge branch 'experimental' into debugger_wdm
2018-08-20 12:40:08 -05:00
Kelvin Sherlock
e021a622b4
adds two new WDM debugger commands useful for programmers.
...
WDM $a0 prints a string
a: string type (0 = c-string, 1 = pascal string, 2 = gs/os string). set bit 15 ($8000) to add a trailing '\n
x/y: pointer to the string
WDM $a1 hexdumps memory
a: length
x/y pointer to memory
(in both cases, x is the low word and y is the high word (ie, bank))
2018-08-20 13:03:53 -04:00
Dagen Brock
65f280569c
using code beautifier (uncrustify), possibly most controversial commit ever\?
2018-08-13 12:22:40 -05:00
Dagen Brock
99c51da6e8
re-implement alert dialogs for SDL2 version and add sane ROM message
2018-08-10 09:32:55 -05:00
Dagen Brock
47b837e34c
Win32 SDL2 builds on Cygwin against Mingw SDL2 libs, new docs and log cleanup
2018-07-25 14:33:16 -05:00
Dagen Brock
3a6d272a50
copyright cleanup (and fix a copy-pasta)
2018-03-02 10:48:45 -06:00
Dagen Brock
18dbd6af31
new cli options
2018-02-27 06:56:45 -06:00
Dagen Brock
1f061db96b
clean up default config a bit
...
- HT Les Burrows for the suggestion/bug report
I think there is a lot that could be changed around this, but I went for balance. Firstly it switches to a default path of "HOME", takes out the ifdef "MAC" (sorry, other devs can support older platforms better than I, this is old MAC, not the modern OSX version which is supported). It uses a dot file. A lot of these changes could be minorly controversial as they change the behavior somewhat. I think proper documentation, flags, and more cleanup around all of this would help.
2017-12-29 11:47:37 -06:00
Dagen Brock
cb8a7a1d62
formatting cleanup, add help option, fix quit behavior to ignore command-Q
2017-01-22 12:33:43 -06:00
Dagen Brock
0ff8dc524c
scanline simulator is back. yay.
2017-01-21 16:31:32 -06:00
Dagen Brock
9906f0187e
remove extra newlines from switch to glogf()
2017-01-20 14:19:07 -06:00
Dagen Brock
624aefbe08
remove erroneous printf and warnings
2017-01-20 13:58:01 -06:00
Dagen Brock
aa240efdc8
manually redoing Kelvin's glogf work
2017-01-20 13:28:09 -06:00
Dagen Brock
8d1161b224
fix for segfault on screenshot w/ no dir specified
2017-01-19 22:53:30 -06:00
Dagen Brock
480b065a6e
logs cleans, manual refresh
2016-11-02 21:52:40 -05:00
Dagen Brock
89edb6d3aa
Merge branch 'experimental_host_fst' into 'experimental'
...
Experimental host fst
Host FST support. Works on OS X. In theory may work elsewhere but hasn't been tested or compiled yet.
See merge request !1
2016-10-30 12:24:28 -05:00
Kelvin Sherlock
be1b9663e9
host fst code (part 1)
2016-10-29 12:46:41 -04:00
Dagen Brock
b4b0382826
nicer ROM missing messaging
2016-10-28 21:34:42 -05:00
Dagen Brock
9d1422e6cc
more log cleanup
2016-10-28 14:44:16 -05:00
Dagen Brock
aa32d6f08f
add prettier, but hacky, logging
2016-10-28 11:42:50 -05:00
Dagen Brock
7e1bd6a82a
add screenshot dir argument
2016-10-26 10:57:57 -05:00
Dagen Brock
225505c32e
omg adding debugger to experimental branch
2016-10-19 13:12:19 -05:00
Dagen Brock
0c21e1a072
Windows SDL version (builds, not functioning)
2016-10-18 22:01:19 -07:00
Dagen Brock
98596ba8ab
add -config flag to use named config
2016-05-21 06:08:48 -05:00
Dagen Brock
8403c16dca
remove unused code, fix warning for version string
2016-05-02 11:30:15 -05:00
Dagen Brock
7f14207be3
branding update - minor cleanup
2016-04-27 21:58:38 -05:00
Dagen Brock
d9dde67041
uhm
2016-02-07 23:01:25 -06:00
Dagen Brock
06f32df824
update name and copyright
2016-02-04 00:37:39 -06:00
Dagen Brock
c3c2db5eb5
initial commit
2015-11-05 14:23:46 -06:00