Prev: A2AA Up: Map Next: A2EA
A2C0: Add or take off a record's size (unused)
Two small routines that nothing in the program refers to, and that never ran in the build's sessions: this one adds +5 to +2 and +6 to +3 of record IX; the one 21 bytes on takes them off. A leftover.
Input
IX A record
add_record_size A2C0 LD A,(IX+$02)
A2C3 LD B,(IX+$05)
A2C6 ADD A,B
A2C7 LD (IX+$02),A
A2CA LD A,(IX+$03)
A2CD LD B,(IX+$06)
A2D0 ADD A,B
A2D1 LD (IX+$03),A
A2D4 RET
A2D5 LD A,(IX+$02)
A2D8 LD B,(IX+$05)
A2DB SUB B
A2DC LD (IX+$02),A
A2DF LD A,(IX+$03)
A2E2 LD B,(IX+$06)
A2E5 SUB B
A2E6 LD (IX+$03),A
A2E9 RET
Prev: A2AA Up: Map Next: A2EA