Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.
/ simhtape Public archive

Go (Golang) package and tool for handling SIMH-standard tape file images

License

Notifications You must be signed in to change notification settings

SMerrony/simhtape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simhtape

simhtape is a Go package for handling tape file images in the standard format used by SimH and other computer simulators and emulators.

Available functions include...

  • ReadMetaData() and WriteMetaData() for handling headers, trailers, and inter-file gaps
  • ReadRecordData() and WriteRecordData() for handling data blocks (without their associated headers and trailers)
  • Rewind() and SpaceFwd() for positioning the virtual tape image
  • ScanImage() for examining/verifying a tape image file
  • DumpFiles() to extract each file found on the tape image as a numbered blob file

A sample program is included simhtapetool which uses the package to provide a command line interface for...

  • creating a new SimH tape image file (from a CSV definition)
  • dumping each file found on a tape image to a separate blob file
  • scanning the tape image for validity