Home » Archimedes archive » Archimedes World » archimedes_world_volume_14_issue_12_scp.adf » !Pinboards_Pinboard » Art11/SetDisplay

Art11/SetDisplay

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 » archimedes_world_volume_14_issue_12_scp.adf » !Pinboards_Pinboard
Filename: Art11/SetDisplay
Read OK:
File size: 0205 bytes
Load address: 0000
Exec address: 0000
File contents
   10 SYS"OS_Byte",162,198,%01000000 +2 +12
   20 REM Add 1 for Small Icons
   30 REM Add 2 for Full Information
   40 REM dont' add three 'cos it's 1+2 which is confusing
   50 REM Add four for Sort by Type
   60 REM Add eight for Sort by Size
   70 REM ADD twelve for Sort by Date
   80 REM So, the first line sets the display to Full Info, Sort by Date.
   90 REM The first four bits set Confirm, Verbose, Force and Newer to "On"
  100 REM when set at 1 and OFF when set at 0. Thus the first part of the line
  110 REM sets just the Verbose option to ON.

) ș"OS_Byte",162,198,%01000000 +2 +12
 � Add 1 for Small Icons
! � Add 2 for Full Information
(7 � dont' add three 'cos it's 1+2 which is confusing
2  � Add four for Sort by Type
<! � Add eight for Sort by Size
F" � ADD twelve for Sort by Date
PF � So, the first line sets the display to Full Info, Sort by Date.
ZH � The first four bits set Confirm, Verbose, Force and Newer to "On"
dK � when set at 1 and OFF when set at 0. Thus the first part of the line
n* � sets just the Verbose option to ON.
�
00000000  0d 00 0a 29 20 c8 99 22  4f 53 5f 42 79 74 65 22  |...) .."OS_Byte"|
00000010  2c 31 36 32 2c 31 39 38  2c 25 30 31 30 30 30 30  |,162,198,%010000|
00000020  30 30 20 2b 32 20 2b 31  32 0d 00 14 1c 20 f4 20  |00 +2 +12.... . |
00000030  41 64 64 20 31 20 66 6f  72 20 53 6d 61 6c 6c 20  |Add 1 for Small |
00000040  49 63 6f 6e 73 0d 00 1e  21 20 f4 20 41 64 64 20  |Icons...! . Add |
00000050  32 20 66 6f 72 20 46 75  6c 6c 20 49 6e 66 6f 72  |2 for Full Infor|
00000060  6d 61 74 69 6f 6e 0d 00  28 37 20 f4 20 64 6f 6e  |mation..(7 . don|
00000070  74 27 20 61 64 64 20 74  68 72 65 65 20 27 63 6f  |t' add three 'co|
00000080  73 20 69 74 27 73 20 31  2b 32 20 77 68 69 63 68  |s it's 1+2 which|
00000090  20 69 73 20 63 6f 6e 66  75 73 69 6e 67 0d 00 32  | is confusing..2|
000000a0  20 20 f4 20 41 64 64 20  66 6f 75 72 20 66 6f 72  |  . Add four for|
000000b0  20 53 6f 72 74 20 62 79  20 54 79 70 65 0d 00 3c  | Sort by Type..<|
000000c0  21 20 f4 20 41 64 64 20  65 69 67 68 74 20 66 6f  |! . Add eight fo|
000000d0  72 20 53 6f 72 74 20 62  79 20 53 69 7a 65 0d 00  |r Sort by Size..|
000000e0  46 22 20 f4 20 41 44 44  20 74 77 65 6c 76 65 20  |F" . ADD twelve |
000000f0  66 6f 72 20 53 6f 72 74  20 62 79 20 44 61 74 65  |for Sort by Date|
00000100  0d 00 50 46 20 f4 20 53  6f 2c 20 74 68 65 20 66  |..PF . So, the f|
00000110  69 72 73 74 20 6c 69 6e  65 20 73 65 74 73 20 74  |irst line sets t|
00000120  68 65 20 64 69 73 70 6c  61 79 20 74 6f 20 46 75  |he display to Fu|
00000130  6c 6c 20 49 6e 66 6f 2c  20 53 6f 72 74 20 62 79  |ll Info, Sort by|
00000140  20 44 61 74 65 2e 0d 00  5a 48 20 f4 20 54 68 65  | Date...ZH . The|
00000150  20 66 69 72 73 74 20 66  6f 75 72 20 62 69 74 73  | first four bits|
00000160  20 73 65 74 20 43 6f 6e  66 69 72 6d 2c 20 56 65  | set Confirm, Ve|
00000170  72 62 6f 73 65 2c 20 46  6f 72 63 65 20 61 6e 64  |rbose, Force and|
00000180  20 4e 65 77 65 72 20 74  6f 20 22 4f 6e 22 0d 00  | Newer to "On"..|
00000190  64 4b 20 f4 20 77 68 65  6e 20 73 65 74 20 61 74  |dK . when set at|
000001a0  20 31 20 61 6e 64 20 4f  46 46 20 77 68 65 6e 20  | 1 and OFF when |
000001b0  73 65 74 20 61 74 20 30  2e 20 54 68 75 73 20 74  |set at 0. Thus t|
000001c0  68 65 20 66 69 72 73 74  20 70 61 72 74 20 6f 66  |he first part of|
000001d0  20 74 68 65 20 6c 69 6e  65 0d 00 6e 2a 20 f4 20  | the line..n* . |
000001e0  73 65 74 73 20 6a 75 73  74 20 74 68 65 20 56 65  |sets just the Ve|
000001f0  72 62 6f 73 65 20 6f 70  74 69 6f 6e 20 74 6f 20  |rbose option to |
00000200  4f 4e 2e 0d ff                                    |ON...|
00000205