git.ucc.asn.au
/
uccvend-snackrom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup and let gcc optimise the cases where row == 0 and row != 0
[uccvend-snackrom.git]
/
ROM2
/
vectors.s
diff --git
a/ROM2/vectors.s
b/ROM2/vectors.s
index
76e6614
..
14612df
100644
(file)
--- a/
ROM2/vectors.s
+++ b/
ROM2/vectors.s
@@
-35,8
+35,17
@@
Boston, MA 02111-1307, USA. */
def:
rti
def:
rti
- .globl _debug_user_vectors
-_debug_user_vectors = 0
+;; .globl _debug_user_vectors
+;;_debug_user_vectors = 0
+
+
+;; RTI interrupt handler
+ .sect .text
+rti:
+ jsr chime
+ ldaa #0x40
+ staa 0x1025
+ rti
;;
;; Interrupt vectors are in a specific section that is
;;
;; Interrupt vectors are in a specific section that is
@@
-79,6
+88,7
@@
vectors:
.word def ; ffee
;; Misc
.word def ; ffee
;; Misc
+ ;.word def ; fff0 (RTII) ; uncomment to disable the RTI & comment below
.word rti ; fff0 (RTII)
.word uart_interrupt ; fff2 (IRQ)
.word def ; fff4 (XIRQ)
.word rti ; fff0 (RTII)
.word uart_interrupt ; fff2 (IRQ)
.word def ; fff4 (XIRQ)
UCC
git Repository :: git.ucc.asn.au