Philip Kendall
85c0114c04
Add Z80 object type rather than it being a dictionary.
2018-09-05 22:38:14 +01:00
Philip Kendall
0ebaa54d2e
Better way of building a Python dictionary.
2018-09-05 20:23:58 +01:00
Philip Kendall
4c19284dcd
Merge branch 'master' into feature-131-embedded-python
2018-09-04 21:25:06 +01:00
Philip Kendall
daac27369a
Begin exposing Z80 state to Python.
2018-07-23 16:21:44 +01:00
Alberto Garcia
21f30b8b01
Fix build outside the source directory
...
If build dir != source dir it can happen than commandl.c and
commandy.h end up in different directories under certain scenarios.
Since the former file doesn't use the full path to include the latter,
this can cause a build failure.
2018-07-07 09:25:18 +10:00
Philip Kendall
50decde3d2
Add ability to restart emulation from Python code.
2018-07-02 21:48:18 +01:00
Philip Kendall
970e602ee2
Add ability to write Spectrum memory as well.
2018-07-02 20:34:12 +01:00
Philip Kendall
6b6fc24f76
Writing the file better handled in Python than in C.
2018-07-02 19:31:29 +01:00
Philip Kendall
fead2e9e02
Trigger Python hook only if flag is set on breakpoint.
2018-06-30 22:45:49 +01:00
Philip Kendall
ef3c50fa5b
Enable detection of Python embedding via autotools.
...
My autotools skills are rusty at best, please correct/improve as
necessary.
2018-06-28 22:56:00 +01:00
Philip Kendall
206bf25080
Make the callback able to dump memory to a file.
2018-06-27 22:13:03 +01:00
Philip Kendall
f158d42d4d
Add parameter to callback.
2018-06-27 21:47:52 +01:00
Philip Kendall
1fcb4b48aa
Add ability to call back into Fuse from Python.
2018-06-27 21:22:25 +01:00
Philip Kendall
b2ab4a1641
Pass an argument to the Python hook.
2018-06-27 21:09:03 +01:00
Philip Kendall
af0422ccdc
Initial commit of Python hooks on breakpoints.
...
Very much WIP right now, this is a proof of concept rather than anything
intended to go into production.
2018-06-25 21:50:06 +01:00
Fredrick Meunier
13e76f1236
Add UI for phantom typist
2018-03-06 22:26:27 +11:00
Fredrick Meunier
2a0e2100d7
Include string.h for memcpy declaration
2018-02-25 14:50:33 +11:00
Philip Kendall
ff05d941aa
Strip off all DD/FD prefixes before beginning main disassembly.
...
This means we avoid the very deep recursion.
2018-01-24 22:13:58 +00:00
Philip Kendall
22b0db58e2
Add unit tests for current DD/FD instruction disassembly.
2018-01-24 21:42:15 +00:00
Gergely Szasz
d4543b3cdd
Fix crash when setting debugger variables (fixes bug #406 )
2018-01-22 23:37:52 +01:00
Philip Kendall
ab5ce91916
Ensure conditional timed breakpoints work correctly.
...
Fixes bug #404 .
2017-10-13 22:31:27 +01:00
Philip Kendall
e8b95a7f83
Allow exit code to be specified when using the debugger's "exit"
...
command; will be useful for some automation stuff I'm planning.
2017-09-14 21:00:45 +01:00
Philip Kendall
ba86bb5c9c
Remove deprecated syntax for Z80 variables in the debugger.
2017-09-14 20:29:55 +01:00
Fredrick Meunier
ba77c2ab67
Move memory.[ch] to memory_pages.[ch]
...
To avoid clashes with any similarly named system files (thanks,
BogDan Vatra and Sergio Baldoví).
2016-12-10 20:27:03 +11:00
Sergio Baldoví
3fa28fbf89
Consolidate .gitignore files in top source directory
2016-10-29 07:52:26 +02:00
Fredrick Meunier
5de51003fd
Retire legacy RCS tags
2016-10-24 11:45:18 +11:00
Fredrick Meunier
fe21695bed
Add more transient files to gitignores
2016-10-24 10:11:25 +11:00
Fredrick Meunier
008deb6da1
Rename local argument shadowing global variable.
...
Legacy-ID: 5693
2016-07-19 12:18:41 +00:00
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í
79a28466d7
Make breakpoints on events honour lifetime.
...
Legacy-ID: 5626
2016-06-11 18:05:42 +00:00
Fredrick Meunier
b17d9b4fc0
Avoid doing divide by zero in debugger expressions (fixes bug #350 ).
...
Legacy-ID: 5584
2016-06-04 13:50:28 +00:00
Philip Kendall
7a51dfcd5c
Merge from branches/bug-349-fix-wildcard-events: make wildcard events work
...
(fixes bug #349 ) (thanks, Sergio).
Legacy-ID: 5538
2016-05-29 10:47:02 +00:00
Sergio Baldoví
752ae248ae
Allow strings with escaped spaces in the debugger (bug #337 )
...
Legacy-ID: 5530
2016-05-25 22:11:06 +00:00
Philip Kendall
1645d4647d
Make wildcard events work (fixes bug #349 ) (thanks, Sergio).
...
Legacy-ID: 5521
2016-05-23 20:15:47 +00:00
Philip Kendall
6440fb65a7
Add ability to dereference debugger expressions (feature request #97 ).
...
Legacy-ID: 5491
2016-05-17 22:22:27 +00:00
Fredrick Meunier
99b964e30b
Have a go at updating copyright dates since v 1.1.1.
...
Legacy-ID: 5432
2016-05-01 04:16:09 +00:00
BogDan Vatra
5978034454
Signal the UI when the breakpoints list is changed (patch #357 ).
...
Legacy-ID: 5380
2016-04-09 13:51:28 +00:00
BogDan Vatra
d2d97b70ac
Fix disassembly of LD (HL), LD (IX) and LD (IY) (patch #350 )
...
Legacy-ID: 5377
2016-04-08 12:27:35 +00:00
Sergio Baldoví
6e4cd718cc
Switch to using non-recursive makefile (patch #321 ) (thanks, Stuart)
...
Legacy-ID: 5302
2015-06-14 21:38:49 +00:00
Tom Seddon
3f2eaa53f7
Store the matched breakpoint before removing it from the list and freeing it
...
(fixes bug #317 ).
Legacy-ID: 5192
2015-03-28 04:31:07 +00:00
Sergio Baldoví
6fe14f9600
Use libspectrum_free where appropriate.
...
Legacy-ID: 5164
2015-03-17 00:10:14 +00:00
Sergio Baldoví
8a964e81fe
Remove unneeded "out of memory" error handling.
...
Legacy-ID: 5139
2015-03-15 22:49:47 +00:00