;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; RDOS operating system ; Copyright (C) 1988-2000, Leif Ekblad ; ; This program is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2 of the License, or ; (at your option) any later version. The only exception to this rule ; is for commercial usage in embedded systems. For information on ; usage in commercial embedded systems, contact embedded@rdos.net ; ; This program is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software ; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ; ; The author of this program may be contacted at leif@rdos.net ; ; RDFS.INC ; RDFS filesystem common data types ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; INFO_STATE_NONE = 0 INFO_STATE_ALLOC = 1 INFO_STATE_FREE = 2 rdfs_info_struc STRUC ri_first_id DD ? ri_free_arr DD ? ri_free_arr_size DD ? ri_start_sector DD ? ri_total_sectors DD ? ri_root_dir DD ? ri_data_sectors DD ? ri_free_sectors DD ? ri_hole_start DD ? ri_hole_size DD ? ri_target_sector DD ? ri_target_offset DW ? ri_state DW ? ri_sector DD ? ri_count DD ? ri_last_id DD ? rdfs_info_struc ENDS alloc_struc STRUC as_base DD ? as_size DD ? as_start DD ? as_sectors DD ? alloc_struc ENDS drive_data_seg STRUC info_sector rdfs_info_struc <> alloc_section section_typ <> alloc_sel DW ? drive_nr DB ? drive_data_seg ENDS RC_FLAG_DIR EQU 1 RC_FLAG_BACKUP EQU 2 rdfs_control_struc STRUC rc_version DB ? rc_flags DB ? rc_key_offset DW ? rc_size DD ? rc_sector_arr DD 126 DUP(?) rdfs_control_struc ENDS rdfs_dir_sector_header_struc STRUC rdsh_version DB ? rdsh_chksum DB ? rdfs_dir_sector_header_struc ENDS rdfs_dir_block_struc STRUC rdbf_prev DW ? rdbf_next DW ? rdbs_prev DW ? rdbs_next DW ? rdfs_dir_block_struc ENDS rdfs_dir_ptr_struc STRUC rdp_rel_sector DW ? rdp_offset DW ? rdfs_dir_ptr_struc ENDS rdfs_dir_start_sector_struc STRUC rdss_dir_list rdfs_dir_ptr_struc <> rdss_file_list rdfs_dir_ptr_struc <> rdfs_dir_start_sector_struc ENDS rdfs_dir_entry_struc STRUC rde_time DD ?,? rde_attrib DW ? rde_name_size DW ? rde_name rdfs_dir_ptr_struc <> rde_start_sector DD ? rdfs_dir_entry_struc ENDS