Subversion Repositories Kolibri OS

Compare Revisions

No changes between revisions

Regard whitespace Rev 1609 → Rev 1610

/programs/media/scrshoot/build.sh
0,0 → 1,13
#!/bin/bash
# This script does for linux the same as build.bat for DOS,
# it compiles the KoOS kernel, hopefully ;-)
 
echo "lang fix ru"
echo "lang fix ru" > lang.inc
fasm -m 16384 scrshoot.asm scrshoot
rm -f lang.inc
exit 0
 
 
 
 
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/programs/media/scrshoot/scrshoot.asm
379,8 → 379,15
@@:
pop dword [scr_buf.size]
 
cmp [autoshoot_flag],1
jne .2
bt dword [ch5.flags],1 ; ¢ª«î祭® «¨  ¢â®á®åà ­¥­¨¥ ?
jnc @f
call save_file
@@:
draw_status shooted_ok
 
.2:
bt dword [flags],1
jnc @f
ret
457,7 → 464,7
xor ebx,ebx
inc ebx
mov ecx,scr_window
mov edx,i_end_tread-1000
mov edx,i_end_tread-512
mcall
@@:
popa
503,7 → 510,7
xor ebx,ebx
inc ebx
mov ecx,autoshoot
mov edx,i_end_tread-512
mov edx,i_end_tread
mcall
@@:
ret
515,6 → 522,7
 
;--- 横« ¯®â®ª   ¢â®áꥬª¨ ---
autoshoot:
mov [autoshoot_flag],1
mov ecx,[slot_n]
activ_window
.next:
528,7 → 536,9
mcall
call shoot
jmp autoshoot.next
 
.close:
mov [autoshoot_flag],0
jmp close
;--- ¯à®æ¥¤ãà  ¯à®à¨á®¢ª¨ áâப¨ á®áâ®ï­¨ï ---
; (¤®«¦­  ¢ë§ë¢ âìáï ¯®â®ª®¬ £« ¢­®£® ®ª­ )
dr_st:
892,6 → 902,7
db '2',0
 
PrintScreen db 0
autoshoot_flag db 0
app_ipc ipc_buffer 32
align 4