What do ?LOAD ERRORs with tapes actually mean?

Modding and Technical Issues

Moderator: Moderators

User avatar
Jeff-20
Denial Founder
Posts: 5451
Joined: Wed Dec 31, 1969 6:00 pm

What do ?LOAD ERRORs with tapes actually mean?

Postby Jeff-20 » Wed Oct 11, 2017 8:08 pm

I'm using a PRG to WAV program to put my files on tape. They seem to load fine, but every LOAD ends with a ?LOAD ERROR.

The program is fine. When it run, it seems to all be there. But the error is always there when loading is done. I

have a clue: I stitched four programs together in one wave file, and the last one is out of sync. The program loads, but as many of you know, i tend to attach my user defined characters to the end of the file. The characters are off by 2 bytes. They appear to be "pushed down" where the data that should be in, say, location 7168 is in 7170.

What could be causing this problem? What exactly is a LOAD ERROR detecting? Could this be a hardware problem with the tape deck? Or could it be faulty tapes? I tried with multiple tapes from the same pack. Results were always the same. Could it be an issue with the recording volume?
High Scores, Links, and Jeff's Basic Games page.

User avatar
srowe
Vic 20 Afficionado
Posts: 471
Joined: Mon Jun 16, 2014 3:19 pm

Re: What do ?LOAD ERRORs with tapes actually mean?

Postby srowe » Thu Oct 12, 2017 1:23 am

LOAD ERROR basically means a bit (other than end of file) is set in ST ($90/STATUS). For the tape device the possibilities are:
  • bit 7 end of tape
  • bit 5 checksum error
  • bit 4 read error
  • bit 3 long block
  • bit 2 short block

Knowing which one is set should help identify the cause.

User avatar
Jeff-20
Denial Founder
Posts: 5451
Joined: Wed Dec 31, 1969 6:00 pm

Re: What do ?LOAD ERRORs with tapes actually mean?

Postby Jeff-20 » Mon Oct 16, 2017 12:58 am

ST = 32
High Scores, Links, and Jeff's Basic Games page.

User avatar
srowe
Vic 20 Afficionado
Posts: 471
Joined: Mon Jun 16, 2014 3:19 pm

Re: What do ?LOAD ERRORs with tapes actually mean?

Postby srowe » Mon Oct 16, 2017 1:40 am

Jeff-20 wrote:ST = 32


So bit 5, checksum error. The checksum taken of the data does not match the byte from the header.

User avatar
Jeff-20
Denial Founder
Posts: 5451
Joined: Wed Dec 31, 1969 6:00 pm

Re: What do ?LOAD ERRORs with tapes actually mean?

Postby Jeff-20 » Mon Oct 16, 2017 1:42 am

srowe wrote:
Jeff-20 wrote:ST = 32


So bit 5, checksum error. The checksum taken of the data does not match the byte from the header.


Forgive my ignorance, but what could have caused that? Tape flaw? Drive flaw?
High Scores, Links, and Jeff's Basic Games page.

User avatar
srowe
Vic 20 Afficionado
Posts: 471
Joined: Mon Jun 16, 2014 3:19 pm

Re: What do ?LOAD ERRORs with tapes actually mean?

Postby srowe » Mon Oct 16, 2017 2:36 am

I would guess the problem is in the WAV file.

User avatar
Jeff-20
Denial Founder
Posts: 5451
Joined: Wed Dec 31, 1969 6:00 pm

Re: What do ?LOAD ERRORs with tapes actually mean?

Postby Jeff-20 » Tue Oct 17, 2017 11:56 am

You were right. Fixed it. Thanks!
High Scores, Links, and Jeff's Basic Games page.


Return to “Hardware and Tech”

Who is online

Users browsing this forum: No registered users and 1 guest