Subversion Repositories Kolibri OS

Rev

Rev 3601 | Rev 3632 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3601 Rev 3618
Line 7... Line 7...
7
;;                                                                 ;;
7
;;                                                                 ;;
8
;;  Written by hidnplayr@kolibrios.org                             ;;
8
;;  Written by hidnplayr@kolibrios.org                             ;;
9
;;    Some code contributed by Derpenguin                          ;;
9
;;    Some code contributed by Derpenguin                          ;;
10
;;                                                                 ;;
10
;;                                                                 ;;
11
;;  DHCP code is based on that by Mike Hibbet                      ;;
11
;;  DHCP code is based on that by Mike Hibbet                      ;;
12
;       (DHCP client for menuetos)                                 ;;
12
;;      (DHCP client for menuetos)                                 ;;
13
;;                                                                 ;;
13
;;                                                                 ;;
14
;;          GNU GENERAL PUBLIC LICENSE                             ;;
14
;;          GNU GENERAL PUBLIC LICENSE                             ;;
15
;;             Version 2, June 1991                                ;;
15
;;             Version 2, June 1991                                ;;
16
;;                                                                 ;;
16
;;                                                                 ;;
17
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
17
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 18... Line 18...
18
 
18
 
Line 19... Line -...
19
format binary as ""
-
 
20
 
-
 
21
use32
-
 
22
        org     0x0
-
 
23
 
-
 
24
        db      'MENUET01'              ; 8 byte id
-
 
25
        dd      0x01                    ; header version
-
 
26
        dd      START                   ; start of code
-
 
27
        dd      IM_END                  ; size of image
-
 
28
        dd      (I_END+0x100)           ; memory for app
-
 
29
        dd      (I_END+0x100)           ; esp
-
 
30
        dd      0, 0                    ; I_Param, I_Path
19
format binary as ""
Line 31... Line 20...
31
 
20
 
32
; CONFIGURATION
21
; CONFIGURATION
33
 
22
 
Line 51... Line 40...
51
 
40
 
Line 52... Line 41...
52
RATE_LIMIT_INTERVAL     = 60            ; seconds (delay between successive attempts)
41
RATE_LIMIT_INTERVAL     = 60            ; seconds (delay between successive attempts)
Line -... Line 42...
-
 
42
 
-
 
43
DEFEND_INTERVAL         = 10            ; seconds (min. wait between defensive ARPs)
-
 
44
 
-
 
45
use32
-
 
46
        org     0x0
-
 
47
 
-
 
48
        db      'MENUET01'              ; 8 byte id
-
 
49
        dd      0x01                    ; header version
-
 
50
        dd      START                   ; start of code
-
 
51
        dd      IM_END                  ; size of image
-
 
52
        dd      (I_END+0x100)           ; memory for app
Line 53... Line 53...
53
 
53
        dd      (I_END+0x100)           ; esp
54
DEFEND_INTERVAL         = 10            ; seconds (min. wait between defensive ARPs)
54
        dd      0, 0                    ; I_Param, I_Path
55
 
55
 
56
 
56
 
57
include '../proc32.inc'
57
include '../../proc32.inc'
58
include '../macros.inc'
58
include '../../macros.inc'
Line 59... Line 59...
59
include '../debug-fdo.inc'
59
include '../../debug-fdo.inc'
60
include '../network.inc'
60
include '../../network.inc'