1
0
mirror of https://git.code.sf.net/p/fuse-emulator/fuse synced 2026-01-28 14:20:54 +03:00
Commit Graph

61 Commits

Author SHA1 Message Date
Philip Kendall
1aa3488f7f Add display initialisation to the startup manager.
Legacy-ID: 5665
2016-07-06 19:22:35 +00:00
Philip Kendall
19d56caf7e Merge trunk into startup-ordering branch, including adding additional
debugger dependencies to AY, ULA and Z80 modules.

Legacy-ID: 5662
2016-07-01 19:22:18 +00:00
Philip Kendall
df72dd319b Make every startup module dependent on setuid() having been called.
Legacy-ID: 5659
2016-06-30 19:35:18 +00:00
Philip Kendall
4ee9aaa31c Add event subsystem into startup manager.
Legacy-ID: 5654
2016-06-19 21:44:05 +00:00
Philip Kendall
c8f1ad25e1 Use ARRAY_SIZE macro (thanks, Sergio).
Legacy-ID: 5652
2016-06-19 19:05:12 +00:00
Philip Kendall
3f6e39eaea Use startup manager for end functions as well.
Legacy-ID: 5648
2016-06-18 21:54:46 +00:00
Philip Kendall
2655a31339 Make all init functions return a value.
Legacy-ID: 5642
2016-06-17 20:50:23 +00:00
Philip Kendall
05fdb8c673 Add memory pool subsystem into startup manager.
Legacy-ID: 5640
2016-06-16 21:13:09 +00:00
Philip Kendall
326ec81453 Initial work on a startup manager to automatically handle dependency issues.
Legacy-ID: 5637
2016-06-16 18:56:42 +00:00
Sergio Baldoví
f2cfaba381 Fix various memory leaks (rest of bug #254).
Legacy-ID: 4696
2012-05-07 02:05:13 +00:00
Philip Kendall
12dfdf9b8b More init functions that can never fail.
Legacy-ID: 4635
2012-01-19 23:39:04 +00:00
Philip Kendall
2fe6955b1b Make event_register() just blow up if it can't allocate memory.
Legacy-ID: 4630
2012-01-19 22:32:50 +00:00
Sergio Baldoví
9ae8892dd2 Free up memory (mostly GArray) when Fuse is exiting: memory, mempool, event,
debugger/event, rzx (part of patch #226).


Legacy-ID: 4540
2011-09-05 12:31:18 +00:00
Philip Kendall
d91c57cfd3 Allow page-specific breakpoints to be specified as "source:page:offset".
Legacy-ID: 4390
2011-04-27 21:55:33 +00:00
Philip Kendall
1ee67cb68a When exiting, quit the main emulation loop immediately.
Legacy-ID: 3686
2008-06-21 14:33:22 +00:00
Philip Kendall
ddcb8654a2 Refactor the event architecture so that modules register their own events with
the event system (patch #177).


Legacy-ID: 3681
2008-06-16 09:40:29 +00:00
Philip Kendall
6d2b8dac10 Ensure the commands for all breakpoints are run; also move previous fix.
Legacy-ID: 3659
2008-06-08 22:38:35 +00:00
Philip Kendall
ef6345429b A breakpoint command could have disabled the debugger before the UI is brought
up.

Legacy-ID: 3658
2008-06-08 22:22:01 +00:00
Philip Kendall
ca49cf6e45 Add numeric debugger variables
Legacy-ID: 3657
2008-06-08 15:04:37 +00:00
Philip Kendall
537ffe640c Add "debugger events" where the debugger can stop when certain events happen.
So far, only "tape playing" implemented.

Legacy-ID: 3632
2008-05-26 19:51:17 +00:00
Philip Kendall
cc8eec981d Ensure memory is not leaked when parsing expressions.
Legacy-ID: 3631
2008-05-26 12:22:29 +00:00
Philip Kendall
8c825d36fe Add command to exit emulator.
Legacy-ID: 3503
2008-01-30 14:58:55 +00:00
Fredrick Meunier
a309bce591 Use AM_CPPFLAGS rather than change every header inclusion to be relative to the
current directory.

Legacy-ID: 3115
2007-08-19 02:49:14 +00:00
Philip Kendall
fdc2fa8813 Enable Fuse to build in directories other than the source directory itself.
Doesn't *run* from those directories, but it's a start.

Legacy-ID: 3110
2007-08-17 12:38:39 +00:00
Stuart Brady
5bed548bc6 Update FSF address in GPL notices, add autogenerated-file comment to
settings.h, add missing Id tags, and some boilerplate formatting fixes .

Legacy-ID: 2889
2007-05-26 17:45:08 +00:00
Stuart Brady
aa3d423413 Fix filenames in comments (patch #113).
Legacy-ID: 2832
2007-05-13 08:01:28 +00:00
Philip Kendall
b9cc4b03a8 Change my e-mail address to @shadowmagic and remove my postal address.
Legacy-ID: 2720
2007-02-02 16:22:00 +00:00
Philip Kendall
4ef335ce74 Fixes for display timings with the character-accurate renderer.
Legacy-ID: 2452
2004-12-29 13:11:17 +00:00
Philip Kendall
d07af9a18b Stop the evil multiplexing of the 'value' parameter to
debugger_breakpoint_add().

Legacy-ID: 2015
2004-02-26 20:03:10 +00:00
Philip Kendall
cf89274eb7 First pass at code to allow for a dynamically modifiable peripheral list.
Legacy-ID: 1992
2004-02-14 22:23:35 +00:00
Philip Kendall
8667e59c4f New breakpoint type to trigger when tstates is greater than a certain
value.

Legacy-ID: 1848
2003-12-29 14:39:42 +00:00
Philip Kendall
94009b6b6c Add page-specific breakpoints.
Legacy-ID: 1838
2003-12-27 15:40:37 +00:00
Philip Kendall
aed6b1008e Make the memory access routines both simpler and more flexible.
TODO: TC2068 routines.

Legacy-ID: 1777
2003-11-14 11:46:47 +00:00
Philip Kendall
7f3b63a51c Add ability to specify conditions directly when setting breakpoints.
Legacy-ID: 1478
2003-07-12 23:49:54 +00:00
Philip Kendall
42f9f18548 Change over to using libspectrum_byte (etc) rather than BYTE,WORD,etc.
Legacy-ID: 1465
2003-07-11 11:03:25 +00:00
Philip Kendall
213d34fd89 Add initial bits of code for conditional breakpoints.
Legacy-ID: 1463
2003-07-10 13:31:53 +00:00
Philip Kendall
526817a6fd Remove the last remnants of debugger_show_breakpoints().
Legacy-ID: 1462
2003-07-09 13:41:11 +00:00
Philip Kendall
d8349ae0b6 Remove the obsolete (and undocumented) debugger 'breakpoint show'
command.

Legacy-ID: 1460
2003-07-08 23:49:13 +00:00
Philip Kendall
7e074ced4f Add 'out' command to debugger to write to a port.
Legacy-ID: 1399
2003-06-14 10:07:16 +00:00
Philip Kendall
bca5e79eb6 Remove a few --enable-warnings warnings.
Legacy-ID: 1191
2003-04-08 16:29:13 +00:00
Philip Kendall
c8d282757a Add 'poke' functionality to the debugger.
Legacy-ID: 1146
2003-03-28 23:06:25 +00:00
Philip Kendall
4d009f1cca Add the debugger 'clear' command similar to gdb's.
Legacy-ID: 1136
2003-03-26 15:28:35 +00:00
Philip Kendall
e6cf11bb72 Add textual representations of debugger types and lifetimes.
Legacy-ID: 991
2003-01-20 23:39:00 +00:00
Philip Kendall
7f3d921210 Give each breakpoint a unique ID, rather than just its current position
in the breakpoints list.

Legacy-ID: 985
2003-01-19 12:42:35 +00:00
Philip Kendall
bf30cd51d9 Update copyright messages to 2003.
Legacy-ID: 954
2003-01-01 20:56:55 +00:00
Philip Kendall
183b091cb9 Remove a couple of warnings.
Legacy-ID: 948
2003-01-01 20:15:42 +00:00
Philip Kendall
e0d8058246 Allow debugger output to be in either decimal or hex.
Legacy-ID: 946
2002-12-26 17:24:22 +00:00
Philip Kendall
b4b8c7bec3 Add ignore counts for breakpoints.
Legacy-ID: 944
2002-12-26 17:01:59 +00:00
Philip Kendall
85e4139c52 Introduce the type to define read/write breakpoints. Not used yet.
Legacy-ID: 939
2002-12-24 17:08:24 +00:00
Philip Kendall
c8441f6485 Split all memory access into that done by the Spectrum (the normal readbyte
and writebyte functions) and that done by Fuse (eg the disassembler), which
is done by new (read|write)byte_internal functions which can't trigger
read/write breakpoints.

Legacy-ID: 938
2002-12-24 15:03:13 +00:00