|
@@ -1,41 +0,0 @@
|
1
|
|
-/*
|
2
|
|
- Prefix for .exe images
|
3
|
|
- Doesn't work yet, even though it starts off the same as a .com
|
4
|
|
- image as shown by DOS debug.
|
5
|
|
-*/
|
6
|
|
-
|
7
|
|
- .text
|
8
|
|
- .code16
|
9
|
|
- .arch i386
|
10
|
|
- .section ".prefix", "ax", @progbits
|
11
|
|
-
|
12
|
|
-_prefix:
|
13
|
|
- .byte 'M', 'Z'
|
14
|
|
- .short _exe_size_tail /* tail */
|
15
|
|
- .short _exe_size_pages /* pages */
|
16
|
|
- .short 0 /* relocations */
|
17
|
|
- .short 2 /* header paras */
|
18
|
|
- .short _exe_bss_size /* min */
|
19
|
|
- .short 0xFFFF /* max paras */
|
20
|
|
- .short _exe_ss_offset /* SS */
|
21
|
|
- .short _stack_size /* SP */
|
22
|
|
- .short 0 /* checksum */
|
23
|
|
- .short 0 /* IP */
|
24
|
|
- .short 0 /* CS */
|
25
|
|
- .short 0x1C /* reloc offset */
|
26
|
|
- .short 0 /* overlay number */
|
27
|
|
- .short 0 /* fill */
|
28
|
|
- .short 0 /* fill */
|
29
|
|
-
|
30
|
|
- .section ".text16", "ax", @progbits
|
31
|
|
-prefix_exit:
|
32
|
|
- movw $0x4c00,%ax /* return to DOS */
|
33
|
|
- int $0x21 /* reach this on Quit */
|
34
|
|
-prefix_exit_end:
|
35
|
|
- .previous
|
36
|
|
-
|
37
|
|
-/* The body of etherboot is attached here at build time.
|
38
|
|
- * Force 16 byte alignment
|
39
|
|
- */
|
40
|
|
- .align 16,0
|
41
|
|
-_body:
|