Rev 3539 | Rev 4273 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3539 | Rev 3771 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line -... | ||
8 | $Revision: 3539 $ |
- | |
9 | - | ||
10 | - | ||
11 | iglobal |
- | |
12 | ;function pointers. |
- | |
13 | fdc_irq_func dd fdc_null |
8 | $Revision: 3771 $ |
14 | endg |
9 | |
15 | 10 | ||
16 | uglobal |
11 | uglobal |
Line 23... | Line 18... | ||
23 | mov al, 0 |
18 | mov al, 0 |
24 | mov ecx, 160 |
19 | mov ecx, 160 |
25 | rep stosb |
20 | rep stosb |
26 | ret |
21 | ret |
Line 27... | Line -... | ||
27 | - | ||
28 | fdc_irq: |
- | |
29 | call [fdc_irq_func] |
- | |
30 | fdc_null: |
- | |
31 | ret |
- | |
32 | 22 | ||
33 | save_image: |
23 | save_image: |
34 | call reserve_flp |
24 | call reserve_flp |
35 | call restorefatchain |
25 | call restorefatchain |
36 | pusha |
26 | pusha |
Line 62... | Line 52... | ||
62 | inc [FDD_Track] |
52 | inc [FDD_Track] |
63 | call SeekTrack |
53 | call SeekTrack |
64 | cmp [FDD_Track], 80 |
54 | cmp [FDD_Track], 80 |
65 | jne save_image_1 |
55 | jne save_image_1 |
66 | unnecessary_save_image: |
56 | unnecessary_save_image: |
67 | mov [fdc_irq_func], fdc_null |
- | |
68 | popa |
57 | popa |
69 | mov [flp_status], 0 |
58 | mov [flp_status], 0 |
70 | ret |
59 | ret |