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

Fix interrupts abstraction #6

Open
siraben opened this issue Dec 30, 2020 · 0 comments
Open

Fix interrupts abstraction #6

siraben opened this issue Dec 30, 2020 · 0 comments

Comments

@siraben
Copy link
Owner

siraben commented Dec 30, 2020

Turns out TI-83 assembly in 28 days is terribly wrong with the section on interrupts, I do have to write the 257 bytes to work with immediate mode 2.

VARIABLE INTERRUPT-HANDLER
: SET-INTERRUPT INTERRUPT-HANDLER ! ;

Or in assembly,

  (label rst38)
  (push hl)
  (ld hl (custom_interrupt))
  ((ex (sp) hl))
  (ret)

https://tutorials.eeems.ca/ASMin28Days/lesson/day23.html

@siraben siraben changed the title Fix interrupts abstract Fix interrupts abstraction Dec 30, 2020
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

No branches or pull requests

1 participant