⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 show_stop_menu.lst

📁 炬力方案176*132软件源码,适用于AK1025
💻 LST
📖 第 1 页 / 共 5 页
字号:
    219                  {
    220                      show_error(CARDPULL);//显示卡拔出
    221                      g_record_vars.location.disk = 'C';
    222                      fselInit(DIRECTORY_ALL,  FSEL_DIR_END, FSEL_TYPE_COMMONDIR,g_record_vars.location.disk);
    223                      fselGetLocation(&g_record_vars.location);
    224                      //return RESULT_SD_OUT;
    225                      make_dirname();
    226                      return RESULT_DIR_CHANGED;
    227                  }
   \   01FF            ?0039:
   \   01FF            ?0037:
    228              }
    229              if(menu_flag)
   \   01FF  AF                XOR     A
   \   0200  DDB6F2            OR      (IX-14)
   \   0203  ED5B0400          LD      DE,(g_list+4)
   \   0207  2874              JR      Z,?0041
   \   0209            ?0040:
    230              {
    231              switch( g_list.active )
   \   0209  CD0000            CALL    LWRD ?S_S_SWITCH_L06
   \   020C  0000              DEFW    0
   \   020E  0400              DEFW    4
   \   0210  E603              DEFW    ?0083
   \   0212  1A02              DEFW    ?0043
   \   0214  D503              DEFW    ?0080
   \   0216  DC03              DEFW    ?0081
   \   0218  E603              DEFW    ?0083
   \   021A            ?0043:
    232              {
    233              case 0:        //local folder
    234                  if(g_record_vars.location.disk=='H')
   \   021A  3A0A00            LD      A,(g_record_vars+10)
   \   021D  FE48              CP      72
   \   021F  2005              JR      NZ,?0045
   \   0221            ?0044:
    235                  {
    236                          g_record_vars.location.disk='C' ;
    237                          memset(g_record_vars.location.filename,0,12);
   \   0221  CDF103            CALL    LWRD ?0197
    238                  }
    239                  else
   \   0224  1810              JR      ?0046
   \   0226            ?0045:
    240                  {
    241                  memcpy(file, g_record_vars.location.filename,12);
   \   0226  0E0C              LD      C,12
   \   0228  210400            LD      HL,4
   \   022B  39                ADD     HL,SP
   \   022C  EB                EX      DE,HL
   \   022D  212400            LD      HL,g_record_vars+36
   \   0230  EDB0              LDIR
    242                  g_record_vars.location.filename[0] = 0;
   \   0232  AF                XOR     A
   \   0233  322400            LD      (g_record_vars+36),A
   \   0236            ?0046:
    243                  }
    244                  //fselInit(DIRECTORY_ALL,  FSEL_DIR_END, FSEL_TYPE_COMMONDIR, 'C');
    245                  fselInit(DIRECTORY_ALL,  FSEL_DIR_END, FSEL_TYPE_COMMONDIR,g_record_vars.location.disk);
   \   0236  210A00            LD      HL,g_record_vars+10
   \   0239  4E                LD      C,(HL)
   \   023A  C5                PUSH    BC
   \   023B  0E00              LD      C,0
   \   023D  C5                PUSH    BC
   \   023E  CDFF03            CALL    LWRD ?0199
   \   0241  F1                POP     AF
   \   0242  F1                POP     AF
    246                  fselGetLocation(&g_record_vars.location);
   \   0243  CD0B04            CALL    LWRD ?0200
    247                  result =  ui_directory(&g_record_vars.location, DIRECTORY_ALL, g_comval.langid);
   \   0246  C5                PUSH    BC
   \   0247  CD1B04            CALL    LWRD ?0201
   \   024A  F1                POP     AF
   \   024B  DD75F0            LD      (IX-16),L
   \   024E  DD74F1            LD      (IX-15),H
    248                  memcpy(g_record_vars.location.filename, file, 12);
   \   0251  010C00            LD      BC,12
   \   0254  112400            LD      DE,g_record_vars+36
   \   0257  210400            LD      HL,4
   \   025A  39                ADD     HL,SP
   \   025B  EDB0              LDIR
    249                  g_menu_active = FALSE;
   \   025D  AF                XOR     A
   \   025E  320000            LD      (g_menu_active),A
    250          
    251                  if(result == RESULT_IGNORE)
   \   0261  3E34              LD      A,52
   \   0263  DDAEF0            XOR     (IX-16)
   \   0266  DDB6F1            OR      (IX-15)
   \   0269  2006              JR      NZ,?0048
   \   026B            ?0047:
    252                     result= 0;
   \   026B  DD77F0            LD      (IX-16),A
   \   026E  DD77F1            LD      (IX-15),A
   \   0271            ?0048:
    253                  if(result != 0) return result;
   \   0271  DD7EF0            LD      A,(IX-16)
   \   0274  DDB6F1            OR      (IX-15)
   \   0277  CAC803            JP      Z,?0079
   \   027A            ?0049:
   \   027A  C3C003            JP      LWRD ?0162
    254                  else
   \   027D            ?0050:
    255                  {
    256                      make_dirname();
    257                      return RESULT_DIR_CHANGED;
    258                  }
   \   027D            ?0051:
    259                  //break;
    260          
    261              case 1:
    262                  result =  show_RecFrom_menu();
    263          
    264                  return result;
    265          
    266              case 2:        //rec type
   \   027D            ?0052:
    267                  result =  show_rectype_menu();
    268          
    269                  return result;
    270                  //break;
    271              case 3:        //exit
   \   027D            ?0053:
    272                  return 0;
    273              default:
   \   027D            ?0054:
   \   027D            ?0042:
    274                  //ASSERT(FALSE);
    275                  ;
    276              }//switch
    277              return 0;
    278          
    279              }
   \   027D            ?0041:
    280              else //CARD
    281              {
    282                  switch( g_list.active )
   \   027D  CD0000            CALL    LWRD ?S_S_SWITCH_L06
   \   0280  0000              DEFW    0
   \   0282  0500              DEFW    5
   \   0284  E603              DEFW    ?0083
   \   0286  9002              DEFW    ?0056
   \   0288  F302              DEFW    ?0064
   \   028A  D503              DEFW    ?0080
   \   028C  DC03              DEFW    ?0081
   \   028E  E603              DEFW    ?0083
   \   0290            ?0056:
    283                  {
    284                  case 0:        //local folder
    285                      if(g_record_vars.location.disk=='H')
   \   0290  3A0A00            LD      A,(g_record_vars+10)
   \   0293  FE48              CP      72
   \   0295  2005              JR      NZ,?0058
   \   0297            ?0057:
    286                      {
    287                            g_record_vars.location.disk='C' ;
    288                           memset(g_record_vars.location.filename,0,12);
   \   0297  CDF103            CALL    LWRD ?0197
    289                      }
    290                      else
   \   029A  1810              JR      ?0059
   \   029C            ?0058:
    291                      {
    292                              memcpy(file, g_record_vars.location.filename,12);
   \   029C  0E0C              LD      C,12
   \   029E  210400            LD      HL,4
   \   02A1  39                ADD     HL,SP
   \   02A2  EB                EX      DE,HL
   \   02A3  212400            LD      HL,g_record_vars+36
   \   02A6  EDB0              LDIR
    293                              g_record_vars.location.filename[0] = 0;
   \   02A8  AF                XOR     A
   \   02A9  322400            LD      (g_record_vars+36),A
   \   02AC            ?0059:
    294                      }
    295                      fselInit(DIRECTORY_ALL,  FSEL_DIR_END, FSEL_TYPE_COMMONDIR,g_record_vars.location.disk);
   \   02AC  210A00            LD      HL,g_record_vars+10
   \   02AF  4E                LD      C,(HL)
   \   02B0  C5                PUSH    BC
   \   02B1  0E00              LD      C,0
   \   02B3  C5                PUSH    BC
   \   02B4  CDFF03            CALL    LWRD ?0199
   \   02B7  F1                POP     AF
   \   02B8  F1                POP     AF
    296                      fselGetLocation(&g_record_vars.location);
   \   02B9  CD0B04            CALL    LWRD ?0200
    297                      result =  ui_directory(&g_record_vars.location, DIRECTORY_ALL, g_comval.langid);
   \   02BC  C5                PUSH    BC
   \   02BD  CD1B04            CALL    LWRD ?0201
   \   02C0  F1                POP     AF
   \   02C1  DD75F0            LD      (IX-16),L
   \   02C4  DD74F1            LD      (IX-15),H
    298                      memcpy(g_record_vars.location.filename, file, 12);
   \   02C7  010C00            LD      BC,12
   \   02CA  112400            LD      DE,g_record_vars+36
   \   02CD  210400            LD      HL,4
   \   02D0  39                ADD     HL,SP
   \   02D1  EDB0              LDIR
    299                      g_menu_active = FALSE;
   \   02D3  AF                XOR     A
   \   02D4  320000            LD      (g_menu_active),A
    300          
    301                      if(result == RESULT_IGNORE)
   \   02D7  3E34              LD      A,52
   \   02D9  DDAEF0            XOR     (IX-16)
   \   02DC  DDB6F1            OR      (IX-15)
   \   02DF  2006              JR      NZ,?0061
   \   02E1            ?0060:
    302                        result= 0;
   \   02E1  DD77F0            LD      (IX-16),A
   \   02E4  DD77F1            LD      (IX-15),A
   \   02E7            ?0061:
    303                       if(result != 0) return result;
   \   02E7  DD7EF0            LD      A,(IX-16)
   \   02EA  DDB6F1            OR      (IX-15)
   \   02ED  CAC803            JP      Z,?0079
   \   02F0            ?0062:
   \   02F0  C3C003            JP      LWRD ?0162
    304                      else
   \   02F3            ?0063:
    305                       {
    306                         make_dirname();
    307                         return RESULT_DIR_CHANGED;
    308                      }
   \   02F3            ?0064:
    309          
    310                  case 1:        //card folder
    311          
    312                      if(g_record_vars.location.disk=='C')
   \   02F3  3A0A00            LD      A,(g_record_vars+10)
   \   02F6  FE43              CP      67
   \   02F8  2049              JR      NZ,?0066
   \   02FA            ?0065:
    313                      {
    314                                 g_record_vars.location.disk='H' ;
   \   02FA  3E48              LD      A,72
   \   02FC  320A00            LD      (g_record_vars+10),A
    315                                 result=fselInit(DIRECTORY_ALL,  FSEL_DIR_END, FSEL_TYPE_COMMONDIR,g_record_vars.location.disk);
   \   02FF  4F                LD      C,A
   \   0300  C5                PUSH    BC
   \   0301  48                LD      C,B
   \   0302  C5                PUSH    BC
   \   0303  CDFF03            CALL    LWRD ?0199
   \   0306  F1                POP     AF
   \   0307  F1                POP     AF
    316                                 if(!result)
   \   0308  7D                LD      A,L
   \   0309  B7                OR      A
   \   030A  201B              JR      NZ,?0068
   \   030C            ?0067:
    317                                 {
    318                                   g_record_vars.location.disk='C' ;
    319                                   show_error(CREADERR);//显示卡错
   \   030C  CD2804            CALL    LWRD ?0202
    320                                  fselInit(DIRECTORY_ALL,  FSEL_DIR_END, FSEL_TYPE_COMMONDIR,g_record_vars.location.disk);
   \   030F  210A00            LD      HL,g_record_vars+10
   \   0312  4E                LD      C,(HL)
   \   0313  C5                PUSH    BC
   \   0314  0E00              LD      C,0
   \   0316  C5                PUSH    BC
   \   0317  CDFF03            CALL    LWRD ?0199
   \   031A  F1                POP     AF
   \   031B  F1                POP     AF
    321                                  reset_record_dir();
   \   031C  3E00              LD      A,BYTE3 reset_record_dir
   \   031E  210000            LD      HL,LWRD reset_record_dir
   \   0321  CD0000            CALL    LWRD ?BANK_CALL_DIRECT_L08
    322                                  make_dirname();
   \   0324  C3C803            JP      LWRD ?0079
    323                                  return RESULT_DIR_CHANGED;
    324                                  //return 0;
    325          
    326                                 }
   \   0327            ?0068:
    327                                 if((g_record_vars.rec_bitrate==3)||(g_record_vars.rec_bitrate==2))
   \   0327  3A0300            LD      A,(g_record_vars+3)
   \   032A  FE03              CP      3
   \   032C  2804              JR      Z,?0071
   \   032E  3D                DEC     A
   \   032F  3D                DEC     A

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -