view level1/modules/rfmdesc.asm @ 3277:33d539c123cf

d64: Add mb.ddisk script for making Dragon boot floppy At least it works in XRoar when running off a 80d floppy and preparing a new 40d boot floppy in the second drive. The "format" must be run manually for now since there is not enough memory to run it from inside the script...
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 07 Mar 2020 23:15:05 +0100
parents a7c66ffbec7c
children
line wrap: on
line source

********************************************************************
* RFMDesc - Remote File Manager Device Descriptor Template
*
* $Id$
*
* Edt/Rev  YYYY/MM/DD  Modified by
* Comment
* ------------------------------------------------------------------
*   0      2003/03/28  Boisy G. Pitre
* Created.

         nam   RFMDesc
         ttl   Remote File Manager Device Descriptor Template

         ifp1  
         use   defsfile
         endc  


tylg     set   Devic+Objct
atrv     set   ReEnt+rev
rev      set   $00

	IFNDEF	DNum
DNum     set   0
	ENDC

         mod   eom,name,tylg,atrv,mgrnam,drvnam

         fcb   DIR.!SHARE.!PEXEC.!PWRIT.!PREAD.!EXEC.!UPDAT. mode byte
         fcb   HW.Page    extended controller address
         fdb   $0000+DNum      physical controller address
         fcb   initsize-*-1 initilization table size
         fcb   DT.RFM    device type:0=scf,1=rbf,2=pipe,3=scf
         fcb   DNum       drive number
initsize equ   *

         IFNE  DD
name     fcs   /DD/
         ELSE
name     fcc   /Y/
         fcb   '0+DNum+$80
         ENDC

mgrnam   fcs   /RFM/
drvnam   fcs   /RFMDrv/


         emod  
eom      equ   *
         end