Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 109 → Rev 143

/programs/system/vrr_m/trunk/vrr_m.asm
23,8 → 23,7
dd 0x0 ;  ¤à¥á ¡ãä¥à  ¤«ï ¯ à ¬¥â஢ (­¥ ¨á¯®«ì§ã¥âáï)
dd 0x0 ; § à¥§¥à¢¨à®¢ ­®
 
include 'lang.inc'
include 'macros.inc' ; ¬ ªà®áë ®¡«¥£ç îâ ¦¨§­ì  áᥬ¡«¥à騪®¢!
include 'MACROS.INC' ; ¬ ªà®áë ®¡«¥£ç îâ ¦¨§­ì  áᥬ¡«¥à騪®¢!
 
;---------------------------------------------------------------------
;--- €—€‹Ž Žƒ€ŒŒ› ----------------------------------------------
32,11 → 31,21
 
START:
; mcall 5,10
mcall 21,13,1,drvinfo
mov ecx, 1
mov edx, drvinfo
push @f
jmp call_driver
@@:
; jmp run_launcher
 
mcall 21,13,2
cmp eax,-1
mov ecx, 2
push @f
call_driver:
mcall 21,13
ret
@@:
; cmp eax,-1
inc eax
je run_launcher
; cmp ecx,280
; je change_vrr
64,34 → 73,34
; mov dx,[_m1+ebx]
; rol edx,16
;mov eax,ecx
xor eax,eax
sub ecx,3
mov dx,cx
cmp cx,274
je yes_274
cmp cx,277
mov eax, 10
cmp cx,277+3
je yes_277
jmp yes_280
cmp cx,274+3
jne yes_280
yes_274:
add al,10
yes_277:
add al,10
yes_280:
add al,10
ror edx,16
mov dx,[_m1+eax]
rol edx,16
; mov dx,bx
; shl edx,16
; mov dx,cx
mcall 21,13,3
; mcall 5,300
mov edx, [_m1+eax-2]
lea dx, [ecx-3]
push run_launcher
mov ecx, 3
jmp call_driver
run_launcher:
mcall 19,launcher,0
; mcall 33,text,drvinfo,512,0
mcall 70,launcher
mcall -1
launcher db 'LAUNCHER '
;text db 'TEXT '
launcher:
dd 7
dd 0
dd 0
dd 0
dd 0
db '/RD/1/LAUNCHER'
I_END: ; ¬¥âª  ª®­æ  ¯à®£à ¬¬ë
db ? ; system loader will zero all memory after program end
; this byte will be terminating zero for launcher string
drvinfo: ; 512 bytes driver info area
; +0 - Full driver name
; +32 - Driver version
104,5 → 113,3
org $+64
_m1:
org drvinfo+200h
 
I_END: ; ¬¥âª  ª®­æ  ¯à®£à ¬¬ë