Home » CEEFAX disks » telesoftware8.adl » 13-08-88/CYCLES

13-08-88/CYCLES

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » CEEFAX disks » telesoftware8.adl
Filename: 13-08-88/CYCLES
Read OK:
File size: 00F3 bytes
Load address: 0800
Exec address: 802B
File contents
   10REM: CYCLES
   20osword=&FFF1
   30DIM mcode &100
   40FOR pass = 0 TO 2 STEP 2
   50P%=mcode
   60[OPT pass
   70LDA #&7D
   80LDX #result MOD 256
   90LDY #result DIV 256
  100JSR osword
  110RTS
  120.result
  130EQUB &00
  140]
  150NEXT
  160CALL mcode
  170PRINT"Disc cycles = ";~?result


�: CYCLES
osword=&FFF1
� mcode &100
(� pass = 0 � 2 � 2
2P%=mcode
<
[OPT pass
FLDA #&7D
PLDX #result � 256
ZLDY #result � 256
dJSR osword
nRTS
x.result
�EQUB &00
�]
��
�� mcode
��"Disc cycles = ";~?result
�
00000000  0d 00 0a 0d f4 3a 20 43  59 43 4c 45 53 0d 00 14  |.....: CYCLES...|
00000010  10 6f 73 77 6f 72 64 3d  26 46 46 46 31 0d 00 1e  |.osword=&FFF1...|
00000020  10 de 20 6d 63 6f 64 65  20 26 31 30 30 0d 00 28  |.. mcode &100..(|
00000030  16 e3 20 70 61 73 73 20  3d 20 30 20 b8 20 32 20  |.. pass = 0 . 2 |
00000040  88 20 32 0d 00 32 0c 50  25 3d 6d 63 6f 64 65 0d  |. 2..2.P%=mcode.|
00000050  00 3c 0d 5b 4f 50 54 20  70 61 73 73 0d 00 46 0c  |.<.[OPT pass..F.|
00000060  4c 44 41 20 23 26 37 44  0d 00 50 15 4c 44 58 20  |LDA #&7D..P.LDX |
00000070  23 72 65 73 75 6c 74 20  83 20 32 35 36 0d 00 5a  |#result . 256..Z|
00000080  15 4c 44 59 20 23 72 65  73 75 6c 74 20 81 20 32  |.LDY #result . 2|
00000090  35 36 0d 00 64 0e 4a 53  52 20 6f 73 77 6f 72 64  |56..d.JSR osword|
000000a0  0d 00 6e 07 52 54 53 0d  00 78 0b 2e 72 65 73 75  |..n.RTS..x..resu|
000000b0  6c 74 0d 00 82 0c 45 51  55 42 20 26 30 30 0d 00  |lt....EQUB &00..|
000000c0  8c 05 5d 0d 00 96 05 ed  0d 00 a0 0b d6 20 6d 63  |..].......... mc|
000000d0  6f 64 65 0d 00 aa 1e f1  22 44 69 73 63 20 63 79  |ode....."Disc cy|
000000e0  63 6c 65 73 20 3d 20 22  3b 7e 3f 72 65 73 75 6c  |cles = ";~?resul|
000000f0  74 0d ff                                          |t..|
000000f3
13-08-88/CYCLES.m0
13-08-88/CYCLES.m1
13-08-88/CYCLES.m2
13-08-88/CYCLES.m4
13-08-88/CYCLES.m5