Byron Lathi
15b91dcc20
Add conio
...
Also removes print statements from the interrupt handler (except for the
button interrupt)
2022-03-14 22:20:15 -05:00
Byron Lathi
8e161664bb
Add uart_rxb
...
Once you receive a uart interrupt you can call this function to get the
received character.
2022-03-14 16:48:24 -05:00
Byron Lathi
b2344d986e
Add UART interrupts
...
Currently an interrupt is triggered any time there is any activity on
the UART_RXD line, but later it will only trigger once there is data
ready to be read.
2022-03-14 14:57:45 -05:00
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