view 3rdparty/drivers/sdisk/d1_80d.asm @ 3285:345ff5806dd7

Correct coco.d filename in shipped Defsfile files It seems that 8 years ago in commit 2624:b8c7b7fbf3c9 the coco defs were put into a new "coco.d" (from "systype"), and the various level*/<port>/defsfile were updated. However, the level*/<port>/defs/Defsfile (that are copied to the disk images under DEFS) were apparently wrongly updated.
author hpmachining <aur@hpminc.com>
date Thu, 18 Jun 2020 20:29:32 +0200
parents 3960e63fd9f7
children
line wrap: on
line source

********************************************************************
* D1 - Disk device descriptor for SDisk
*
* $Id$
*
* Ed.    Comments                                       Who YY/MM/DD
* ------------------------------------------------------------------
*        Created

         nam   D1
         ttl   Disk device descriptor for SDisk

         ifp1  
         use   defsfile
         endc  

Type     set   Devic+Objct
Revs     set   Reent+1

* MODULE HEADER AND FIXED INFORMATION
         mod   DescEnd,DescName,Type,Revs,DscMgr,DscDrv

         fcb   DIR.+SHARE.+PREAD.+PWRIT.+UPDAT.+EXEC.+PEXEC.

         fcb   HW.Page    port bank
         fdb   DPort      port address

* USER CHANGEABLE SETTINGS
Drive    set   1          drive number (0-3)
DrvTyp   set   TYP.5+TYP.CCF+TYP.FLP    5" floppy (double density on track 0)
StpRat   set   STP.6ms    drive stepping rate code
Cyls     set   80         number of cylinders (tracks per side)
SecTrk   set   18         number of sectors per track
SecTr0   set   SecTrk     number of sectors per track (track 0, side 0)
Density  set   DNS.MFM+DNS.STD   48 tpi, MFM
Sides    set   2          number of sides (1 or 2)

* OPTION TABLE
         fcb   OptEnd-*-1 number of bytes in option section below
         fcb   DT.RBF     device type = RBF
         fcb   Drive      drive number
         fcb   StpRat     step rate code
         fcb   DrvTyp
         fcb   Density
         fdb   Cyls       number of cylinders
         fcb   Sides
         fcb   0          verify turned on
         fdb   SecTrk
         fdb   SecTr0
         fcb   3          sector interleave offset factor
         fcb   8          minimum sector allocation size
         fcb   0          (reserved)
         fdb   0          (reserved)
         fcb   $10        sector/track offset (CoCo OS-9 disk format)
OptEnd   equ   *

* NAME STRINGS
DescName fcb   'D,'0+Drive+$80
DscMgr   fcs   'RBF'
DscDrv   fcs   'SDisk'

         emod  
DescEnd  equ   *
         end