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