PLATO Block Information Word (pfbiw)
Utility for accessing PLATO packs and master files.
Copyright (c) 2021-2024 Steve Zoppi
This is licensed software a copy of the license should have been included in the source tree for this module. You may find a copy of the license here: https://www.gnu.org/licenses/gpl-3.0.en.html
This program operates on PLATO packs and master files. Packs are accessed as DtCyber disk images. Master files (CDC style virtual packs) can be accessed directly (if you have a master file image copy available) or as NOS files contained in a NOS disk image.
<Documentation_reference>
When accessing PLATO file structures, the host pack object needs to be instantiated and then the PlatoFile class may be used to access the underlying structure.
- class pfbiw.BlockInformationWord(vbiw: int)[source]
Bases:
objectBlock Information Word.
1/partial flag, 5/block type, 3/unused, 24/time of last edit, 9/number of blocks, 9/words used in block, 9/disk block number
All values of the class are maintained in the same bit representations that they originated. (Display Code is converted when needed).
- property biw: int
- property blockname: int
- property blockname_dc: str
- property blockname_dcu: str
- property blocknumber: int
- property blockorder: int
- property btype: int
- property lastedit_dc: str
- property le_day: int
- property le_hour: int
- property le_minute: int
- property le_month: int
- property le_year: int
- property numblocks: int
- property partblock: str
- property partial: int
- property wordsused: int