Skip to content

Conversation

@steveschnepp
Copy link
Contributor

@steveschnepp steveschnepp commented Sep 15, 2022

This is to cleanup the function table versus switch for opcode dispatch.

There is no need for unused functions to be compiled.

It also contains some RESET enhancements. As soft reset, hard reset and power-cycle isn't the same. So we can emulate powered down IDLE scenarios.

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 changed the title Enhance dispatch strategy Enhance reset and the opcode dispatch strategy Sep 15, 2022
@steveschnepp
Copy link
Contributor Author

Also, I'm wondering if you would mind moving to autoconf/automake.

I know that it has bad press, but I really like it. And it is ubiquitous. Much more than any modern alternative.

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