2006-01-03 10:43:31 +01:00
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
;; ;;
|
|
|
|
|
;; DEVICE SETUP ;;
|
|
|
|
|
;; ;;
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
|
|
|
|
|
; Authors: Ville - original version
|
|
|
|
|
; A. Ivushkin - autostart (w launcher)
|
|
|
|
|
; M. Lisovin - added many feauters (apply all, save all, set time...)
|
|
|
|
|
; I. Poddubny - fixed russian keymap
|
2006-08-14 17:24:38 +02:00
|
|
|
|
;14/08/06 Mario79 - added regulation of mouse features
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
;******************************************************************************
|
|
|
|
|
use32
|
2011-11-04 01:09:31 +01:00
|
|
|
|
org 0x0
|
|
|
|
|
db 'MENUET01' ; 8 byte identifier
|
|
|
|
|
dd 0x01 ; header version
|
|
|
|
|
dd START ; pointer to program start
|
|
|
|
|
dd I_END ; size of image
|
|
|
|
|
dd 0x4000 ; reguired amount of memory
|
|
|
|
|
dd 0x4000 ; stack pointer (esp)
|
|
|
|
|
dd I_PARAM,0 ; parameters, reserved
|
2007-05-10 15:48:35 +02:00
|
|
|
|
include '..\..\..\macros.inc'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
;******************************************************************************
|
|
|
|
|
|
|
|
|
|
LLL equ (56+3)
|
|
|
|
|
BBB equ 25
|
|
|
|
|
|
|
|
|
|
;******************************************************************************
|
|
|
|
|
apply_all:
|
|
|
|
|
|
|
|
|
|
call _pci_acc ;12
|
|
|
|
|
call _syslang ;5
|
|
|
|
|
call _keyboard ;2
|
2006-08-14 17:24:38 +02:00
|
|
|
|
call _mouse_speed
|
|
|
|
|
call _mouse_delay
|
2011-11-04 01:09:31 +01:00
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
ret
|
|
|
|
|
;-------------------------------------------------------------------------------
|
|
|
|
|
;******************************************************************************
|
|
|
|
|
apply_all_and_exit:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
|
|
|
|
|
mcall 70, read_fileinfo
|
|
|
|
|
call apply_all
|
|
|
|
|
jmp close
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
;******************************************************************************
|
|
|
|
|
set_language_and_exit:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
|
|
|
|
|
mcall 26, 2, 9
|
|
|
|
|
|
|
|
|
|
cmp eax, 1
|
|
|
|
|
je russian
|
|
|
|
|
|
|
|
|
|
xor eax,eax
|
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
set_lang_now:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
mov [keyboard], eax
|
|
|
|
|
call _keyboard
|
|
|
|
|
jmp close
|
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
russian:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
mov eax, 3
|
|
|
|
|
jmp set_lang_now
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
set_syslanguage_and_exit:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
|
|
|
|
|
mcall 26, 5
|
|
|
|
|
cmp eax,6
|
|
|
|
|
jne temp
|
|
|
|
|
xor eax,eax
|
|
|
|
|
|
|
|
|
|
temp:
|
|
|
|
|
inc eax
|
|
|
|
|
mov [syslang], eax
|
|
|
|
|
call _syslang
|
|
|
|
|
jmp close
|
|
|
|
|
|
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
get_setup_values:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
|
|
|
|
|
mcall 26, 2, 9
|
|
|
|
|
dec eax
|
|
|
|
|
mov [keyboard], eax
|
|
|
|
|
|
|
|
|
|
mcall 26, 5
|
|
|
|
|
mov [syslang], eax
|
|
|
|
|
|
|
|
|
|
mcall 26, 11
|
|
|
|
|
mov [lba_read], eax
|
|
|
|
|
|
|
|
|
|
mcall 26, 12
|
|
|
|
|
mov [pci_acc], eax
|
|
|
|
|
|
|
|
|
|
mcall 18, 19, 0
|
|
|
|
|
mov [mouse_speed], eax
|
|
|
|
|
|
|
|
|
|
mcall 18, 19, 2
|
|
|
|
|
mov [mouse_delay], eax
|
|
|
|
|
|
|
|
|
|
ret
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
;******************************************************************************
|
|
|
|
|
|
|
|
|
|
START:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
cmp [I_PARAM], 'SLAN'
|
|
|
|
|
je set_syslanguage_and_exit
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
cmp [I_PARAM], 'LANG'
|
|
|
|
|
je set_language_and_exit
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
cmp [I_PARAM], 'BOOT'
|
|
|
|
|
je apply_all_and_exit
|
|
|
|
|
|
|
|
|
|
call get_setup_values
|
|
|
|
|
call loadtxt
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
red:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
call draw_window
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
still:
|
|
|
|
|
|
|
|
|
|
sysevent:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
mov eax, 23
|
|
|
|
|
mov ebx, 8 ; wait here for event with timeout
|
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
cmp eax, 1
|
|
|
|
|
jz red
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
cmp eax, 2
|
|
|
|
|
jz key
|
|
|
|
|
|
|
|
|
|
cmp eax, 3
|
|
|
|
|
jz button
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
jmp still
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
key:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
;mov eax,2
|
|
|
|
|
mcall
|
|
|
|
|
|
|
|
|
|
jmp still
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
button:
|
|
|
|
|
|
|
|
|
|
mov eax,17
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
cmp ah,99
|
|
|
|
|
jne nosaveall
|
2006-08-13 15:02:57 +02:00
|
|
|
|
mcall 70,save_fileinfo
|
2011-11-04 01:09:31 +01:00
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jmp still
|
|
|
|
|
nosaveall:
|
|
|
|
|
cmp ah,100
|
|
|
|
|
jne no_apply_all
|
|
|
|
|
call apply_all
|
|
|
|
|
jmp still
|
|
|
|
|
no_apply_all:
|
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
cmp ah,1 ; CLOSE APPLICATION
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jne no_close
|
|
|
|
|
close:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
or eax,-1
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
no_close:
|
|
|
|
|
|
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
cmp ah,4 ; SET KEYBOARD
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jnz nokm
|
|
|
|
|
mov eax,[keyboard]
|
|
|
|
|
test eax,eax
|
2011-11-04 01:09:31 +01:00
|
|
|
|
je downuplbl
|
2006-01-03 10:43:31 +01:00
|
|
|
|
dec eax
|
|
|
|
|
jmp nodownup
|
|
|
|
|
downuplbl:
|
2007-01-14 16:21:41 +01:00
|
|
|
|
mov eax,5
|
2006-01-03 10:43:31 +01:00
|
|
|
|
nodownup:
|
|
|
|
|
mov [keyboard],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nokm:
|
|
|
|
|
cmp ah,5
|
|
|
|
|
jnz nokp
|
|
|
|
|
mov eax,[keyboard]
|
2007-01-14 16:21:41 +01:00
|
|
|
|
cmp eax,5
|
2011-11-04 01:09:31 +01:00
|
|
|
|
je updownlbl
|
2006-01-03 10:43:31 +01:00
|
|
|
|
inc eax
|
|
|
|
|
jmp noupdown
|
|
|
|
|
updownlbl:
|
|
|
|
|
xor eax,eax
|
|
|
|
|
noupdown:
|
|
|
|
|
mov [keyboard],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nokp:
|
|
|
|
|
|
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
cmp ah,92 ; SET LBA READ
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jne no_lba_d
|
|
|
|
|
slbal:
|
|
|
|
|
btc [lba_read],0
|
|
|
|
|
call draw_infotext
|
|
|
|
|
jmp still
|
|
|
|
|
no_lba_d:
|
|
|
|
|
cmp ah,93
|
|
|
|
|
jne no_lba_i
|
|
|
|
|
jmp slbal
|
|
|
|
|
no_lba_i:
|
|
|
|
|
cmp ah,91
|
|
|
|
|
jne no_set_lba_read
|
|
|
|
|
call _lba_read
|
|
|
|
|
jmp still
|
|
|
|
|
no_set_lba_read:
|
|
|
|
|
|
|
|
|
|
|
2006-08-13 15:02:57 +02:00
|
|
|
|
cmp ah,102 ; SET PCI ACCESS
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jne no_pci_d
|
|
|
|
|
pcip:
|
|
|
|
|
btc [pci_acc],0
|
|
|
|
|
call draw_infotext
|
|
|
|
|
jmp still
|
|
|
|
|
no_pci_d:
|
|
|
|
|
cmp ah,103
|
|
|
|
|
jne no_pci_i
|
|
|
|
|
jmp pcip
|
|
|
|
|
no_pci_i:
|
|
|
|
|
cmp ah,101
|
|
|
|
|
jne no_set_pci_acc
|
|
|
|
|
call _pci_acc
|
|
|
|
|
jmp still
|
|
|
|
|
no_set_pci_acc:
|
|
|
|
|
|
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
cmp ah,42 ; SET SYSTEM LANGUAGE BASE
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jnz nosysm
|
|
|
|
|
mov eax,[syslang]
|
|
|
|
|
dec eax
|
2011-11-04 01:09:31 +01:00
|
|
|
|
jz still
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov [syslang],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nosysm:
|
|
|
|
|
cmp ah,43
|
|
|
|
|
jnz nosysp
|
|
|
|
|
mov eax,[syslang]
|
2007-01-14 16:21:41 +01:00
|
|
|
|
cmp eax,6
|
2011-11-04 01:09:31 +01:00
|
|
|
|
je nosysp
|
2006-01-03 10:43:31 +01:00
|
|
|
|
inc eax
|
|
|
|
|
mov [syslang],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nosysp:
|
|
|
|
|
cmp ah,41
|
|
|
|
|
jnz nosyss
|
|
|
|
|
call _syslang
|
|
|
|
|
call cleantxt
|
|
|
|
|
call loadtxt
|
|
|
|
|
call draw_window
|
|
|
|
|
nosyss:
|
2006-08-13 15:02:57 +02:00
|
|
|
|
cmp ah,132 ; SET MOUSE SPEED
|
|
|
|
|
jnz .nominus
|
|
|
|
|
mov eax,[mouse_speed]
|
|
|
|
|
sub eax,2
|
|
|
|
|
cmp eax,9
|
2011-11-04 01:09:31 +01:00
|
|
|
|
jb @f
|
2006-08-13 15:02:57 +02:00
|
|
|
|
mov eax,8
|
|
|
|
|
@@:
|
|
|
|
|
inc eax
|
|
|
|
|
mov [mouse_speed],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
.nominus:
|
|
|
|
|
cmp ah,133
|
|
|
|
|
jnz .noplus
|
|
|
|
|
mov eax,[mouse_speed]
|
|
|
|
|
cmp eax,9
|
2011-11-04 01:09:31 +01:00
|
|
|
|
jb @f
|
2006-08-13 15:02:57 +02:00
|
|
|
|
mov eax,0
|
|
|
|
|
@@:
|
|
|
|
|
inc eax
|
|
|
|
|
mov [mouse_speed],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
.noplus:
|
|
|
|
|
cmp ah,131
|
|
|
|
|
jnz .noapply
|
2006-08-14 17:24:38 +02:00
|
|
|
|
call _mouse_speed
|
2006-08-13 15:02:57 +02:00
|
|
|
|
.noapply:
|
2006-08-14 17:24:38 +02:00
|
|
|
|
mousedelay:
|
|
|
|
|
cmp ah,142 ; SET MOUSE DELAY
|
|
|
|
|
jnz .nominus
|
|
|
|
|
mov eax,[mouse_delay]
|
|
|
|
|
sub eax,2
|
|
|
|
|
cmp eax,0xfff
|
2011-11-04 01:09:31 +01:00
|
|
|
|
jb @f
|
2006-08-14 17:24:38 +02:00
|
|
|
|
mov eax,0xffe
|
|
|
|
|
@@:
|
|
|
|
|
inc eax
|
|
|
|
|
mov [mouse_delay],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
.nominus:
|
|
|
|
|
cmp ah,143
|
|
|
|
|
jnz .noplus
|
|
|
|
|
mov eax,[mouse_delay]
|
|
|
|
|
cmp eax,0xfff
|
2011-11-04 01:09:31 +01:00
|
|
|
|
jb @f
|
2006-08-14 17:24:38 +02:00
|
|
|
|
mov eax,0
|
|
|
|
|
@@:
|
|
|
|
|
inc eax
|
|
|
|
|
mov [mouse_delay],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
.noplus:
|
|
|
|
|
cmp ah,141
|
|
|
|
|
jnz .noapply
|
|
|
|
|
call _mouse_delay
|
|
|
|
|
.noapply:
|
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
cmp ah,3 ; SET KEYMAP
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jne still
|
|
|
|
|
call _keyboard
|
|
|
|
|
jmp still
|
|
|
|
|
|
|
|
|
|
_keyboard:
|
|
|
|
|
cmp [keyboard],0
|
|
|
|
|
jnz nosetkeyle
|
|
|
|
|
mov eax,21 ; english
|
|
|
|
|
mov ebx,2
|
|
|
|
|
mov ecx,1
|
|
|
|
|
mov edx,en_keymap
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,en_keymap_shift
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,1
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call alt_gen
|
|
|
|
|
nosetkeyle:
|
|
|
|
|
cmp [keyboard],1
|
|
|
|
|
jnz nosetkeylfi
|
|
|
|
|
mov eax,21 ; finnish
|
|
|
|
|
mov ebx,2
|
|
|
|
|
mov ecx,1
|
|
|
|
|
mov edx,fi_keymap
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,fi_keymap_shift
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,2
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call alt_gen
|
|
|
|
|
nosetkeylfi:
|
|
|
|
|
cmp [keyboard],2
|
|
|
|
|
jnz nosetkeylge
|
|
|
|
|
mov eax,21 ; german
|
|
|
|
|
mov ebx,2
|
|
|
|
|
mov ecx,1
|
|
|
|
|
mov edx,ge_keymap
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,ge_keymap_shift
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,3
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call alt_gen
|
|
|
|
|
nosetkeylge:
|
|
|
|
|
cmp [keyboard],3
|
|
|
|
|
jnz nosetkeylru
|
|
|
|
|
mov eax,21 ; russian
|
|
|
|
|
mov ebx,2
|
|
|
|
|
mov ecx,1
|
|
|
|
|
mov edx,ru_keymap
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,ru_keymap_shift
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call alt_gen
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,4
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
nosetkeylru:
|
2011-11-04 01:09:31 +01:00
|
|
|
|
cmp [keyboard],4 ;french
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jnz nosetkeylfr
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,2
|
|
|
|
|
mov ecx,1
|
|
|
|
|
mov edx,fr_keymap
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,fr_keymap_shift
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,fr_keymap_alt_gr
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,5
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
nosetkeylfr:
|
2007-01-14 16:21:41 +01:00
|
|
|
|
cmp [keyboard],5
|
|
|
|
|
jnz nosetkeylet
|
|
|
|
|
mov eax,21 ; estonian
|
|
|
|
|
mov ebx,2
|
|
|
|
|
mov ecx,1
|
|
|
|
|
mov edx,et_keymap
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2007-01-14 16:21:41 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,et_keymap_shift
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2007-01-14 16:21:41 +01:00
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,6
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2007-01-14 16:21:41 +01:00
|
|
|
|
call alt_gen
|
|
|
|
|
nosetkeylet:
|
2006-01-03 10:43:31 +01:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
alt_gen:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,3
|
|
|
|
|
mov edx,alt_general
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
draw_buttons:
|
|
|
|
|
|
|
|
|
|
pusha
|
|
|
|
|
|
|
|
|
|
shl ecx,16
|
|
|
|
|
add ecx,12
|
|
|
|
|
mov ebx,(350-50)*65536+46+BBB
|
|
|
|
|
|
|
|
|
|
mov eax,8
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
mov ebx,(350-79)*65536+9
|
|
|
|
|
inc edx
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
mov ebx,(350-67)*65536+9
|
|
|
|
|
inc edx
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
popa
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; ********************************************
|
|
|
|
|
; ******* WINDOW DEFINITIONS AND DRAW *******
|
|
|
|
|
; ********************************************
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
draw_window:
|
|
|
|
|
|
|
|
|
|
pusha
|
|
|
|
|
|
|
|
|
|
mov eax,12
|
|
|
|
|
mov ebx,1
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2006-08-13 15:02:57 +02:00
|
|
|
|
xor eax,eax ; DRAW WINDOW
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov ebx,40*65536+355+BBB
|
2006-08-14 17:24:38 +02:00
|
|
|
|
mov ecx,40*65536+320
|
2007-06-22 22:24:06 +02:00
|
|
|
|
mov edx,0x94111199
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mov edi,title
|
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
mov eax,8 ; APPLY ALL
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov ebx,(350-79)*65536+100
|
2006-08-14 17:24:38 +02:00
|
|
|
|
mov ecx,282*65536+12
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov edx,100
|
2006-08-13 15:02:57 +02:00
|
|
|
|
mov esi,0x005588dd
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2011-11-04 01:09:31 +01:00
|
|
|
|
add ecx,16*65536 ; SAVE ALL
|
2006-01-03 10:43:31 +01:00
|
|
|
|
dec edx
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
mov esi,0x5580c0
|
|
|
|
|
|
|
|
|
|
mov edx,41
|
|
|
|
|
mov ecx,43+8*8
|
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,3
|
|
|
|
|
mov ecx,43+10*8
|
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,91
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov ecx,43+16*8
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,101
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov ecx,43+18*8
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
2006-08-13 15:02:57 +02:00
|
|
|
|
mov edx,131
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov ecx,43+24*8 ; 26
|
2006-08-13 15:02:57 +02:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
2006-08-14 17:24:38 +02:00
|
|
|
|
mov edx,141
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov ecx,43+26*8 ; 26
|
2006-08-14 17:24:38 +02:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call draw_infotext
|
|
|
|
|
|
|
|
|
|
mov eax,12
|
|
|
|
|
mov ebx,2
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
popa
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
draw_infotext:
|
|
|
|
|
|
|
|
|
|
pusha
|
|
|
|
|
|
2006-08-14 17:24:38 +02:00
|
|
|
|
mov eax,[keyboard] ; KEYBOARD
|
2006-01-03 10:43:31 +01:00
|
|
|
|
test eax,eax
|
|
|
|
|
jnz noen
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*5+28],dword 'ENGL'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'ISH '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
noen:
|
|
|
|
|
cmp eax,1
|
|
|
|
|
jnz nofi
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*5+28],dword 'FINN'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'ISH '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
nofi:
|
|
|
|
|
cmp eax,2
|
|
|
|
|
jnz noge
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*5+28],dword 'GERM'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'AN '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
noge:
|
|
|
|
|
cmp eax,3
|
|
|
|
|
jnz nogr
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*5+28],dword 'RUSS'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'IAN '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
nogr:
|
|
|
|
|
cmp eax,4
|
|
|
|
|
jnz nofr
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*5+28],dword 'FREN'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'CH '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
nofr:
|
2007-01-14 16:21:41 +01:00
|
|
|
|
cmp eax,5
|
|
|
|
|
jnz noet
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*5+28],dword 'ESTO'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'NIAN'
|
2007-01-14 16:21:41 +01:00
|
|
|
|
noet:
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
mov eax,[syslang] ; SYSTEM LANGUAGE
|
2006-01-03 10:43:31 +01:00
|
|
|
|
dec eax
|
|
|
|
|
test eax,eax
|
|
|
|
|
jnz noen5
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*4+28],dword 'ENGL'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'ISH '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
noen5:
|
|
|
|
|
cmp eax,1
|
|
|
|
|
jnz nofi5
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*4+28],dword 'FINN'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'ISH '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
nofi5:
|
|
|
|
|
cmp eax,2
|
|
|
|
|
jnz noge5
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*4+28],dword 'GERM'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'AN '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
noge5:
|
|
|
|
|
cmp eax,3
|
|
|
|
|
jnz nogr5
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*4+28],dword 'RUSS'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'IAN '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
nogr5:
|
|
|
|
|
cmp eax,4
|
|
|
|
|
jne nofr5
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*4+28],dword 'FREN'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'CH '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
nofr5:
|
2007-01-14 16:21:41 +01:00
|
|
|
|
cmp eax,5
|
|
|
|
|
jne noet5
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*4+28],dword 'ESTO'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'NIAN'
|
2007-01-14 16:21:41 +01:00
|
|
|
|
noet5:
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
mov eax,[lba_read]
|
2011-11-04 01:09:31 +01:00
|
|
|
|
call onoff ; LBA READ
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*8+28],ebx
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
mov eax,[pci_acc]
|
2011-11-04 01:09:31 +01:00
|
|
|
|
call onoff ; PCI ACCESS
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*9+28],ebx
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
mov eax,[mouse_speed] ; MOUSE SPEED
|
2006-08-13 15:02:57 +02:00
|
|
|
|
add al,48
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov [text00+LLL*12+28],al
|
2006-08-13 15:02:57 +02:00
|
|
|
|
|
2006-08-14 17:24:38 +02:00
|
|
|
|
mov eax,[mouse_delay]
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov esi,text00+LLL*13+32
|
2011-11-04 01:09:31 +01:00
|
|
|
|
call hexconvert ; MOUSE DELAY
|
2006-08-14 17:24:38 +02:00
|
|
|
|
|
2007-01-31 16:36:12 +01:00
|
|
|
|
call text_out
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
popa
|
|
|
|
|
ret
|
|
|
|
|
|
2007-01-31 16:36:12 +01:00
|
|
|
|
text_out:
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,13
|
|
|
|
|
mov ebx,175*65536+85
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov ecx,40*65536+225
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov edx,0x80111199-19
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
mov edx,text00
|
|
|
|
|
mov ebx,10*65536+45
|
|
|
|
|
mov eax,4
|
|
|
|
|
mov ecx,0xffffff
|
|
|
|
|
mov esi,LLL
|
2007-01-31 16:36:12 +01:00
|
|
|
|
mov ebp,text1_strings
|
|
|
|
|
newline:
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2007-01-31 16:36:12 +01:00
|
|
|
|
add ebx,8+8
|
|
|
|
|
add edx,esi
|
|
|
|
|
dec ebp
|
|
|
|
|
jnz newline
|
|
|
|
|
mov ebp,text2_strings
|
|
|
|
|
add ebx,8+8
|
|
|
|
|
@@:
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2007-01-31 16:36:12 +01:00
|
|
|
|
add ebx,8+8
|
|
|
|
|
add edx,esi
|
|
|
|
|
dec ebp
|
|
|
|
|
jnz @b
|
2006-01-03 10:43:31 +01:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
|
|
|
|
|
hexconvert: ;converting dec to hex in ascii
|
2006-01-03 10:43:31 +01:00
|
|
|
|
xor ebx,ebx
|
|
|
|
|
mov bl,al
|
|
|
|
|
and bl,15
|
|
|
|
|
add ebx,hex
|
|
|
|
|
mov cl,[ebx]
|
|
|
|
|
mov [esi],cl
|
|
|
|
|
shr eax,4
|
|
|
|
|
xor ebx,ebx
|
|
|
|
|
mov bl,al
|
|
|
|
|
and bl,15
|
|
|
|
|
add ebx,hex
|
|
|
|
|
mov cl,[ebx]
|
|
|
|
|
dec esi
|
|
|
|
|
mov [esi],cl
|
|
|
|
|
shr eax,4
|
|
|
|
|
xor ebx,ebx
|
|
|
|
|
mov bl,al
|
|
|
|
|
and bl,15
|
|
|
|
|
add ebx,hex
|
|
|
|
|
mov cl,[ebx]
|
|
|
|
|
dec esi
|
|
|
|
|
mov [esi],cl
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
onoff:
|
|
|
|
|
cmp [syslang],4
|
|
|
|
|
jne norus1
|
|
|
|
|
mov ebx,'<27><> '
|
|
|
|
|
cmp eax,1
|
2011-11-04 01:09:31 +01:00
|
|
|
|
je exitsub
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov ebx,'<27><><EFBFBD> '
|
|
|
|
|
ret
|
|
|
|
|
norus1:
|
|
|
|
|
mov ebx,'ON '
|
|
|
|
|
cmp eax,1
|
2011-11-04 01:09:31 +01:00
|
|
|
|
je exitsub
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov ebx,'OFF '
|
|
|
|
|
exitsub:
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_lba_read:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,11
|
|
|
|
|
mov ecx,[lba_read]
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
_pci_acc:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,12
|
|
|
|
|
mov ecx,[pci_acc]
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
_syslang:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,5
|
|
|
|
|
mov ecx,[syslang]
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
ret
|
|
|
|
|
|
2006-08-14 17:24:38 +02:00
|
|
|
|
_mouse_speed:
|
2006-08-13 15:02:57 +02:00
|
|
|
|
mov eax,18
|
|
|
|
|
mov ebx,19
|
|
|
|
|
mov ecx,1
|
|
|
|
|
mov edx,[mouse_speed]
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-08-13 15:02:57 +02:00
|
|
|
|
ret
|
|
|
|
|
|
2006-08-14 17:24:38 +02:00
|
|
|
|
_mouse_delay:
|
|
|
|
|
mov eax,18
|
|
|
|
|
mov ebx,19
|
|
|
|
|
mov ecx,3
|
|
|
|
|
mov edx,[mouse_delay]
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-08-14 17:24:38 +02:00
|
|
|
|
ret
|
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
loadtxt:
|
|
|
|
|
mov edi,text00
|
2006-08-14 17:24:38 +02:00
|
|
|
|
mov ecx,488 ;28
|
2006-01-03 10:43:31 +01:00
|
|
|
|
cmp [syslang],4
|
|
|
|
|
jne norus
|
|
|
|
|
mov esi,textrus
|
|
|
|
|
jmp sload
|
|
|
|
|
norus:
|
|
|
|
|
mov esi,texteng
|
|
|
|
|
sload:
|
|
|
|
|
rep movsd
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
cleantxt:
|
|
|
|
|
xor eax,eax
|
|
|
|
|
mov ecx,428
|
|
|
|
|
cld
|
|
|
|
|
mov edi,text00
|
|
|
|
|
rep stosd
|
|
|
|
|
mov [text00+1711],byte 'x'
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
; DATA AREA
|
2011-11-04 01:09:31 +01:00
|
|
|
|
count: db 0x0
|
2006-01-03 10:43:31 +01:00
|
|
|
|
blinkpar: dd 0x0
|
2011-11-04 01:09:31 +01:00
|
|
|
|
time: dw 0x0
|
|
|
|
|
date: dd 0x0
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
textrus:
|
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
db ' '
|
|
|
|
|
db ' '
|
|
|
|
|
db ' '
|
|
|
|
|
db ' '
|
|
|
|
|
db '?<3F><><EFBFBD> <20><><EFBFBD>⥬<EFBFBD> : ENGLISH - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '<27> ᪫ <20><> <20><> <20><> <20><><EFBFBD><EFBFBD> : ENGLISH - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db ' '
|
|
|
|
|
db ' '
|
|
|
|
|
db '?<3F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> LBA : OFF - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '?<3F><><EFBFBD><EFBFBD><EFBFBD> <20> 設<> PCI : OFF - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db ' '
|
|
|
|
|
db ' '
|
|
|
|
|
db '?<3F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> : 1 - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '? <20><>প <20>७<E1AAAE><E0A5AD> <20><><EFBFBD><EFBFBD> : 0x00a - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
2007-01-31 16:36:12 +01:00
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> '
|
|
|
|
|
db '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD> <20><><EFBFBD> '
|
|
|
|
|
|
|
|
|
|
texteng:
|
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
db ' '
|
|
|
|
|
db ' '
|
|
|
|
|
db ' '
|
|
|
|
|
db ' '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
db 'SYSTEM LANGUAGE : ENGLISH - + APPLY '
|
|
|
|
|
db 'KEYBOARD LAYOUT : ENGLISH - + APPLY '
|
2011-11-04 01:09:31 +01:00
|
|
|
|
db ' '
|
|
|
|
|
db ' '
|
2006-01-03 10:43:31 +01:00
|
|
|
|
db 'LBA READ ENABLED : OFF - + APPLY '
|
|
|
|
|
db 'PCI ACCESS FOR APPL. : OFF - + APPLY '
|
2011-11-04 01:09:31 +01:00
|
|
|
|
db ' '
|
|
|
|
|
db ' '
|
2006-08-13 15:02:57 +02:00
|
|
|
|
db 'Mouse pointer speed : 1 - + APPLY '
|
2006-08-14 17:24:38 +02:00
|
|
|
|
db 'Mouse pointer delay : 0x00a - + APPLY '
|
2007-01-31 16:36:12 +01:00
|
|
|
|
text1_strings = 14
|
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
db 'NOTE: APPLY ALL '
|
2011-11-04 01:09:31 +01:00
|
|
|
|
db 'SAVE YOUR SETTINGS BEFORE QUITING KOLIBRI SAVE ALL '
|
2007-01-31 16:36:12 +01:00
|
|
|
|
text2_strings = 2
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2007-05-10 15:48:35 +02:00
|
|
|
|
title db 'SETUP',0
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
hex db '0123456789ABCDEF'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-04 01:09:31 +01:00
|
|
|
|
include 'keymaps.inc'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-14 16:21:41 +01:00
|
|
|
|
|
2006-08-13 15:02:57 +02:00
|
|
|
|
read_fileinfo:
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
2007-01-31 16:36:12 +01:00
|
|
|
|
dd 48
|
2006-08-13 15:02:57 +02:00
|
|
|
|
dd keyboard
|
|
|
|
|
db 0
|
|
|
|
|
dd file_name
|
|
|
|
|
|
|
|
|
|
save_fileinfo:
|
|
|
|
|
dd 2
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
2007-01-31 16:36:12 +01:00
|
|
|
|
dd 48
|
2006-08-13 15:02:57 +02:00
|
|
|
|
dd keyboard
|
2007-05-30 16:45:45 +02:00
|
|
|
|
file_name: db '/sys/setup.dat',0
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2006-08-13 15:02:57 +02:00
|
|
|
|
I_PARAM dd 0
|
2011-11-27 16:38:24 +01:00
|
|
|
|
;-----------------------------------------------------------------------------
|
|
|
|
|
; Note to SVN revision 2299 - some parameters has not used,
|
|
|
|
|
; but keep the order of the parameter has always needed!
|
|
|
|
|
keyboard dd 0x0
|
|
|
|
|
dd 0 ;midibase - not use, but...
|
|
|
|
|
dd 0 ;cdbase - not use, but...
|
|
|
|
|
dd 0 ;sb16 - not use, but...
|
|
|
|
|
syslang dd 0x1
|
|
|
|
|
dd 0 ;hdbase - not use, but...
|
|
|
|
|
dd 0 ;f32p - not use, but...
|
|
|
|
|
dd 0 ;sound_dma - not use, but...
|
|
|
|
|
lba_read dd 0x1
|
|
|
|
|
pci_acc dd 0x1
|
|
|
|
|
mouse_speed dd 0x3
|
|
|
|
|
mouse_delay dd 0x10
|
|
|
|
|
;-----------------------------------------------------------------------------
|
2006-01-03 10:43:31 +01:00
|
|
|
|
text00:
|
|
|
|
|
|
|
|
|
|
I_END:
|
|
|
|
|
table_area:
|