interrupt_routines.s 433 B

123456789101112131415161718192021
  1. ************************************************************
  2. **** D A R K L I T E I N T E R R U P T ****
  3. ************************************************************
  4. darkint
  5. movem.l d0-d7/a0-a6,-(sp)
  6. move.b $dff014,d2
  7. move.b d2,resistance+1
  8. move.w #$0001,$dff034
  9. tst.w music_flag
  10. beq.s dont_play_music
  11. jsr mt_music
  12. dont_play_music
  13. movem.l (sp)+,d0-d7/a0-a6
  14. dc.w $4ef9
  15. oldint dc.l 0
  16. music_flag dc.w 0