Last change
on this file since 4307 was 4307, checked in by bird, 25 years ago |
Corrected problem with kernel build 14053. (new parameter to ldrOpenPath)
Added symbols for 14053 and 8266.
|
File size:
1.2 KB
|
Line | |
---|
1 | ; $Id: myldrOpenPatha.asm,v 1.1 2000-09-22 09:22:40 bird Exp $
|
---|
2 | ;
|
---|
3 | ; myldrOpenPatha - assembly helpers for myldrOpenPath.
|
---|
4 | ;
|
---|
5 | ; Copyright (c) 2000 knut st. osmundsen
|
---|
6 | ;
|
---|
7 | ; Project Odin Software License can be found in LICENSE.TXT
|
---|
8 | ;
|
---|
9 | .386p
|
---|
10 |
|
---|
11 | ;
|
---|
12 | ; Include files
|
---|
13 | ;
|
---|
14 | include devsegdf.inc
|
---|
15 | include options.inc
|
---|
16 |
|
---|
17 | ;
|
---|
18 | ; Exported symbols
|
---|
19 | ;
|
---|
20 | public _ldrOpenPath@20
|
---|
21 |
|
---|
22 | ;
|
---|
23 | ; Externs
|
---|
24 | ;
|
---|
25 | extrn __ldrOpenPath:PROC ; calltab entry
|
---|
26 | extrn _options:options
|
---|
27 |
|
---|
28 |
|
---|
29 | CODE32 segment
|
---|
30 | CODE32START label byte
|
---|
31 |
|
---|
32 |
|
---|
33 | ;;
|
---|
34 | ; Wrapper for ldrOpenPath which in build 14053 got a new parameter.
|
---|
35 | ; @status completely implemented.
|
---|
36 | ; @author knut st. osmundsen
|
---|
37 | _ldrOpenPath@20 PROC NEAR
|
---|
38 | ASSUME ds:FLAT
|
---|
39 | cmp FLAT:DATA16:_options.ulBuild, 14053
|
---|
40 | jge new
|
---|
41 |
|
---|
42 | ;
|
---|
43 | ; We does now have one parameter more than necessary on the stack.
|
---|
44 | ;
|
---|
45 | add esp, 4
|
---|
46 | mov eax, [esp + 0ch]
|
---|
47 | mov [esp + 010h], eax
|
---|
48 | mov eax, [esp + 08h]
|
---|
49 | mov [esp + 0ch], eax
|
---|
50 | mov eax, [esp + 04h]
|
---|
51 | mov [esp + 08h], eax
|
---|
52 | mov eax, [esp + 00h]
|
---|
53 | mov [esp + 04h], eax
|
---|
54 | mov eax, [esp - 04h]
|
---|
55 | mov [esp + 00h], eax
|
---|
56 |
|
---|
57 | new:
|
---|
58 | jmp near ptr FLAT:CALLTAB:__ldrOpenPath
|
---|
59 |
|
---|
60 | _ldrOpenPath@20 ENDP
|
---|
61 |
|
---|
62 |
|
---|
63 |
|
---|
64 | CODE32 ends
|
---|
65 |
|
---|
66 | END
|
---|
67 |
|
---|
68 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.