; ; CDDL HEADER START ; ; The contents of this file are subject to the terms of the ; Common Development and Distribution License (the "Licence"). ; You may not use this file except in compliance with the Licence. ; ; You can obtain a copy of the licence at ; cddl/RiscOS/Sources/FileSys/SDFS/SDFS/LICENCE. ; See the Licence for the specific language governing permissions ; and limitations under the Licence. ; ; When distributing Covered Code, include this CDDL HEADER in each ; file and include the Licence file. If applicable, add the ; following below this CDDL HEADER, with the fields enclosed by ; brackets "[]" replaced with your own identifying information: ; Portions Copyright [yyyy] [name of copyright owner] ; ; CDDL HEADER END ; ; Copyright 2012 Ben Avison. All rights reserved. ; Use is subject to license terms. ; SUBT Exported SDFS constants OldOpt SETA {OPT} OPT OptNoList+OptNoP1List ; SWIs SWIClass SETS SDFSSWI_Name ; SWIs that map onto FileCore ones ^ SDFSSWI_Base AddSWI DiscOp ; &59040 AddSWI NOP01 ; &59041 Create AddSWI Drives ; &59042 AddSWI FreeSpace ; &59043 AddSWI NOP04 ; &59044 FloppyStructure AddSWI DescribeDisc ; &59045 AddSWI NOP06 ; &59046 DiscardReadSectorsCache AddSWI NOP07 ; &59047 DiscFormat AddSWI NOP08 ; &59048 LayoutStructure AddSWI MiscOp ; &59049 AddSWI SectorDiscOp ; &5904A AddSWI FreeSpace64 ; &5904B AddSWI DiscOp64 ; &5904C AddSWI NOP13 ; &5904D Features ; SWIs SDFS implements itself ^ SDFSSWI_Base + &20 AddSWI ReadCardInfo ; &59060 ; Reason codes to ReadCardInfo ^ 0 SDFSReadCardInfo_Size # 1 SDFSReadCardInfo_Location # 1 OPT OldOpt END