Home » CEEFAX disks » telesoftware8.adl » 19-08-88/READ10 » Compare

Compare 19-08-88/READ10 with 19-08-88/WRITE10

File: CEEFAX disks » telesoftware8.adl » 19-08-88/READ10
Compared with: CEEFAX disks » telesoftware8.adl » 19-08-88/WRITE10
Similarity: 85% of bytes duplicated

29 of 34 lines (85.3%) are identical in the two listings. Duplicated Different

Line numbers are ignored when comparing lines, so that renumbered programs still match.

19-08-88/READ10 19-08-88/WRITE10
10REM: READ10 10REM: WRITE10
20mcode = &0A00 20mcode = &0A00
30osword=&FFF1 30osword=&FFF1
40page = PAGE 40page = PAGE
50FORpass=0 TO 2 STEP 2 50FORpass=0 TO 2 STEP 2
60P%=mcode 60P%=mcode
70[OPT pass 70[OPT pass
80LDA #&7F 80LDA #&7F
90LDX #block MOD 256 90LDX #block MOD 256
100LDY #block DIV 256 100LDY #block DIV 256
110JSR osword 110JSR osword
120LDA result 120LDA result
130BEQ ok 130BEQ ok
140BRK 140BRK
150BRK 150BRK
160EQUS "Read error" 160EQUS "Write error"
170.ok 170.ok
180BRK 180BRK
190EQUS "Read sucessful" 190EQUS "Write sucessful"
200BRK 200BRK
210BRK 210BRK
220.block 220.block
230EQUB &FF \ current drive 230EQUB &FF \ current drive
240EQUD page \ start at PAGE 240EQUD page \ start at PAGE
250EQUB &03 \ 3 parameters 250EQUB &03 \ 3 parameters
260EQUB &57 \ read data and deleted data 260EQUB &4B \ write data multi-sector
270EQUB &01 \ logical track 1 270EQUB &01 \ logical track 1
280EQUB &00 \ start logical sector 0 280EQUB &00 \ start logical sector 0
290EQUB &2A \ 10 sectors of 256 bytes 290EQUB &2A \ 10 sectors of 256 bytes
300.result 300.result
310EQUB &00 \ result byte 310EQUB &00 \ result byte
320] 320]
330NEXT 330NEXT
340PRINT''"Type: CALL &";~mcode;" to read 10 sectors"' 340PRINT''"Type: CALL &";~mcode;" to save 10 sectors"'