Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge dev #485

Merged
merged 15 commits into from
Dec 15, 2024
Merged

merge dev #485

merged 15 commits into from
Dec 15, 2024

Conversation

udo-munk
Copy link
Owner

No description provided.

sneakywumpus and others added 15 commits December 13, 2024 20:12
1. Replace exatoi() with strtol() C99 function. Was already used
   in some places.
2. Remove simutil.[hc] which only contained exatoi().
3. Add more sim.h configuration checks.
4. Add a hardware breakpoint to the ICE. Currently only works with z80sim.
   Can be set for read/write/execute trigger with "bh 1234,rwx", cleared
   with "bhc" and displayed with "bh".
5. Modify software breakpoints to be set by address and not number, i.e.
   "b 1234[,x]" set/changes breakpoint at address "1234", "bc 1234" removes
   it. The ICE will complain if there no free slots anymore.
6. Install/uninstall HALT opcodes for software breakpoints before
   and after cpu_run()/cpu_step() calls, previously the breakpoints
   would be destroyed by changing memory at breakpoint addresses
   inside the ICE.
7. Tighten "b" and "h" ICE command syntax. It was not possible to
   specify a "c" address. Now "bc" clears all software breakpoints,
   and "b c" sets a software breakpoint at address "c", and "bc c"
   clears the software breakpoint at address "c". Similar with "hc"
   and "h c".
8. Parsing clean-ups (?) all over the ICE.
hardware breakpoint, ICE argument parsing, exatoi -> strtol
add jpeg dependency to Ubuntu github action
Guard FAST_BLOCK by !EXCLUDE_Z80.
Remove unneeded checks from simdefs.h (already guarded in sim.h)
So we can test performance impact.
Also check for '\0' for 'b' and 'bh'.
Don't mix f* stdio calls with non-f*.
clean-ups & picosim hardware breakpoint support
Add line to CREDITS, and copyright/history for previous commits.
add hardware breakpoint support to all simulators
uninstall_softbp() was in the wrong place, would lead to loss of
original instruction...
fix single step software breakpoint handling
@udo-munk udo-munk merged commit 430de17 into master Dec 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants