X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/53327777c55c0e5f9d8c52a830248b394ae7797e..8791c3a48be156966a602adabc11614147ff85c8:/avrcpm/cpm/bios.asm diff --git a/avrcpm/cpm/bios.asm b/avrcpm/cpm/bios.asm index 1f44c64..0ae7932 100644 --- a/avrcpm/cpm/bios.asm +++ b/avrcpm/cpm/bios.asm @@ -28,8 +28,8 @@ iobyte: equ 0003h ;intel iobyte 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 @@ -154,7 +154,7 @@ boot: 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 @@ -162,7 +162,7 @@ boot: 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.