2006-01-03 12:43:31 +03: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 19:24:38 +04:00
|
|
|
|
;14/08/06 Mario79 - added regulation of mouse features
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
;******************************************************************************
|
|
|
|
|
use32
|
2006-08-14 19:24:38 +04:00
|
|
|
|
org 0x0
|
2006-01-03 12:43:31 +03:00
|
|
|
|
db 'MENUET01' ; 8 byte identifier
|
2007-05-17 03:02:17 +04:00
|
|
|
|
dd 0x01 ; header version
|
2006-01-03 12:43:31 +03:00
|
|
|
|
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 17:48:35 +04:00
|
|
|
|
include '..\..\..\macros.inc'
|
2006-01-03 12:43:31 +03:00
|
|
|
|
;******************************************************************************
|
|
|
|
|
|
|
|
|
|
LLL equ (56+3)
|
|
|
|
|
BBB equ 25
|
|
|
|
|
|
|
|
|
|
;******************************************************************************
|
|
|
|
|
apply_all:
|
|
|
|
|
|
|
|
|
|
call _midibase ;1
|
|
|
|
|
call _sound_dma ;10
|
|
|
|
|
call _pci_acc ;12
|
2006-08-14 19:24:38 +04:00
|
|
|
|
call _sb16 ;4
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call _syslang ;5
|
|
|
|
|
call _keyboard ;2
|
2006-08-14 19:24:38 +04:00
|
|
|
|
call _mouse_speed
|
|
|
|
|
call _mouse_delay
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call get_disk_info
|
|
|
|
|
cmp [cd],0
|
|
|
|
|
jne no_cd
|
|
|
|
|
call _cdbase ;3
|
|
|
|
|
no_cd:
|
|
|
|
|
cmp [hd],0
|
|
|
|
|
jne no_hd
|
|
|
|
|
call _lba_read ;11
|
|
|
|
|
call _hdbase ;7
|
2006-08-14 19:24:38 +04:00
|
|
|
|
call _f32p ;8
|
2006-01-03 12:43:31 +03:00
|
|
|
|
no_hd:
|
|
|
|
|
ret
|
|
|
|
|
;-------------------------------------------------------------------------------
|
|
|
|
|
get_disk_info:
|
|
|
|
|
mov [hd],1
|
|
|
|
|
mov [cd],1
|
|
|
|
|
mov [hdbase],0
|
|
|
|
|
mov [cdbase],0
|
|
|
|
|
mcall 18,11,1,table_area
|
|
|
|
|
|
|
|
|
|
ide_0:
|
|
|
|
|
mov al,[table_area+1]
|
|
|
|
|
shr al,6
|
|
|
|
|
cmp al,0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je ide_1
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp al,01b
|
|
|
|
|
jnz ide_0_cd
|
|
|
|
|
mov [hdbase],1
|
|
|
|
|
mov [hd],0
|
|
|
|
|
jmp ide_1
|
|
|
|
|
|
|
|
|
|
ide_0_cd:
|
|
|
|
|
cmp al,10b
|
|
|
|
|
jnz ide_1
|
|
|
|
|
mov [cdbase],1
|
|
|
|
|
mov [cd],0
|
|
|
|
|
cmp [hd],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je all_device
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
ide_1:
|
|
|
|
|
mov al,[table_area+1]
|
|
|
|
|
shl al,2
|
|
|
|
|
shr al,6
|
|
|
|
|
cmp al,0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je ide_2
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp al,01b
|
|
|
|
|
jnz ide_1_cd
|
|
|
|
|
cmp [hd],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je ide_11
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov [hdbase],2
|
|
|
|
|
mov [hd],0
|
|
|
|
|
ide_11:
|
|
|
|
|
cmp [cd],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je all_device
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jmp ide_2
|
|
|
|
|
|
|
|
|
|
ide_1_cd:
|
|
|
|
|
cmp al,10b
|
|
|
|
|
jnz ide_2
|
|
|
|
|
cmp [cd],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je ide_11_cd
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov [cdbase],2
|
|
|
|
|
mov [cd],0
|
|
|
|
|
ide_11_cd:
|
|
|
|
|
cmp [hd],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je all_device
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
ide_2:
|
|
|
|
|
mov al,[table_area+1]
|
|
|
|
|
shl al,4
|
|
|
|
|
shr al,6
|
|
|
|
|
cmp al,0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je ide_3
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp al,01b
|
|
|
|
|
jnz ide_2_cd
|
|
|
|
|
cmp [hd],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je ide_21
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov [hdbase],3
|
|
|
|
|
mov [hd],0
|
|
|
|
|
ide_21:
|
|
|
|
|
cmp [cd],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je all_device
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jmp ide_3
|
|
|
|
|
|
|
|
|
|
ide_2_cd:
|
|
|
|
|
cmp al,10b
|
|
|
|
|
jnz ide_3
|
|
|
|
|
cmp [cd],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je ide_21_cd
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov [cdbase],3
|
|
|
|
|
mov [cd],0
|
|
|
|
|
ide_21_cd:
|
|
|
|
|
cmp [hd],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je all_device
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
ide_3:
|
|
|
|
|
mov al,[table_area+1]
|
|
|
|
|
shl al,6
|
|
|
|
|
shr al,6
|
|
|
|
|
cmp al,0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je not_device
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp al,01b
|
|
|
|
|
jnz ide_3_cd
|
|
|
|
|
cmp [hd],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je ide_31
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov [hdbase],4
|
|
|
|
|
mov [hd],0
|
|
|
|
|
ide_31:
|
|
|
|
|
cmp [cd],0
|
|
|
|
|
jmp all_device
|
|
|
|
|
|
|
|
|
|
ide_3_cd:
|
|
|
|
|
cmp al,10b
|
|
|
|
|
jnz not_device
|
|
|
|
|
cmp [cd],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je all_device
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov [cdbase],4
|
|
|
|
|
mov [cd],0
|
|
|
|
|
|
|
|
|
|
all_device:
|
|
|
|
|
not_device:
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
hd db 0
|
|
|
|
|
cd db 0
|
|
|
|
|
;******************************************************************************
|
|
|
|
|
apply_all_and_exit:
|
2006-08-13 17:02:57 +04:00
|
|
|
|
mcall 70,read_fileinfo
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call apply_all
|
|
|
|
|
jmp close
|
|
|
|
|
|
|
|
|
|
;******************************************************************************
|
|
|
|
|
set_language_and_exit:
|
|
|
|
|
mov eax,26
|
|
|
|
|
mov ebx,2
|
|
|
|
|
mov ecx,9
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
; cmp eax,5
|
|
|
|
|
; jne @f
|
|
|
|
|
; xor eax,eax
|
|
|
|
|
;@@: mov [keyboard],eax
|
|
|
|
|
cmp eax,1
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je russian
|
2006-01-03 12:43:31 +03:00
|
|
|
|
xor eax,eax
|
|
|
|
|
set_lang_now:
|
|
|
|
|
mov [keyboard],eax
|
|
|
|
|
call _keyboard
|
|
|
|
|
jmp close
|
|
|
|
|
russian:
|
|
|
|
|
mov eax,3
|
|
|
|
|
jmp set_lang_now
|
|
|
|
|
|
|
|
|
|
set_syslanguage_and_exit:
|
|
|
|
|
mov eax,26
|
|
|
|
|
mov ebx,5
|
|
|
|
|
; mov ecx,9
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2007-01-14 18:21:41 +03:00
|
|
|
|
cmp eax,6
|
2006-08-14 19:24:38 +04:00
|
|
|
|
jne temp ;@f
|
2006-01-03 12:43:31 +03:00
|
|
|
|
xor eax,eax
|
|
|
|
|
;@@: inc eax
|
|
|
|
|
temp: inc eax
|
|
|
|
|
mov [syslang],eax
|
|
|
|
|
call _syslang
|
|
|
|
|
jmp close
|
|
|
|
|
|
|
|
|
|
get_setup_values:
|
|
|
|
|
mcall 26,1
|
|
|
|
|
mov [midibase],eax
|
|
|
|
|
mcall 26,2,9
|
|
|
|
|
dec eax
|
|
|
|
|
mov [keyboard],eax
|
|
|
|
|
mcall 26,3
|
|
|
|
|
mov [cdbase],eax
|
|
|
|
|
mcall 26,4
|
|
|
|
|
mov [sb16],eax
|
|
|
|
|
mcall 26,5
|
|
|
|
|
mov [syslang],eax
|
|
|
|
|
mcall 26,7
|
|
|
|
|
mov [hdbase],eax
|
|
|
|
|
mcall 26,8
|
|
|
|
|
mov [f32p],eax
|
|
|
|
|
mcall 26,10
|
|
|
|
|
mov [sound_dma],eax
|
|
|
|
|
mcall 26,11
|
|
|
|
|
mov [lba_read],eax
|
|
|
|
|
mcall 26,12
|
|
|
|
|
mov [pci_acc],eax
|
2006-08-13 17:02:57 +04:00
|
|
|
|
mcall 18,19,0
|
|
|
|
|
mov [mouse_speed],eax
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mcall 18,19,2
|
|
|
|
|
mov [mouse_delay],eax
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
;******************************************************************************
|
|
|
|
|
|
|
|
|
|
START:
|
|
|
|
|
cmp [I_PARAM], 'SLAN'
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je set_syslanguage_and_exit
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
cmp [I_PARAM], 'LANG'
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je set_language_and_exit
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
cmp [I_PARAM], 'BOOT'
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je apply_all_and_exit
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
call get_setup_values
|
2006-08-13 17:02:57 +04:00
|
|
|
|
call loadtxt
|
2006-01-03 12:43:31 +03:00
|
|
|
|
red:
|
|
|
|
|
call draw_window
|
|
|
|
|
|
|
|
|
|
still:
|
|
|
|
|
|
|
|
|
|
cmp word [blinkpar],0
|
|
|
|
|
jne blinker
|
2006-08-13 17:02:57 +04:00
|
|
|
|
mov eax,29 ;get system date
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp eax,[date]
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je gettime
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov [date],eax
|
|
|
|
|
gettime:
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov eax,3 ;get system time
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp ax,[time]
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je sysevent
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov [time],ax
|
|
|
|
|
call drawtime
|
|
|
|
|
|
|
|
|
|
sysevent:
|
|
|
|
|
mov eax,23
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov ebx,8 ; wait here for event with timeout
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
cmp eax,1
|
2006-08-14 19:24:38 +04:00
|
|
|
|
jz red
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp eax,2
|
2006-08-14 19:24:38 +04:00
|
|
|
|
jz key
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp eax,3
|
2006-08-14 19:24:38 +04:00
|
|
|
|
jz button
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
jmp still
|
|
|
|
|
|
|
|
|
|
blinker:
|
|
|
|
|
cmp byte [count],6
|
2006-08-14 19:24:38 +04:00
|
|
|
|
jb noblink
|
2006-01-03 12:43:31 +03:00
|
|
|
|
btc dword [blinkpar],16
|
|
|
|
|
mov byte [count],0
|
|
|
|
|
call drawtime
|
|
|
|
|
noblink:
|
|
|
|
|
inc byte [count]
|
|
|
|
|
jmp sysevent
|
|
|
|
|
|
|
|
|
|
incdectime:
|
|
|
|
|
cmp byte [blinkpar],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je still
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov esi,time
|
|
|
|
|
mov bl,0x23 ;border
|
|
|
|
|
cmp byte [blinkpar],1
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je hours
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov bl,0x59 ;minutes
|
|
|
|
|
inc esi
|
|
|
|
|
hours:
|
|
|
|
|
mov al,byte [esi]
|
|
|
|
|
cmp ah,112
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je dectime
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp al,bl
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je noinctime
|
2006-01-03 12:43:31 +03:00
|
|
|
|
inc al
|
|
|
|
|
daa
|
|
|
|
|
jmp incdectime1
|
|
|
|
|
noinctime:
|
|
|
|
|
xor al,al
|
|
|
|
|
incdectime1:
|
|
|
|
|
mov byte [esi],al
|
|
|
|
|
jmp still
|
|
|
|
|
dectime:
|
|
|
|
|
cmp al,0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je nodectime
|
2006-01-03 12:43:31 +03:00
|
|
|
|
dec al
|
|
|
|
|
das
|
|
|
|
|
jmp incdectime1
|
|
|
|
|
nodectime:
|
|
|
|
|
mov al,bl
|
|
|
|
|
jmp incdectime1
|
|
|
|
|
|
|
|
|
|
incdecdate:
|
|
|
|
|
cmp byte [blinkpar+1],0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je still
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov esi,date
|
|
|
|
|
mov bl,0 ;border of years
|
|
|
|
|
cmp byte [blinkpar+1],1
|
|
|
|
|
jne days
|
2006-08-13 17:02:57 +04:00
|
|
|
|
mov bl,0x12 ;months
|
2006-01-03 12:43:31 +03:00
|
|
|
|
inc esi
|
|
|
|
|
days:
|
|
|
|
|
cmp byte [blinkpar+1],2
|
|
|
|
|
jne nodays
|
|
|
|
|
mov bl,0x31
|
|
|
|
|
add esi,2
|
|
|
|
|
nodays:
|
|
|
|
|
mov al,byte [esi]
|
|
|
|
|
cmp ah,122
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je decdate
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp al,bl
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je noincdate
|
2006-01-03 12:43:31 +03:00
|
|
|
|
inc al ;add al,1
|
|
|
|
|
daa
|
|
|
|
|
jmp incdecdate1
|
|
|
|
|
noincdate:
|
|
|
|
|
mov al,1
|
|
|
|
|
incdecdate1:
|
|
|
|
|
mov byte [esi],al
|
|
|
|
|
jmp still
|
|
|
|
|
decdate:
|
|
|
|
|
cmp al,1
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je nodecdate
|
2006-01-03 12:43:31 +03:00
|
|
|
|
dec al
|
|
|
|
|
das
|
|
|
|
|
jmp incdecdate1
|
|
|
|
|
nodecdate:
|
|
|
|
|
mov al,bl
|
|
|
|
|
jmp incdecdate1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
key:
|
|
|
|
|
;mov eax,2
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp ah,27
|
|
|
|
|
jne still
|
|
|
|
|
mov dword [blinkpar],0
|
|
|
|
|
call drawtime
|
|
|
|
|
jmp still
|
|
|
|
|
|
|
|
|
|
button:
|
|
|
|
|
|
|
|
|
|
mov eax,17
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
cmp ah,112
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je incdectime
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp ah,113
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je incdectime
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp ah,122
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je incdecdate
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp ah,123
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je incdecdate
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp ah,111
|
|
|
|
|
jne noseltime
|
|
|
|
|
mov al, [blinkpar]
|
|
|
|
|
cmp al,2
|
|
|
|
|
jae seltime
|
|
|
|
|
inc al
|
|
|
|
|
jmp seltime1
|
|
|
|
|
seltime:
|
|
|
|
|
xor al,al
|
|
|
|
|
seltime1:
|
|
|
|
|
mov [blinkpar],al
|
|
|
|
|
call drawtime
|
|
|
|
|
jmp still
|
|
|
|
|
noseltime:
|
|
|
|
|
cmp ah,121
|
|
|
|
|
jne noseldate
|
|
|
|
|
mov al,byte [blinkpar+1]
|
|
|
|
|
cmp al,3
|
|
|
|
|
jae seldate
|
|
|
|
|
inc al
|
|
|
|
|
jmp seldate1
|
|
|
|
|
seldate:
|
|
|
|
|
xor al,al
|
|
|
|
|
seldate1:
|
|
|
|
|
mov [blinkpar+1],al
|
|
|
|
|
call drawtime
|
|
|
|
|
jmp still
|
|
|
|
|
noseldate:
|
|
|
|
|
cmp ah,99
|
|
|
|
|
jne nosaveall
|
2006-08-13 17:02:57 +04:00
|
|
|
|
mcall 70,save_fileinfo
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov dword [blinkpar],0
|
|
|
|
|
call drawtime
|
|
|
|
|
jmp still
|
|
|
|
|
nosaveall:
|
|
|
|
|
cmp ah,100
|
|
|
|
|
jne no_apply_all
|
|
|
|
|
call apply_all
|
|
|
|
|
jmp still
|
|
|
|
|
no_apply_all:
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp ah,1 ; CLOSE APPLICATION
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jne no_close
|
|
|
|
|
close:
|
2006-08-14 19:24:38 +04:00
|
|
|
|
or eax,-1
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
no_close:
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp ah,11 ; SET MIDI BASE
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jnz nosetbase1
|
|
|
|
|
call _midibase
|
|
|
|
|
nosetbase1:
|
|
|
|
|
cmp ah,12
|
|
|
|
|
jnz nomm
|
|
|
|
|
sub [midibase],2
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nomm:
|
|
|
|
|
cmp ah,13
|
|
|
|
|
jnz nomp
|
|
|
|
|
add [midibase],2
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nomp:
|
|
|
|
|
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp ah,4 ; SET KEYBOARD
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jnz nokm
|
|
|
|
|
mov eax,[keyboard]
|
|
|
|
|
test eax,eax
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je downuplbl
|
2006-01-03 12:43:31 +03:00
|
|
|
|
dec eax
|
|
|
|
|
jmp nodownup
|
|
|
|
|
downuplbl:
|
2007-01-14 18:21:41 +03:00
|
|
|
|
mov eax,5
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nodownup:
|
|
|
|
|
mov [keyboard],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nokm:
|
|
|
|
|
cmp ah,5
|
|
|
|
|
jnz nokp
|
|
|
|
|
mov eax,[keyboard]
|
2007-01-14 18:21:41 +03:00
|
|
|
|
cmp eax,5
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je updownlbl
|
2006-01-03 12:43:31 +03:00
|
|
|
|
inc eax
|
|
|
|
|
jmp noupdown
|
|
|
|
|
updownlbl:
|
|
|
|
|
xor eax,eax
|
|
|
|
|
noupdown:
|
|
|
|
|
mov [keyboard],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nokp:
|
|
|
|
|
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp ah,22 ; SET CD BASE
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jnz nocm
|
|
|
|
|
mov eax,[cdbase]
|
|
|
|
|
sub eax,2
|
|
|
|
|
and eax,3
|
|
|
|
|
inc eax
|
|
|
|
|
mov [cdbase],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nocm:
|
|
|
|
|
cmp ah,23
|
|
|
|
|
jnz nocp
|
|
|
|
|
mov eax,[cdbase]
|
|
|
|
|
and eax,3
|
|
|
|
|
inc eax
|
|
|
|
|
mov [cdbase],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nocp:
|
|
|
|
|
cmp ah,21
|
|
|
|
|
jnz nocs
|
|
|
|
|
call _cdbase
|
|
|
|
|
nocs:
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp ah,62 ; SET HD BASE
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jnz hnocm
|
|
|
|
|
mov eax,[hdbase]
|
|
|
|
|
sub eax,2
|
|
|
|
|
and eax,3
|
|
|
|
|
inc eax
|
|
|
|
|
mov [hdbase],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
hnocm:
|
|
|
|
|
cmp ah,63
|
|
|
|
|
jnz hnocp
|
|
|
|
|
mov eax,[hdbase]
|
|
|
|
|
and eax,3
|
|
|
|
|
inc eax
|
|
|
|
|
mov [hdbase],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
hnocp:
|
|
|
|
|
cmp ah,61
|
|
|
|
|
jnz hnocs
|
|
|
|
|
call _hdbase
|
|
|
|
|
hnocs:
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp ah,82 ; SET SOUND DMA
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jne no_sdma_d
|
|
|
|
|
mov eax,[sound_dma]
|
|
|
|
|
dec eax
|
|
|
|
|
sdmal:
|
|
|
|
|
and eax,3
|
|
|
|
|
mov [sound_dma],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
jmp still
|
|
|
|
|
no_sdma_d:
|
|
|
|
|
cmp ah,83
|
|
|
|
|
jne no_sdma_i
|
|
|
|
|
mov eax,[sound_dma]
|
|
|
|
|
inc eax
|
|
|
|
|
jmp sdmal
|
|
|
|
|
no_sdma_i:
|
|
|
|
|
cmp ah,81
|
|
|
|
|
jne no_set_sound_dma
|
|
|
|
|
call _sound_dma
|
|
|
|
|
jmp still
|
|
|
|
|
no_set_sound_dma:
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp ah,92 ; SET LBA READ
|
2006-01-03 12:43:31 +03: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 17:02:57 +04:00
|
|
|
|
cmp ah,102 ; SET PCI ACCESS
|
2006-01-03 12:43:31 +03: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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set_partition:
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp ah,72 ; SET FAT32 PARTITION
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jnz .nominus
|
|
|
|
|
mov eax,[f32p]
|
|
|
|
|
sub eax,2
|
|
|
|
|
; and eax,15 ; 3 - four partitions, 7 - eight p., 15 - sixteen, etc.
|
|
|
|
|
cmp eax,15
|
2006-08-14 19:24:38 +04:00
|
|
|
|
jb @f
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,14
|
|
|
|
|
@@:
|
|
|
|
|
inc eax
|
|
|
|
|
mov [f32p],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
.nominus:
|
|
|
|
|
cmp ah,73
|
|
|
|
|
jnz .noplus
|
|
|
|
|
mov eax,[f32p]
|
|
|
|
|
; and eax,15 ; 3 - four partitions, 7 - eight p., 15 - sixteen, etc.
|
|
|
|
|
cmp eax,15
|
2006-08-14 19:24:38 +04:00
|
|
|
|
jb @f
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,0
|
|
|
|
|
@@:
|
|
|
|
|
inc eax
|
|
|
|
|
mov [f32p],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
.noplus:
|
|
|
|
|
cmp ah,71
|
|
|
|
|
jnz .noapply
|
|
|
|
|
call _f32p
|
|
|
|
|
.noapply:
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp ah,32 ; SET SOUND BLASTER 16 BASE
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jnz nosbm
|
|
|
|
|
sub [sb16],2
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nosbm:
|
|
|
|
|
cmp ah,33
|
|
|
|
|
jnz nosbp
|
|
|
|
|
add [sb16],2
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nosbp:
|
|
|
|
|
cmp ah,31
|
|
|
|
|
jnz nosbs
|
|
|
|
|
call _sb16
|
|
|
|
|
nosbs:
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp ah,42 ; SET SYSTEM LANGUAGE BASE
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jnz nosysm
|
|
|
|
|
mov eax,[syslang]
|
|
|
|
|
dec eax
|
2006-08-14 19:24:38 +04:00
|
|
|
|
jz still
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov [syslang],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nosysm:
|
|
|
|
|
cmp ah,43
|
|
|
|
|
jnz nosysp
|
|
|
|
|
mov eax,[syslang]
|
2007-01-14 18:21:41 +03:00
|
|
|
|
cmp eax,6
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je nosysp
|
2006-01-03 12:43:31 +03:00
|
|
|
|
inc eax
|
|
|
|
|
mov [syslang],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
nosysp:
|
|
|
|
|
cmp ah,41
|
|
|
|
|
jnz nosyss
|
|
|
|
|
call _syslang
|
|
|
|
|
call cleantxt
|
|
|
|
|
call loadtxt
|
|
|
|
|
call draw_window
|
|
|
|
|
call drawtime
|
|
|
|
|
nosyss:
|
2006-08-13 17:02:57 +04:00
|
|
|
|
cmp ah,132 ; SET MOUSE SPEED
|
|
|
|
|
jnz .nominus
|
|
|
|
|
mov eax,[mouse_speed]
|
|
|
|
|
sub eax,2
|
|
|
|
|
cmp eax,9
|
2006-08-14 19:24:38 +04:00
|
|
|
|
jb @f
|
2006-08-13 17:02:57 +04: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
|
2006-08-14 19:24:38 +04:00
|
|
|
|
jb @f
|
2006-08-13 17:02:57 +04:00
|
|
|
|
mov eax,0
|
|
|
|
|
@@:
|
|
|
|
|
inc eax
|
|
|
|
|
mov [mouse_speed],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
.noplus:
|
|
|
|
|
cmp ah,131
|
|
|
|
|
jnz .noapply
|
2006-08-14 19:24:38 +04:00
|
|
|
|
call _mouse_speed
|
2006-08-13 17:02:57 +04:00
|
|
|
|
.noapply:
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mousedelay:
|
|
|
|
|
cmp ah,142 ; SET MOUSE DELAY
|
|
|
|
|
jnz .nominus
|
|
|
|
|
mov eax,[mouse_delay]
|
|
|
|
|
sub eax,2
|
|
|
|
|
cmp eax,0xfff
|
|
|
|
|
jb @f
|
|
|
|
|
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
|
|
|
|
|
jb @f
|
|
|
|
|
mov eax,0
|
|
|
|
|
@@:
|
|
|
|
|
inc eax
|
|
|
|
|
mov [mouse_delay],eax
|
|
|
|
|
call draw_infotext
|
|
|
|
|
.noplus:
|
|
|
|
|
cmp ah,141
|
|
|
|
|
jnz .noapply
|
|
|
|
|
call _mouse_delay
|
|
|
|
|
.noapply:
|
|
|
|
|
|
|
|
|
|
cmp ah,3 ; SET KEYMAP
|
2006-01-03 12:43:31 +03: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 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,en_keymap_shift
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,1
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03: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 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,fi_keymap_shift
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,2
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03: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 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,ge_keymap_shift
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,3
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03: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 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,ru_keymap_shift
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call alt_gen
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,4
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nosetkeylru:
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp [keyboard],4 ;french
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jnz nosetkeylfr
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,2
|
|
|
|
|
mov ecx,1
|
|
|
|
|
mov edx,fr_keymap
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,fr_keymap_shift
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,fr_keymap_alt_gr
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,5
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nosetkeylfr:
|
2007-01-14 18:21:41 +03:00
|
|
|
|
cmp [keyboard],5
|
|
|
|
|
jnz nosetkeylet
|
|
|
|
|
mov eax,21 ; estonian
|
|
|
|
|
mov ebx,2
|
|
|
|
|
mov ecx,1
|
|
|
|
|
mov edx,et_keymap
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2007-01-14 18:21:41 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
inc ecx
|
|
|
|
|
mov edx,et_keymap_shift
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2007-01-14 18:21:41 +03:00
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,9
|
|
|
|
|
mov edx,6
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2007-01-14 18:21:41 +03:00
|
|
|
|
call alt_gen
|
|
|
|
|
nosetkeylet:
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
alt_gen:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ecx,3
|
|
|
|
|
mov edx,alt_general
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
draw_buttons:
|
|
|
|
|
|
|
|
|
|
pusha
|
|
|
|
|
|
|
|
|
|
shl ecx,16
|
|
|
|
|
add ecx,12
|
|
|
|
|
mov ebx,(350-50)*65536+46+BBB
|
|
|
|
|
|
|
|
|
|
mov eax,8
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
mov ebx,(350-79)*65536+9
|
|
|
|
|
inc edx
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
mov ebx,(350-67)*65536+9
|
|
|
|
|
inc edx
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
popa
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; ********************************************
|
|
|
|
|
; ******* WINDOW DEFINITIONS AND DRAW *******
|
|
|
|
|
; ********************************************
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
draw_window:
|
|
|
|
|
|
|
|
|
|
pusha
|
|
|
|
|
|
|
|
|
|
mov eax,12
|
|
|
|
|
mov ebx,1
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
2006-08-13 17:02:57 +04:00
|
|
|
|
xor eax,eax ; DRAW WINDOW
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov ebx,40*65536+355+BBB
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov ecx,40*65536+320
|
2007-06-23 00:24:06 +04:00
|
|
|
|
mov edx,0x94111199
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mov edi,title
|
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov eax,8 ; APPLY ALL
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov ebx,(350-79)*65536+100
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov ecx,282*65536+12
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov edx,100
|
2006-08-13 17:02:57 +04:00
|
|
|
|
mov esi,0x005588dd
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-08-14 19:24:38 +04:00
|
|
|
|
add ecx,16*65536 ; SAVE ALL
|
2006-01-03 12:43:31 +03:00
|
|
|
|
dec edx
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
mov esi,0x5580c0
|
|
|
|
|
|
|
|
|
|
mov edx,11
|
|
|
|
|
mov ecx,43
|
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,41
|
|
|
|
|
mov ecx,43+8*8
|
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,21
|
|
|
|
|
mov ecx,43+4*8
|
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,31
|
|
|
|
|
mov ecx,43+2*8
|
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,3
|
|
|
|
|
mov ecx,43+10*8
|
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,61
|
|
|
|
|
mov ecx,43+6*8
|
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,91
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov ecx,43+16*8
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,71
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov ecx,43+12*8
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,81
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov ecx,43+14*8
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,101
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov ecx,43+18*8
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,111
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov ecx,43+20*8 ; 22
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
|
|
|
|
mov edx,121
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov ecx,43+22*8 ; 24
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
2006-08-13 17:02:57 +04:00
|
|
|
|
mov edx,131
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov ecx,43+24*8 ; 26
|
2006-08-13 17:02:57 +04:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov edx,141
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov ecx,43+26*8 ; 26
|
2006-08-14 19:24:38 +04:00
|
|
|
|
call draw_buttons
|
|
|
|
|
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call draw_infotext
|
|
|
|
|
|
|
|
|
|
mov eax,12
|
|
|
|
|
mov ebx,2
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
popa
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
draw_infotext:
|
|
|
|
|
|
|
|
|
|
pusha
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov eax,[keyboard] ; KEYBOARD
|
2006-01-03 12:43:31 +03:00
|
|
|
|
test eax,eax
|
|
|
|
|
jnz noen
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*5+28],dword 'ENGL'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'ISH '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
noen:
|
|
|
|
|
cmp eax,1
|
|
|
|
|
jnz nofi
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*5+28],dword 'FINN'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'ISH '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nofi:
|
|
|
|
|
cmp eax,2
|
|
|
|
|
jnz noge
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*5+28],dword 'GERM'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'AN '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
noge:
|
|
|
|
|
cmp eax,3
|
|
|
|
|
jnz nogr
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*5+28],dword 'RUSS'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'IAN '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nogr:
|
|
|
|
|
cmp eax,4
|
|
|
|
|
jnz nofr
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*5+28],dword 'FREN'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'CH '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nofr:
|
2007-01-14 18:21:41 +03:00
|
|
|
|
cmp eax,5
|
|
|
|
|
jnz noet
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*5+28],dword 'ESTO'
|
|
|
|
|
mov [text00+LLL*5+32],dword 'NIAN'
|
2007-01-14 18:21:41 +03:00
|
|
|
|
noet:
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov eax,[syslang] ; SYSTEM LANGUAGE
|
2006-01-03 12:43:31 +03:00
|
|
|
|
dec eax
|
|
|
|
|
test eax,eax
|
|
|
|
|
jnz noen5
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*4+28],dword 'ENGL'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'ISH '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
noen5:
|
|
|
|
|
cmp eax,1
|
|
|
|
|
jnz nofi5
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*4+28],dword 'FINN'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'ISH '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nofi5:
|
|
|
|
|
cmp eax,2
|
|
|
|
|
jnz noge5
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*4+28],dword 'GERM'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'AN '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
noge5:
|
|
|
|
|
cmp eax,3
|
|
|
|
|
jnz nogr5
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*4+28],dword 'RUSS'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'IAN '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nogr5:
|
|
|
|
|
cmp eax,4
|
|
|
|
|
jne nofr5
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*4+28],dword 'FREN'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'CH '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nofr5:
|
2007-01-14 18:21:41 +03:00
|
|
|
|
cmp eax,5
|
|
|
|
|
jne noet5
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*4+28],dword 'ESTO'
|
|
|
|
|
mov [text00+LLL*4+32],dword 'NIAN'
|
2007-01-14 18:21:41 +03:00
|
|
|
|
noet5:
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
mov eax,[midibase]
|
|
|
|
|
mov esi,text00+LLL*0+32
|
2006-08-14 19:24:38 +04:00
|
|
|
|
call hexconvert ; MIDI BASE
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov eax,[sb16] ; SB16 BASE
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov esi,text00+LLL*1+32
|
2006-01-03 12:43:31 +03:00
|
|
|
|
call hexconvert
|
|
|
|
|
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov eax,[cdbase] ; CD BASE
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp eax,1
|
|
|
|
|
jnz noe1
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*2+28],dword 'PRI.'
|
|
|
|
|
mov [text00+LLL*2+32],dword 'MAST'
|
|
|
|
|
mov [text00+LLL*2+36],dword 'ER '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
noe1:
|
|
|
|
|
cmp eax,2
|
|
|
|
|
jnz nof1
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*2+28],dword 'PRI.'
|
|
|
|
|
mov [text00+LLL*2+32],dword 'SLAV'
|
|
|
|
|
mov [text00+LLL*2+36],dword 'E '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nof1:
|
|
|
|
|
cmp eax,3
|
|
|
|
|
jnz nog1
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*2+28],dword 'SEC.'
|
|
|
|
|
mov [text00+LLL*2+32],dword 'MAST'
|
|
|
|
|
mov [text00+LLL*2+36],dword 'ER '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nog1:
|
|
|
|
|
cmp eax,4
|
|
|
|
|
jnz nog2
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*2+28],dword 'SEC.'
|
|
|
|
|
mov [text00+LLL*2+32],dword 'SLAV'
|
|
|
|
|
mov [text00+LLL*2+36],dword 'E '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
nog2:
|
|
|
|
|
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov eax,[hdbase] ; HD BASE
|
2006-01-03 12:43:31 +03:00
|
|
|
|
cmp eax,1
|
|
|
|
|
jnz hnoe1
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*3+28],dword 'PRI.'
|
|
|
|
|
mov [text00+LLL*3+32],dword 'MAST'
|
|
|
|
|
mov [text00+LLL*3+36],dword 'ER '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
hnoe1:
|
|
|
|
|
cmp eax,2
|
|
|
|
|
jnz hnof1
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*3+28],dword 'PRI.'
|
|
|
|
|
mov [text00+LLL*3+32],dword 'SLAV'
|
|
|
|
|
mov [text00+LLL*3+36],dword 'E '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
hnof1:
|
|
|
|
|
cmp eax,3
|
|
|
|
|
jnz hnog1
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*3+28],dword 'SEC.'
|
|
|
|
|
mov [text00+LLL*3+32],dword 'MAST'
|
|
|
|
|
mov [text00+LLL*3+36],dword 'ER '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
hnog1:
|
|
|
|
|
cmp eax,4
|
|
|
|
|
jnz hnog2
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*3+28],dword 'SEC.'
|
|
|
|
|
mov [text00+LLL*3+32],dword 'SLAV'
|
|
|
|
|
mov [text00+LLL*3+36],dword 'E '
|
2006-01-03 12:43:31 +03:00
|
|
|
|
hnog2:
|
|
|
|
|
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov eax,[f32p] ; FAT32 PARTITION
|
2006-01-03 12:43:31 +03:00
|
|
|
|
add al,48
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*6+28],al
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
2006-08-13 17:02:57 +04:00
|
|
|
|
mov eax,[sound_dma] ; SOUND DMA
|
2006-01-03 12:43:31 +03:00
|
|
|
|
add eax,48
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*7+28],al
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
mov eax,[lba_read]
|
2006-08-14 19:24:38 +04:00
|
|
|
|
call onoff ; LBA READ
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*8+28],ebx
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
mov eax,[pci_acc]
|
2006-08-14 19:24:38 +04:00
|
|
|
|
call onoff ; PCI ACCESS
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*9+28],ebx
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov eax,[mouse_speed] ; MOUSE SPEED
|
2006-08-13 17:02:57 +04:00
|
|
|
|
add al,48
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*12+28],al
|
2006-08-13 17:02:57 +04:00
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov eax,[mouse_delay]
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov esi,text00+LLL*13+32
|
2006-08-14 19:24:38 +04:00
|
|
|
|
call hexconvert ; MOUSE DELAY
|
|
|
|
|
|
2007-01-31 18:36:12 +03:00
|
|
|
|
call text_out
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
popa
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
drawtime:
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov ax,[time] ;hours 22
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov cl,1
|
|
|
|
|
call unpacktime
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*10+28],word bx
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov al,ah ;minutes
|
2006-01-03 12:43:31 +03:00
|
|
|
|
inc cl
|
|
|
|
|
call unpacktime
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*10+31],word bx
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,[date]
|
|
|
|
|
mov ch,3
|
|
|
|
|
call unpackdate
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*11+34],word bx ;year 24
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov al,ah
|
|
|
|
|
mov ch,1
|
|
|
|
|
call unpackdate
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*11+28],word bx ;month
|
2006-01-03 12:43:31 +03:00
|
|
|
|
bswap eax
|
|
|
|
|
mov al,ah
|
|
|
|
|
inc ch
|
|
|
|
|
call unpackdate
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov [text00+LLL*11+31],word bx ;day
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
2007-01-31 18:36:12 +03:00
|
|
|
|
text_out:
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov eax,13
|
|
|
|
|
mov ebx,175*65536+85
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov ecx,40*65536+225
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov edx,0x80111199-19
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
mov edx,text00
|
|
|
|
|
mov ebx,10*65536+45
|
|
|
|
|
mov eax,4
|
|
|
|
|
mov ecx,0xffffff
|
|
|
|
|
mov esi,LLL
|
2007-01-31 18:36:12 +03:00
|
|
|
|
mov ebp,text1_strings
|
|
|
|
|
newline:
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2007-01-31 18:36:12 +03:00
|
|
|
|
add ebx,8+8
|
|
|
|
|
add edx,esi
|
|
|
|
|
dec ebp
|
|
|
|
|
jnz newline
|
|
|
|
|
mov ebp,text2_strings
|
|
|
|
|
add ebx,8+8
|
|
|
|
|
@@:
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2007-01-31 18:36:12 +03:00
|
|
|
|
add ebx,8+8
|
|
|
|
|
add edx,esi
|
|
|
|
|
dec ebp
|
|
|
|
|
jnz @b
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
unpacktime:
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cmp byte [blinkpar],cl ;translate packed number to ascii
|
2006-01-03 12:43:31 +03:00
|
|
|
|
jne unpack1
|
|
|
|
|
chkblink:
|
|
|
|
|
bt dword [blinkpar],16
|
|
|
|
|
jnc unpack1
|
|
|
|
|
xor bx,bx
|
|
|
|
|
ret
|
|
|
|
|
unpackdate:
|
|
|
|
|
cmp byte [blinkpar+1],ch
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je chkblink
|
2006-01-03 12:43:31 +03:00
|
|
|
|
unpack1:
|
|
|
|
|
xor bx,bx
|
|
|
|
|
mov bh,al
|
|
|
|
|
mov bl,al
|
|
|
|
|
and bh,0x0f
|
|
|
|
|
shr bl,4
|
|
|
|
|
add bx,0x3030
|
|
|
|
|
ret
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
hexconvert: ;converting dec to hex in ascii
|
2006-01-03 12:43:31 +03: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
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je exitsub
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov ebx,'<27><><EFBFBD> '
|
|
|
|
|
ret
|
|
|
|
|
norus1:
|
|
|
|
|
mov ebx,'ON '
|
|
|
|
|
cmp eax,1
|
2006-08-14 19:24:38 +04:00
|
|
|
|
je exitsub
|
2006-01-03 12:43:31 +03:00
|
|
|
|
mov ebx,'OFF '
|
|
|
|
|
exitsub:
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
_midibase:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,1
|
|
|
|
|
mov ecx,[midibase]
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
_cdbase:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,3
|
|
|
|
|
mov ecx,[cdbase]
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
_hdbase:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,7
|
|
|
|
|
mov ecx,[hdbase]
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
_sound_dma:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,10
|
|
|
|
|
mov ecx,[sound_dma]
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
_lba_read:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,11
|
|
|
|
|
mov ecx,[lba_read]
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
_pci_acc:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,12
|
|
|
|
|
mov ecx,[pci_acc]
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
_f32p:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,8
|
|
|
|
|
mov ecx,[f32p]
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
_sb16:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,4
|
|
|
|
|
mov ecx,[sb16]
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
_syslang:
|
|
|
|
|
mov eax,21
|
|
|
|
|
mov ebx,5
|
|
|
|
|
mov ecx,[syslang]
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-01-03 12:43:31 +03:00
|
|
|
|
ret
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
_mouse_speed:
|
2006-08-13 17:02:57 +04:00
|
|
|
|
mov eax,18
|
|
|
|
|
mov ebx,19
|
|
|
|
|
mov ecx,1
|
|
|
|
|
mov edx,[mouse_speed]
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-08-13 17:02:57 +04:00
|
|
|
|
ret
|
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
_mouse_delay:
|
|
|
|
|
mov eax,18
|
|
|
|
|
mov ebx,19
|
|
|
|
|
mov ecx,3
|
|
|
|
|
mov edx,[mouse_delay]
|
2007-05-10 17:48:35 +04:00
|
|
|
|
mcall
|
2006-08-14 19:24:38 +04:00
|
|
|
|
ret
|
|
|
|
|
|
2006-01-03 12:43:31 +03:00
|
|
|
|
loadtxt:
|
|
|
|
|
cld
|
|
|
|
|
mov edi,text00
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mov ecx,488 ;28
|
2006-01-03 12:43:31 +03: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
|
2006-08-14 19:24:38 +04:00
|
|
|
|
count: db 0x0
|
2006-01-03 12:43:31 +03:00
|
|
|
|
blinkpar: dd 0x0
|
2006-08-14 19:24:38 +04:00
|
|
|
|
time: dw 0x0
|
|
|
|
|
date: dd 0x0
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
textrus:
|
|
|
|
|
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD> MIDI ROLAND MPU-401 : 0x320 - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD> SoundBlaster 16 : 0x240 - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD> CD-ROM<4F> : PRI.SLAVE - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD> <20><>-1 : PRI.MASTER - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD> <20><><EFBFBD>⥬<EFBFBD> : ENGLISH - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '<27><>᪫<EFBFBD><E1AAAB><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> : ENGLISH - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> FAT32 <20><> <20><>-1 : 1 - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '<27><>㪮<EFBFBD><E3AAAE><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> DMA : 1 - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> LBA : OFF - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> 設<> PCI : OFF - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
|
|
|
|
db '<27><><EFBFBD>⥬<EFBFBD><E2A5AC><EFBFBD> <20>६<EFBFBD> : 0:00 - + <20>롮<EFBFBD> '
|
|
|
|
|
db '<27><><EFBFBD>⥬<EFBFBD><E2A5AC><EFBFBD> <20><><EFBFBD><EFBFBD> (<28>,<2C>,<2C>) : 00/00/00 - + <20>롮<EFBFBD> '
|
2006-08-13 17:02:57 +04:00
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> : 1 - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
2006-08-14 19:24:38 +04:00
|
|
|
|
db '<27><><EFBFBD><EFBFBD>প<EFBFBD> <20>७<E1AAAE><E0A5AD> <20><><EFBFBD><EFBFBD> : 0x00a - + <20>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>'
|
2007-01-31 18:36:12 +03:00
|
|
|
|
|
2006-01-03 12:43:31 +03: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:
|
|
|
|
|
|
|
|
|
|
db 'MIDI: ROLAND MPU-401 BASE : 0x320 - + APPLY '
|
|
|
|
|
db 'SOUND: SB16 BASE : 0x240 - + APPLY '
|
|
|
|
|
db 'CD-ROM BASE : PRI.SLAVE - + APPLY '
|
|
|
|
|
db 'HARDDISK-1 BASE : PRI.MASTER - + APPLY '
|
|
|
|
|
db 'SYSTEM LANGUAGE : ENGLISH - + APPLY '
|
|
|
|
|
db 'KEYBOARD LAYOUT : ENGLISH - + APPLY '
|
|
|
|
|
db 'FAT32-1 PARTITION IN HD-1 : 1 - + APPLY '
|
|
|
|
|
db 'SOUND DMA CHANNEL : 1 - + APPLY '
|
|
|
|
|
db 'LBA READ ENABLED : OFF - + APPLY '
|
|
|
|
|
db 'PCI ACCESS FOR APPL. : OFF - + APPLY '
|
|
|
|
|
db 'SYSTEM TIME : 0:00 - + SELECT '
|
|
|
|
|
db 'SYSTEM DATE (M,D,Y) : 00/00/00 - + SELECT '
|
2006-08-13 17:02:57 +04:00
|
|
|
|
db 'Mouse pointer speed : 1 - + APPLY '
|
2006-08-14 19:24:38 +04:00
|
|
|
|
db 'Mouse pointer delay : 0x00a - + APPLY '
|
2007-01-31 18:36:12 +03:00
|
|
|
|
text1_strings = 14
|
|
|
|
|
|
2006-01-03 12:43:31 +03:00
|
|
|
|
db 'NOTE: APPLY ALL '
|
2007-01-31 18:36:12 +03:00
|
|
|
|
db 'SAVE YOUR SETTINGS BEFORE QUIT KOLIBRI SAVE ALL '
|
|
|
|
|
text2_strings = 2
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
2007-05-10 17:48:35 +04:00
|
|
|
|
title db 'SETUP',0
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
2006-08-14 19:24:38 +04:00
|
|
|
|
hex db '0123456789ABCDEF'
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
|
|
alt_general:
|
|
|
|
|
|
|
|
|
|
; db ' ',27
|
|
|
|
|
; db ' @ $ {[]}\ ',8,9
|
|
|
|
|
; db ' ',13
|
|
|
|
|
; db ' ',0,' ',0,'4',0,' '
|
|
|
|
|
; db ' ',180,178,184,'6',176,'7'
|
|
|
|
|
; db 179,'8',181,177,183,185,182
|
|
|
|
|
; db 'ABCD',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
; db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
; db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
; db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
en_keymap:
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '1234567890-=',8,9
|
|
|
|
|
db 'qwertyuiop[]',13
|
|
|
|
|
db '~asdfghjkl;',39,96,0,'\zxcvbnm,./',0,'45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB<D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
en_keymap_shift:
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '!@#$%^&*()_+',8,9
|
|
|
|
|
db 'QWERTYUIOP{}',13
|
|
|
|
|
db '~ASDFGHJKL:"~',0,'|ZXCVBNM<>?',0,'45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB>D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fr_keymap:
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '&<26>"',39,'(-<2D>_<EFBFBD><5F>)=',8,9
|
|
|
|
|
db 'azertyuiop^$',13
|
|
|
|
|
db '~qsdfghjklm<6C>',0,0,'*wxcvbn,;:!',0,'45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB<D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fr_keymap_shift:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '1234567890+',8,9
|
|
|
|
|
db 'AZERTYUIOP<4F><50>',13
|
|
|
|
|
db '~QSDFGHJKLM%',0,'<27>WXCVBN?./',0,'45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB>D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fr_keymap_alt_gr:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db 28,'~#{[|<7C>\^@]}',8,9
|
|
|
|
|
db 'azertyuiop^$',13
|
|
|
|
|
db '~qsdfghjklm<6C>',0,0,'*wxcvbn,;:!',0,'45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB<D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi_keymap:
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '1234567890+[',8,9
|
|
|
|
|
db 'qwertyuiop',192,'~',13
|
|
|
|
|
db '~asdfghjkl',194,193,'1',0,39,'zxcvbnm,.-',0,'45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB<D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi_keymap_shift:
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '!"#<23>%&/()=?]',8,9
|
|
|
|
|
db 'QWERTYUIOP',200,'~',13
|
|
|
|
|
db '~ASDFGHJKL',202,201,'1',0,'*ZXCVBNM;:_',0,'45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB>D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ge_keymap:
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '1234567890?[',8,9
|
|
|
|
|
db 'qwertzuiop',203,'~',13
|
|
|
|
|
db '~asdfghjkl',194,193,'1',0,39,'yxcvbnm,.-',0,'45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB<D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ge_keymap_shift:
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '!"#$%&/()=',197,']',8,9
|
|
|
|
|
db 'QWERTZUIOP',195,'~',13
|
|
|
|
|
db '~ASDFGHJKL',202,201,'1',0,'*YXCVBNM;:_',0,'45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB>D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
ru_keymap:
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '1234567890-=',8,9
|
|
|
|
|
db '<27><>㪥<EFBFBD><E3AAA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',13
|
|
|
|
|
db 0,"<22>뢠<EFBFBD><EFBFBD><E0AEAB><EFBFBD>"
|
|
|
|
|
db 0xf1, '-/'
|
|
|
|
|
db "<22><>ᬨ<EFBFBD><E1ACA8><EFBFBD><EFBFBD>",'.-','45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB<D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ru_keymap_shift:
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '!"N;%:?*()_+',8,0
|
|
|
|
|
db "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",13
|
|
|
|
|
db 0,"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
db 0xf0, '-\'
|
|
|
|
|
db "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",',-','45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB>D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
2007-01-14 18:21:41 +03:00
|
|
|
|
et_keymap:
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '1234567890+<2B>',8,9
|
|
|
|
|
db 'qwertyuiop<6F><70>',13
|
|
|
|
|
db '~asdfghjkl<6B><6C>','1',0,'<zxcvbnm,.-',0,'45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB<D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
et_keymap_shift:
|
|
|
|
|
|
|
|
|
|
db '6',27
|
|
|
|
|
db '!"#<23>%&/()=?`',8,9
|
|
|
|
|
db 'QWERTYUIOP<4F><50>',13
|
|
|
|
|
db '~ASDFGHJKL<4B><4C>','1',0,'>ZXCVBNM;:_',0,'45 '
|
|
|
|
|
db '@234567890123',180,178,184,'6',176,'7'
|
|
|
|
|
db 179,'8',181,177,183,185,182
|
|
|
|
|
db 'AB>D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
|
|
|
2006-08-13 17:02:57 +04:00
|
|
|
|
read_fileinfo:
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
2007-01-31 18:36:12 +03:00
|
|
|
|
dd 48
|
2006-08-13 17:02:57 +04:00
|
|
|
|
dd keyboard
|
|
|
|
|
db 0
|
|
|
|
|
dd file_name
|
|
|
|
|
|
|
|
|
|
save_fileinfo:
|
|
|
|
|
dd 2
|
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
2007-01-31 18:36:12 +03:00
|
|
|
|
dd 48
|
2006-08-13 17:02:57 +04:00
|
|
|
|
dd keyboard
|
2007-05-30 18:45:45 +04:00
|
|
|
|
file_name: db '/sys/setup.dat',0
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
2006-08-13 17:02:57 +04:00
|
|
|
|
I_PARAM dd 0
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
2006-08-13 17:02:57 +04:00
|
|
|
|
keyboard dd 0x0
|
|
|
|
|
midibase dd 0x320
|
2006-08-14 19:24:38 +04:00
|
|
|
|
cdbase dd 0x2
|
2006-08-13 17:02:57 +04:00
|
|
|
|
sb16 dd 0x220
|
|
|
|
|
syslang dd 0x1
|
2006-08-14 19:24:38 +04:00
|
|
|
|
hdbase dd 0x1
|
2006-08-13 17:02:57 +04:00
|
|
|
|
f32p dd 0x1
|
|
|
|
|
sound_dma dd 0x1
|
|
|
|
|
lba_read dd 0x1
|
|
|
|
|
pci_acc dd 0x1
|
|
|
|
|
mouse_speed dd 0x3
|
2006-08-14 19:24:38 +04:00
|
|
|
|
mouse_delay dd 0x10
|
2006-01-03 12:43:31 +03:00
|
|
|
|
text00:
|
|
|
|
|
|
|
|
|
|
I_END:
|
|
|
|
|
table_area:
|