Commit Graph

3 Commits

Author SHA1 Message Date
Byron Lathi
f5dbe46060 Add irq_set_status
irq_set_status can be used to clear the irq status bit so that the
interrupt will stop occuring.
2022-03-14 13:34:33 -05:00
Byron Lathi
a5474b5ae5 Implement interrupt status register
Upon an interrupt, you can read from the interrupt status register to
see what caused the interrupt.
2022-03-14 13:30:01 -05:00
Byron Lathi
fe45331e7a Add interrupt handlers and redo vector locations
Most of these are taken from
https://cc65.github.io/doc/customizing.html, but modified to suit this
setup.
2022-03-14 11:54:43 -05:00