forked from KolibriOS/kolibrios
Some skinned network apps from Johnny_B (10.11.06). Also they use 'MENUET01' header instead of 'MENUET00' now
git-svn-id: svn://kolibrios.org@331 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
b661da340a
commit
13528c5c97
@ -6,16 +6,14 @@
|
||||
;
|
||||
|
||||
use32
|
||||
|
||||
org 0x0
|
||||
|
||||
db 'MENUET00' ; 8 byte id
|
||||
dd 38 ; required os
|
||||
dd START ; program start
|
||||
dd I_END ; program image size
|
||||
dd 0x100000 ; required amount of memory
|
||||
; esp = 0x7FFF0
|
||||
dd 0x00000000 ; reserved=no extended header
|
||||
db 'MENUET01' ; header
|
||||
dd 0x01 ; header version
|
||||
dd START ; entry point
|
||||
dd I_END ; image size
|
||||
dd I_END+0x10000 ; required memory
|
||||
dd I_END+0x10000 ; esp
|
||||
dd 0x0 , 0x0 ; I_Param , I_Path
|
||||
|
||||
|
||||
include 'lang.inc'
|
||||
@ -461,29 +459,11 @@ draw_window:
|
||||
mov ebx,1
|
||||
int 0x40
|
||||
|
||||
mov eax,0 ; DRAW WINDOW
|
||||
xor eax,eax ; DRAW WINDOW
|
||||
mov ebx,100*65536+491 + 8 +15
|
||||
mov ecx,100*65536+270 + 20 ; 20 for status bar
|
||||
mov edx,[wcolor]
|
||||
add edx,0x02000000
|
||||
mov esi,0x80557799
|
||||
mov edi,0x00557799
|
||||
int 0x40
|
||||
|
||||
mov eax,4 ; WINDOW LABEL
|
||||
mov ebx,8*65536+8
|
||||
mov ecx,0x00ffffff
|
||||
mov edx,labelt
|
||||
mov esi,labellen-labelt
|
||||
int 0x40
|
||||
|
||||
|
||||
mov eax,8 ; CLOSE BUTTON
|
||||
mov ebx,(491 + 20 -19)*65536+12
|
||||
|
||||
mov ecx,5*65536+12
|
||||
mov edx,1
|
||||
mov esi,0x557799
|
||||
mov edx,0x13000000
|
||||
mov edi,labelt
|
||||
int 0x40
|
||||
|
||||
; draw status bar
|
||||
@ -793,8 +773,7 @@ pos dd 80 * 1
|
||||
scroll dd 1
|
||||
dd 24
|
||||
wcolor dd 0x000000
|
||||
labelt db 'Telnet v0.1'
|
||||
labellen:
|
||||
labelt db 'Telnet v0.1',0
|
||||
setipt db 'IP Address: . . .'
|
||||
setiplen:
|
||||
setportt db 'Port:'
|
||||
|
@ -1,21 +1,16 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;
|
||||
; TERMINAL
|
||||
;
|
||||
; Compile with FASM for Menuet
|
||||
;
|
||||
|
||||
use32
|
||||
|
||||
org 0x0
|
||||
|
||||
db 'MENUET00' ; 8 byte id
|
||||
dd 38 ; required os
|
||||
dd START ; program start
|
||||
dd I_END ; program image size
|
||||
dd 0x100000 ; required amount of memory
|
||||
; esp = 0x7FFF0
|
||||
dd 0x00000000 ; reserved=no extended header
|
||||
db 'MENUET01' ; header
|
||||
dd 0x01 ; header version
|
||||
dd START ; entry point
|
||||
dd I_END ; image size
|
||||
dd I_END+0x10000 ; required memory
|
||||
dd I_END+0x10000 ; esp
|
||||
dd 0x0 , 0x0 ; I_Param , I_Path
|
||||
|
||||
include 'lang.inc'
|
||||
include 'macros.inc'
|
||||
@ -344,24 +339,8 @@ draw_window:
|
||||
mov eax,0 ; DRAW WINDOW
|
||||
mov ebx,100*65536+491
|
||||
mov ecx,100*65536+270
|
||||
mov edx,[wcolor]
|
||||
add edx,0x02000000
|
||||
mov esi,0x80557799
|
||||
mov edi,0x00557799
|
||||
int 0x40
|
||||
|
||||
mov eax,4 ; WINDOW LABEL
|
||||
mov ebx,8*65536+8
|
||||
mov ecx,0x00ffffff
|
||||
mov edx,labelt
|
||||
mov esi,labellen-labelt
|
||||
int 0x40
|
||||
|
||||
mov eax,8 ; CLOSE BUTTON
|
||||
mov ebx,(491-19)*65536+12
|
||||
mov ecx,5*65536+12
|
||||
mov edx,1
|
||||
mov esi,0x557799
|
||||
mov edx,0x13000000
|
||||
mov edi,labelt
|
||||
int 0x40
|
||||
|
||||
xor eax,eax
|
||||
@ -741,8 +720,7 @@ esccmd dd 0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
escend db 'ZrhlABCDHfDME=>NmKJgincoyq',0
|
||||
escnumbers dd 0,0,0,0,0
|
||||
wcolor dd 0x000000
|
||||
labelt db 'TERMINAL FOR MODEM IN COM1 0.03'
|
||||
labellen:
|
||||
labelt db 'TERMINAL FOR MODEM IN COM1 0.03',0
|
||||
|
||||
text:
|
||||
db ' '
|
||||
|
@ -8,15 +8,14 @@
|
||||
;
|
||||
|
||||
use32
|
||||
|
||||
org 0x0
|
||||
|
||||
db 'MENUET00' ; 8 byte id
|
||||
dd 38 ; required os
|
||||
dd START ; program start
|
||||
dd I_END ; program image size
|
||||
dd 0x100000 ; required amount of memory
|
||||
dd 0x00000000 ; reserved=no extended header
|
||||
db 'MENUET01' ; header
|
||||
dd 0x01 ; header version
|
||||
dd START ; entry point
|
||||
dd I_END ; image size
|
||||
dd I_END+0x10000 ; required memory
|
||||
dd I_END+0x10000 ; esp
|
||||
dd 0x0 , 0x0 ; I_Param , I_Path
|
||||
|
||||
include 'lang.inc'
|
||||
include 'macros.inc'
|
||||
@ -585,17 +584,8 @@ draw_window:
|
||||
mov eax,0 ; function 0 : define and draw window
|
||||
mov ebx,100*65536+230 ; [x start] *65536 + [x size]
|
||||
mov ecx,100*65536+170 ; [y start] *65536 + [y size]
|
||||
mov edx,0x03224466 ; color of work area RRGGBB
|
||||
mov esi,0x00334455 ; color of grab bar RRGGBB,8->color gl
|
||||
mov edi,0x00ddeeff ; color of frames RRGGBB
|
||||
int 0x40
|
||||
|
||||
; WINDOW LABEL
|
||||
mov eax,4 ; function 4 : write text to window
|
||||
mov ebx,8*65536+8 ; [x start] *65536 + [y start]
|
||||
mov ecx,0x00ffffff ; color of text RRGGBB
|
||||
mov edx,labelt ; pointer to text beginning
|
||||
mov esi,labellen-labelt ; text length
|
||||
mov edx,0x13224466 ; color of work area RRGGBB
|
||||
mov edi,labelt
|
||||
int 0x40
|
||||
|
||||
|
||||
@ -698,13 +688,10 @@ text:
|
||||
db ' SERVER -> PLAY FILE '
|
||||
db ' '
|
||||
db ' '
|
||||
db 'x <- END MARKER, DONT DELETE '
|
||||
db 'x' ; <- END MARKER, DONT DELETE
|
||||
|
||||
|
||||
labelt:
|
||||
db 'TFTP Wave Player'
|
||||
labellen:
|
||||
|
||||
labelt db 'TFTP Wave Player',0
|
||||
|
||||
prompt: dd 0
|
||||
promptlen: dd 0
|
||||
|
@ -1,19 +1,15 @@
|
||||
;
|
||||
; TFTP Client
|
||||
;
|
||||
; Compile with FASM for Menuet
|
||||
;
|
||||
|
||||
use32
|
||||
|
||||
org 0x0
|
||||
|
||||
db 'MENUET00' ; 8 byte id
|
||||
dd 38 ; required os
|
||||
dd START ; program start
|
||||
dd I_END ; program image size
|
||||
dd 0x100000 ; required amount of memory
|
||||
dd 0x00000000 ; reserved=no extended header
|
||||
db 'MENUET01' ; header
|
||||
dd 0x01 ; header version
|
||||
dd START ; entry point
|
||||
dd I_END ; image size
|
||||
dd I_END+0x10000 ; required memory
|
||||
dd I_END+0x10000 ; esp
|
||||
dd 0x0 , 0x0 ; I_Param , I_Path
|
||||
|
||||
include 'lang.inc'
|
||||
include 'macros.inc'
|
||||
@ -819,20 +815,10 @@ draw_window:
|
||||
mov eax,0 ; function 0 : define and draw window
|
||||
mov ebx,100*65536+230 ; [x start] *65536 + [x size]
|
||||
mov ecx,100*65536+170 ; [y start] *65536 + [y size]
|
||||
mov edx,0x03224466 ; color of work area RRGGBB
|
||||
mov esi,0x00334455 ; color of grab bar RRGGBB,8->color gl
|
||||
mov edi,0x00ddeeff ; color of frames RRGGBB
|
||||
mov edx,0x13224466 ; color of work area RRGGBB
|
||||
mov edi,labelt
|
||||
int 0x40
|
||||
|
||||
; WINDOW LABEL
|
||||
mov eax,4 ; function 4 : write text to window
|
||||
mov ebx,8*65536+8 ; [x start] *65536 + [y start]
|
||||
mov ecx,0x00ffffff ; color of text RRGGBB
|
||||
mov edx,labelt ; pointer to text beginning
|
||||
mov esi,labellen-labelt ; text length
|
||||
int 0x40
|
||||
|
||||
|
||||
mov eax,8 ; COPY BUTTON
|
||||
mov ebx,20*65536+190
|
||||
mov ecx,79*65536+15
|
||||
@ -932,13 +918,10 @@ text:
|
||||
db ' COPY LOCAL -> HOST '
|
||||
db ' '
|
||||
db ' '
|
||||
db 'x <- END MARKER, DONT DELETE '
|
||||
db 'x' ; <- END MARKER, DONT DELETE
|
||||
|
||||
|
||||
labelt:
|
||||
db 'TFTP Client'
|
||||
labellen:
|
||||
|
||||
labelt db 'TFTP Client',0
|
||||
|
||||
prompt: dd 0
|
||||
promptlen: dd 0
|
||||
|
@ -4,13 +4,14 @@
|
||||
;B+ System header
|
||||
use32
|
||||
org 0x0
|
||||
db 'MENUET01'
|
||||
dd 0x01
|
||||
dd START
|
||||
dd I_END
|
||||
dd 0x100000
|
||||
dd 0x7fff0
|
||||
dd 0x0,0x0
|
||||
db 'MENUET01' ; header
|
||||
dd 0x01 ; header version
|
||||
dd START ; entry point
|
||||
dd I_END ; image size
|
||||
dd I_END+0x10000 ; required memory
|
||||
dd I_END+0x10000 ; esp
|
||||
dd 0x0 , 0x0 ; I_Param , I_Path
|
||||
|
||||
;E:.
|
||||
include 'lang.inc'
|
||||
;B+ Definitions
|
||||
@ -143,9 +144,6 @@ noclose:
|
||||
|
||||
draw_window:
|
||||
;B+ Draw window
|
||||
mov ebx,1
|
||||
mov eax,12
|
||||
int 0x40
|
||||
|
||||
mov ebx,3
|
||||
mov ecx,sys_colors
|
||||
@ -153,29 +151,16 @@ draw_window:
|
||||
mov eax,48
|
||||
int 0x40
|
||||
|
||||
mov ebx,1
|
||||
mov eax,12
|
||||
int 0x40
|
||||
|
||||
xor eax,eax ;DRAW WINDOW
|
||||
mov ebx,150*65536+h_sp
|
||||
mov ecx,100*65536+v_sp
|
||||
mov edx,[sys_colors+4*5]
|
||||
or edx,0x02000000
|
||||
mov esi,[sys_colors+4*1]
|
||||
or esi,0x80000000
|
||||
mov edi,[sys_colors+4*0]
|
||||
mov eax,0
|
||||
int 0x40
|
||||
|
||||
mov ebx,8*65536+8
|
||||
mov ecx,[sys_colors+4*4]
|
||||
or ecx,0x10000000
|
||||
mov edx,caption
|
||||
mov esi,caption_end-caption
|
||||
mov eax,4
|
||||
int 0x40
|
||||
|
||||
mov ebx,(400-19) shl 16 + 12
|
||||
mov ecx,5 shl 16 + 12
|
||||
mov edx,1
|
||||
mov esi,[sys_colors+4*2]
|
||||
mov eax,8
|
||||
or edx,0x13000000
|
||||
mov edi,header
|
||||
int 0x40
|
||||
|
||||
;B+ Friend panel
|
||||
@ -1061,12 +1046,8 @@ fr_e db 0 ;del
|
||||
times 200 db 0 ;del
|
||||
;del
|
||||
last_friend_line dd 0x6 ;del
|
||||
;E:. ;del
|
||||
|
||||
;B+ Data area
|
||||
;caption db 'Yahoo Messanger for MenuetOS'
|
||||
caption db 'Messinger (Yahoo Compatible)'
|
||||
caption_end:
|
||||
header db 'Messenger (Yahoo Compatible)',0
|
||||
|
||||
;User / Password
|
||||
login_txt db 'STATUS: SESSION: ___.___.___.___'
|
||||
|
Loading…
Reference in New Issue
Block a user