Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I create music on Idle?

Music on Idle (BC11)

How do I create music on Idle?

by  megglesfield  Posted    (Edited  )
Music-on-Idle is a feature originally created for the Mexican AS and allow users with digital handset (with load speaker) to hear the Music input of the TMU (or TSU-T). The solution consists of a patch to KLP1T (below). To activate (after patch has been sent) ,
1)Press Programme key
2)Press speaker key
3)Press 1,2 (or 3) (dependant on TMU music input) TMU has 2 inputs TSU-T has 3.
4)Press programme key
5) Display should indicate MUSIC and TMU source will be heard.

Music will only be heard while in the idle state. After making or receiving a call, Music will once again be heard.

To cancel, press the cancel button twice while in the Idle state.



/*======================================================================*/
/* ERICSSON FAULT REPORT FORM (Rev. 9) Exported from TACOS */
/*======================================================================*/
/* TaskId.FR.No : 92277 Originator : epkmg */
/* Date.Created : 2001-03-29 Created.By : epkmg */
/* Cust.Rep.No : Priority : 4 */
/*----------------------------------------------------------------------*/
/* Product.No : 4/CAA1119582/01 Revision : R7A */
/* Unit : KLP1T Block : KL1 */
/* System.1 : ASB50104 Sys.Release : R8 */
/* System.2 : ACS Subsystem : ELS */
/* BC.Release : BC11 SES.Release : R11 */
/* Category : Feature : EXT */
/*----------------------------------------------------------------------*/
/* AD.Identity : 1100 Team.No : */
/* Mod.Release : CNI.No : */
/* FRB.Meeting : Short.Answer: NOK-CI */
/*----------------------------------------------------------------------*/
/* Fault.Type : SDP Fault.Phase : DAT */
/* Fault.Area : MD1 Status : NUL */
/* Resp.Person : */
/*----------------------------------------------------------------------*/
/* Relation Task Id (FR Number) : */
/* Relations to other FR's */
/* none */
/* Relations from other FR's */
/* none */
/*----------------------------------------------------------------------*/
/* Short.Descr : MUSIC-ON-IDLE */
/*----------------------------------------------------------------------*/
/* Fault.Descr.And.Explanation : */
/*MUSIC IN LOADSPEAKING KL TELEPHONES AT IDLE STATE. */
/*CHANGED TO INTERWORK WITH FR 91553. */
/*----------------------------------------------------------------------*/
/* Answer : */
/*----------------------------------------------------------------------*/
/* Note.Book : */
/*2001-07-30 12:54.59 epkmg */
/*Please nullify this FR, customer installation! */
/* */
/*----------------------------------------------------------------------*/
/* Key.Words : */
/*----------------------------------------------------------------------*/
/* Test.Spec : Test.Spec.Rev : */
/* Test.Spec.CLS: Test.No : */
/*----------------------------------------------------------------------*/
/* Test.Plan : */
/*----------------------------------------------------------------------*/
/* Included Patch(es) : */
/*======================================================================*/
/* ASSEMBLY SOLUTION : */
/* CLEAR00 */
PCASI:UNIT=KLP1T,CI=C92277A,IA=C10,RA=C1A,REV=4-R7A,BYTE=0;
MOVEA.L ($E,A6),A2;
MOVE.L A2,D1;
TRAPEQ.W #QFP;
MOVE.B ($8A,A2),D2; ! LOAD MUSICINFO !
CMPI.B #$0C,D2;
BLO L2;
CMPI.B #$0F,D2;
BHI L2;
MOVE.B ($E2,A6),D3; ! TKEYCODE !
CMPI.B #$0F,D3; ! CHECK IF ONHOOK !
BNE L1;
TRAPT.W #$0014; ! EXIT !
L1:; ! YES MUSIC ON !
MOVE.B ($8A,A2),D1;
ADDI.B #10,D1;
CLR.W ($89,A2); ! CLEAR MUSICINFO, MUSIC_CONNECTED !
TRAPT.W #$0012;
MOVE.B D1,(A5)+;
MOVEA.L ($12,A6),A4; ! REL POINTER !
MOVE.L A4,D1;
TRAPEQ.W #QFP; ! QFP !
MOVE.W (9,A4),(A5)+; ! MULTNO !
MOVE.W #$4A,D0; ! DISCONTMS !
MOVE.W #$33B,D1; ! TSP UNITNO !
MOVE.B ($60,A0),D2; ! COWNLIMNO !
TRAPT.W #QSSA+256;
JMP PROGSTART+$C52;
L2:;
END;
!A;
/* DIGIT / LDSPEAK KEY */
PCASI:UNIT=KLP1T,CI=C92277A,IA=188E,RA=1896,REV=4-R7A,BYTE=4;
MOVEA.L ($E,A6),A5;
MOVE.L A5,D1;
TRAPEQ.W #QFP;
CMPI.B #$0E,D3; ! LOUDSPEAKER KEY ? !
BEQ L1;
MOVE.B ($8A,A5),D0; ! LOAD MUSICINFO !
CMPI.B #$0F,D0;
BNE L0;
CMPI.B #1,D3;
BLO L0;
CMPI.B #3,D3;
BHI L0;
MOVE.B D3,D0;
ADDI.B #$B,D0;
MOVE.B D0,($8A,A5); ! DIGIT 1, 2 OR 3 KEYED !
CLR.B ($89,A5); ! MARK NO MUSIC CONN. !
TRAPT.W #$0014; ! EXIT !
L1: MOVE.B #$0F,($8A,A5);
L0: CMP.B #$0F,D3; ! OLD CODE !
END;
!A;
/* ENDPRGMOD */
PCASI:UNIT=KLP1T,CI=C92277A,IA=5E7E,RA=5E86,REV=4-R7A;
END;
!A;
/* CRADRREQ */
PCASI:UNIT=KLP1T,CI=C92277A,IA=18344,RA=1834A,REV=4-R7A;
MOVE.W ($131,A6),D3; ! TPOINTER !
MOVE.W D3,($C,A6);
SUBA.L A2,A2;
SUBA.L A4,A4;
CMP.W ($50,A1),D3;
BCC TOOHIGH;
MOVE.W D3,D6;
MULU.W #$A1,D3;
MOVEA.L A0,A2;
ADDA.L ($58,A1),A2;
LEA.L (0,A2,D3.L),A2;
MULU.W #$11,D6;
MOVEA.L A1,A4;
ADDA.L ($52,A1),A4;
LEA.L (0,A4,D6.L),A4;
TOOHIGH:;
MOVEM.L A2/A4,($E,A6);
MOVEA.L ($E,A6),A3;
MOVE.L A3,D5;
TRAPEQ.W #QFP; ! QFP !
MOVEA.L ($12,A6),A4; ! REL POINTER !
MOVE.L A4,D1;
TRAPEQ.W #QFP; ! QFP !
MOVE.W ($9,A4),D5; ! MULTNO !
CMPI.W #$FFFF,D5;
BEQ L1;
MOVE.B ($89,A3),D5;
BEQ L2;
SUBQ #1,D5;
MOVE.B D5,($89,A3);
BNE L3;
MOVE.B ($8A,A3),D1;
ADDI.B #10,D1;
CLR.B ($8A,A3); ! MARK NO MUSIC CONNECTED !
TRAPT.W #$12; ! SEND DISTRMUPDATE !
MOVE.W (9,A4),(A5)+;
MOVE.B #$84,(A5)+;
MOVE.B #$00,(A5)+;
TRAPT.W #$409;
TRAPT.W #$0012;
MOVE.B D1,(A5)+;
MOVE.W (9,A4),(A5)+;
MOVE.W #$4A,D0; ! DISCONTMS !
MOVE.W #$33B,D1; ! TSP UNITNO !
MOVE.B ($60,A0),D2; ! COWNLIMNO !
TRAPT.W #$101;
TRAPT.W #$0012;
MOVE.W ($C,A6),(A5)+; ! INSPTR !
MOVE.W #$75,D0; ! FETDIRNO !
MOVE.W #$1CC,D1;
MOVE.B ($60,A0),D2; ! COWNLIMNO !
TRAPT.W #$101;
L3:;
MOVE.W ($1,A3),D2; ! CHECK BLOCKED VAR. !
BNE L1;
JMP (PROGSTART+$1835E); ! RESULT OK !
L1:;
CLR.W ($89,A3); ! MARK NO MUSIC CONNECTED !
L2:;
MOVEA.L (2,A6),A2; ! OLD CODE !
MOVE.L A2,D6;
END;
!A;
/* FREASGLSSIND */
PCASI:UNIT=KLP1T,CI=C92277A,IA=18EC4,RA=18ECE,REV=4-R7A,BYTE=6;
MOVE.B ($8A,A2),D5;
CMPI.B #$0C,D5;
BLO L0;
CMPI.B #$0F,D5;
BHI L0;
MOVEA.L ($12,A6),A4; ! REL POINTER !
MOVE.L A4,D1;
TRAPEQ.W #QFP; ! QFP !
TRAPT.W #$12; ! SEND DISTRMUPDATE !
MOVE.W (9,A4),(A5)+;
MOVE.B #$84,(A5)+;
MOVE.B #$00,(A5)+;
TRAPT.W #$409;
TRAPT.W #$0012;
MOVE.B ($8A,A2),D1;
ADDI.B #10,D1;
MOVE.B D1,(A5)+;
MOVE.W (9,A4),(A5)+;
MOVE.W #$4A,D0; ! DISCONTMS !
MOVE.W #$33B,D1; ! TSP UNITNO !
MOVE.B ($60,A0),D2; ! COWNLIMNO !
TRAPT.W #$101;
L0:;
END;
!A;
/* INIINSDATA */
PCASI:UNIT=KLP1T,CI=C92277A,IA=1C5CC,RA=1C5D2,REV=4-R7A,BYTE=6;
MOVE.W D5,($89,A4); ! CLEAR MUSICINFO !
END;
!A;
/* ENTPRGMOD */
PCASI:UNIT=KLP1T,CI=C92277A,IA=5FA0,RA=5FA8,REV=4-R7A,BYTE=8;
MOVE.B ($8A,A4),D4; ! LOUDSPEAKER KEY !
CMPI.B #$0C,D4;
BLO L1;
CMPI.B #$0F,D4;
BHI L1;
MOVE.B ($8A,A4),D2;
ADDI.B #10,D2;
CLR.W ($89,A4); ! MARK NO MUSIC CONN. !
MOVEA.L ($12,A6),A3; ! REL POINTER !
MOVE.L A3,D1;
TRAPEQ.W #$85; ! QFP !
TRAPT.W #$12; ! SEND DISTRMUPDATE !
MOVE.W (9,A3),(A5)+;
MOVE.B #$84,(A5)+;
MOVE.B #$00,(A5)+;
TRAPT.W #$409;
TRAPT.W #$0012;
MOVE.B D2,(A5)+;
MOVE.W (9,A3),(A5)+;
MOVE.W #$4A,D0; ! DISCONTMS !
MOVE.W #$33B,D1; ! TSP UNITNO !
MOVE.B ($60,A0),D2; ! COWNLIMNO !
TRAPT.W #$101;
L1:;
END;
!A;
/* ENTREGSTA */
PCASI:UNIT=KLP1T,CI=C92277A,IA=A8F8,RA=A8FE,REV=4-R7A,BYTE=6;
MOVE.B ($8A,A4),D0;
CMPI.B #$0C,D0;
BLO L0;
CMPI.B #$0F,D0;
BHI L0;
MOVE.B ($89,A4),D0;
BEQ L0;
MOVE.B ($8A,A4),D2;
ADDI.B #10,D2;
CLR.B ($89,A4); ! MARK NO MUSIC CONN. !
TRAPT.W #$12; ! SEND DISTRMUPDATE !
MOVEA.L ($12,A6),A3; ! REL POINTER !
MOVE.L A3,D1;
TRAPEQ.W #$85; ! QFP !
MOVE.W (9,A3),(A5)+;
MOVE.B #$84,(A5)+;
MOVE.B #$00,(A5)+;
TRAPT.W #$409;
TRAPT.W #$0012;
MOVE.B D2,(A5)+;
MOVE.W (9,A3),(A5)+;
MOVE.W #$4A,D0; ! DISCONTMS !
MOVE.W #$33B,D1; ! TSP UNITNO !
MOVE.B ($60,A0),D2; ! COWNLIMNO !
TRAPT.W #$101;
L0:;
END;
!A;
/* ENTSPESTA */
PCASI:UNIT=KLP1T,CI=C92277A,IA=B314,RA=B31A,REV=4-R7A,BYTE=6;
MOVE.L ($E,A6),A4;
MOVE.L A4,D0;
TRAPEQ.W #$85; ! QFP !
MOVE.B ($8A,A4),D0;
CMPI.B #$0C,D0;
BLO L0;
CMPI.B #$0F,D0;
BHI L0;
MOVE.B ($89,A4),D0;
BEQ L0;
MOVE.B ($8A,A4),D2;
ADDI.B #10,D2;
CLR.B ($89,A4); ! MARK NO MUSIC CONN. !
TRAPT.W #$12; ! SEND DISTRMUPDATE !
MOVEA.L ($12,A6),A4; ! REL POINTER !
MOVE.L A4,D1;
TRAPEQ.W #$85; ! QFP !
MOVE.W (9,A4),(A5)+;
MOVE.B #$84,(A5)+;
MOVE.B #$00,(A5)+;
TRAPT.W #$409;
TRAPT.W #$0012;
MOVE.B D2,(A5)+;
MOVE.W (9,A4),(A5)+;
MOVE.W #$4A,D0; ! DISCONTMS !
MOVE.W #$33B,D1; ! TSP UNITNO !
MOVE.B ($60,A0),D2; ! COWNLIMNO !
TRAPT.W #$101;
L0:;
END;
!A;
/* CALRCD36 */
PCASI:UNIT=KLP1T,CI=C92277A,IA=309E,RA=30A4,REV=4-R7A;
MOVEA.L ($E,A6),A2;
MOVE.L A2,D2;
TRAPEQ.W #$85;
MOVE.B ($8A,A2),D0;
CMPI.B #$0C,D0;
BLO L0;
CMPI.B #$0F,D0;
BHI L0;
MOVE.B ($89,A2),D0;
BEQ L0;
MOVE.B ($8A,A2),D2;
ADDI.B #10,D2;
CLR.B ($89,A2); ! MARK NO MUSIC CONN. !
TRAPT.W #$12; ! SEND DISTRMUPDATE !
MOVEA.L ($12,A6),A4; ! REL POINTER !
MOVE.L A4,D1;
TRAPEQ.W #$85; ! QFP !
MOVE.W (9,A4),(A5)+;
MOVE.B #$84,(A5)+;
MOVE.B #$00,(A5)+;
TRAPT.W #$409;
TRAPT.W #$0012;
MOVE.B D2,(A5)+;
MOVE.W (9,A4),(A5)+;
MOVE.W #$4A,D0; ! DISCONTMS !
MOVE.W #$33B,D1; ! TSP UNITNO !
MOVE.B ($60,A0),D2; ! COWNLIMNO !
TRAPT.W #$101;
L0:;
MOVEQ #1,D0; ! OLD CODE !
MOVEA.L (2,A6),A3;
END;
!A;
/* DISIDLINF */
PCASI:UNIT=KLP1T,CI=C92277A,IA=90E0,RA=90E6,REV=4-R7A,BYTE=2;
BEQ L5;
JMP (PROGSTART+$92DE); ! ELSE !
L5:;
MOVE.B ($8A,A3),D1;
CMPI.B #$0C,D1;
BLO L0;
CMPI.B #$0E,D1;
BHI L0;
MOVE.B ($89,A3),D1; ! CHECK IF MUSIC ALREADY CONN. !
BNE L2;
MOVEQ #8,D1; ! MARK MUSIC CONNECTED, SET TIMER !
MOVE.B D1,($89,A3);
TRAPT.W #$12; ! SEND DISTRMUPDATE !
MOVE.W (9,A2),(A5)+; ! MULTNO !
MOVE.B #$84,(A5)+; ! FCNTRANSMISSION !
MOVE.B #$02,(A5)+; ! LOUDSPEAK !
TRAPT.W #$409;
TRAPT.W #$0012;
MOVE.W ($61,A0),(A5)+; ! COWNUNITNO !
MOVE.W ($C,A6),(A5)+; ! INSPTR !
MOVE.B #0,(A5)+;
MOVE.W (9,A2),(A5)+; ! MULTNO !
MOVE.B ($8A,A3),D1;
ADDI.B #10,D1;
MOVE.B D1,(A5)+;
MOVE.W #1,(A5)+;
MOVE.W #$1B,D0; ! CONTMS !
MOVE.W #$33B,D1; ! TSP UNITNO !
MOVE.B ($60,A0),D2; ! COWNLIMNO !
TRAPT.W #$101;
L2:;
MOVE.L #$1D252319,D1; ! MUSI !
MOVE.L D1,($79,A0);
MOVE.B #$13,D1; ! C !
MOVE.B D1,($7D,A0);
L0:;
END;
!A;
PCACS:UNIT=KLP1T,CI=C92277A;
Y;
PCCOS:UNIT=KLP1T,CI=C92277A;
Y;
/*======================================================================*/
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top