mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 23:56:49 +03:00
16091ddd9e
@panel: to match K0581 distro: SYSMETER -> GMON @numcalc: moved to the appropriate place in repository HeEd: added english variant NetSendC, NetSendS: added english variant + optimization pic4: changes in set background + optimization tetris, @rcher, board, sysxtree, vrr: new versions from K0581 distro bgitest: fixed small error + ability to set language via lang.inc c4: small correction in label height to match K0581 distro git-svn-id: svn://kolibrios.org@131 a494cfbc-eb01-0410-851d-a64ba20cac60
50 lines
734 B
PHP
50 lines
734 B
PHP
lang equ ru
|
|
|
|
;
|
|
; Assembler
|
|
; SMALL
|
|
; CODE
|
|
; GaMe
|
|
; Libary
|
|
;
|
|
; Ver 0.03 By Pavlushin Evgeni (RUSSIA)
|
|
; www.waptap@mail.ru
|
|
|
|
;InfoList
|
|
;0.01 correct
|
|
;0.02 control ~14.05.2004
|
|
;0.03 all macros optimized by halyavin, add at ~07.06.2004
|
|
|
|
|
|
; corectiryemoe,corectnoe,step
|
|
macro correct arg1,arg2,arg3
|
|
{
|
|
local plus,minus,equal
|
|
mov eax,arg2
|
|
cmp arg1,eax
|
|
je equal
|
|
mov eax,arg3
|
|
ja minus
|
|
plus:
|
|
add arg1,eax
|
|
jmp equal
|
|
minus:
|
|
sub arg1,eax
|
|
equal:
|
|
}
|
|
|
|
macro control min,max,arg
|
|
{
|
|
local gr,low,norm
|
|
mov eax,max
|
|
cmp arg,eax
|
|
jg gr
|
|
mov eax,min
|
|
cmp arg,eax
|
|
jnl norm
|
|
gr:
|
|
low:
|
|
mov arg,eax
|
|
norm:
|
|
}
|