Commit 8d29d66
committed
test for uninitialized dpb on INT25,26 and always allow rw block zero
The problem is that ISFAT32 macro only tests for dpb->fatsize = 0, and
not also for xfatsize != 0. So the ISFAT32 macro returns a
"false positive" on uninitialized dpbs, where both fatsize and xfatsize
are zero.
This fixes #200. However, the dpb
is not properly initialized via a media check by an INT25,26 yet.
This commit makes sure that written sectors are removed from the
block cache.1 parent 654e7b7 commit 8d29d66
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1812 | 1812 | | |
1813 | 1813 | | |
1814 | 1814 | | |
| 1815 | + | |
1815 | 1816 | | |
1816 | 1817 | | |
1817 | 1818 | | |
| |||
1822 | 1823 | | |
1823 | 1824 | | |
1824 | 1825 | | |
1825 | | - | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
1826 | 1829 | | |
1827 | 1830 | | |
1828 | 1831 | | |
1829 | 1832 | | |
1830 | 1833 | | |
1831 | 1834 | | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
1832 | 1838 | | |
1833 | 1839 | | |
1834 | | - | |
1835 | | - | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
1836 | 1843 | | |
1837 | 1844 | | |
1838 | 1845 | | |
| |||
1841 | 1848 | | |
1842 | 1849 | | |
1843 | 1850 | | |
1844 | | - | |
1845 | | - | |
1846 | | - | |
1847 | 1851 | | |
1848 | 1852 | | |
1849 | 1853 | | |
| |||
1856 | 1860 | | |
1857 | 1861 | | |
1858 | 1862 | | |
| 1863 | + | |
1859 | 1864 | | |
1860 | 1865 | | |
1861 | 1866 | | |
| |||
0 commit comments