Subversion Repositories Kolibri OS

Rev

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

Rev 3545 Rev 3618
Line -... Line 1...
-
 
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
 
2
;;                                                                 ;;
-
 
3
;; Copyright (C) KolibriOS team 2010-2013. All rights reserved.    ;;
-
 
4
;; Distributed under terms of the GNU General Public License       ;;
-
 
5
;;                                                                 ;;
-
 
6
;; nslookup.asm - name service lookup (DNS)) program for KolibriOS ;;
-
 
7
;;                                                                 ;;
-
 
8
;;  Written by hidnplayr@kolibrios.org                             ;;
-
 
9
;;                                                                 ;;
-
 
10
;;          GNU GENERAL PUBLIC LICENSE                             ;;
-
 
11
;;             Version 2, June 1991                                ;;
-
 
12
;;                                                                 ;;
-
 
13
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
 
14
 
1
format binary as ""
15
format binary as ""
Line 2... Line 16...
2
 
16
 
3
use32
17
use32
4
; standard header
18
; standard header
Line 10... Line 24...
10
        dd      mem             ; stack pointer
24
        dd      mem             ; stack pointer
11
        dd      0               ; parameters
25
        dd      0               ; parameters
12
        dd      0               ; path
26
        dd      0               ; path
Line 13... Line 27...
13
 
27
 
14
; useful includes
28
; useful includes
15
include '../macros.inc'
29
include '../../macros.inc'
16
purge mov,add,sub
30
purge mov,add,sub
17
include '../proc32.inc'
31
include '../../proc32.inc'
Line 18... Line 32...
18
include '../dll.inc'
32
include '../../dll.inc'
Line 19... Line 33...
19
 
33
 
20
include '../network.inc'
34
include '../../network.inc'
21
 
35
 
22
; entry point
36
; entry point