X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=ROM2%2Fvectors.s;h=14612df269028159ed9273d2d32d0f93a1fb3a8a;hb=b3523cf99eff476642609ad6537e460595f84e72;hp=76e6614f6968e2931dc1f1c76c751e7fd4d5dca3;hpb=2e7a8beb908896930042bc0564fbd16f3e0b0b62;p=uccvend-snackrom.git diff --git a/ROM2/vectors.s b/ROM2/vectors.s index 76e6614..14612df 100644 --- a/ROM2/vectors.s +++ b/ROM2/vectors.s @@ -35,8 +35,17 @@ Boston, MA 02111-1307, USA. */ 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 @@ -79,6 +88,7 @@ vectors: .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)