mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-13 10:27:12 +03:00
0698439542
git-svn-id: svn://kolibrios.org@8911 a494cfbc-eb01-0410-851d-a64ba20cac60
34 lines
462 B
NASM
34 lines
462 B
NASM
use32
|
|
|
|
format binary as ""
|
|
|
|
db 'MENUET01'
|
|
dd 1
|
|
dd start
|
|
dd i_end
|
|
dd mem
|
|
dd mem
|
|
dd 0
|
|
dd app_path
|
|
|
|
include '../../programs/macros.inc'
|
|
include '../../programs/proc32.inc'
|
|
include '../../programs/string.inc'
|
|
|
|
start:
|
|
stdcall string.concatenate, sz_dll, app_path
|
|
mov eax, 68
|
|
mov ebx, 21
|
|
mov ecx, app_path
|
|
int 0x40
|
|
|
|
mov eax, -1
|
|
int 0x40
|
|
|
|
align 4
|
|
app_path rb 2048
|
|
sz_dll db '.dll',0
|
|
i_end:
|
|
rb 128
|
|
mem:
|