Rev 3545 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3545 | Rev 3618 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2010-2012. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2010-2013. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;; ping.asm - ICMP echo client for KolibriOS ;; |
6 | ;; ping.asm - ICMP echo client for KolibriOS ;; |
7 | ;; ;; |
7 | ;; ;; |
8 | ;; Written by hidnplayr@kolibrios.org ;; |
8 | ;; Written by hidnplayr@kolibrios.org ;; |
Line 10... | Line 10... | ||
10 | ;; GNU GENERAL PUBLIC LICENSE ;; |
10 | ;; GNU GENERAL PUBLIC LICENSE ;; |
11 | ;; Version 2, June 1991 ;; |
11 | ;; Version 2, June 1991 ;; |
12 | ;; ;; |
12 | ;; ;; |
13 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
13 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 14... | Line -... | ||
14 | - | ||
15 | 14 | ||
Line -... | Line 15... | ||
- | 15 | format binary as "" |
|
- | 16 | ||
16 | format binary as "" |
17 | BUFFERSIZE = 1500 |
17 | 18 | ||
Line 18... | Line 19... | ||
18 | use32 |
19 | use32 |
19 | org 0x0 |
20 | org 0x0 |
Line 26... | Line 27... | ||
26 | dd mem ; stack pointer |
27 | dd mem ; stack pointer |
27 | dd s ; parameters |
28 | dd s ; parameters |
28 | dd 0 ; path |
29 | dd 0 ; path |
Line 29... | Line -... | ||
29 | - | ||
30 | 30 | ||
31 | BUFFERSIZE equ 1500 |
31 | |
32 | ; useful includes |
32 | ; useful includes |
33 | include '../macros.inc' |
33 | include '../../macros.inc' |
34 | purge mov,add,sub |
34 | purge mov,add,sub |
35 | include '../proc32.inc' |
35 | include '../../proc32.inc' |
Line 36... | Line 36... | ||
36 | include '../dll.inc' |
36 | include '../../dll.inc' |
Line 37... | Line 37... | ||
37 | include '../network.inc' |
37 | include '../../network.inc' |