Prev: 56579 Up: Map Next: 56610
56594: Prepare Tape Block
Used by the routines at Tape_Save, Tape_Load and Tape_Checksum.
Sets IX to SkipDelayFlag, DE to the length and A to 255.
Output
IX Start of the tape block
DE Length of the tape block
A Data block flag (255)
Point at the start and the exclusive end.
Tape_BlockRange 56594 LD IX,25724 Point IX at SkipDelayFlag.
56598 LD DE,25724 Point DE at SkipDelayFlag.
56601 LD HL,31847 Point HL at 31847.
Make the length.
56604 XOR A Clear A and the carry flag.
56605 SBC HL,DE Subtract DE from HL.
Set the data-block flag.
56607 EX DE,HL Put the length in DE.
56608 DEC A Set A to 255.
Return.
56609 RET Return.
Prev: 56579 Up: Map Next: 56610