Home » Archimedes archive » Acorn User » AU 1998-08.adf » Regulars » StarInfo/Vibe/LISTFILES

StarInfo/Vibe/LISTFILES

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 1998-08.adf » Regulars
Filename: StarInfo/Vibe/LISTFILES
Read OK:
File size: 0110 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM > LISTFILES
   20
   30DIM NAME% &100
   40
   50SEQ%=0
   60REPEAT
   70SYS "OS_GBPB",8,,NAME%,1,SEQ% TO ,,,NUM%,SEQ%
   80IF NUM%=0 THEN
   90NAME%?(1+?NAME%)=13:NAME$=$(NAME%+1)
  100SYS "OS_File",5,NAME$ TO FOU%,,TYPE%
  110TYPE%=TYPE%>>8:TYPE%=TYPE%AND&FFF
  120IF FOU%=1 PRINTNAME$,TYPE%
  130ENDIF
  140UNTIL NUM%

� > LISTFILES

� NAME% &100
(
2
SEQ%=0
<�
F/ș "OS_GBPB",8,,NAME%,1,SEQ% � ,,,NUM%,SEQ%
P� NUM%=0 �
Z(NAME%?(1+?NAME%)=13:NAME$=$(NAME%+1)
d&ș "OS_File",5,NAME$ � FOU%,,TYPE%
n#TYPE%=TYPE%>>8:TYPE%=TYPE%�&FFF
x� FOU%=1 �NAME$,TYPE%
��
�
� NUM%
�
00000000  0d 00 0a 11 f4 20 3e 20  4c 49 53 54 46 49 4c 45  |..... > LISTFILE|
00000010  53 0d 00 14 04 0d 00 1e  10 de 20 4e 41 4d 45 25  |S......... NAME%|
00000020  20 26 31 30 30 0d 00 28  04 0d 00 32 0a 53 45 51  | &100..(...2.SEQ|
00000030  25 3d 30 0d 00 3c 05 f5  0d 00 46 2f c8 99 20 22  |%=0..<....F/.. "|
00000040  4f 53 5f 47 42 50 42 22  2c 38 2c 2c 4e 41 4d 45  |OS_GBPB",8,,NAME|
00000050  25 2c 31 2c 53 45 51 25  20 b8 20 2c 2c 2c 4e 55  |%,1,SEQ% . ,,,NU|
00000060  4d 25 2c 53 45 51 25 0d  00 50 0e e7 20 4e 55 4d  |M%,SEQ%..P.. NUM|
00000070  25 3d 30 20 8c 0d 00 5a  28 4e 41 4d 45 25 3f 28  |%=0 ...Z(NAME%?(|
00000080  31 2b 3f 4e 41 4d 45 25  29 3d 31 33 3a 4e 41 4d  |1+?NAME%)=13:NAM|
00000090  45 24 3d 24 28 4e 41 4d  45 25 2b 31 29 0d 00 64  |E$=$(NAME%+1)..d|
000000a0  26 c8 99 20 22 4f 53 5f  46 69 6c 65 22 2c 35 2c  |&.. "OS_File",5,|
000000b0  4e 41 4d 45 24 20 b8 20  46 4f 55 25 2c 2c 54 59  |NAME$ . FOU%,,TY|
000000c0  50 45 25 0d 00 6e 23 54  59 50 45 25 3d 54 59 50  |PE%..n#TYPE%=TYP|
000000d0  45 25 3e 3e 38 3a 54 59  50 45 25 3d 54 59 50 45  |E%>>8:TYPE%=TYPE|
000000e0  25 80 26 46 46 46 0d 00  78 19 e7 20 46 4f 55 25  |%.&FFF..x.. FOU%|
000000f0  3d 31 20 f1 4e 41 4d 45  24 2c 54 59 50 45 25 0d  |=1 .NAME$,TYPE%.|
00000100  00 82 05 cd 0d 00 8c 0a  fd 20 4e 55 4d 25 0d ff  |......... NUM%..|
00000110