Prev: 33024 Up: Map Next: 33064
33046: Copy data into addresses 33149-65506 (step 247)
Used by the routine at 32956. Copies the 132 bytes from the data table at 33064 into addresses 33149-65506 (step 247). This is done before loading the standard speed code block because the data for those addresses is not present in that code block (except for 33149, which is present on the tape, but is not loaded).
Input
HL 33064
BC' 247
33046 EXX Set HL' to the first destination address (minus 247)
33047 LD HL,32902
33050 EXX
33051 LD B,132 There are 132 bytes to copy
33053 LD A,(HL) Pick up a byte from the data table at 33064
33054 EXX
33055 ADD HL,BC Add 247 to HL'
33056 LD (HL),A Copy the byte to its destination
33057 EXX
33058 INC L Move HL along to the next byte in the data table
33059 DJNZ 33053 Jump back until all 132 bytes have been copied
33061 JP 32815 Load the standard speed code block
Prev: 33024 Up: Map Next: 33064