Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_27.ADF » P/TEST2

P/TEST2

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 » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_27.ADF
Filename: P/TEST2
Read OK:
File size: 05F4 bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

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

File contents
   10REM Example program TWO
   20*RUN 27KASM
   30FORX=4 TO 7 STEP3
   40P%=&3000:O%=&A00
   50REM Code assembled at &A00 to appear as though it was at &3000
   60VDU255 
   70[OPTX
   80NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS
   90NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS
  100NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS
  110NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS
  120NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS
  130NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS
  140BRK:\Proves code > 256 bytes works by saving a pretty pattern to disk
  150]
  160VDU255
  170NEXT
  180*INFO OBJECT
  190VDU14:REM Paged mode on 
  200*DUMP OBJECT

� Example program TWO
*RUN 27KASM
�X=4 � 7 �3
(P%=&3000:O%=&A00
2@� Code assembled at &A00 to appear as though it was at &3000
<	�255 
F	[OPTX
P�NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS:NOP:RTS
Z�NOP:RTS:NOP:RTS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
�]
��255
��
�*INFO OBJECT
��14:� Paged mode on 
�*DUMP OBJECT
�
00000000  0d 00 0a 19 f4 20 45 78  61 6d 70 6c 65 20 70 72  |..... Example pr|
00000010  6f 67 72 61 6d 20 54 57  4f 0d 00 14 0f 2a 52 55  |ogram TWO....*RU|
00000020  4e 20 32 37 4b 41 53 4d  0d 00 1e 0f e3 58 3d 34  |N 27KASM.....X=4|
00000030  20 b8 20 37 20 88 33 0d  00 28 14 50 25 3d 26 33  | . 7 .3..(.P%=&3|
00000040  30 30 30 3a 4f 25 3d 26  41 30 30 0d 00 32 40 f4  |000:O%=&A00..2@.|
00000050  20 43 6f 64 65 20 61 73  73 65 6d 62 6c 65 64 20  | Code assembled |
00000060  61 74 20 26 41 30 30 20  74 6f 20 61 70 70 65 61  |at &A00 to appea|
00000070  72 20 61 73 20 74 68 6f  75 67 68 20 69 74 20 77  |r as though it w|
00000080  61 73 20 61 74 20 26 33  30 30 30 0d 00 3c 09 ef  |as at &3000..<..|
00000090  32 35 35 20 0d 00 46 09  5b 4f 50 54 58 0d 00 50  |255 ..F.[OPTX..P|
000000a0  cb 4e 4f 50 3a 52 54 53  3a 4e 4f 50 3a 52 54 53  |.NOP:RTS:NOP:RTS|
000000b0  3a 4e 4f 50 3a 52 54 53  3a 4e 4f 50 3a 52 54 53  |:NOP:RTS:NOP:RTS|
*
00000160  3a 4e 4f 50 3a 52 54 53  0d 00 5a cb 4e 4f 50 3a  |:NOP:RTS..Z.NOP:|
00000170  52 54 53 3a 4e 4f 50 3a  52 54 53 3a 4e 4f 50 3a  |RTS:NOP:RTS:NOP:|
*
00000230  52 54 53 0d 00 64 cb 4e  4f 50 3a 52 54 53 3a 4e  |RTS..d.NOP:RTS:N|
00000240  4f 50 3a 52 54 53 3a 4e  4f 50 3a 52 54 53 3a 4e  |OP:RTS:NOP:RTS:N|
*
000002f0  4f 50 3a 52 54 53 3a 4e  4f 50 3a 52 54 53 0d 00  |OP:RTS:NOP:RTS..|
00000300  6e cb 4e 4f 50 3a 52 54  53 3a 4e 4f 50 3a 52 54  |n.NOP:RTS:NOP:RT|
00000310  53 3a 4e 4f 50 3a 52 54  53 3a 4e 4f 50 3a 52 54  |S:NOP:RTS:NOP:RT|
*
000003c0  53 3a 4e 4f 50 3a 52 54  53 0d 00 78 cb 4e 4f 50  |S:NOP:RTS..x.NOP|
000003d0  3a 52 54 53 3a 4e 4f 50  3a 52 54 53 3a 4e 4f 50  |:RTS:NOP:RTS:NOP|
*
00000490  3a 52 54 53 0d 00 82 cb  4e 4f 50 3a 52 54 53 3a  |:RTS....NOP:RTS:|
000004a0  4e 4f 50 3a 52 54 53 3a  4e 4f 50 3a 52 54 53 3a  |NOP:RTS:NOP:RTS:|
*
00000550  4e 4f 50 3a 52 54 53 3a  4e 4f 50 3a 52 54 53 0d  |NOP:RTS:NOP:RTS.|
00000560  00 8c 49 42 52 4b 3a 5c  50 72 6f 76 65 73 20 63  |..IBRK:\Proves c|
00000570  6f 64 65 20 3e 20 32 35  36 20 62 79 74 65 73 20  |ode > 256 bytes |
00000580  77 6f 72 6b 73 20 62 79  20 73 61 76 69 6e 67 20  |works by saving |
00000590  61 20 70 72 65 74 74 79  20 70 61 74 74 65 72 6e  |a pretty pattern|
000005a0  20 74 6f 20 64 69 73 6b  0d 00 96 05 5d 0d 00 a0  | to disk....]...|
000005b0  08 ef 32 35 35 0d 00 aa  05 ed 0d 00 b4 10 2a 49  |..255.........*I|
000005c0  4e 46 4f 20 4f 42 4a 45  43 54 0d 00 be 18 ef 31  |NFO OBJECT.....1|
000005d0  34 3a f4 20 50 61 67 65  64 20 6d 6f 64 65 20 6f  |4:. Paged mode o|
000005e0  6e 20 0d 00 c8 10 2a 44  55 4d 50 20 4f 42 4a 45  |n ....*DUMP OBJE|
000005f0  43 54 0d ff                                       |CT..|
000005f4
P/TEST2.m0
P/TEST2.m1
P/TEST2.m2
P/TEST2.m4
P/TEST2.m5