Speccy Tape Header details

A place to discuss the ZX80's and ZX81's younger brother - the Sinclair ZX Spectrum
Post Reply
swensont
Posts: 76
Joined: Tue Jan 18, 2011 4:55 am
Location: SF Bay Area
Contact:

Speccy Tape Header details

Post 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
dr beep
Posts: 2080
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Speccy Tape Header details

Post 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.
User avatar
1024MAK
Posts: 5118
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Speccy Tape Header details

Post by 1024MAK »

Maybe the details here will help.

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
swensont
Posts: 76
Joined: Tue Jan 18, 2011 4:55 am
Location: SF Bay Area
Contact:

Re: Speccy Tape Header details

Post 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
Post Reply