Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1542 → Rev 2853

/kernel/branches/net/applications/synergyc/synergyc.asm
1,6 → 1,6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2010. All rights reserved. ;;
;; Copyright (C) KolibriOS team 2010-2012. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ;;
;; Synergyc.asm - Synergy client for KolibriOS ;;
12,6 → 12,8
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
format binary as ""
 
use32
org 0x0
 
19,16 → 21,20
dd 1 ; header version
dd start ; entry point
dd i_end ; initialized size
dd mem ; required memory
dd mem ; stack pointer
dd mem+0x1000 ; required memory
dd mem+0x1000 ; stack pointer
dd 0 ; parameters
dd path ; path
 
__DEBUG__ equ 1 ; enable/disable
__DEBUG_LEVEL__ equ 1 ; 1 = all, 2 = errors
 
BUFFERSIZE equ 1024
 
include '../proc32.inc'
include '../macros.inc'
purge mov,add,sub
include '../debug-fdo.inc'
include '../proc32.inc'
include '../dll.inc'
 
include '../network.inc'
41,7 → 47,7
mov ecx, 1024
repne scasb
dec edi
mov esi, filename
mov esi, filename ; append the path with '.ini'
movsd
movsb
 
348,8 → 354,8
@IMPORT:
 
library console, 'console.obj',\
libini, 'libini.obj',\
network, 'network.obj'
network, 'network.obj',\
libini, 'libini.obj'
 
import network,\
inet_addr, 'inet_addr'
368,6 → 374,8
ini.get_str, 'ini_get_str',\
ini.get_int, 'ini_get_int'
 
include_debug_strings
 
align 4
i_end:
socketnum dd ?