2010-12-20 20:33:57 +03:00
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2006-01-03 12:43:31 +03:00
; ;
; Stack Configuration Tool ;
; ;
; Compile with FASM for Menuet ;
; ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2006-10-28 07:57:32 +04:00
memsize = 100000h
2007-10-22 22:43:00 +04:00
org 0
PARAMS = memsize - 1024
2006-10-28 07:57:32 +04:00
use32
2006-01-03 12:43:31 +03:00
2007-10-22 22:43:00 +04:00
db 'MENUET01' ; 8 byte id
dd 0x01 ; header version
dd START ; start of code
dd I_END ; size of image
dd memsize ; memory for app
dd memsize - 1024 ; esp
dd PARAMS , 0x0 ; I_Param , I_Icon
2006-01-03 12:43:31 +03:00
include 'lang.inc'
2009-01-29 20:59:37 +03:00
include '../../../macros.inc'
2007-05-10 17:48:35 +04:00
2007-10-22 22:43:00 +04:00
START: ; start of execution
2006-01-03 12:43:31 +03:00
2009-01-29 20:59:37 +03:00
read_stack_setup:
mov eax , 52
mov ebx , 0
mcall
mov [ config ], eax
mov eax , 52
mov ebx , 1
mcall
mov dword [ ip_address ], eax
mov eax , 52
mov ebx , 9
mcall
mov dword [ gateway_ip ], eax
mov eax , 52
mov ebx , 10
mcall
mov dword [ subnet_mask ], eax
mov eax , 52
mov ebx , 13
mcall
mov dword [ dns_ip ], eax
mov eax ,[ config ] ; unwrap com IRQ
shr eax , 8
and eax , 0xf
mov [ com_irq ], eax
2006-10-28 07:57:32 +04:00
2009-01-29 20:59:37 +03:00
mov eax ,[ config ] ; unwrap com PORT
shr eax , 16
and eax , 0xfff
mov [ com_add ], eax
mov eax ,[ config ] ; unwrap IRQ
and eax , 0xf
mov [ interface ], eax
mov eax ,[ config ] ; unwrap com PORT
shr eax , 7
and eax , 1
mov [ assigned ], eax
2006-10-28 07:57:32 +04:00
2007-05-10 17:48:35 +04:00
red:
2007-10-22 22:43:00 +04:00
call draw_window ; at first, draw the window
2006-01-03 12:43:31 +03:00
still:
2007-10-22 22:43:00 +04:00
mov eax , 10 ; wait here for event
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2007-10-22 22:43:00 +04:00
cmp eax , 1 ; redraw request ?
jz red
cmp eax , 2 ; key in buffer ?
2007-05-10 17:48:35 +04:00
jnz button
2006-01-03 12:43:31 +03:00
2007-10-22 22:43:00 +04:00
key: ; key
2007-09-13 17:29:59 +04:00
; mov al,2 ; just read it and ignore
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
jmp still
2007-10-22 22:43:00 +04:00
button: ; button
mov al , 17 ; get id
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
shr eax , 8
2007-10-22 22:43:00 +04:00
dec eax ; button id=1 ?
2006-01-03 12:43:31 +03:00
jne noclose
2007-10-22 22:43:00 +04:00
or eax , - 1 ; close this program
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
noclose:
2007-10-22 22:43:00 +04:00
dec eax
je read_stack_setup
2006-01-03 12:43:31 +03:00
2007-10-22 22:43:00 +04:00
dec eax
2006-10-28 07:57:32 +04:00
jne no_apply_stack_setup
call apply_stack_setup
jmp still
2006-01-03 12:43:31 +03:00
2006-10-28 07:57:32 +04:00
no_apply_stack_setup:
2007-10-22 22:43:00 +04:00
dec eax ; GET COM PORT
2007-09-13 17:29:59 +04:00
dec eax
2006-01-03 12:43:31 +03:00
jne no_read_comport
mov [ string_x ], 272
mov [ string_y ], 40
mov [ string_length ], 3
call read_string
movzx eax , byte [ string ]
cmp eax , 'A'
2007-10-22 22:43:00 +04:00
jb gcp1
2006-01-03 12:43:31 +03:00
sub eax , 'A' - '9' - 1
gcp1:
sub eax , 48
shl eax , 8
mov ebx , eax
movzx eax , byte [ string + 1 ]
cmp eax , 'A'
2007-10-22 22:43:00 +04:00
jb gcp2
2006-01-03 12:43:31 +03:00
sub eax , 'A' - '9' - 1
gcp2:
sub eax , 48
shl eax , 4
add ebx , eax
movzx eax , byte [ string + 2 ]
cmp eax , 'A'
2007-10-22 22:43:00 +04:00
jb gcp3
2006-01-03 12:43:31 +03:00
sub eax , 'A' - '9' - 1
gcp3:
sub eax , 48
add ebx , eax
mov [ com_add ], ebx
2007-09-13 17:29:59 +04:00
jmp red
2006-01-03 12:43:31 +03:00
no_read_comport:
2007-10-22 22:43:00 +04:00
dec eax ; GET COM IRQ
2006-01-03 12:43:31 +03:00
jne no_read_comirq
mov [ string_x ], 284
mov [ string_y ], 50
mov [ string_length ], 1
call read_string
movzx eax , byte [ string ]
cmp eax , 'A'
2007-10-22 22:43:00 +04:00
jb gci1
2006-01-03 12:43:31 +03:00
sub eax , 'A' - '9' - 1
gci1:
sub eax , 48
mov [ com_irq ], eax
2007-09-13 17:29:59 +04:00
jmp red
2006-01-03 12:43:31 +03:00
no_read_comirq:
2007-10-22 22:43:00 +04:00
dec eax ; GET IP
2007-09-13 17:29:59 +04:00
jne no_read_ip
mov [ string_x ], 205
mov [ string_y ], 80
mov [ string_length ], 15
call read_string
mov esi , string - 1
mov edi , ip_address
ip0:
xor eax , eax
ip1:
inc esi
cmp [ esi ], byte '0'
2007-10-22 22:43:00 +04:00
jb ip2
2007-09-13 17:29:59 +04:00
cmp [ esi ], byte '9'
2007-10-22 22:43:00 +04:00
jg ip2
2007-09-13 17:29:59 +04:00
imul eax , 10
movzx ebx , byte [ esi ]
sub ebx , 48
add eax , ebx
jmp ip1
ip2:
stosb
cmp edi , ip_address + 3
jbe ip0
jmp red
no_read_ip:
2007-10-22 22:43:00 +04:00
dec eax ; set gateway ip
2006-01-03 12:43:31 +03:00
jne no_set_gateway
mov [ string_x ], 205
mov [ string_y ], 90
mov [ string_length ], 15
call read_string
mov esi , string - 1
mov edi , gateway_ip
2007-09-13 17:29:59 +04:00
gip0:
2006-01-03 12:43:31 +03:00
xor eax , eax
gip1:
inc esi
cmp [ esi ], byte '0'
2007-10-22 22:43:00 +04:00
jb gip2
2006-01-03 12:43:31 +03:00
cmp [ esi ], byte '9'
2007-10-22 22:43:00 +04:00
jg gip2
2006-01-03 12:43:31 +03:00
imul eax , 10
movzx ebx , byte [ esi ]
sub ebx , 48
add eax , ebx
jmp gip1
gip2:
2007-09-13 17:29:59 +04:00
stosb
2006-01-03 12:43:31 +03:00
cmp edi , gateway_ip + 3
2007-09-13 17:29:59 +04:00
jbe gip0
jmp red
2006-01-03 12:43:31 +03:00
no_set_gateway:
2007-09-13 17:29:59 +04:00
dec eax
2006-01-03 12:43:31 +03:00
jne no_set_subnet
mov [ string_x ], 205
mov [ string_y ], 100
mov [ string_length ], 15
call read_string
mov esi , string - 1
mov edi , subnet_mask
2007-09-13 17:29:59 +04:00
sip0:
2006-01-03 12:43:31 +03:00
xor eax , eax
sip1:
inc esi
cmp [ esi ], byte '0'
2007-10-22 22:43:00 +04:00
jb si p2
2006-01-03 12:43:31 +03:00
cmp [ esi ], byte '9'
2007-10-22 22:43:00 +04:00
jg si p2
2006-01-03 12:43:31 +03:00
imul eax , 10
movzx ebx , byte [ esi ]
sub ebx , 48
add eax , ebx
jmp si p1
sip2:
2007-09-13 17:29:59 +04:00
stosb
2006-01-03 12:43:31 +03:00
cmp edi , subnet_mask + 3
2007-09-13 17:29:59 +04:00
jbe si p0
jmp red
2006-01-03 12:43:31 +03:00
no_set_subnet:
2007-09-13 17:29:59 +04:00
dec eax
2006-01-03 12:43:31 +03:00
jne no_set_dns
mov [ string_x ], 205
mov [ string_y ], 110
mov [ string_length ], 15
call read_string
mov esi , string - 1
mov edi , dns_ip
2007-09-13 17:29:59 +04:00
dip0:
2006-01-03 12:43:31 +03:00
xor eax , eax
dip1:
inc esi
cmp [ esi ], byte '0'
2007-10-22 22:43:00 +04:00
jb di p2
2006-01-03 12:43:31 +03:00
cmp [ esi ], byte '9'
2007-10-22 22:43:00 +04:00
jg di p2
2006-01-03 12:43:31 +03:00
imul eax , 10
movzx ebx , byte [ esi ]
sub ebx , 48
add eax , ebx
jmp di p1
dip2:
2007-09-13 17:29:59 +04:00
stosb
2006-01-03 12:43:31 +03:00
cmp edi , dns_ip + 3
2007-09-13 17:29:59 +04:00
jbe di p0
jmp red
2006-01-03 12:43:31 +03:00
no_set_dns:
2007-09-13 17:29:59 +04:00
dec eax
2007-10-22 22:43:00 +04:00
jb no_set_interface
2007-09-13 17:29:59 +04:00
cmp eax , 14 - 11
2007-10-22 22:43:00 +04:00
ja no_set_interface
2007-09-13 17:29:59 +04:00
mov [ interface ], eax
jmp red
no_set_interface:
2006-01-03 12:43:31 +03:00
2007-09-13 17:29:59 +04:00
sub eax , 21 - 11
2007-10-22 22:43:00 +04:00
jb no_ip_sf
2007-09-13 17:29:59 +04:00
cmp eax , 22 - 21
2007-10-22 22:43:00 +04:00
ja no_ip_sf
2007-09-13 17:29:59 +04:00
xor eax , 1
mov [ assigned ], eax
jmp red
no_ip_sf:
jmp still
2006-01-03 12:43:31 +03:00
apply_stack_setup:
mov eax ,[ com_irq ]
shl eax , 8
mov ebx ,[ com_add ]
shl ebx , 16
add eax , ebx
add eax ,[ interface ]
mov ebx ,[ assigned ]
shl ebx , 7
add eax , ebx
mov [ config ], eax
mov eax , 52
mov ebx , 3
mov ecx , dword [ ip_address ]
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
mov eax , 52
mov ebx , 11
mov ecx , dword [ gateway_ip ]
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
mov eax , 52
mov ebx , 12
mov ecx , dword [ subnet_mask ]
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
mov eax , 52
mov ebx , 14
mov ecx , dword [ dns_ip ]
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
mov eax , 52
mov ebx , 2
mov ecx ,[ config ]
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2006-10-28 07:57:32 +04:00
ret
2006-01-03 12:43:31 +03:00
string_length dd 16
string_x dd 200
string_y dd 60
2007-10-22 22:43:00 +04:00
string db '________________'
2006-01-03 12:43:31 +03:00
read_string:
mov edi , string
mov eax , '_'
mov ecx ,[ string_length ]
cld
rep stosb
call print_text
mov edi , string
f11:
mov eax , 10
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
cmp eax , 2
jne read_done
2007-09-13 17:29:59 +04:00
; mov eax,2
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
shr eax , 8
cmp eax , 13
2007-10-22 22:43:00 +04:00
je read_done
2006-01-03 12:43:31 +03:00
cmp eax , 8
jnz nobsl
cmp edi , string
2007-10-22 22:43:00 +04:00
jz f11
2006-01-03 12:43:31 +03:00
sub edi , 1
mov [ edi ], byte '_'
call print_text
jmp f11
nobsl:
cmp eax , dword 31
jbe f11
cmp eax , dword 95
2007-10-22 22:43:00 +04:00
jb keyok
2006-01-03 12:43:31 +03:00
sub eax , 32
keyok:
mov [ edi ], al
call print_text
inc edi
mov esi , string
add esi ,[ string_length ]
cmp esi , edi
jnz f11
read_done:
print_text:
pusha
mov eax , 13
mov ebx ,[ string_x ]
shl ebx , 16
add ebx ,[ string_length ]
imul bx , 6
mov ecx ,[ string_y ]
shl ecx , 16
mov cx , 8
mov edx , 0xffffff
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
mov eax , 4
mov ebx ,[ string_x ]
shl ebx , 16
add ebx ,[ string_y ]
mov ecx , 0x000000
mov edx , string
mov esi ,[ string_length ]
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:
2007-10-22 22:43:00 +04:00
mov eax , 12 ; function 12:tell os about windowdraw
mov ebx , 1 ; 1, start of draw
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2007-10-22 22:43:00 +04:00
; DRAW WINDOW
mov eax , 0 ; function 0 : define and draw window
mov ebx , 100 * 65536 + 330 ; [x start] *65536 + [x size]
mov ecx , 100 * 65536 + 157 ; [y start] *65536 + [y size]
mov edx , 0x14ffffff ; color of work area RRGGBB,8->color gl
mov edi , title ; WINDOW LABEL
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2007-10-22 22:43:00 +04:00
mov eax , 8 ; BUTTON : READ SETUP
2006-01-03 12:43:31 +03:00
mov ebx , 90 * 65536 + 65
mov ecx , 127 * 65536 + 12
mov edx , 2
2006-10-28 07:57:32 +04:00
mov esi ,[ button_color ]
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2006-10-28 07:57:32 +04:00
;mov eax,8 ; BUTTON : APPLY SETUP
2006-01-03 12:43:31 +03:00
mov ebx , 163 * 65536 + 65
mov ecx , 127 * 65536 + 12
mov edx , 3
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2006-10-28 07:57:32 +04:00
;mov eax,8 ; BUTTONS 11-14 : SELECT INTERFACE
2006-01-03 12:43:31 +03:00
mov ebx , 29 * 65536 + 8
mov ecx , 39 * 65536 + 8
mov edx , 11
interface_select:
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
add ecx , 10 * 65536
inc edx
cmp edx , 11 + 4
2007-10-22 22:43:00 +04:00
jb interface_select
2006-01-03 12:43:31 +03:00
2007-10-22 22:43:00 +04:00
mov ebx ,[ interface ] ; PRINT SELECTED INTERFACE 'X'
2006-01-03 12:43:31 +03:00
imul ebx , 10
add ebx , 31 * 65536 + 39
mov eax , 4
mov ecx , 0xffffff
mov edx , xx
mov esi , 1
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2007-10-22 22:43:00 +04:00
mov eax , 8 ; BUTTONS 21-22 : SERVER / MANUAL IP
2006-01-03 12:43:31 +03:00
mov ebx , 143 * 65536 + 8
mov ecx , 69 * 65536 + 8
mov edx , 21
mov esi ,[ button_color ]
2007-05-10 17:48:35 +04:00
mcall
2006-10-28 07:57:32 +04:00
;mov eax,8
2006-01-03 12:43:31 +03:00
mov ebx , 143 * 65536 + 8
mov ecx , 79 * 65536 + 8
mov edx , 22
2007-05-10 17:48:35 +04:00
mcall
2007-10-22 22:43:00 +04:00
mov ebx ,[ assigned ] ; PRINT SELECTED SERVER/MANUAL 'X'
2006-01-03 12:43:31 +03:00
not ebx
and ebx , 1
imul ebx , 10
add ebx , 145 * 65536 + 69
mov eax , 4
mov ecx , 0xffffff
mov edx , xx
mov esi , 1
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2007-10-22 22:43:00 +04:00
mov eax , 47 ; COM ADDRESS
2006-01-03 12:43:31 +03:00
mov ebx , 3 * 65536 + 1 * 256
mov ecx ,[ com_add ]
mov edx , 272 * 65536 + 40
mov esi , 0x000000
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2006-10-28 07:57:32 +04:00
;mov eax,47 ; COM IRQ
2006-01-03 12:43:31 +03:00
mov ebx , 1 * 65536 + 1 * 256
mov ecx ,[ com_irq ]
mov edx ,( 266 + 3 * 6 ) * 65536 + 50
mov esi , 0x000000
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
mov edi , ip_address
mov edx , 205 * 65536 + 80
mov esi , 0x000000
mov ebx , 3 * 65536
ipdisplay:
2006-10-28 07:57:32 +04:00
;mov eax,47
2006-01-03 12:43:31 +03:00
movzx ecx , byte [ edi ]
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
add edx , 6 * 4 * 65536
inc edi
cmp edi , ip_address + 4
2007-10-22 22:43:00 +04:00
jb ipdisplay
2006-01-03 12:43:31 +03:00
mov edi , gateway_ip
mov edx , 205 * 65536 + 90
mov esi , 0x000000
mov ebx , 3 * 65536
gipdisplay:
2006-10-28 07:57:32 +04:00
;mov eax,47
2006-01-03 12:43:31 +03:00
movzx ecx , byte [ edi ]
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
add edx , 6 * 4 * 65536
inc edi
cmp edi , gateway_ip + 4
2007-10-22 22:43:00 +04:00
jb gipdisplay
2006-01-03 12:43:31 +03:00
mov edi , subnet_mask
mov edx , 205 * 65536 + 100
mov esi , 0x000000
mov ebx , 3 * 65536
sipdisplay:
2006-10-28 07:57:32 +04:00
;mov eax,47
2006-01-03 12:43:31 +03:00
movzx ecx , byte [ edi ]
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
add edx , 6 * 4 * 65536
inc edi
cmp edi , subnet_mask + 4
2007-10-22 22:43:00 +04:00
jb si pdisplay
2006-01-03 12:43:31 +03:00
mov edi , dns_ip
mov edx , 205 * 65536 + 110
mov esi , 0x000000
mov ebx , 3 * 65536
dipdisplay:
2006-10-28 07:57:32 +04:00
;mov eax,47
2006-01-03 12:43:31 +03:00
movzx ecx , byte [ edi ]
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
add edx , 6 * 4 * 65536
inc edi
cmp edi , dns_ip + 4
2007-10-22 22:43:00 +04:00
jb di pdisplay
2006-01-03 12:43:31 +03:00
2007-10-22 22:43:00 +04:00
mov eax , 8 ; BUTTON 5 : SET PORT
2006-01-03 12:43:31 +03:00
mov ebx , 299 * 65536 + 8
mov ecx , 39 * 65536 + 8
mov edx , 5
mov esi ,[ button_color ]
2007-05-10 17:48:35 +04:00
mcall
2006-10-28 07:57:32 +04:00
;mov eax,8 ; BUTTON 6 : SET IRQ
2006-01-03 12:43:31 +03:00
mov ecx , 49 * 65536 + 8
2007-09-13 17:29:59 +04:00
inc edx
2007-05-10 17:48:35 +04:00
mcall
2006-10-28 07:57:32 +04:00
;mov eax,8 ; BUTTON 7 : SET IP
2006-01-03 12:43:31 +03:00
mov ecx , 79 * 65536 + 8
2007-09-13 17:29:59 +04:00
inc edx
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2006-10-28 07:57:32 +04:00
;mov eax,8 ; BUTTON 8 : SET gateway IP
2006-01-03 12:43:31 +03:00
mov ebx , 299 * 65536 + 8
mov ecx , 89 * 65536 + 8
2007-09-13 17:29:59 +04:00
inc edx
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2006-10-28 07:57:32 +04:00
;mov eax,8 ; BUTTON 9 : SET subnet
2006-01-03 12:43:31 +03:00
mov ecx , 99 * 65536 + 8
2007-09-13 17:29:59 +04:00
inc edx
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2006-10-28 07:57:32 +04:00
;mov eax,8 ; BUTTON 10 : SET dns ip
2006-01-03 12:43:31 +03:00
mov ecx , 109 * 65536 + 8
2007-09-13 17:29:59 +04:00
inc edx
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
2007-10-22 22:43:00 +04:00
mov ebx , 31 * 65536 + 40 ; draw info text with function 4
2006-01-03 12:43:31 +03:00
mov edx , text
mov esi , 49
2006-10-28 07:57:32 +04:00
mov eax , 4
2006-01-03 12:43:31 +03:00
newline:
mov ecx , 0x224466
cmp [ edx ], byte 'w'
jne nowhite
mov ecx , 0xeeeeee
nowhite:
inc edx
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
add ebx , 10
add edx , 49
cmp [ edx ], byte 'x'
jne newline
2007-10-22 22:43:00 +04:00
mov eax , 12 ; function 12:tell os about windowdraw
mov ebx , 2 ; 2, end of draw
2007-05-10 17:48:35 +04:00
mcall
2006-01-03 12:43:31 +03:00
ret
; DATA AREA
2007-10-22 22:43:00 +04:00
if lang eq ru
title db '<27> <> <EFBFBD> <EFBFBD> ன<EFBFBD> <E0AEA9> <20> <> ⥢<EFBFBD> <E2A5A2> <EFBFBD> <20> ⥪<EFBFBD> ' , 0
text:
db ' <20> <> <EFBFBD> <EFBFBD> ⨢<EFBFBD> <E2A8A2> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> Com-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> : 0x < '
db ' Slip <20> <> <EFBFBD> <EFBFBD> 뢠<EFBFBD> <EBA2A0> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : 0x < '
db ' PPP '
2010-12-20 20:33:57 +03:00
db ' <20> ࠩ<EFBFBD> <E0A0A9> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> ⮢ IP <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 砥<EFBFBD> <E7A0A5> <EFBFBD> <20> <> ࢥ '
db ' (Ethernet) <20> <> <EFBFBD> <EFBFBD> .: . . . < '
2007-10-22 22:43:00 +04:00
db ' <20> <> <EFBFBD> <EFBFBD> : . . . < '
db ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : . . . < '
db ' DNS IP: . . . < '
db ' '
db 'w <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> ਬ<EFBFBD> <E0A8AC> <EFBFBD> <EFBFBD> <EFBFBD> '
2010-12-20 20:33:57 +03:00
else if lang eq nl
2009-01-29 20:59:37 +03:00
title db 'Netwerk configuratie' , 0
text:
db ' Niet actief Modem Com Poort: 0x < '
db ' Slip Modem Com Irq: 0x < '
db ' PPP '
db ' Pakket Driver Door IP-server toegekend '
db ' (Ethernet) Vast IP: . . . < '
db ' Gateway: . . . < '
db ' Subnet: . . . < '
db ' DNS IP: . . . < '
db ' '
db 'w Vernieuw Toepassen '
2010-12-20 20:33:57 +03:00
else if lang eq ua
title db '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 㢠<EFBFBD> <E3A2A0> <EFBFBD> <20> <> ० i'
text:
db ' <20> <> <EFBFBD> <EFBFBD> ⨢<EFBFBD> <E2A8A2> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> Com-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> 0x < '
db ' Slip Com-<2D> <> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : 0x < '
db ' PPP '
db ' <20> ࠩ<EFBFBD> <E0A0A9> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> i<EFBFBD> IP <20> ਧ<EFBFBD> <E0A8A7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> ࢥ '
db ' (Ethernet) <20> i<EFBFBD> <69> .: . . . < '
db ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> : . . . < '
db ' <20> <> ᪠: . . . < '
db ' DNS IP . . . < '
db ' '
db 'w <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 㢠<EFBFBD> <E3A2A0> '
2009-01-29 20:59:37 +03:00
2007-10-22 22:43:00 +04:00
else
title db 'Stack configuration' , 0
2006-01-03 12:43:31 +03:00
text:
db ' Not active Modem Com Port: 0x < '
db ' Slip Modem Com Irq: 0x < '
db ' PPP '
db ' Packet Driver IP server assigned '
2009-01-29 20:59:37 +03:00
db ' (Ethernet) Fixed: . . . < '
2006-01-03 12:43:31 +03:00
db ' Gateway: . . . < '
db ' Subnet: . . . < '
db ' DNS IP: . . . < '
db ' '
db 'w READ APPLY '
2007-10-22 22:43:00 +04:00
end if
2006-01-03 12:43:31 +03:00
2006-10-28 07:57:32 +04:00
xx: db 'x' ;<- END MARKER, DONT DELETE
2006-01-03 12:43:31 +03:00
button_color dd 0x2254b9
2006-11-02 17:18:23 +03:00
2009-01-29 20:59:37 +03:00
ip_address dd ?
gateway_ip dd ?
subnet_mask dd ?
dns_ip dd ?
2006-01-03 12:43:31 +03:00
2006-11-02 17:18:23 +03:00
2009-01-29 20:59:37 +03:00
com_irq dd ? ; irq for slip/ppp
com_add dd ? ; com port address for slip/ppp
interface dd ? ; not active,slip,ppp,packet driver
assigned dd ? ; get ip from server
2006-01-03 12:43:31 +03:00
2009-01-29 20:59:37 +03:00
config dd ?
2006-01-03 12:43:31 +03:00
I_END: