X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/14d4e18442dcadf8a13bae21a22c33e9d23709e4..fc1c8e5408cf44693bd6c714ca30a85f715a9080:/avrcpm/cpm/bios.asm diff --git a/avrcpm/cpm/bios.asm b/avrcpm/cpm/bios.asm index 07e7603..0ae7932 100644 --- a/avrcpm/cpm/bios.asm +++ b/avrcpm/cpm/bios.asm @@ -13,6 +13,9 @@ ; ; You should have received a copy of the GNU General Public License ; along with this program. If not, see . +; +; $Id$ +; msize: equ 62 ;size of available RAM in k @@ -25,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 @@ -151,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 @@ -159,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.