forked from KolibriOS/kolibrios
devman/acpi.asm: run acpi.dll from its folder
git-svn-id: svn://kolibrios.org@8911 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
756f1b10a2
commit
0698439542
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
@ -1,6 +1,7 @@
|
||||
|
||||
use32
|
||||
|
||||
format binary as ""
|
||||
|
||||
db 'MENUET01'
|
||||
dd 1
|
||||
dd start
|
||||
@ -8,20 +9,25 @@ dd i_end
|
||||
dd mem
|
||||
dd mem
|
||||
dd 0
|
||||
dd 0
|
||||
dd app_path
|
||||
|
||||
include '../../programs/macros.inc'
|
||||
include '../../programs/proc32.inc'
|
||||
include '../../programs/string.inc'
|
||||
|
||||
start:
|
||||
mov eax, 68
|
||||
mov ebx, 21
|
||||
mov ecx, sz_acpi
|
||||
int 0x40
|
||||
stdcall string.concatenate, sz_dll, app_path
|
||||
mov eax, 68
|
||||
mov ebx, 21
|
||||
mov ecx, app_path
|
||||
int 0x40
|
||||
|
||||
mov eax, -1
|
||||
int 0x40
|
||||
|
||||
sz_acpi db '/rd/1/drivers/acpi.dll',0
|
||||
mov eax, -1
|
||||
int 0x40
|
||||
|
||||
align 4
|
||||
app_path rb 2048
|
||||
sz_dll db '.dll',0
|
||||
i_end:
|
||||
rb 128
|
||||
mem:
|
||||
|
@ -725,5 +725,5 @@ void SetFontSize(char _size)
|
||||
list.horisontal_selelection = true;
|
||||
list.SetSizes(0, TOOLBAR_H, Form.cwidth-scroll.size_x-1,
|
||||
Form.cheight - TOOLBAR_H - calc(search.visible * SEARCH_H) - STATUSBAR_H /*- TAB_H*/,
|
||||
math.round(list.font_h * 1.4));
|
||||
math.round(list.font_h * 1.3));
|
||||
}
|
Loading…
Reference in New Issue
Block a user