www.jupiter-ace.co.uk

Previous Page > Software Index > HDRMON (Tape Header Reader).


Name HDRMON (Tape Header Reader)
Year of release 2007
Publisher Edwin Blink
Producer / Author(s) Edwin Blink
Memory 3k
Type Util
Original Cost PD
Instructions
Load hdrmon from the tap file and type GO to run the code. The program will load the header of a saved tape file. Then will extract what kind of program the header belongs to and where in memory its loading to. You must be able to find this information should you wish to save machine code to tape that can be instructed to be loaded any where. The Tape header is made up of 25 bytes and stores the following information about the program:


1   byte file type 0 for Dictionary 32* for bytes.
10 bytes filename padded with spaces.
2   bytes length of file.
2   bytes start address. This is 15441 for a dictionary.
2   bytes current word. Unused for bytes file.
2   bytes value of system var CURRENT
     [Address hex 3C31, dec 15409]. Unused* for bytes file.
2   bytes value of system var CONTEXT
     [Address hex 3C33, dec 15411]. Unused* for bytes file.
2   bytes value of system var VOCLNK
      [Address hex 3C35, dec 15413]. Unused* for bytes file.
2   bytes value of system var STKBOT
     [Address hex 3C37, dec 15415]. Unused* for bytes file.

*Filetype for bytes file may be any non zero value.
*Unused bytes are filled with spaces.


See here for more details of the Tape Header structure.

You can read the code in the listing archive

Screen shot

Click here to go back