Home » Archimedes archive » Archimedes World » AW-1994-08-Disc1.adf » Disk1Aug94 » !AWAug94/Goodies/3D_Demo/Find-Base

!AWAug94/Goodies/3D_Demo/Find-Base

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 » Archimedes archive » Archimedes World » AW-1994-08-Disc1.adf » Disk1Aug94
Filename: !AWAug94/Goodies/3D_Demo/Find-Base
Read OK:
File size: 01E4 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM >Find-Base
   20REM Program : Find-Base
   30REM           Finds the base address of screen memory
   40REM Author  : Kevin J Swinton
   50REM Version : Acorn A5000.1.00
   60REM Date    : Thursday 26th May 1994
   70ON ERROR MODE MODE : REPORT : PRINT " at Line ";ERL : END
   80
   90
  100DIM input_list  8
  110DIM output_list 4
  120
  130input_list!0 = 149
  140input_list!4 =  -1
  150
  160SYS "OS_ReadVduVariables",input_list,output_list
  170
  180BASE_ADDRESS = output_list!0
  190PRINT "BASE ADDRESS OF THIS SCREEN IS &";~BASE_ADDRESS
  200
  210END

� >Find-Base
� Program : Find-Base
7�           Finds the base address of screen memory
(� Author  : Kevin J Swinton
2 � Version : Acorn A5000.1.00
<&� Date    : Thursday 26th May 1994
F%� � � � : � : � " at Line ";� : �
P
Z
d� input_list  8
n� output_list 4
x
�input_list!0 = 149
�input_list!4 =  -1
�
�3ș "OS_ReadVduVariables",input_list,output_list
�
� BASE_ADDRESS = output_list!0
�6� "BASE ADDRESS OF THIS SCREEN IS &";~BASE_ADDRESS
�
��
�
00000000  0d 00 0a 10 f4 20 3e 46  69 6e 64 2d 42 61 73 65  |..... >Find-Base|
00000010  0d 00 14 19 f4 20 50 72  6f 67 72 61 6d 20 3a 20  |..... Program : |
00000020  46 69 6e 64 2d 42 61 73  65 0d 00 1e 37 f4 20 20  |Find-Base...7.  |
00000030  20 20 20 20 20 20 20 20  20 46 69 6e 64 73 20 74  |         Finds t|
00000040  68 65 20 62 61 73 65 20  61 64 64 72 65 73 73 20  |he base address |
00000050  6f 66 20 73 63 72 65 65  6e 20 6d 65 6d 6f 72 79  |of screen memory|
00000060  0d 00 28 1f f4 20 41 75  74 68 6f 72 20 20 3a 20  |..(.. Author  : |
00000070  4b 65 76 69 6e 20 4a 20  53 77 69 6e 74 6f 6e 0d  |Kevin J Swinton.|
00000080  00 32 20 f4 20 56 65 72  73 69 6f 6e 20 3a 20 41  |.2 . Version : A|
00000090  63 6f 72 6e 20 41 35 30  30 30 2e 31 2e 30 30 0d  |corn A5000.1.00.|
000000a0  00 3c 26 f4 20 44 61 74  65 20 20 20 20 3a 20 54  |.<&. Date    : T|
000000b0  68 75 72 73 64 61 79 20  32 36 74 68 20 4d 61 79  |hursday 26th May|
000000c0  20 31 39 39 34 0d 00 46  25 ee 20 85 20 eb 20 eb  | 1994..F%. . . .|
000000d0  20 3a 20 f6 20 3a 20 f1  20 22 20 61 74 20 4c 69  | : . : . " at Li|
000000e0  6e 65 20 22 3b 9e 20 3a  20 e0 0d 00 50 04 0d 00  |ne ";. : ...P...|
000000f0  5a 04 0d 00 64 13 de 20  69 6e 70 75 74 5f 6c 69  |Z...d.. input_li|
00000100  73 74 20 20 38 0d 00 6e  13 de 20 6f 75 74 70 75  |st  8..n.. outpu|
00000110  74 5f 6c 69 73 74 20 34  0d 00 78 04 0d 00 82 16  |t_list 4..x.....|
00000120  69 6e 70 75 74 5f 6c 69  73 74 21 30 20 3d 20 31  |input_list!0 = 1|
00000130  34 39 0d 00 8c 16 69 6e  70 75 74 5f 6c 69 73 74  |49....input_list|
00000140  21 34 20 3d 20 20 2d 31  0d 00 96 04 0d 00 a0 33  |!4 =  -1.......3|
00000150  c8 99 20 22 4f 53 5f 52  65 61 64 56 64 75 56 61  |.. "OS_ReadVduVa|
00000160  72 69 61 62 6c 65 73 22  2c 69 6e 70 75 74 5f 6c  |riables",input_l|
00000170  69 73 74 2c 6f 75 74 70  75 74 5f 6c 69 73 74 0d  |ist,output_list.|
00000180  00 aa 04 0d 00 b4 20 42  41 53 45 5f 41 44 44 52  |...... BASE_ADDR|
00000190  45 53 53 20 3d 20 6f 75  74 70 75 74 5f 6c 69 73  |ESS = output_lis|
000001a0  74 21 30 0d 00 be 36 f1  20 22 42 41 53 45 20 41  |t!0...6. "BASE A|
000001b0  44 44 52 45 53 53 20 4f  46 20 54 48 49 53 20 53  |DDRESS OF THIS S|
000001c0  43 52 45 45 4e 20 49 53  20 26 22 3b 7e 42 41 53  |CREEN IS &";~BAS|
000001d0  45 5f 41 44 44 52 45 53  53 0d 00 c8 04 0d 00 d2  |E_ADDRESS.......|
000001e0  05 e0 0d ff                                       |....|
000001e4