Rev 3789 | Rev 3793 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3701 | hidnplayr | 1 | cmd_list: |
2 | |||
3 | call open_dataconnection |
||
4 | |||
5 | mov dword[s], "LIST" |
||
3789 | hidnplayr | 6 | mov byte[s+4], 0x0a |
7 | mcall send, [socketnum], s, 5 |
||
3701 | hidnplayr | 8 | |
3789 | hidnplayr | 9 | jmp wait_for_servercommand |
3701 | hidnplayr | 10 | |
11 | |||
12 | cmd_help: |
||
13 | |||
14 | push str_help |
||
15 | call [con_write_asciiz] |
||
16 | |||
3790 | hidnplayr | 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 |