;
; You should have received a copy of the GNU General Public License
; along with this program. If not, see <http://www.gnu.org/licenses/>.
+;
+; $Id$
+;
msize: equ 62 ;size of available RAM in k
buff: equ 0080h ;default buffer address
retry: equ 3 ;max retries on disk i/o before error
-cr: equ 13
-lf: equ 10
+cr:equ 13
+lf:equ 10
READ_FUNC: equ 7
WRITE_FUNC: equ 6
ld hl,7
add hl,de
ld a,(hl) ;get drm
- inc a
+ add 3 ;ToDo: this works only up to 252 dir entries
and 0fch
rrca ;4 dir entries per sector
rrca ;Number of sectors to init
ld bc,6
add hl,bc
- ld c,(hl) ;Start track
+ ld c,(hl) ;Start track (= # of reserved tracks)
push bc ;Save track
; Check, if we have reserved tracks.