forked from KolibriOS/kolibrios
@panel, setup: deleted useless code
git-svn-id: svn://kolibrios.org@304 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d51f1259a0
commit
254c631866
@ -54,13 +54,14 @@ handle_key:
|
||||
jz page_list_next
|
||||
cmp al, 72
|
||||
jz page_list_prev
|
||||
; this is hotkey Ctrl+Shift or LShift+RShift
|
||||
; this is hotkey Ctrl+Shift ;or LShift+RShift
|
||||
mov ebx, setup_exec
|
||||
test ah, 001100b
|
||||
jnz change_key_lang
|
||||
mov dword [ebx+8], syslang
|
||||
; test ah, 001100b
|
||||
; jz change_sys_lang
|
||||
change_key_lang:
|
||||
mov dword [ebx+8], chlang
|
||||
mcall 70
|
||||
call syslang_music
|
||||
call chlang_music
|
||||
; mcall 5, 25
|
||||
begin_1:
|
||||
mov ecx,[active_process]
|
||||
@ -69,12 +70,12 @@ begin_1:
|
||||
.ret:
|
||||
ret
|
||||
|
||||
change_key_lang:
|
||||
mov dword [ebx+8], chlang
|
||||
mcall 70
|
||||
call chlang_music
|
||||
; mcall 5, 25
|
||||
jmp begin_1
|
||||
;change_sys_lang:
|
||||
; mov dword [ebx+8], syslang
|
||||
; mcall 70
|
||||
; call syslang_music
|
||||
;; mcall 5, 25
|
||||
; jmp begin_1
|
||||
|
||||
start_end_application:
|
||||
mov dword [ebx+21], end_name
|
||||
@ -129,9 +130,9 @@ sysmeter_music:
|
||||
button_music:
|
||||
mcall 55,eax, , ,buttonmusic
|
||||
ret
|
||||
syslang_music:
|
||||
mcall 55, eax, , , syslangmusic
|
||||
ret
|
||||
;syslang_music:
|
||||
; mcall 55, eax, , , syslangmusic
|
||||
; ret
|
||||
chlang_music:
|
||||
mcall 55, eax, , , chlangmusic
|
||||
ret
|
||||
@ -141,7 +142,7 @@ menu_music:
|
||||
|
||||
chlangmusic: db 0x82,0x60,0x83,0x65,0x82,0x60,0
|
||||
|
||||
syslangmusic: db 0x82,0x65,0x83,0x70,0x82,0x65,0
|
||||
;syslangmusic: db 0x82,0x65,0x83,0x70,0x82,0x65,0
|
||||
|
||||
menumusic: db 0x82,0x50,0x84,0x48,0x82,0x50,0x84,0x53,0x82,0x51,0
|
||||
|
||||
@ -315,17 +316,17 @@ still:
|
||||
jmp still
|
||||
|
||||
noid16:
|
||||
cmp ah,17
|
||||
jne noid17
|
||||
mov ebx, setup_exec
|
||||
mov dword [ebx+8], syslang
|
||||
mov eax, 70
|
||||
int 0x40
|
||||
call syslang_music
|
||||
mcall 5, 25
|
||||
jmp still
|
||||
|
||||
noid17:
|
||||
; cmp ah,17
|
||||
; jne noid17
|
||||
; mov ebx, setup_exec
|
||||
; mov dword [ebx+8], syslang
|
||||
; mov eax, 70
|
||||
; int 0x40
|
||||
; call syslang_music
|
||||
; mcall 5, 25
|
||||
; jmp still
|
||||
;
|
||||
; noid17:
|
||||
cmp ah,18
|
||||
jne noid18
|
||||
mov dword [ebx+21], sysmeter_name
|
||||
@ -1470,15 +1471,16 @@ draw_info: ; draw cpu usage, time, date
|
||||
int 0x40
|
||||
|
||||
|
||||
mov eax,26 ; check for change in time or country
|
||||
mov ebx,5
|
||||
int 0x40
|
||||
mov edx,eax
|
||||
; mov eax,26 ; check for change in time or country
|
||||
; mov ebx,5
|
||||
; int 0x40
|
||||
; mov edx,eax
|
||||
mov eax,26
|
||||
mov ebx,2
|
||||
mov ecx,9
|
||||
int 0x40
|
||||
add edx,eax
|
||||
; add edx,eax
|
||||
mov edx,eax
|
||||
mov eax,3
|
||||
int 0x40
|
||||
and eax,0xffff
|
||||
@ -1522,12 +1524,12 @@ draw_info: ; draw cpu usage, time, date
|
||||
int 0x40
|
||||
sub ebx,17 shl 16
|
||||
inc edx ;button 17
|
||||
int 0x40
|
||||
; int 0x40
|
||||
add ebx,33 shl 16
|
||||
mov bx,8
|
||||
inc edx ;button 18
|
||||
int 0x40
|
||||
sub ebx,47 shl 16
|
||||
sub ebx,30 shl 16
|
||||
mov bx,10
|
||||
inc edx ;button 19
|
||||
int 0x40
|
||||
@ -1545,14 +1547,14 @@ draw_info: ; draw cpu usage, time, date
|
||||
|
||||
; flags
|
||||
|
||||
mov eax,26
|
||||
mov ebx,5
|
||||
int 0x40
|
||||
mov ebx,eax
|
||||
|
||||
mov eax,1
|
||||
mov [type_lang],al
|
||||
call draw_flag
|
||||
; mov eax,26
|
||||
; mov ebx,5
|
||||
; int 0x40
|
||||
; mov ebx,eax
|
||||
;
|
||||
; mov eax,1
|
||||
; mov [type_lang],al
|
||||
; call draw_flag
|
||||
|
||||
mov eax,26
|
||||
mov ebx,2
|
||||
@ -1568,7 +1570,7 @@ draw_info: ; draw cpu usage, time, date
|
||||
mov [sound_flag],al
|
||||
|
||||
mov ebx,[maxx]
|
||||
sub ebx,109 ;112 ;28
|
||||
sub ebx,92 ;109 ;112 ;28
|
||||
shl ebx,16
|
||||
mov bx,12
|
||||
mov ecx, 4*65536+13
|
||||
@ -1623,7 +1625,7 @@ draw_info: ; draw cpu usage, time, date
|
||||
dalshe:
|
||||
|
||||
mov ebx,[maxx]
|
||||
sub ebx,123
|
||||
sub ebx,106;123
|
||||
shl ebx,16
|
||||
mov bx,12
|
||||
mov ecx, 4*65536+13
|
||||
@ -1637,7 +1639,7 @@ dalshe:
|
||||
int 0x40
|
||||
mov eax,4
|
||||
mov ebx,[maxx]
|
||||
sub ebx,121
|
||||
sub ebx,104;121
|
||||
shl ebx,16
|
||||
mov bx,7
|
||||
mov ecx,0x10000000
|
||||
@ -1650,7 +1652,7 @@ dalshe:
|
||||
mov edx,0
|
||||
mov eax,13
|
||||
mov ebx,[maxx]
|
||||
sub ebx,134
|
||||
sub ebx,117;134
|
||||
shl ebx,16
|
||||
mov bx,9
|
||||
mov ecx,6 shl 16+11
|
||||
@ -1668,7 +1670,7 @@ dalshe:
|
||||
mov eax,4
|
||||
mov edx,page_a1
|
||||
mov ebx,[maxx]
|
||||
sub ebx,150
|
||||
sub ebx,133;150
|
||||
shl ebx,16
|
||||
mov bx,8
|
||||
mov esi,4
|
||||
@ -1680,7 +1682,7 @@ dalshe:
|
||||
mov ebx,0x10100
|
||||
mov ecx,[page_list]
|
||||
mov edx,[maxx]
|
||||
sub edx,141
|
||||
sub edx,124;141
|
||||
shl edx,16
|
||||
mov dx,7
|
||||
mov esi,0xffffff
|
||||
@ -1932,7 +1934,7 @@ turn_text db '><'
|
||||
gpl db 'GPL'
|
||||
|
||||
chlang db 'LANG',0
|
||||
syslang db 'SLAN',0
|
||||
;syslang db 'SLAN',0
|
||||
|
||||
contrast db 0
|
||||
|
||||
|
@ -34,7 +34,6 @@ apply_all:
|
||||
call _sound_dma ;10
|
||||
call _pci_acc ;12
|
||||
call _sb16 ;4
|
||||
call _wssp ;6
|
||||
call _syslang ;5
|
||||
call _keyboard ;2
|
||||
call _mouse_speed
|
||||
@ -217,25 +216,6 @@ get_setup_values:
|
||||
mov [sb16],eax
|
||||
mcall 26,5
|
||||
mov [syslang],eax
|
||||
mcall 26,6
|
||||
cmp eax,0x530
|
||||
jne s_wss_2
|
||||
mov eax,1
|
||||
jmp get_other
|
||||
s_wss_2:
|
||||
cmp eax,0x608
|
||||
jne s_wss_3
|
||||
mov eax,2
|
||||
jmp get_other
|
||||
s_wss_3:
|
||||
cmp eax,0xe80
|
||||
jne s_wss_4
|
||||
mov eax,3
|
||||
jmp get_other
|
||||
s_wss_4:
|
||||
mov eax,4
|
||||
get_other:
|
||||
mov [wss],eax
|
||||
mcall 26,7
|
||||
mov [hdbase],eax
|
||||
mcall 26,8
|
||||
@ -435,7 +415,6 @@ noseldate:
|
||||
cmp ah,99
|
||||
jne nosaveall
|
||||
mcall 70,save_fileinfo
|
||||
call settime
|
||||
mov dword [blinkpar],0
|
||||
call drawtime
|
||||
jmp still
|
||||
@ -645,28 +624,6 @@ close:
|
||||
call _sb16
|
||||
nosbs:
|
||||
|
||||
cmp ah,52 ; SET WINDOWS SOUND SYSTEM BASE
|
||||
jnz nowssm
|
||||
mov eax,[wss]
|
||||
sub eax,2
|
||||
and eax,3
|
||||
inc eax
|
||||
mov [wss],eax
|
||||
call draw_infotext
|
||||
nowssm:
|
||||
cmp ah,53
|
||||
jnz nowssp
|
||||
mov eax,[wss]
|
||||
and eax,3
|
||||
inc eax
|
||||
mov [wss],eax
|
||||
call draw_infotext
|
||||
nowssp:
|
||||
cmp ah,51
|
||||
jnz nowsss
|
||||
call _wssp
|
||||
nowsss:
|
||||
|
||||
cmp ah,42 ; SET SYSTEM LANGUAGE BASE
|
||||
jnz nosysm
|
||||
mov eax,[syslang]
|
||||
@ -965,44 +922,40 @@ draw_window:
|
||||
mov ecx,43+10*8
|
||||
call draw_buttons
|
||||
|
||||
mov edx,51
|
||||
mov ecx,43+12*8
|
||||
call draw_buttons
|
||||
|
||||
mov edx,61
|
||||
mov ecx,43+6*8
|
||||
call draw_buttons
|
||||
|
||||
mov edx,91
|
||||
mov ecx,43+18*8
|
||||
call draw_buttons
|
||||
|
||||
mov edx,71
|
||||
mov ecx,43+14*8
|
||||
call draw_buttons
|
||||
|
||||
mov edx,81
|
||||
mov ecx,43+16*8
|
||||
call draw_buttons
|
||||
|
||||
mov edx,71
|
||||
mov ecx,43+12*8
|
||||
call draw_buttons
|
||||
|
||||
mov edx,81
|
||||
mov ecx,43+14*8
|
||||
call draw_buttons
|
||||
|
||||
mov edx,101
|
||||
mov ecx,43+20*8
|
||||
mov ecx,43+18*8
|
||||
call draw_buttons
|
||||
|
||||
mov edx,111
|
||||
mov ecx,43+22*8 ; 22
|
||||
mov ecx,43+20*8 ; 22
|
||||
call draw_buttons
|
||||
|
||||
mov edx,121
|
||||
mov ecx,43+24*8 ; 24
|
||||
mov ecx,43+22*8 ; 24
|
||||
call draw_buttons
|
||||
|
||||
mov edx,131
|
||||
mov ecx,43+26*8 ; 26
|
||||
mov ecx,43+24*8 ; 26
|
||||
call draw_buttons
|
||||
|
||||
mov edx,141
|
||||
mov ecx,43+28*8 ; 26
|
||||
mov ecx,43+26*8 ; 26
|
||||
call draw_buttons
|
||||
|
||||
call draw_infotext
|
||||
@ -1023,66 +976,66 @@ draw_infotext:
|
||||
mov eax,[keyboard] ; KEYBOARD
|
||||
test eax,eax
|
||||
jnz noen
|
||||
mov [text00+LLL*10+28],dword 'ENGL'
|
||||
mov [text00+LLL*10+32],dword 'ISH '
|
||||
mov [text00+LLL*5+28],dword 'ENGL'
|
||||
mov [text00+LLL*5+32],dword 'ISH '
|
||||
noen:
|
||||
cmp eax,1
|
||||
jnz nofi
|
||||
mov [text00+LLL*10+28],dword 'FINN'
|
||||
mov [text00+LLL*10+32],dword 'ISH '
|
||||
mov [text00+LLL*5+28],dword 'FINN'
|
||||
mov [text00+LLL*5+32],dword 'ISH '
|
||||
nofi:
|
||||
cmp eax,2
|
||||
jnz noge
|
||||
mov [text00+LLL*10+28],dword 'GERM'
|
||||
mov [text00+LLL*10+32],dword 'AN '
|
||||
mov [text00+LLL*5+28],dword 'GERM'
|
||||
mov [text00+LLL*5+32],dword 'AN '
|
||||
noge:
|
||||
cmp eax,3
|
||||
jnz nogr
|
||||
mov [text00+LLL*10+28],dword 'RUSS'
|
||||
mov [text00+LLL*10+32],dword 'IAN '
|
||||
mov [text00+LLL*5+28],dword 'RUSS'
|
||||
mov [text00+LLL*5+32],dword 'IAN '
|
||||
nogr:
|
||||
cmp eax,4
|
||||
jnz nofr
|
||||
mov [text00+LLL*10+28],dword 'FREN'
|
||||
mov [text00+LLL*10+32],dword 'CH '
|
||||
mov [text00+LLL*5+28],dword 'FREN'
|
||||
mov [text00+LLL*5+32],dword 'CH '
|
||||
nofr:
|
||||
cmp eax,5
|
||||
jnz noet
|
||||
mov [text00+LLL*10+28],dword 'ESTO'
|
||||
mov [text00+LLL*10+32],dword 'NIAN'
|
||||
mov [text00+LLL*5+28],dword 'ESTO'
|
||||
mov [text00+LLL*5+32],dword 'NIAN'
|
||||
noet:
|
||||
|
||||
mov eax,[syslang] ; SYSTEM LANGUAGE
|
||||
dec eax
|
||||
test eax,eax
|
||||
jnz noen5
|
||||
mov [text00+LLL*8+28],dword 'ENGL'
|
||||
mov [text00+LLL*8+32],dword 'ISH '
|
||||
mov [text00+LLL*4+28],dword 'ENGL'
|
||||
mov [text00+LLL*4+32],dword 'ISH '
|
||||
noen5:
|
||||
cmp eax,1
|
||||
jnz nofi5
|
||||
mov [text00+LLL*8+28],dword 'FINN'
|
||||
mov [text00+LLL*8+32],dword 'ISH '
|
||||
mov [text00+LLL*4+28],dword 'FINN'
|
||||
mov [text00+LLL*4+32],dword 'ISH '
|
||||
nofi5:
|
||||
cmp eax,2
|
||||
jnz noge5
|
||||
mov [text00+LLL*8+28],dword 'GERM'
|
||||
mov [text00+LLL*8+32],dword 'AN '
|
||||
mov [text00+LLL*4+28],dword 'GERM'
|
||||
mov [text00+LLL*4+32],dword 'AN '
|
||||
noge5:
|
||||
cmp eax,3
|
||||
jnz nogr5
|
||||
mov [text00+LLL*8+28],dword 'RUSS'
|
||||
mov [text00+LLL*8+32],dword 'IAN '
|
||||
mov [text00+LLL*4+28],dword 'RUSS'
|
||||
mov [text00+LLL*4+32],dword 'IAN '
|
||||
nogr5:
|
||||
cmp eax,4
|
||||
jne nofr5
|
||||
mov [text00+LLL*8+28],dword 'FREN'
|
||||
mov [text00+LLL*8+32],dword 'CH '
|
||||
mov [text00+LLL*4+28],dword 'FREN'
|
||||
mov [text00+LLL*4+32],dword 'CH '
|
||||
nofr5:
|
||||
cmp eax,5
|
||||
jne noet5
|
||||
mov [text00+LLL*8+28],dword 'ESTO'
|
||||
mov [text00+LLL*8+32],dword 'NIAN'
|
||||
mov [text00+LLL*4+28],dword 'ESTO'
|
||||
mov [text00+LLL*4+32],dword 'NIAN'
|
||||
noet5:
|
||||
|
||||
mov eax,[midibase]
|
||||
@ -1091,127 +1044,89 @@ draw_infotext:
|
||||
|
||||
|
||||
mov eax,[sb16] ; SB16 BASE
|
||||
mov esi,text00+LLL*2+32
|
||||
mov esi,text00+LLL*1+32
|
||||
call hexconvert
|
||||
|
||||
|
||||
mov eax,[wss] ; WSS BASE
|
||||
cmp eax,1
|
||||
jnz nowss1
|
||||
mov [wssp],dword 0x530
|
||||
nowss1:
|
||||
cmp eax,2
|
||||
jnz nowss2
|
||||
mov [wssp],dword 0x608
|
||||
nowss2:
|
||||
cmp eax,3
|
||||
jnz nowss3
|
||||
mov [wssp],dword 0xe80
|
||||
nowss3:
|
||||
cmp eax,4
|
||||
jnz nowss4
|
||||
mov [wssp],dword 0xf40
|
||||
nowss4:
|
||||
|
||||
mov eax,[wssp]
|
||||
mov esi,text00+LLL*12+32
|
||||
call hexconvert
|
||||
|
||||
mov eax,[cdbase] ; CD BASE
|
||||
cmp eax,1
|
||||
jnz noe1
|
||||
mov [text00+LLL*4+28],dword 'PRI.'
|
||||
mov [text00+LLL*4+32],dword 'MAST'
|
||||
mov [text00+LLL*4+36],dword 'ER '
|
||||
mov [text00+LLL*2+28],dword 'PRI.'
|
||||
mov [text00+LLL*2+32],dword 'MAST'
|
||||
mov [text00+LLL*2+36],dword 'ER '
|
||||
noe1:
|
||||
cmp eax,2
|
||||
jnz nof1
|
||||
mov [text00+LLL*4+28],dword 'PRI.'
|
||||
mov [text00+LLL*4+32],dword 'SLAV'
|
||||
mov [text00+LLL*4+36],dword 'E '
|
||||
mov [text00+LLL*2+28],dword 'PRI.'
|
||||
mov [text00+LLL*2+32],dword 'SLAV'
|
||||
mov [text00+LLL*2+36],dword 'E '
|
||||
nof1:
|
||||
cmp eax,3
|
||||
jnz nog1
|
||||
mov [text00+LLL*4+28],dword 'SEC.'
|
||||
mov [text00+LLL*4+32],dword 'MAST'
|
||||
mov [text00+LLL*4+36],dword 'ER '
|
||||
mov [text00+LLL*2+28],dword 'SEC.'
|
||||
mov [text00+LLL*2+32],dword 'MAST'
|
||||
mov [text00+LLL*2+36],dword 'ER '
|
||||
nog1:
|
||||
cmp eax,4
|
||||
jnz nog2
|
||||
mov [text00+LLL*4+28],dword 'SEC.'
|
||||
mov [text00+LLL*4+32],dword 'SLAV'
|
||||
mov [text00+LLL*4+36],dword 'E '
|
||||
mov [text00+LLL*2+28],dword 'SEC.'
|
||||
mov [text00+LLL*2+32],dword 'SLAV'
|
||||
mov [text00+LLL*2+36],dword 'E '
|
||||
nog2:
|
||||
|
||||
|
||||
mov eax,[hdbase] ; HD BASE
|
||||
cmp eax,1
|
||||
jnz hnoe1
|
||||
mov [text00+LLL*6+28],dword 'PRI.'
|
||||
mov [text00+LLL*6+32],dword 'MAST'
|
||||
mov [text00+LLL*6+36],dword 'ER '
|
||||
mov [text00+LLL*3+28],dword 'PRI.'
|
||||
mov [text00+LLL*3+32],dword 'MAST'
|
||||
mov [text00+LLL*3+36],dword 'ER '
|
||||
hnoe1:
|
||||
cmp eax,2
|
||||
jnz hnof1
|
||||
mov [text00+LLL*6+28],dword 'PRI.'
|
||||
mov [text00+LLL*6+32],dword 'SLAV'
|
||||
mov [text00+LLL*6+36],dword 'E '
|
||||
mov [text00+LLL*3+28],dword 'PRI.'
|
||||
mov [text00+LLL*3+32],dword 'SLAV'
|
||||
mov [text00+LLL*3+36],dword 'E '
|
||||
hnof1:
|
||||
cmp eax,3
|
||||
jnz hnog1
|
||||
mov [text00+LLL*6+28],dword 'SEC.'
|
||||
mov [text00+LLL*6+32],dword 'MAST'
|
||||
mov [text00+LLL*6+36],dword 'ER '
|
||||
mov [text00+LLL*3+28],dword 'SEC.'
|
||||
mov [text00+LLL*3+32],dword 'MAST'
|
||||
mov [text00+LLL*3+36],dword 'ER '
|
||||
hnog1:
|
||||
cmp eax,4
|
||||
jnz hnog2
|
||||
mov [text00+LLL*6+28],dword 'SEC.'
|
||||
mov [text00+LLL*6+32],dword 'SLAV'
|
||||
mov [text00+LLL*6+36],dword 'E '
|
||||
mov [text00+LLL*3+28],dword 'SEC.'
|
||||
mov [text00+LLL*3+32],dword 'SLAV'
|
||||
mov [text00+LLL*3+36],dword 'E '
|
||||
hnog2:
|
||||
|
||||
|
||||
mov eax,[f32p] ; FAT32 PARTITION
|
||||
add al,48
|
||||
mov [text00+LLL*14+28],al
|
||||
mov [text00+LLL*6+28],al
|
||||
|
||||
mov eax,[sound_dma] ; SOUND DMA
|
||||
add eax,48
|
||||
mov [text00+LLL*16+28],al
|
||||
mov [text00+LLL*7+28],al
|
||||
|
||||
mov eax,[lba_read]
|
||||
call onoff ; LBA READ
|
||||
mov [text00+LLL*18+28],ebx
|
||||
mov [text00+LLL*8+28],ebx
|
||||
|
||||
mov eax,[pci_acc]
|
||||
call onoff ; PCI ACCESS
|
||||
mov [text00+LLL*20+28],ebx
|
||||
mov [text00+LLL*9+28],ebx
|
||||
|
||||
mov eax,[mouse_speed] ; MOUSE SPEED
|
||||
add al,48
|
||||
mov [text00+LLL*26+28],al
|
||||
mov [text00+LLL*12+28],al
|
||||
|
||||
mov eax,[mouse_delay]
|
||||
mov esi,text00+LLL*28+32
|
||||
mov esi,text00+LLL*13+32
|
||||
call hexconvert ; MOUSE DELAY
|
||||
|
||||
mov eax,13
|
||||
mov ebx,175*65536+85
|
||||
mov ecx,40*65536+245
|
||||
mov edx,0x80111199-19
|
||||
int 0x40
|
||||
|
||||
mov edx,text00
|
||||
mov ebx,10*65536+45
|
||||
mov eax,4
|
||||
mov ecx,0xffffff
|
||||
mov esi,LLL
|
||||
newline:
|
||||
int 0x40
|
||||
add ebx,8
|
||||
add edx,LLL
|
||||
cmp [edx],byte 'x'
|
||||
jnz newline
|
||||
call text_out
|
||||
|
||||
popa
|
||||
ret
|
||||
@ -1220,28 +1135,29 @@ draw_infotext:
|
||||
mov ax,[time] ;hours 22
|
||||
mov cl,1
|
||||
call unpacktime
|
||||
mov [text00+LLL*22+28],word bx
|
||||
mov [text00+LLL*10+28],word bx
|
||||
mov al,ah ;minutes
|
||||
inc cl
|
||||
call unpacktime
|
||||
mov [text00+LLL*22+31],word bx
|
||||
mov [text00+LLL*10+31],word bx
|
||||
mov eax,[date]
|
||||
mov ch,3
|
||||
call unpackdate
|
||||
mov [text00+LLL*24+34],word bx ;year 24
|
||||
mov [text00+LLL*11+34],word bx ;year 24
|
||||
mov al,ah
|
||||
mov ch,1
|
||||
call unpackdate
|
||||
mov [text00+LLL*24+28],word bx ;month
|
||||
mov [text00+LLL*11+28],word bx ;month
|
||||
bswap eax
|
||||
mov al,ah
|
||||
inc ch
|
||||
call unpackdate
|
||||
mov [text00+LLL*24+31],word bx ;day
|
||||
mov [text00+LLL*11+31],word bx ;day
|
||||
|
||||
text_out:
|
||||
mov eax,13
|
||||
mov ebx,175*65536+85
|
||||
mov ecx,40*65536+245
|
||||
mov ecx,40*65536+225
|
||||
mov edx,0x80111199-19
|
||||
int 0x40
|
||||
|
||||
@ -1250,12 +1166,21 @@ draw_infotext:
|
||||
mov eax,4
|
||||
mov ecx,0xffffff
|
||||
mov esi,LLL
|
||||
newline1:
|
||||
mov ebp,text1_strings
|
||||
newline:
|
||||
int 0x40
|
||||
add ebx,8
|
||||
add edx,LLL
|
||||
cmp [edx],byte 'x'
|
||||
jnz newline1
|
||||
add ebx,8+8
|
||||
add edx,esi
|
||||
dec ebp
|
||||
jnz newline
|
||||
mov ebp,text2_strings
|
||||
add ebx,8+8
|
||||
@@:
|
||||
int 0x40
|
||||
add ebx,8+8
|
||||
add edx,esi
|
||||
dec ebp
|
||||
jnz @b
|
||||
ret
|
||||
|
||||
unpacktime:
|
||||
@ -1375,13 +1300,6 @@ _sb16:
|
||||
int 0x40
|
||||
ret
|
||||
|
||||
_wssp:
|
||||
mov eax,21
|
||||
mov ebx,6
|
||||
mov ecx,[wssp]
|
||||
int 0x40
|
||||
ret
|
||||
|
||||
_syslang:
|
||||
mov eax,21
|
||||
mov ebx,5
|
||||
@ -1428,52 +1346,6 @@ cleantxt:
|
||||
mov [text00+1711],byte 'x'
|
||||
ret
|
||||
|
||||
settime:
|
||||
mov dx,0x70
|
||||
call startstopclk
|
||||
dec dx
|
||||
mov al,2 ;set minutes
|
||||
out dx,al
|
||||
inc dx
|
||||
mov al,byte [time+1]
|
||||
out dx,al
|
||||
dec dx
|
||||
mov al,4 ;set hours
|
||||
out dx,al
|
||||
inc dx
|
||||
mov al,byte [time]
|
||||
out dx,al
|
||||
dec dx
|
||||
mov al,7 ;set day
|
||||
out dx,al
|
||||
inc dx
|
||||
mov al,byte [date+2]
|
||||
out dx,al
|
||||
dec dx
|
||||
mov al,8 ;set month
|
||||
out dx,al
|
||||
inc dx
|
||||
mov al,byte [date+1]
|
||||
out dx,al
|
||||
dec dx
|
||||
mov al,9 ;set year
|
||||
out dx,al
|
||||
inc dx
|
||||
mov al,byte [date]
|
||||
out dx,al
|
||||
dec dx
|
||||
call startstopclk
|
||||
ret
|
||||
|
||||
startstopclk:
|
||||
mov al,0x0b
|
||||
out dx,al
|
||||
inc dx
|
||||
in al,dx
|
||||
btc ax,7
|
||||
out dx,al
|
||||
ret
|
||||
|
||||
; DATA AREA
|
||||
count: db 0x0
|
||||
blinkpar: dd 0x0
|
||||
@ -1483,76 +1355,44 @@ date: dd 0x0
|
||||
textrus:
|
||||
|
||||
db '<27> § MIDI ROLAND MPU-401 : 0x320 - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db '<27> § SoundBlaster 16 : 0x240 - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db '<27> § CD-ROM : PRI.SLAVE - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db '<27> § †„-1 : PRI.MASTER - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db 'Ÿ§ëª á¨á⥬ë : ENGLISH - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db '<27> ᪫ ¤ª ª« ¢¨ âãàë : ENGLISH - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db '<27> § WSS : 0x200 - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db '<27> §¤¥« FAT32 †„-1 : 1 - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db '‡¢ãª®¢®© ª « DMA : 1 - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db '‚ª«îç¨âì LBA : OFF - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db '„®áâ㯠ª 訥 PCI : OFF - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db '‘¨á⥬®¥ ¢à¥¬ï : 0:00 - + ‚ë¡®à '
|
||||
db ' '
|
||||
db '‘¨á⥬ ï ¤ â (¬,¤,£) : 00/00/00 - + ‚ë¡®à '
|
||||
db ' '
|
||||
db '‘ª®à®áâì ªãàá®à ¬ëè¨ : 1 - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
db '‡ ¤¥à¦ª ãáª®à¥¨ï ¬ëè¨ : 0x00a - + <20>ਬ¥¨âì'
|
||||
db ' '
|
||||
|
||||
db '‚<>ˆŒ€<C592>ˆ…: <20>ਬ¥¨âì ¢á¥ '
|
||||
db 'ˆ‘<CB86>Ž‹œ‡“‰’… „Ž‘’“<E28099> Š FAT ‘ Ž‘’Ž<E28099>Ž†<C5BD>Ž‘’œž! '
|
||||
db '<27>… ‡€<E280A1>“„œ’… ‘Ž•<C5BD>€<EFBFBD>ˆ’œ <20>€‘’<E28098>Ž‰Šˆ ‘®åà ¨âì ¢á¥ '
|
||||
db 'x'
|
||||
|
||||
texteng:
|
||||
|
||||
db 'MIDI: ROLAND MPU-401 BASE : 0x320 - + APPLY '
|
||||
db ' '
|
||||
db 'SOUND: SB16 BASE : 0x240 - + APPLY '
|
||||
db ' '
|
||||
db 'CD-ROM BASE : PRI.SLAVE - + APPLY '
|
||||
db ' '
|
||||
db 'HARDDISK-1 BASE : PRI.MASTER - + APPLY '
|
||||
db ' '
|
||||
db 'SYSTEM LANGUAGE : ENGLISH - + APPLY '
|
||||
db ' '
|
||||
db 'KEYBOARD LAYOUT : ENGLISH - + APPLY '
|
||||
db ' '
|
||||
db 'WINDOWS SOUND SYSTEM BASE : 0x200 - + APPLY '
|
||||
db ' '
|
||||
db 'FAT32-1 PARTITION IN HD-1 : 1 - + APPLY '
|
||||
db ' '
|
||||
db 'SOUND DMA CHANNEL : 1 - + APPLY '
|
||||
db ' '
|
||||
db 'LBA READ ENABLED : OFF - + APPLY '
|
||||
db ' '
|
||||
db 'PCI ACCESS FOR APPL. : OFF - + APPLY '
|
||||
db ' '
|
||||
db 'SYSTEM TIME : 0:00 - + SELECT '
|
||||
db ' '
|
||||
db 'SYSTEM DATE (M,D,Y) : 00/00/00 - + SELECT '
|
||||
db ' '
|
||||
db 'Mouse pointer speed : 1 - + APPLY '
|
||||
db ' '
|
||||
db 'Mouse pointer delay : 0x00a - + APPLY '
|
||||
db ' '
|
||||
text1_strings = 14
|
||||
|
||||
db 'NOTE: APPLY ALL '
|
||||
db 'TEST FAT FUNCTIONS WITH EXTREME CARE '
|
||||
db 'SAVE YOUR SETTINGS BEFORE QUIT MENUET SAVE ALL '
|
||||
db 'x'
|
||||
db 'SAVE YOUR SETTINGS BEFORE QUIT KOLIBRI SAVE ALL '
|
||||
text2_strings = 2
|
||||
|
||||
labelt:
|
||||
db '<27>€‘’<E28098>Ž‰Š€ “‘’<E28098>Ž‰‘’‚ DEVICE SETUP '
|
||||
@ -1767,7 +1607,7 @@ read_fileinfo:
|
||||
dd 0
|
||||
dd 0
|
||||
dd 0
|
||||
dd 56
|
||||
dd 48
|
||||
dd keyboard
|
||||
db 0
|
||||
dd file_name
|
||||
@ -1776,7 +1616,7 @@ save_fileinfo:
|
||||
dd 2
|
||||
dd 0
|
||||
dd 0
|
||||
dd 56
|
||||
dd 48
|
||||
dd keyboard
|
||||
file_name: db '/rd/1/setup.dat',0
|
||||
|
||||
@ -1787,8 +1627,6 @@ midibase dd 0x320
|
||||
cdbase dd 0x2
|
||||
sb16 dd 0x220
|
||||
syslang dd 0x1
|
||||
wss dd 0x1
|
||||
wssp dd 0x0
|
||||
hdbase dd 0x1
|
||||
f32p dd 0x1
|
||||
sound_dma dd 0x1
|
||||
|
BIN
programs/system/setup/trunk/setup.dat
Executable file
BIN
programs/system/setup/trunk/setup.dat
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user