$DF4C/57164: Calculate number of blocks in a REL file Jump from $DF52: DF4C: A9 78 LDA #$78 ; 120 block pointers per side-sector DF4E: 20 5C DF JSR $DF5C ; add to $70/$71 Jump from $DB48, $E381: DF51: CA DEX ; side-sector number DF52: 10 F8 BPL $DF4C ; next side-sector? DF54: A5 72 LDA $72 ; pointer value in last block DF56: 4A LSR ; divided by 2 DF57: 20 5C DF JSR $DF5C ; add to previous sum DF5A: A5 73 LDA $73 ; number of the side-sector block Jump from $DF4E, $DF57: DF5C: 18 CLC DF5D: 65 70 ADC $70 DF5F: 85 70 STA $70 ; add DF61: 90 02 BCC $DF65 DF63: E6 71 INC $71 Jump from $DF61: DF65: 60 RTS Previous Page / Next Page |