Page 1 of 1

Speccy Tape Header details

Posted: Mon Jan 01, 2024 7:20 am
by swensont
I'm looking to load a text file into a Spectrum / TS2068 emulator (Zesarux) using the LOAD "" CODE command. I did a SAVE "" CODE command to see what the output file looks like and this led me to the Spectrum tape header. Is it known how the checksum in the tape header is created? Has anyone taken data from the native OS (PC, Linux, etc) and loaded it into the Spectrum using the LOAD "" CODE command, and creating their own tape header?

Thanks,

Tim

Re: Speccy Tape Header details

Posted: Mon Jan 01, 2024 10:01 am
by dr beep
XOR of all previous values.

I made several games directly into a TAP-file.
Header and data directly written to a file.

Re: Speccy Tape Header details

Posted: Mon Jan 01, 2024 11:40 am
by 1024MAK
Maybe the details here will help.

Mark

Re: Speccy Tape Header details

Posted: Mon Jan 01, 2024 5:45 pm
by swensont
Thanks to Johnny Red, with Zesarux there a simpler way to load a text file:

---------------------------------------------------------------------------------------------------
Load the TXT file into memory from the debug menu -> LOAD Binary block.
Choose mapped memory, choose the address (por example 32768 or 8000H) and
size to load (typing all loads all data).
>From debug menu choose the hexadecimal editor and enter the address you
chose to load the TXT file to check it's there.
Put a empty tape on recorder and SAVE "text" CODE 32768,200, for example.
Now save the tap file.
Done.

Happy New Year 2024
Johnny Red, Portugal
--------------------------------------------------------------------------------------

I'll give this process a try.

Tim