im2setup.code.asm 288 B

1234567891011121314151617181920
  1. SetupIM2 proc
  2. ; Abuse the 384-byte area at VOICAQ, VOICBQ, VOICCQ
  3. ld hl,IntVec-1
  4. ld (hl),195 ; 11T ; jp NN
  5. ld a,high _IM2Table
  6. ld i,a
  7. ret
  8. rept (high ($+255))*256-$
  9. nop
  10. endm
  11. _IM2Table rept 257
  12. db high (IntVec-1)
  13. endm
  14. db 0,0 ; Help debuggers synchronize
  15. endp