/kernel/trunk/core/dll.inc |
---|
1557,7 → 1557,11 |
jz .next |
push edx |
stdcall ebx, dword -1 |
mov ebp, esp |
push 0 |
push -1 |
call ebx |
mov esp, ebp |
pop edx |
jmp .next |
.done: |
/kernel/trunk/core/exports.inc |
---|
60,10 → 60,6 |
szClearEvent db 'ClearEvent',0 |
szLoadCursor db 'LoadCursor',0 |
szSelectHwCursor db 'SelectHwCursor',0 |
szSetHwCursor db 'SetHwCursor',0 |
szHwCursorRestore db 'HwCursorRestore', 0 |
szHwCursorCreate db 'HwCursorCreate', 0 |
szSysMsgBoardStr db 'SysMsgBoardStr', 0 |
szSysMsgBoardChar db 'SysMsgBoardChar', 0 |
134,11 → 130,6 |
dd szLoadCursor , load_cursor ;stdcall |
dd szSelectHwCursor , select_hw_cursor ;import stdcall |
dd szSetHwCursor , set_hw_cursor ;import stdcall |
dd szHwCursorRestore , hw_restore ;import |
dd szHwCursorCreate , create_cursor ;import |
dd szSysMsgBoardStr , sys_msg_board_str |
dd szSysMsgBoardChar , sys_msg_board |
dd szGetCurrentTask , get_curr_task |
/kernel/trunk/core/memory.inc |
---|
1189,14 → 1189,19 |
cmp ebx, OS_BASE |
jae .fail |
cmp ecx, OS_BASE |
jae .fail |
mov edi, ecx |
stdcall load_PE, ebx |
mov esi, eax |
test eax, eax |
jz @F |
mov esi, eax |
stdcall eax, DRV_ENTRY |
push edi |
push DRV_ENTRY |
call eax |
add esp, 8 |
test eax, eax |
jz @F |
/kernel/trunk/core/peload.inc |
---|
294,11 → 294,7 |
map_io_mem, 'MapIoMem', \ ; stdcall |
get_pg_addr, 'GetPgAddr', \ ; eax |
\ |
select_hw_cursor, 'SelectHwCursor', \ ; stdcall |
set_hw_cursor, 'SetHwCursor', \ ; stdcall |
hw_restore, 'HwCursorRestore', \ ; |
create_cursor, 'HwCursorCreate', \ ; |
\ |
get_display, 'GetDisplay', \ |
set_screen, 'SetScreen', \ |
pci_api, 'PciApi', \ |
pci_read8, 'PciRead8', \ ; stdcall |