I've been looking into the format of .cas files for Tandy Color Computer and Dragon32 emulators. These files are almost exactly byte for byte representations of the data/audio/bit pattern of the actual tapes. We have a nice breakdown of that in another question on our site where it is stated that the length of the "leaders" is 128 bytes.
But some other sites on the .cas format, and some books with documentation on the Dragon32's tape format, state that the length of the "leader block" is actually specified by a system variable (or is it a ROM address?) at location $90/$91
.
Dragon 32 Information for Machine Code Users!
The Dragon 32 Dragon Companion
I PEEK
ed these addresses on a CoCo emulator and they didn't match at all.
So is this a difference between the Dragon and the CoCo? On the CoCo is it hard-coded to be 128 bytes, or is there a memory address to read to get the value that just differs to the address the Dragon uses?
The few .cas files I have are CoCo ones and have use 128 as the length so it's probably safe to use in my code, but I'd still like to satisfy my curiosity.