Changes

Jump to: navigation, search

Spectrum tape interface

81 bytes added, 05:38, 25 August 2018
no edit summary
== Blocks ==
On the tape every block is started with a marker byte (0x00 for header and 0xff for data blocks) and ended with a checksum byte.
 
The checksum byte is not really a sum, but a binary XOR of all header/data bytes.
 
=== Header block ===
The header, which is 17 bytes long, is as follows:
|}
''(Of course on the tape there are two more bytes: a 0xff -- marker of data block -- at the beginning and a checksum byte at the end.)'' Note: although the array name is saved, you cannot just ''LOAD "" DATA'', you have to explicitly say where to load: e.g. ''LOAD "" DATA w()'', but you can use any letter regardless of the original array name.
==== BASIC programs ====
103
edits

Navigation menu