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

Adding VCD file import/export #33

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

steveschnepp
Copy link
Contributor

@steveschnepp steveschnepp commented Sep 17, 2023

Only VCD export works, but the PR also contains some new features :

  • variable number of cycles per instructions. Traditional is 12T, but some are 2T and most current are 1T
  • enhance the history output when multicycle instructions are executed. This is important for more accurate VCD files
  • enhance the RESET. Can do proper Power cycles & IDLE.

It is a plaform setup task, there is little point in reloading it upon
reset.

Only the call is delegated to emu.c, the function itself is still in
opcodes.c & disasm.c
Now able to emulate:

* Warm RESET (only SFR)
* Power-Cycle RESET (SFR + RAM)
* Factory RESET (SFR + RAM + ROM)
@steveschnepp steveschnepp force-pushed the vcd branch 3 times, most recently from 4603c2a to 7aef7a2 Compare September 25, 2023 06:49
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.

1 participant