Rev 8184 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8129 | IgorA | 1 | use32 |
2 | org 0 |
||
3 | db 'MENUET01' |
||
4 | dd 1 |
||
5 | dd @Kolibri@Main$qv |
||
6 | dd I_END |
||
8252 | IgorA | 7 | dd U_END+STACKSIZE ;+HEAPSIZE |
8129 | IgorA | 8 | dd U_END+STACKSIZE |
8252 | IgorA | 9 | if defined @Kolibri@CommandLine |
10 | dd @Kolibri@CommandLine |
||
11 | else |
||
12 | dd 0 |
||
13 | end if |
||
14 | if defined @Kolibri@CurrentDirectoryPath |
||
15 | dd @Kolibri@CurrentDirectoryPath |
||
16 | else |
||
17 | dd 0 |
||
18 | end if |
||
8129 | IgorA | 19 | |
8184 | IgorA | 20 | include "..\..\KOSfuncs.inc" |
8170 | IgorA | 21 | include "..\..\proc32.inc" |
8252 | IgorA | 22 | include "..\..\macros.inc" |
23 | include "..\..\dll.inc" |
||
24 | include "..\..\load_lib.mac" |
||
8170 | IgorA | 25 | |
8129 | IgorA | 26 | ptr equ |
27 | offset equ |
||
28 | short equ |
||
29 | tbyte equ tword |
||
30 | |||
31 | PTR equ |
||
32 | OFFSET equ |
||
33 | SHORT equ |
||
34 | TBYTE equ TWORD |
||
35 | |||
36 | macro movsb a,b |
||
37 | { |
||
38 | if a eq & b eq |
||
39 | movsb |
||
40 | else |
||
41 | movsx a,b |
||
42 | end if |
||
43 | } |
||
44 | |||
45 | macro movsw a,b |
||
46 | { |
||
47 | if a eq & b eq |
||
48 | movsw |
||
49 | else |
||
50 | movsx a,b |
||
51 | end if |
||
52 | } |
||
53 | |||
54 | macro segment name {} |
||
55 | |||
56 | macro endseg name {} |