예제 #1
0
 public void setCurAddr(int addr)
 {
     if (addr == 768)
     {
         CLabWorks.Lab1_StartSound();
         addr = this.curAddr + 3;
     }
     this.curAddr = addr;
 }
예제 #2
0
 public bool callFunc(int addr)
 {
     if (addr == 768)
     {
         CLabWorks.Lab1_StartSound();
         return(true);
     }
     if (addr == 256)
     {
         this.seggg();
         return(true);
     }
     if (addr == 0x0400)
     {
         Delay();
         return(true);
     }
     return(false);
 }
예제 #3
0
        public static void Lab1_StartSound()
        {
            CLabWorks.Beep(1000U, 300U);
            Thread.Sleep(100);
            CLabWorks.Beep(500U, 300U);
            Thread.Sleep(100);
            CLabWorks.Beep(3000U, 300U);
            Thread.Sleep(100);
            CLabWorks.Beep(3100U, 400U);
            Thread.Sleep(100);
            CLabWorks.Beep(3000U, 300U);
            Thread.Sleep(100);
            CLabWorks.Beep(3100U, 400U);
            Thread.Sleep(100);
            CLabWorks.Beep(1000U, 200U);
            Thread.Sleep(100);
            CLabWorks.Beep(500U, 200U);
            Thread.Sleep(100);



            //SPPlayer.Play();
        }