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

Added support for interrupt in atmega328p #66

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Selmacas
Copy link

@Selmacas Selmacas commented Mar 6, 2021

Edited for atega328p (edited nucleus.fth for correct interrupt vectors size and changet position of return stack to end of ram and data stack to 3/4 od ram, edited params.fth for correct data ram start). Implemetend spuport for interrupt (in interrupt.fth and in nucleus.fth - swr = save working registers, rwr = restore working registers). Example is in test/interrupt-atmega328.fth

Vilem Karsky added 3 commits March 28, 2021 14:31
…ows segmentation fault. Without swap the execution token of branch?, is pushet to return stack and if, doesnt find this execution token (pushed to return stack should be here address which was placed on tos by begin, )
…s size and changet position of return stack to end of ram and data stack to 3/4 od ram, edited params.fth for correct data ram start). Implemetend spuport for interrupt (in interrupt.fth and in nucleus.fth - swr = save working registers, rwr = restore working registers). Example is in test/interrupt-atmega328.fth
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