39,9 → 39,18 |
include '../../proc32.inc' |
include '../../develop/libraries/box_lib/trunk/box_lib.mac' |
include '../../dll.inc' |
;include '../../debug.inc' |
include '../../debug.inc' |
|
|
; include '../include/lang.inc' |
; include '../include/macros.inc' |
; include '../include/proc32.inc' |
; include '../include/box_lib.mac' |
; include '../include/dll.inc' |
|
;------------------------------------------------------------------------------ |
START: ; start of execution |
|
mcall 68,11 |
stdcall dll.Load,IMPORTS |
test eax,eax |
119,7 → 128,7 |
rep stosd |
mov [nLoadIcon],0 |
stdcall [ini_enum_sections],IconIni,LoadIconsData |
;int3 |
|
mov eax,dword[PIcoDB] |
sub eax,[BegData] |
mov dword[SizeData],eax |
533,28 → 542,9 |
repne scasb |
repne scasb |
repne scasb |
mov al,[edi] |
;cmp al,'9' |
;ja PathToIcon |
cmp al,'/' |
jne GetIconInd |
|
PathToIcon: |
mov al,30h ;§ £«ãèª !!!!!!!!!!!!! |
mov byte[edi+1],0 |
|
jmp CopyToMem |
GetIconInd: |
|
sub al,30h |
cmp byte[edi+1],0 |
je @f |
shl eax,1 |
lea eax,[eax*4+eax] |
xor edx,edx |
mov dl,[edi+1] |
sub dl,30h |
add eax,edx |
;stdcall hexToInt,edi |
stdcall strToInt,edi |
@@: ;eax=num icon |
cmp eax,[icon_count] |
jb @f |
913,7 → 903,7 |
;ä®à¬ â IPC-á®®¡é¥¨ï |
;dd X |
;dd Y |
;asciiz Icon |
;asciiz Icon - in decimal |
;asciiz Name |
;asciiz Path |
;asciiz Params |
926,7 → 916,6 |
|
mov eax,IPCbuffer+8 |
mov dword[IPCbuffer],1 |
;mov edx,dword[IPCbuffer+4] |
lea edx,[eax+8] |
|
m2m dword[ix],dword[edx] |
1285,10 → 1274,10 |
|
align 4 |
bufStdIco rb 40 |
IconsOffs rd 100 ;â ¡«¨æ á 㪠§ ⥫ﬨ ª®ªà¥âë¥ ¨ª®ª¨(¤«ï ã᪮२ï) |
PIcoDB rd 1 |
IconsOffs rd 100h ;â ¡«¨æ á 㪠§ ⥫ﬨ ª®ªà¥âë¥ ¨ª®ª¨(¤«ï ã᪮२ï) |
PIcoDB rd 1 ;㪠§ â¥«ì ¡ãää¥à á ¨ä®© ®¡® ¢á¥å ¨ª®ª å |
nLoadIcon rd 1 ;®¬¥à ç¨â ¥¬®© ¨§ ini ¨ª®ª¨ |
IconsID rd 100 ;ID ¨ª®®ª - 2 ¡ ©âa + ¡ ©â 0 + ¢ëà ¢¨¢ î騩 ¡ ©â - áâப á 2¬ï è¥á ¤æ¥â¨à¨ç묨 æ¨äà ¬¨ |
IconsID rd 100h ;ID ¨ª®®ª - 2 ¡ ©âa + ¡ ©â 0 + ¢ëà ¢¨¢ î騩 ¡ ©â - áâப á 2¬ï è¥á ¤æ¥â¨à¨ç묨 æ¨äà ¬¨ |
|
nameSection rb 4 |
|
1335,4 → 1324,8 |
rb 512 |
stack_main: |
;------------------------------------------------------------------------------ |
|
|
|
|
ENDMEM: |