Rev 2364 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2364 | Rev 2853 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | ; Application to load network drivers in KolibriOS |
4 | ; Application to load network drivers in KolibriOS |
5 | ; |
5 | ; |
6 | ; By hidnplayr |
6 | ; By hidnplayr |
7 | ; |
7 | ; |
Line -... | Line 8... | ||
- | 8 | ||
- | 9 | format binary as "" |
|
8 | 10 | ||
9 | use32 |
11 | use32 |
Line 10... | Line 12... | ||
10 | org 0x0 |
12 | org 0x0 |
11 | 13 | ||
Line 30... | Line 32... | ||
30 | je .noparams |
32 | je .noparams |
Line 31... | Line 33... | ||
31 | 33 | ||
Line 32... | Line 34... | ||
32 | mcall 40, 0 |
34 | mcall 40, 0 |
33 | 35 | ||
34 | 36 | ||
Line 35... | Line 37... | ||
35 | push exit |
37 | push .launch_zeroconf_exit |
36 | cmp byte[param], 'A' ; A for All |
38 | cmp byte[param], 'A' ; A for All |
Line 37... | Line 39... | ||
37 | je Get_PCI_Info |
39 | je Get_PCI_Info |
Line -... | Line 40... | ||
- | 40 | ||
- | 41 | cmp byte[param], 'F' ; F for First |
|
- | 42 | je Get_PCI_Info |
|
- | 43 | ||
38 | 44 | ret |
|
39 | cmp byte[param], 'F' ; F for First |
45 | |
Line 40... | Line 46... | ||
40 | je Get_PCI_Info |
46 | .launch_zeroconf_exit: |
41 | 47 | mcall 70, zeroconf |
|
Line 492... | Line 498... | ||
492 | hardwareinfo: |
498 | hardwareinfo: |
493 | .type db 1 ; pci |
499 | .type db 1 ; pci |
494 | .pci_bus db ? |
500 | .pci_bus db ? |
495 | .pci_dev db ? |
501 | .pci_dev db ? |
Line -... | Line 502... | ||
- | 502 | ||
- | 503 | zeroconf: |
|
- | 504 | dd 7 ; launch app |
|
- | 505 | dd 0 ; no flags |
|
- | 506 | dd 0 ; no parameters |
|
- | 507 | dd 0 ; reserved |
|
- | 508 | dd 0 ; reserved |
|
- | 509 | db "/sys/network/zeroconf", 0 |
|
Line 496... | Line 510... | ||
496 | 510 | ||
Line 497... | Line 511... | ||
497 | 511 | ||
498 | IM_END: |
512 | IM_END: |