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

Add Microcode Execution hooks to 6502 Emulator #224

Open
ncatelli opened this issue May 25, 2021 · 0 comments
Open

Add Microcode Execution hooks to 6502 Emulator #224

ncatelli opened this issue May 25, 2021 · 0 comments
Labels
mos6502 Issues tied to the mos6502 implementation

Comments

@ncatelli
Copy link
Owner

ncatelli commented May 25, 2021

To better support peripheral devices, an event handler should be defined that can be registered with a given cpu prior to the execution of a piece of microcode, i.e. at https://github.com/ncatelli/mainspring/blob/main/src/cpu/mos6502/mod.rs#L204. This should allow direct handling of modifications to a peripheral based on a push from an event rather than requiring the peripheral to constantly poll memory on each tick.

@ncatelli ncatelli added the mos6502 Issues tied to the mos6502 implementation label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mos6502 Issues tied to the mos6502 implementation
Projects
None yet
Development

No branches or pull requests

1 participant