Subversion Repositories Kolibri OS

Rev

Rev 3789 | Rev 3793 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. cmd_list:
  2.  
  3.         call    open_dataconnection
  4.  
  5.         mov     dword[s], "LIST"
  6.         mov     byte[s+4], 0x0a
  7.         mcall   send, [socketnum], s, 5
  8.  
  9.         jmp     wait_for_servercommand
  10.  
  11.  
  12. cmd_help:
  13.  
  14.         push    str_help
  15.         call    [con_write_asciiz]
  16.  
  17.         jmp     wait_for_usercommand
  18.  
  19. cmd_cwd:
  20.  
  21.         mov     dword[s], "CWD "
  22.  
  23.         mov     ecx, 256
  24.         xor     al, al
  25.         mov     edi, s
  26.         repne scasb
  27.         lea     esi, [edi - s - 1]
  28.  
  29.         mcall   send, [socketnum], s, , 0
  30.  
  31.         jmp     wait_for_servercommand