diff --git a/python/local/ovms_module/ovms/fatdef/__init__.py b/python/local/ovms_module/ovms/fatdef/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..58495ba679006da3b78f003374f778792648d8c6_cHl0aG9uL2xvY2FsL292bXNfbW9kdWxlL292bXMvZmF0ZGVmL19faW5pdF9fLnB5 --- /dev/null +++ b/python/local/ovms_module/ovms/fatdef/__init__.py @@ -0,0 +1,88 @@ +'vms Extension Series for Python' +__version__ = '0.3' +"""vms Extension Series for Python + +Copyright (c) 2002-2020, Jean-Francois Pieronne jf.pieronne@laposte.net +See the documentation for further information on copyrights, +or contact the author. All Rights Reserved. +""" +# vms Extension Series version number +# (note that subpackages have their own version number) +__version__ = '0.3' + +# Copyright notice string +__copyright__ = """ +Copyright (c) 2002-2020, Jean-Francois Pieronne jf.pieronne@laposte.net + See the documentation for further information on copyrights, + or contact the author. All Rights Reserved. + +""" +#*** MODULE $FATDEF *** +# + +# +# Record attributes area as used by FCS and RMS. +# +# - +# undefined record type +FAT_C_UNDEFINED = 0 +# fixed record type +FAT_C_FIXED = 1 +# variable length +FAT_C_VARIABLE = 2 +# variable + fixed control +FAT_C_VFC = 3 +# RMS-11 (DEC traditional) stream format +FAT_C_STREAM = 4 +# LF-terminated stream format +FAT_C_STREAMLF = 5 +# CR-terminated stream format +FAT_C_STREAMCR = 6 +# sequential organization +FAT_C_SEQUENTIAL = 0 +# relative organization +FAT_C_RELATIVE = 1 +# indexed organization +FAT_C_INDEXED = 2 +# direct organization +FAT_C_DIRECT = 3 +# Special file organization +FAT_C_SPECIAL = 4 +# +FAT_M_FORTRANCC = 0x1 +# +FAT_M_IMPLIEDCC = 0x2 +# +FAT_M_PRINTCC = 0x4 +# +FAT_M_NOSPAN = 0x8 +# +FAT_M_MSBRCW = 0x10 +# FIFO special file +FAT_C_FIFO = 1 +# character special file +FAT_C_CHAR_SPECIAL = 2 +# block special file +FAT_C_BLOCK_SPECIAL = 3 +# symbolic link special file for pre-V8.2 +FAT_C_SYMLINK = 4 +# symbolic link special file for V8.2 and beyond +FAT_C_SYMBOLIC_LINK = 5 +# +FAT_M_GBC_PERCENT = 0x1 +# +FAT_M_GBC_DEFAULT = 0x2 +# +FAT_K_LENGTH = 32 +# +FAT_C_LENGTH = 32 +# Old size name - synonym +FAT_S_FATDEF = 32 +# +FAT_S_FAT = 32 +# record type subfield +FAT_S_RTYPE = 4 +# file organization +FAT_S_FILEORG = 4 +# (record attributes are +# meaningless for special files) +# any values in GBC16 or GBC32