Home » CEEFAX disks » telesoftware11.adl » 27-11-88/BRK\SRC

27-11-88/BRK\SRC

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 » telesoftware11.adl
Filename: 27-11-88/BRK\SRC
Read OK:
File size: 01CE bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10REM Break Message
   20REM by John Jacobs
   30MODE7:B%=&70:J%=&60:C%=&980
   40oswrch=&FFEE:osbyte=&FFF4
   50REPEAT CLS
   60PRINT"Your message, max 28 chars:"
   70INPUTLINE""M$
   80UNTIL LEN(M$)<29
   90FOR L%=0 TO LEN(M$)-1
  100B%?L%=ASCMID$(M$,L%+1):NEXT
  110B%!L%=&FF0D0A0A
  120FOR N%=0 TO 2 STEP 2
  130P%=C%:[OPT N%
  140.enter BCS ok:RTS
  150.ok CLI:LDY #0
  160.loop LDA B%,Y
  170 BMI exit:JSR oswrch
  180 INY:BNE loop
  190.exit RTS:]
  200P%=J%:[OPT N%
  210JMP enter:]:NEXT
  220Y%=0:FOR N%=0 TO 2
  230A%=247+N%:X%=J%?N%
  240CALLosbyte:NEXT:END

� Break Message
� by John Jacobs
�7:B%=&70:J%=&60:C%=&980
(oswrch=&FFEE:osbyte=&FFF4
2� �
<"�"Your message, max 28 chars:"
F
�""M$
P� �(M$)<29
Z� L%=0 � �(M$)-1
dB%?L%=��M$,L%+1):�
nB%!L%=&FF0D0A0A
x� N%=0 � 2 � 2
�P%=C%:[OPT N%
�.enter BCS ok:RTS
�.ok CLI:LDY #0
�.loop LDA B%,Y
� BMI exit:JSR oswrch
� INY:BNE loop
�.exit RTS:]
�P%=J%:[OPT N%
�JMP enter:]:�
�Y%=0:� N%=0 � 2
�A%=247+N%:X%=J%?N%
��osbyte:�:�
�
00000000  0d 00 0a 13 f4 20 42 72  65 61 6b 20 4d 65 73 73  |..... Break Mess|
00000010  61 67 65 0d 00 14 14 f4  20 62 79 20 4a 6f 68 6e  |age..... by John|
00000020  20 4a 61 63 6f 62 73 0d  00 1e 1c eb 37 3a 42 25  | Jacobs.....7:B%|
00000030  3d 26 37 30 3a 4a 25 3d  26 36 30 3a 43 25 3d 26  |=&70:J%=&60:C%=&|
00000040  39 38 30 0d 00 28 1d 6f  73 77 72 63 68 3d 26 46  |980..(.oswrch=&F|
00000050  46 45 45 3a 6f 73 62 79  74 65 3d 26 46 46 46 34  |FEE:osbyte=&FFF4|
00000060  0d 00 32 07 f5 20 db 0d  00 3c 22 f1 22 59 6f 75  |..2.. ...<"."You|
00000070  72 20 6d 65 73 73 61 67  65 2c 20 6d 61 78 20 32  |r message, max 2|
00000080  38 20 63 68 61 72 73 3a  22 0d 00 46 0a e8 86 22  |8 chars:"..F..."|
00000090  22 4d 24 0d 00 50 0e fd  20 a9 28 4d 24 29 3c 32  |"M$..P.. .(M$)<2|
000000a0  39 0d 00 5a 14 e3 20 4c  25 3d 30 20 b8 20 a9 28  |9..Z.. L%=0 . .(|
000000b0  4d 24 29 2d 31 0d 00 64  16 42 25 3f 4c 25 3d 97  |M$)-1..d.B%?L%=.|
000000c0  c1 4d 24 2c 4c 25 2b 31  29 3a ed 0d 00 6e 13 42  |.M$,L%+1):...n.B|
000000d0  25 21 4c 25 3d 26 46 46  30 44 30 41 30 41 0d 00  |%!L%=&FF0D0A0A..|
000000e0  78 12 e3 20 4e 25 3d 30  20 b8 20 32 20 88 20 32  |x.. N%=0 . 2 . 2|
000000f0  0d 00 82 11 50 25 3d 43  25 3a 5b 4f 50 54 20 4e  |....P%=C%:[OPT N|
00000100  25 0d 00 8c 15 2e 65 6e  74 65 72 20 42 43 53 20  |%.....enter BCS |
00000110  6f 6b 3a 52 54 53 0d 00  96 12 2e 6f 6b 20 43 4c  |ok:RTS.....ok CL|
00000120  49 3a 4c 44 59 20 23 30  0d 00 a0 12 2e 6c 6f 6f  |I:LDY #0.....loo|
00000130  70 20 4c 44 41 20 42 25  2c 59 0d 00 aa 18 20 42  |p LDA B%,Y.... B|
00000140  4d 49 20 65 78 69 74 3a  4a 53 52 20 6f 73 77 72  |MI exit:JSR oswr|
00000150  63 68 0d 00 b4 11 20 49  4e 59 3a 42 4e 45 20 6c  |ch.... INY:BNE l|
00000160  6f 6f 70 0d 00 be 0f 2e  65 78 69 74 20 52 54 53  |oop.....exit RTS|
00000170  3a 5d 0d 00 c8 11 50 25  3d 4a 25 3a 5b 4f 50 54  |:]....P%=J%:[OPT|
00000180  20 4e 25 0d 00 d2 11 4a  4d 50 20 65 6e 74 65 72  | N%....JMP enter|
00000190  3a 5d 3a ed 0d 00 dc 13  59 25 3d 30 3a e3 20 4e  |:]:.....Y%=0:. N|
000001a0  25 3d 30 20 b8 20 32 0d  00 e6 16 41 25 3d 32 34  |%=0 . 2....A%=24|
000001b0  37 2b 4e 25 3a 58 25 3d  4a 25 3f 4e 25 0d 00 f0  |7+N%:X%=J%?N%...|
000001c0  0f d6 6f 73 62 79 74 65  3a ed 3a e0 0d ff        |..osbyte:.:...|
000001ce
27-11-88/BRK\SRC.m0
27-11-88/BRK\SRC.m1
27-11-88/BRK\SRC.m2
27-11-88/BRK\SRC.m4
27-11-88/BRK\SRC.m5