Rev 593 | Rev 2455 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 593 | Rev 766 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. 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... | ||
8 | $Revision: 593 $ |
8 | $Revision: 766 $ |
9 | 9 | ||
10 | 10 | ||
Line 23... | Line 23... | ||
23 | mov al,0 |
23 | mov al,0 |
24 | mov ecx,160 |
24 | mov ecx,160 |
25 | rep stosb |
25 | rep stosb |
26 | ret |
26 | ret |
Line 27... | Line -... | ||
27 | - | ||
28 | fdc_filesave: ;ebx: cluster to be saved. |
- | |
29 | pusha ;returns immediately. does not trigger a write. |
- | |
30 | mov eax,ebx |
- | |
31 | add eax,31 |
- | |
32 | mov bl,18 |
- | |
33 | div bl |
- | |
34 | mov ah,0 |
- | |
35 | add eax,OS_BASE+0xD201 |
- | |
36 | mov [eax],byte 1 ;This track is now dirty. |
- | |
37 | popa |
- | |
38 | ret |
- | |
39 | 27 | ||
40 | fdc_irq: |
28 | fdc_irq: |
41 | call [fdc_irq_func] |
29 | call [fdc_irq_func] |
42 | fdc_null: |
30 | fdc_null: |