Image Map Image Map
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Tektronix 4051 Tape Emulator

  1. #11

    Default

    I have not had any success with generating an EOF. Tried all the above suggestions.

    I am starting to think that ON EOF is only handled for the internal tape drive.

    I started looking at the 4051 ROM listings and found the variable PNDEOF used in the REAHDR routine in the BINCTL section.

    But looking through other listings, I can not find where it is set to anything other the 0x80 (internal mag tape EOF)

    Maybe someone more familiar with the listings can verify?

    By the way, does someone have a post linked version of the ROM listing. Or at least a memory map of where the different ROM sections lie?

    Thanks.

  2. #12
    Join Date
    Jun 2012
    Location
    UK - Worcester
    Posts
    2,454

    Default

    Try using the TYP(n) function instead. That is what I have seen used in an example program to find the end of file marker. I tried to find the example program last night - but failed. I will have another look again today.

    Dave

  3. #13

    Default

    Quote Originally Posted by oldmicros View Post
    I have not had any success with generating an EOF. Tried all the above suggestions.

    I am starting to think that ON EOF is only handled for the internal tape drive.

    I started looking at the 4051 ROM listings and found the variable PNDEOF used in the REAHDR routine in the BINCTL section.

    But looking through other listings, I can not find where it is set to anything other the 0x80 (internal mag tape EOF)

    Maybe someone more familiar with the listings can verify?

    By the way, does someone have a post linked version of the ROM listing. Or at least a memory map of where the different ROM sections lie?

    Thanks.
    oldmicros,

    Here is an example program using TYP function to see what type of variable is next - or detect EOF

    4050_TYP_example.jpg

    I now think the BASIC EOF function only works with the internal tape and the value in parenthesis must therefore be zero (as the 4050 considers itself to be GPIB device 0).

    I believe the 4924 creates an EOF TYP in a binary file when the 4050 closes that file.

    Monty

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •