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.
This commit is contained in:
Byron Lathi
2022-03-14 11:54:43 -05:00
parent ff78fd0179
commit fe45331e7a
4 changed files with 68 additions and 7 deletions

7
sw/irq.c Normal file
View File

@@ -0,0 +1,7 @@
// This is defined in main.c
void puts(const char* s);
void handle_irq() {
puts("Interrupt Detected!\n");
}