Cataloging a tape.

Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
johnnyrockets
Posts: 34
Joined: Tue May 03, 2016 12:42 pm

Cataloging a tape.

Post by johnnyrockets » Thu Aug 04, 2016 1:56 pm

Hi all,

I was wondering how to list the contents of a tape?

I understand:

load ""
load "name"

But is there something like *CAT (like in BBC Basic)?

Thanks!


JR

User avatar
1024MAK
Posts: 2582
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Cataloging a tape.

Post by 1024MAK » Thu Aug 04, 2016 2:04 pm

No. The file system is as simple as possible to keep the size of BASIC within the space of the 8k byte ROM chip.

Mark

johnnyrockets
Posts: 34
Joined: Tue May 03, 2016 12:42 pm

Re: Cataloging a tape.

Post by johnnyrockets » Thu Aug 04, 2016 2:07 pm

1024MAK wrote:No. The file system is as simple as possible to keep the size of BASIC within the space of the 8k byte ROM chip.

Mark
Okay, so how do most people remember the contents of the tape?

Obvious answer: write it down?


Thanks for dealing with my simple questions! Really appreciate it.


JR

User avatar
mrtinb
Posts: 1125
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Cataloging a tape.

Post by mrtinb » Thu Aug 04, 2016 2:21 pm

I have a scan from an old magazine at home. It contains a BASIC program (a "type in"), that reads a whole tape and lists all filenames on the screen.

I'll find it for you.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
mrtinb
Posts: 1125
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Cataloging a tape.

Post by mrtinb » Thu Aug 04, 2016 2:46 pm

johnnyrockets wrote:Obvious answer: write it down?
Unless you have few programs on a tape, you would like to write down the tape counter anyway, so you don't have to load through the whole tape.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
siggi
Posts: 885
Joined: Thu May 08, 2008 9:30 am
Location: Dauernheim, Germany
Contact:

Re: Cataloging a tape.

Post by siggi » Thu Aug 04, 2016 4:30 pm

Sirmorris once wrote a program, which reads all programs from tape and saves them to ZXPAND:

viewtopic.php?f=6&t=467

Maybe this program can be adapted to print the file names to screen/printer only?

Siggi
My ZX81 web-server: online since 2007
http://zx81-siggi.endoftheinternet.org/index.html

sirmorris
Posts: 2813
Joined: Thu May 08, 2008 5:45 pm

Re: Cataloging a tape.

Post by sirmorris » Thu Aug 04, 2016 4:48 pm

It surely could. I also remember the program that mrtinb is referencing.

User avatar
RetroTechie
Posts: 379
Joined: Tue Nov 01, 2011 12:16 am
Location: Hengelo, NL
Contact:

Re: Cataloging a tape.

Post by RetroTechie » Thu Aug 04, 2016 4:55 pm

Try this:
Tape header reader.zip
(6.19 KiB) Downloaded 104 times
It's been a while since last use, but IIRC you just start this program, insert another tape & set it to play, and this program will list program names as they come along. For a more useful / permanent record, watch & record tape counter position for each program.

johnnyrockets
Posts: 34
Joined: Tue May 03, 2016 12:42 pm

Re: Cataloging a tape.

Post by johnnyrockets » Thu Aug 04, 2016 4:58 pm

Hi guys,

One question just brings up another it seems.

When I'm using the "Eighty-One" emulator, I just usually load a tape image and work from that as if it were the real machine.

So that is why the question came up. No tape counters in the emulator, so it got me thinking.

Looks like I'd just better "know" what is on that tape!

The type in program sounds interesting that reads the contents of a tape. Funny the things you take for granted on some other machines (BBC Micro) that are just missing on others (T/S 1000), but of course these machines are in different categories, etc.

I really like the idiosyncrasies of this little machine, it makes programming/using more challenging than some machines! :)


J

johnnyrockets
Posts: 34
Joined: Tue May 03, 2016 12:42 pm

Re: Cataloging a tape.

Post by johnnyrockets » Thu Aug 04, 2016 5:02 pm

Hi,

And now as I read the "tape header" program my mind is completely blown to realize that a tape file exists in a "wav" format?!

That is very wild to me.

This must be why the manual talked so much about picking a tape player and using lower quality tapes, because the machine responded better to specific frequency bandwidths. Translation: sound or "wav" files

Very interesting. Sorry, I'm sure all of this is very "old news" to you guys, but it is all exciting to me! :)


J

Post Reply