/kernel/trunk/core/dll.inc |
---|
301,12 → 301,6 |
ret |
endp |
align 4 |
proc get_curr_task |
mov eax, [current_slot_idx] |
shl eax, 8 |
ret |
endp |
align 4 |
proc get_fileinfo stdcall, file_name:dword, info:dword |
/kernel/trunk/core/exports.inc |
---|
99,7 → 99,7 |
\ |
load_cursor, 'LoadCursor', \ ;stdcall |
\ |
get_curr_task, 'GetCurrentTask', \ |
get_curr_slot, 'GetCurrSlot', \ |
change_task, 'ChangeTask', \ |
load_file, 'LoadFile', \ ;retval eax, ebx |
delay_ms, 'Sleep', \ |
/kernel/trunk/core/taskman.inc |
---|
1066,5 → 1066,9 |
mov eax, [eax + APPDATA.pl0_stack] |
ret |
align 4 |
get_curr_slot: |
mov eax, [current_slot] |
ret |
include "debug.inc" |