Home » CEEFAX disks » telesoftware16.adl » P1
P1
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 » telesoftware16.adl |
Filename: | P1 |
Read OK: | ✔ |
File size: | 0271 bytes |
Load address: | FFFF0E00 |
Exec address: | FFFF802B |
File contents
10FORA%=0 TO 3 STEP3 20P%=&C00 30[OPT A% 40.go 50LDA#start AND 255:STA&222 60LDA#start DIV 256:STA&223 70LDA#5 80LDX#3 90JMP&FFF4 100.start 110PHP 120PHA:PHY:PHX 130CMP#0:BNEP%+5:JMPout 140PLX:PLY:PLA 150PLP 160RTS 170.out 180LDA#145 190LDX#3 200JSR&FFF4 210BCSempty 220TYA 230PHY 240STA &FE61 250LDA &FE6C:AND #&F1:ORA #&0C 260STA &FE6C:ORA #&0E:STA &FE6C 270PLY 280CPY#10:BEQwait 290CPY#13:BNEok 300.wait 310LDA#8 320LDX#255:LDY#255:DEY:BNEP%-1 330DEX:BNEP%-6 340DECA:BNEP%-11 350.ok 360LDX#3 370LDY#255:DEY:BNEP%-1 380DEX:BNEP%-6 390PLX:PLY:PLA:PLP:RTS 400.empty 410LDX#3 420LDA#&7B:JSR&FFF4 430PLX:PLY:PLA:PLP:RTS 440] 450NEXT
�A%=0 � 3 �3 P%=&C00 [OPT A% (.go 2LDA#start � 255:STA&222 <LDA#start � 256:STA&223 F LDA#5 P LDX#3 ZJMP&FFF4 d .start nPHP xPHA:PHY:PHX �CMP#0:BNEP%+5:JMPout �PLX:PLY:PLA �PLP �RTS �.out �LDA#145 � LDX#3 �JSR&FFF4 �BCSempty �TYA �PHY � STA &FE61 �LDA &FE6C:� #&F1:�A #&0C STA &FE6C:�A #&0E:STA &FE6C PLY CPY#10:BEQwait "CPY#13:BNEok , .wait 6 LDA#8 @LDX#255:LDY#255:DEY:BNEP%-1 JDEX:BNEP%-6 TDECA:BNEP%-11 ^.ok h LDX#3 rLDY#255:DEY:BNEP%-1 |DEX:BNEP%-6 �PLX:PLY:PLA:PLP:RTS � .empty � LDX#3 �LDA#&7B:JSR&FFF4 �PLX:PLY:PLA:PLP:RTS �] �� �
00000000 0d 00 0a 10 e3 41 25 3d 30 20 b8 20 33 20 88 33 |.....A%=0 . 3 .3| 00000010 0d 00 14 0b 50 25 3d 26 43 30 30 0d 00 1e 0b 5b |....P%=&C00....[| 00000020 4f 50 54 20 41 25 0d 00 28 07 2e 67 6f 0d 00 32 |OPT A%..(..go..2| 00000030 1b 4c 44 41 23 73 74 61 72 74 20 80 20 32 35 35 |.LDA#start . 255| 00000040 3a 53 54 41 26 32 32 32 0d 00 3c 1b 4c 44 41 23 |:STA&222..<.LDA#| 00000050 73 74 61 72 74 20 81 20 32 35 36 3a 53 54 41 26 |start . 256:STA&| 00000060 32 32 33 0d 00 46 09 4c 44 41 23 35 0d 00 50 09 |223..F.LDA#5..P.| 00000070 4c 44 58 23 33 0d 00 5a 0c 4a 4d 50 26 46 46 46 |LDX#3..Z.JMP&FFF| 00000080 34 0d 00 64 0a 2e 73 74 61 72 74 0d 00 6e 07 50 |4..d..start..n.P| 00000090 48 50 0d 00 78 0f 50 48 41 3a 50 48 59 3a 50 48 |HP..x.PHA:PHY:PH| 000000a0 58 0d 00 82 18 43 4d 50 23 30 3a 42 4e 45 50 25 |X....CMP#0:BNEP%| 000000b0 2b 35 3a 4a 4d 50 6f 75 74 0d 00 8c 0f 50 4c 58 |+5:JMPout....PLX| 000000c0 3a 50 4c 59 3a 50 4c 41 0d 00 96 07 50 4c 50 0d |:PLY:PLA....PLP.| 000000d0 00 a0 07 52 54 53 0d 00 aa 08 2e 6f 75 74 0d 00 |...RTS.....out..| 000000e0 b4 0b 4c 44 41 23 31 34 35 0d 00 be 09 4c 44 58 |..LDA#145....LDX| 000000f0 23 33 0d 00 c8 0c 4a 53 52 26 46 46 46 34 0d 00 |#3....JSR&FFF4..| 00000100 d2 0c 42 43 53 65 6d 70 74 79 0d 00 dc 07 54 59 |..BCSempty....TY| 00000110 41 0d 00 e6 07 50 48 59 0d 00 f0 0d 53 54 41 20 |A....PHY....STA | 00000120 26 46 45 36 31 0d 00 fa 1c 4c 44 41 20 26 46 45 |&FE61....LDA &FE| 00000130 36 43 3a 80 20 23 26 46 31 3a 84 41 20 23 26 30 |6C:. #&F1:.A #&0| 00000140 43 0d 01 04 1f 53 54 41 20 26 46 45 36 43 3a 84 |C....STA &FE6C:.| 00000150 41 20 23 26 30 45 3a 53 54 41 20 26 46 45 36 43 |A #&0E:STA &FE6C| 00000160 0d 01 0e 07 50 4c 59 0d 01 18 12 43 50 59 23 31 |....PLY....CPY#1| 00000170 30 3a 42 45 51 77 61 69 74 0d 01 22 10 43 50 59 |0:BEQwait..".CPY| 00000180 23 31 33 3a 42 4e 45 6f 6b 0d 01 2c 09 2e 77 61 |#13:BNEok..,..wa| 00000190 69 74 0d 01 36 09 4c 44 41 23 38 0d 01 40 1f 4c |it..6.LDA#8..@.L| 000001a0 44 58 23 32 35 35 3a 4c 44 59 23 32 35 35 3a 44 |DX#255:LDY#255:D| 000001b0 45 59 3a 42 4e 45 50 25 2d 31 0d 01 4a 0f 44 45 |EY:BNEP%-1..J.DE| 000001c0 58 3a 42 4e 45 50 25 2d 36 0d 01 54 11 44 45 43 |X:BNEP%-6..T.DEC| 000001d0 41 3a 42 4e 45 50 25 2d 31 31 0d 01 5e 07 2e 6f |A:BNEP%-11..^..o| 000001e0 6b 0d 01 68 09 4c 44 58 23 33 0d 01 72 17 4c 44 |k..h.LDX#3..r.LD| 000001f0 59 23 32 35 35 3a 44 45 59 3a 42 4e 45 50 25 2d |Y#255:DEY:BNEP%-| 00000200 31 0d 01 7c 0f 44 45 58 3a 42 4e 45 50 25 2d 36 |1..|.DEX:BNEP%-6| 00000210 0d 01 86 17 50 4c 58 3a 50 4c 59 3a 50 4c 41 3a |....PLX:PLY:PLA:| 00000220 50 4c 50 3a 52 54 53 0d 01 90 0a 2e 65 6d 70 74 |PLP:RTS.....empt| 00000230 79 0d 01 9a 09 4c 44 58 23 33 0d 01 a4 14 4c 44 |y....LDX#3....LD| 00000240 41 23 26 37 42 3a 4a 53 52 26 46 46 46 34 0d 01 |A#&7B:JSR&FFF4..| 00000250 ae 17 50 4c 58 3a 50 4c 59 3a 50 4c 41 3a 50 4c |..PLX:PLY:PLA:PL| 00000260 50 3a 52 54 53 0d 01 b8 05 5d 0d 01 c2 05 ed 0d |P:RTS....]......| 00000270 ff |.| 00000271