Home » Archimedes archive » Acorn User » AU 1997-02 B.adf » Regulars » Rambles/ScreenInfo

Rambles/ScreenInfo

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 » Acorn User » AU 1997-02 B.adf » Regulars
Filename: Rambles/ScreenInfo
Read OK:
File size: 018E bytes
Load address: 0000
Exec address: 0000
File contents
   10REM Screen Type
   20DIM pbk% 80, rbk% 80, P$(10),B%(10)
   30A%=0:C%=0
   40REPEAT
   50READ B%(C%),P$(C%)
   60pbk%!A%=B%(C%)
   70A%+=4:C%+=1
   80UNTIL B%(C%-1)=-1
   90SYS"OS_ReadVduVariables",pbk%,rbk%
  100A%=0:C%=0
  110REPEAT
  120B%(C%)=rbk%!A%
  130PRINTP$(C%);" is ";B%(C%);" Hex ";~B%(C%)
  131A%+=4:C%+=1
  150UNTIL pbk%!A%=-1
  151DATA 148,ScreenStart ,149,DisplayStart,7,ScreenSize  ,6,LineLength  ,-1,END
  152
  153FOR Z%=0 TO 100:B%(0)?Z%=99:NEXT

� Screen Type
%� pbk% 80, rbk% 80, P$(10),B%(10)

A%=0:C%=0
(�
2� B%(C%),P$(C%)
<pbk%!A%=B%(C%)
FA%+=4:C%+=1
P� B%(C%-1)=-1
Z%ș"OS_ReadVduVariables",pbk%,rbk%
d
A%=0:C%=0
n�
xB%(C%)=rbk%!A%
�)�P$(C%);" is ";B%(C%);" Hex ";~B%(C%)
�A%+=4:C%+=1
�� pbk%!A%=-1
�L� 148,ScreenStart ,149,DisplayStart,7,ScreenSize  ,6,LineLength  ,-1,END
�
�� Z%=0 � 100:B%(0)?Z%=99:�
�
00000000  0d 00 0a 11 f4 20 53 63  72 65 65 6e 20 54 79 70  |..... Screen Typ|
00000010  65 0d 00 14 25 de 20 70  62 6b 25 20 38 30 2c 20  |e...%. pbk% 80, |
00000020  72 62 6b 25 20 38 30 2c  20 50 24 28 31 30 29 2c  |rbk% 80, P$(10),|
00000030  42 25 28 31 30 29 0d 00  1e 0d 41 25 3d 30 3a 43  |B%(10)....A%=0:C|
00000040  25 3d 30 0d 00 28 05 f5  0d 00 32 13 f3 20 42 25  |%=0..(....2.. B%|
00000050  28 43 25 29 2c 50 24 28  43 25 29 0d 00 3c 12 70  |(C%),P$(C%)..<.p|
00000060  62 6b 25 21 41 25 3d 42  25 28 43 25 29 0d 00 46  |bk%!A%=B%(C%)..F|
00000070  0f 41 25 2b 3d 34 3a 43  25 2b 3d 31 0d 00 50 11  |.A%+=4:C%+=1..P.|
00000080  fd 20 42 25 28 43 25 2d  31 29 3d 2d 31 0d 00 5a  |. B%(C%-1)=-1..Z|
00000090  25 c8 99 22 4f 53 5f 52  65 61 64 56 64 75 56 61  |%.."OS_ReadVduVa|
000000a0  72 69 61 62 6c 65 73 22  2c 70 62 6b 25 2c 72 62  |riables",pbk%,rb|
000000b0  6b 25 0d 00 64 0d 41 25  3d 30 3a 43 25 3d 30 0d  |k%..d.A%=0:C%=0.|
000000c0  00 6e 05 f5 0d 00 78 12  42 25 28 43 25 29 3d 72  |.n....x.B%(C%)=r|
000000d0  62 6b 25 21 41 25 0d 00  82 29 f1 50 24 28 43 25  |bk%!A%...).P$(C%|
000000e0  29 3b 22 20 69 73 20 22  3b 42 25 28 43 25 29 3b  |);" is ";B%(C%);|
000000f0  22 20 48 65 78 20 22 3b  7e 42 25 28 43 25 29 0d  |" Hex ";~B%(C%).|
00000100  00 83 0f 41 25 2b 3d 34  3a 43 25 2b 3d 31 0d 00  |...A%+=4:C%+=1..|
00000110  96 10 fd 20 70 62 6b 25  21 41 25 3d 2d 31 0d 00  |... pbk%!A%=-1..|
00000120  97 4c dc 20 31 34 38 2c  53 63 72 65 65 6e 53 74  |.L. 148,ScreenSt|
00000130  61 72 74 20 2c 31 34 39  2c 44 69 73 70 6c 61 79  |art ,149,Display|
00000140  53 74 61 72 74 2c 37 2c  53 63 72 65 65 6e 53 69  |Start,7,ScreenSi|
00000150  7a 65 20 20 2c 36 2c 4c  69 6e 65 4c 65 6e 67 74  |ze  ,6,LineLengt|
00000160  68 20 20 2c 2d 31 2c 45  4e 44 0d 00 98 04 0d 00  |h  ,-1,END......|
00000170  99 1e e3 20 5a 25 3d 30  20 b8 20 31 30 30 3a 42  |... Z%=0 . 100:B|
00000180  25 28 30 29 3f 5a 25 3d  39 39 3a ed 0d ff        |%(0)?Z%=99:...|
0000018e