Control Block Definitions (dumpdisplay)

Custom Exceptions and Handlers.

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.

dumpdisplay.dump_cpwords(data: list, obits: int = 15, outfile=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>) None[source]

Dump buffer of CPU words (60-bit words)

dumpdisplay.dump_ppwords(data: list, outfile=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>) None[source]

Dump buffer of PPU words (12 bit words)

dumpdisplay.dump_sector(cw1: int, cw2: int, wl: list) None[source]

Dump a sector: both control words, then the data.