Rev 890 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 890 | Rev 928 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 890 $ |
8 | $Revision: 928 $ |
9 | 9 | ||
Line 157... | Line 157... | ||
157 | 157 | ||
158 | align 16 |
158 | align 16 |
159 | .main: |
159 | .main: |
160 | save_ring3_context |
160 | save_ring3_context |
161 | mov eax, [esp + 32] |
161 | mov eax, [esp + 32] |
162 | mov bx, app_data ;os_data |
162 | mov bx, sel_app_data |
163 | mov ds, bx |
163 | mov ds, bx |
Line 164... | Line 164... | ||
164 | mov es, bx |
164 | mov es, bx |
165 | 165 | ||
Line 512... | Line 512... | ||
512 | mov byte [buff+4], al |
512 | mov byte [buff+4], al |
513 | mov [name], ebx |
513 | mov [name], ebx |
Line 514... | Line 514... | ||
514 | 514 | ||
515 | mov eax, 70 |
515 | mov eax, 70 |
516 | lea ebx, [cmd] |
516 | lea ebx, [cmd] |
517 | int 0x40 |
517 | int 0x41 |
518 | ret |
518 | ret |
Line 519... | Line 519... | ||
519 | endp |
519 | endp |
520 | 520 |