Prev: 8100 Up: Map Next: 8128
8116: Copy data into addresses 817D-FFE2 (step 247)
Used by the routine at 80BC. Copies the 132 bytes from the data table at 8128 into addresses 817D-FFE2 (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 817D, which is present on the tape, but is not loaded).
Input
HL 8128
BC' 00F7
8116 EXX Set HL' to the first destination address (minus 247)
8117 LD HL,$8086
811A EXX
811B LD B,$84 There are 132 bytes to copy
811D LD A,(HL) Pick up a byte from the data table at 8128
811E EXX
811F ADD HL,BC Add 247 to HL'
8120 LD (HL),A Copy the byte to its destination
8121 EXX
8122 INC L Move HL along to the next byte in the data table
8123 DJNZ $811D Jump back until all 132 bytes have been copied
8125 JP $802F Load the standard speed code block
Prev: 8100 Up: Map Next: 8128