Disk drives

The place for codemasters or beginners to talk about programming any language for the Spectrum.
Post Reply
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2640
Joined: Mon Nov 13, 2017 3:16 pm

Re: Disk drives

Post by Ast A. Moore »

Seven.FFF wrote: Fri Jun 15, 2018 7:19 pm The number of times thou shalt rewind the tape is three; and three shalt be the number of times, verily.
Truly, the Good Book doth not lie!
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
AndyC
Dynamite Dan
Posts: 1387
Joined: Mon Nov 13, 2017 5:12 am

Re: Disk drives

Post by AndyC »

If you really need a disk system, I'd go with +3DOS - despite it being limited in terms of hardware support. It has a nice and powerful API. On the other hand if all you need is a way of quick loading blocks of data, I'd go with the standard ROM tape loading routines and let people use modern devices that accelerate the whole process.
User avatar
Guesser
Manic Miner
Posts: 639
Joined: Wed Nov 15, 2017 2:35 pm
Contact:

Re: Disk drives

Post by Guesser »

Ast A. Moore wrote: Fri Jun 15, 2018 7:04 pm If by “support” you mean “accelerate,” then sure.
I meant if you wrote something that required one of the "new" tzx blocks that hardly anyone could be bothered to implement to correctly store it or something.
I suppose on a technicality the emulators would still support the loader as you could distribute it as a csw or wav file :lol:
User avatar
Guesser
Manic Miner
Posts: 639
Joined: Wed Nov 15, 2017 2:35 pm
Contact:

Re: Disk drives

Post by Guesser »

If you use the ROM tape format, and give each file a unique name, then it's fairly trivial for anyone to convert it to whatever system they so desire. Working back in the other direction is more awkward :)
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2640
Joined: Mon Nov 13, 2017 3:16 pm

Re: Disk drives

Post by Ast A. Moore »

Guesser wrote: Sat Jun 16, 2018 12:34 am
Ast A. Moore wrote: Fri Jun 15, 2018 7:04 pm If by “support” you mean “accelerate,” then sure.
I meant if you wrote something that required one of the "new" tzx blocks that hardly anyone could be bothered to implement to correctly store it or something.
I use the turbo speed block (ID 11) for the main data and generalized data block (ID 19) for shortening the length of the pilot tone in the initial standard block. This can be easily replaced with a combination of pure tone/pulse sequence/pure data blocks (ID 12–14), or, in fact, a single turbo speed block (using standard lengths/pulses).
Guesser wrote: Sat Jun 16, 2018 12:34 amI suppose on a technicality the emulators would still support the loader as you could distribute it as a csw or wav file :lol:
I do the latter (WAV files). Again, my turbo loader is meant for real hardware rather than emulators. Many people use their phones, PCs, digital music players, etc. to load games, so the WAV files are for them. In addition, there are apps for the PC/mobile that generate audio from TZX files on the fly. Plenty of options, in other words.
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
Post Reply