/programs/media/scrshoot/scrshoot.asm |
---|
14,8 → 14,6 |
; 31.01.07 - ¢áñ ⥯¥àì à¨áã¥âáï ®â®á¨â¥«ì® ª«¨¥â᪮© ®¡« á⨠|
; 02.11.10 - ᯮ«ì§ã¥âáï checkbox ¢¥àᨨ 2 |
format binary as "" |
title equ 'Screenshooter v 1.2' ; £®«®¢®ª ®ª |
include '../../develop/libraries/box_lib/load_lib.mac' |
include '../../develop/libraries/box_lib/trunk/box_lib.mac' |
/programs/media/scrshoot/gp.inc |
---|
17,8 → 17,6 |
cmp csi_bitspp,word 24 |
je .next_str_24 |
cmp csi_bitspp,word 16 |
je .next_str_16 |
.next_str_32: |
push edx ebx |
66,34 → 64,6 |
popa |
ret |
.next_str_16: |
push edx ebx |
xor ebx,ebx |
@@: |
;push eax |
mov eax,[gs:edx] |
shl eax, 3 |
ror eax, 8 |
shl ax, 2 |
ror eax, 8 |
shl al, 3 |
mov [edi+ecx+2],al |
rol eax, 16 |
mov [edi+ecx],ax |
;pop eax |
add ecx,3 |
add edx,2 |
inc bx |
cmp bx,csi_width |
jl @b |
pop ebx edx |
add edx,csi_bytesps |
inc bx |
cmp bx,csi_height |
jl .next_str_16 |
popa |
ret |
copy_area: |
mov eax,[scr.bytesps] |
mov ebx,eax |