Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2480 → Rev 2481

/programs/system/setup/trunk/setup.asm
3,7 → 3,11
;; DEVICE SETUP ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
; version: 1.14
; last update: 20/03/2012
; changed by: Marat Zakiyanov aka Mario79, aka Mario
; changes: optimisations and code refactoring
;---------------------------------------------------------------------
; Authors: Ville - original version
; A. Ivushkin - autostart (w launcher)
; M. Lisovin - added many feauters (apply all, save all, set time...)
90,13 → 94,14
ret
;-------------------------------------------------------------------------------
START:
cmp [I_PARAM],'SLAN'
mov eax,I_PARAM
cmp [eax],dword 'SLAN'
je set_syslanguage_and_exit
 
cmp [I_PARAM],'LANG'
cmp [eax],dword 'LANG'
je set_language_and_exit
 
cmp [I_PARAM],'BOOT'
cmp [eax],dword 'BOOT'
je apply_all_and_exit
 
call get_setup_values
421,6 → 426,12
xor esi,esi
mcall ,<40,(355+BBB)>,<40,(12*15)>,0xB4111199,,title
 
mcall 9,procinfo,-1
mov eax,[ebx+70] ;status of window
test eax,100b
jne .end
 
mcall 8,<(350-85),100>,<(5+14*8),12>,100,0x005588dd ; APPLY ALL
 
add ecx,16*65536 ; SAVE ALL
454,7 → 465,7
call draw_buttons
 
call draw_infotext
 
.end:
mcall 12,2
popa
ret
724,8 → 735,6
dd keyboard
file_name: db '/sys/setup.dat',0
;-------------------------------------------------------------------------------
I_PARAM dd 0
;-----------------------------------------------------------------------------
; Note to SVN revision 2299 - some parameters has not used,
; but keep the order of the parameter has always needed!
keyboard dd 0x0
748,9 → 757,13
rb LLL*(text1_strings + text2_strings)
;-----------------------------------------------------------------------------
align 4
I_PARAM:
procinfo:
rb 1024
;-----------------------------------------------------------------------------
align 4
rb 0x1000
stack_area:
;-----------------------------------------------------------------------------
;table_area:
I_END:
;-------------------------------------------------------------------------------