forked from KolibriOS/kolibrios
system function 40 now returns previous value of event mask
git-svn-id: svn://kolibrios.org@1153 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
2d1fa49773
commit
d867ba0459
@ -1937,7 +1937,7 @@ dd 638
|
|||||||
* ebx = ¬ α<C2A0> : ΅¨β i α®®βΆ¥βαβΆγ¥β α®΅λβ¨ξ i+1 (α¬. α―¨α®<CEB1> α®΅λ⨩)
|
* ebx = ¬ α<C2A0> : ΅¨β i α®®βΆ¥βαβΆγ¥β α®΅λβ¨ξ i+1 (α¬. α―¨α®<CEB1> α®΅λ⨩)
|
||||||
(γαβ ®Ά«¥λ© ΅¨β ΰ §ΰ¥θ ¥β ¨§Ά¥ι¥¨¥ ® α®΅λ⨨)
|
(γαβ ®Ά«¥λ© ΅¨β ΰ §ΰ¥θ ¥β ¨§Ά¥ι¥¨¥ ® α®΅λ⨨)
|
||||||
‚®§Άΰ ι ¥¬®¥ § 票¥:
|
‚®§Άΰ ι ¥¬®¥ § 票¥:
|
||||||
* δγͺζ¨ο ₯ ’<>§’ΰ ι ₯β § η₯¨ο
|
* eax = ―ΰ₯€λ€γι₯₯ § η₯¨₯ ¬ αͺ¨
|
||||||
‡ ¬¥η ¨ο:
|
‡ ¬¥η ¨ο:
|
||||||
* <20> α<C2A0> ―® 㬮«η ¨ξ (7=111b) ΰ §ΰ¥θ ¥β ¨§Ά¥ι¥¨ο ® ―¥ΰ¥ΰ¨α®Ά<C2AE>¥
|
* <20> α<C2A0> ―® 㬮«η ¨ξ (7=111b) ΰ §ΰ¥θ ¥β ¨§Ά¥ι¥¨ο ® ―¥ΰ¥ΰ¨α®Ά<C2AE>¥
|
||||||
¨ ¦ β¨οε <20>« Ά¨θ ¨ <20>®―®<E28095>.
|
¨ ¦ β¨οε <20>« Ά¨θ ¨ <20>®―®<E28095>.
|
||||||
|
@ -1914,7 +1914,7 @@ Parameters:
|
|||||||
* ebx = mask: bit i corresponds to event i+1 (see list of events)
|
* ebx = mask: bit i corresponds to event i+1 (see list of events)
|
||||||
(set bit permits notice on event)
|
(set bit permits notice on event)
|
||||||
Returned value:
|
Returned value:
|
||||||
* function does not return value
|
* eax = previous value of mask
|
||||||
Remarks:
|
Remarks:
|
||||||
* Default mask (7=111b) enables nofices about redraw,
|
* Default mask (7=111b) enables nofices about redraw,
|
||||||
keys and buttons. This is enough for many applications.
|
keys and buttons. This is enough for many applications.
|
||||||
|
@ -3720,7 +3720,9 @@ delay_ms: ; delay in 1/1000 sec
|
|||||||
|
|
||||||
set_app_param:
|
set_app_param:
|
||||||
mov edi, [TASK_BASE]
|
mov edi, [TASK_BASE]
|
||||||
|
mov eax, [edi + TASKDATA.event_mask]
|
||||||
mov [edi + TASKDATA.event_mask], ebx
|
mov [edi + TASKDATA.event_mask], ebx
|
||||||
|
mov [esp+32], eax
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user