home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fujiology Archive
/
fujiology_archive_v1_0.iso
/
S
/
SHAPESFT
/
MSXMENU2.ZIP
/
MSXMENU2.MSA
/
SCRAPBIN
/
JINGLE.S
< prev
next >
Wrap
Text File
|
1985-11-20
|
5KB
|
402 lines
; (c) Gary (Goth) Wheaton
; jingle from Douglas Rockmoor (Budgie #52)
CLR.L -(SP) ; Enter supervisor mode.
MOVE.W #$20,-(SP) ; Super.
TRAP #1
ADDQ.L #6,SP
MOVE.L D0,SV
SL EQU $FF8800
SD EQU $FF8802
LEA SL,A0
move.b #7,(a0)
move.b #%11111000,2(a0)
MOVE.L #$08000000,(A0)
MOVE.L #$09000000,(A0)
MOVE.L #$0A000000,(A0)
bi
MOVE.B $469,D0
FT CMP.B $469,D0
BEQ.S FT
bsr vbi
; bsr guitar
CMP.B #97,$FFFC02
BNE BI
lea $ff8800,a0
move.b #7,(a0)
move.b #%11111111,2(a0)
MOVE.L #$08000000,(A0)
MOVE.L #$09000000,(A0)
MOVE.L #$0A000000,(A0)
MOVE.L SV,-(SP)
MOVE #$20,-(SP)
TRAP #1
ADDQ.L #6,SP
CLR -(SP)
TRAP #1
guitar
move.b #8,(a0)
move.b #15,2(a0)
move.b #0,(a0)
move.b #192,2(a0)
move.b #1,(a0)
move.b #0,2(a0)
rts
VBI
move.b flo+1,d1
beq jill
add.b d1,flo
bcc killer
lea sl,a3
;\\\\\\\\\\\\\
MOVE.L UPTO,A2
MOVE CUNT,D3
MOVE.B 33(A2),D4
SSU SUBQ.W #1,D3
BPL PART1
moveq.l #1,d1
MOVE.L d1,PNT1
MOVE.L d1,PNT2
MOVE.L d1,PNT3
MOVE.L d1,PNT5
Lea 36(a2),a2
CMP.L #CHAN0,A2
BNE.S LLA
sub.b #30,flo+1
LEA DOTH,A2
LLA
MOVE 34(A2),D3
MOVE.B 33(A2),D4
PART1
W0
BTST #1,D4
BEQ.S W1
MOVE.L (A2),A1
MOVE.L 4(A2),A0
BSR CHAN0
W1 BTST #2,D4
BEQ.S W2
MOVE.L 8(A2),A1
MOVE.L 12(A2),A0
BSR CHAN0
W2 BTST #3,D4
BEQ.S W3
MOVE.L 16(A2),A1
MOVE.L 20(A2),A0
BSR CHAN0
W3 BTST #4,D4
BEQ.S W4
MOVE.L 24(A2),A1
MOVE.L 28(A2),A0
BSR CHAN0
W4
MOVE.L A2,UPTO
MOVE D3,CUNT
;--END OF VBI
;--------EXIT
killer
rts
jill
move.l #$08000005,sl
move.l #$09000005,sl
move.l #$0a000005,sl
rts
flo dc.b 0,210
SV DC.L 0
DC.B " (C) G.WHEATON. 45 GOLDRILL AVE BOLTON. LANCS, U.K. "
even
UPTO DC.L ee-36
CUNT DC.W 0
EVEN
;\\RUNNING ORDER SEQUENCE
ee
doth
DC.L PNT5,music
DC.L PNT1,mm1
DC.L PNT2,mm2
DC.L PNT3,null
DC.B 1,%00001110
DC.W -1+64*4
CHAN0
;\\\\\\\\\\\\\\\\\\\\\\
MOVE (A1),D0
ADD D0,A0
MOVE.L (A0),D1 ;GET NOTE 0 & DURATION
MOVE.B 13(A1),D5
EXT.W D5
SWAP D1
ADD D5,D1
SWAP D1
CMP #$FFFF,D1
BNE CON2
CLR (A1) ;RESET TO START
SUB D0,A0
MOVE.L (A0),D1
CON2
SUBQ.B #1,3(A1) ;NP0
BNE STILLON
MOVE.L D1,6(A1) ;TMP0 \D1.W IS DURATION
MOVE.L D1,20(A1);TEMP HOLD NOTE
MOVE.B 26(A1),4(A1) ;VOL0
MOVE D1,2(A1) ;NP0 \SET NEW DURATION
ADDQ.W #4,(A1) ; & INC POINTER
STILLON
;\\VOLUME
RFF
;\\\\\\\\\EFFECTS\\\\\\\\\\
NV0
MOVE.B 2(A1),D0
CMP.B #4,D0
BNE DOIT
ADDQ.B #1,4(A1)
RTS
DOIT
DZZ
MOVE.B #7,(a3)
MOVE.B #%11111000,2(a3)
BRA FCC
EFCT
DC.L FINK
dc.l silent
FCC LEA EFCT,A6
AND #31,D0
ASL #2,D0
MOVE.L (A6,D0),A0
JSR (A0)
MAZ ADDQ.B #1,4(A1) ;VOL0
MOVE.B 11(A1),(a3)
MOVE.B 21(A1),2(a3) ;TMP0+1
MOVE.B 12(A1),(a3)
MOVE.B 20(A1),2(a3) ;TMP0
moveq.w #0,D0
MOVE.B 4(A1),D0
MOVE.B 10(A1),(a3)
MOVE.B 28(A1,D0),2(a3) ;VOL0
fink rts
;-------EFFECTS ROUTINES--------
;1-256---DELAYED--VIBRATO-------
;------5*256
silent
move.b #150,4(a1)
rts
even
;\\\\\\\\\\\\\\DATAS\\\\\\\\\\\\\\\
;\\NOTE 1ST WORD. DURATION 2ND WORD
;\\\LEAD
;\\\MIDDLE
PNT1 DC.W 0
DC.W 1 ;EFFECT & DURATION 2(A1)
DC.B 0,0
DC.L 0
DC.B 9,2,3
DC.B 0 ;ADD 13(A1)
DC.W 0 ;VIB LIMIT
DC.W 0 ;VIB ADD 16(A1)
DC.W 0 ;VIB 18(A1)
DC.L 0 ;TEMP NOTE 20(A1)
ti DC.B 1,1 ;VIB RATE 24)A1)
DC.B 0,0 ;INITIAL VOL
;ADSR 28(A1)
dcb.b 4,8
dcb.b 4,7
dcb.b 4,6
dcb.b 5,5
EVEN
;\\\BASS
PNT2 DC.W 0
DC.W 1 ;2(A1) DURATION
DC.B 0,0 ;4(A1)
DC.L 0 ;6
DC.B 10,4,5 ;10(A1) VOL REG
DC.B 0 ;ADD TO NOTE 13(A1)
DC.W 0 ;VIB LIMIT
DC.W 2 ;VIBRATO ADD 16(A1)
DC.W 2 ;VIB 18(A1)
DC.L 0 ;TMP NOTE 20(A1)
li DC.B 1,1 ;VIB RATE
DC.B 0,0 ;INITIAL VOL 26(A1)
;\ADSR 28(A1)
ADSR
*-*
DCb.B 4,7
DCb.B 4,6
DCb.B 4,5
DCb.B 5,4
EVEN
PNT3 DC.W 0
NP3 DC.W 1 ;2(A1) DURATION
DC.B 0,0 ;4(A1)
DC.L 0 ;6
DC.B 10,6,11 ;10(A1) VOL REG
DC.B 0 ;ADD 13(A1)
DC.W 1 ;VIB LIMIT
DC.W 2 ;VIBRATO ADD 16(A1)
DC.W 0 ;VIB 18(A1)
DC.L 0 ;TMP NOTE 20(A1)
fluk DC.B 0,0 ;VIB RATE
DC.B 0,0 ;INITIAL VOL 26(A1)
;\ADSR 28(A1)
DC.B 14,13,12,11,11,10,9,8,7
PNT5 DC.W 0
DC.W 1 ;EFFECT & DURATION 2(A1)
DC.B 0,0
DC.L 0
DC.B 8,0,1
DC.B 0 ;ADD 13(A1)
DC.W 2 ;VIB LIMIT
DC.W 3 ;VIB ADD 16(A1)
DC.W 0 ;VIB 18(A1)
DC.L 0 ;TEMP NOTE 20(A1)
DC.B 1,1 ;VIB RATE 24)A1)
DC.B 0,0 ;INITIAL VOL
;ADSR 28(A1)
dc.b 13,13,13,13,12,12,11,11
dc.b 10,10,10,10,9,9,9,9
dc.b 11,8
MAX DC.B 71,32,87,72,69,65,84,79,78
EVEN
;-----------MUSIC DATA
D=256
NULL DC.W 2,128+d
DC.W $FFFF,$FFFF
r=1
mm2 dc.w 0,5+d
mm1 dc.w 0,9+d
music
dc.w 144*r,8
dc.w 136*r,8
dc.w 121*r,16 +v
dc.w 72*r,16
dc.w 91*r,16
dc.w 144*r,8
dc.w 121*r,8
dc.w 136*r,16 +v
dc.w 81*r,16
dc.w 96*r,16
dc.w 162*r,8
dc.w 144*r,8
dc.w 136*r,16 +v
dc.w 81*r,16
dc.w 96*r,16
dc.w 91*r,8
dc.w 96*r,8
dc.w 108*r,16 +v
dc.w 121*r,16
dc.w 144*r,16
DC.W $FFFF,$FFFF