On Tue, 7 Sep 1999, [ISO-8859-1] Marko Mäkelä wrote: > Without the #, yes. There also are some subdirectory extensions for the > 1541. My favourite is the one that makes use of "&*,u" files. You just > say OPEN1,8,15,"&subdir":CLOSE1, and the drive (after loading the file > "&subdir,u") will change to that subdirectory. I think it was that > simple. I think there was a separate utility for creating subdirectories. Whose extensions are these? Commodore's? Are they included in the standard 1541 ROMs? Here is an extract from the 1581 ROM as found on funet as http://www.funet.fi/pub/cbm/src/drives/serlib.zip =0004 110 reltyp =4 ; open relative type =0007 111 dirtyp =7 ; open direct type =0005 112 partyp =5 ; open partition type =0001 113 seqtyp =1 ; open sequential type =0002 114 prgtyp =2 ; open program type =0003 115 usrtyp =3 ; open user type =0007 116 typmsk =7 ; mask for type bits This clearly shows an 8 filetype limit and 7 of them already used (if you count 0, for DELeted files). So type 1 is SEQ, type 2 is PRG, type 3 is USR, type 4 is REL and type 5 is CBM for partitions. Type 6 appears to be unused and type 7 is 'direct' type, whatever that is. Looks like I can implement type 5 in 1541 IDE implementations to support subdirectories. I really need that 1541 source though, preferably in electronic form. Wordpad was surprisingly useful in searching through the 1581 document for variable names and subroutine names. Richard - This message was sent through the cbm-hackers mailing list. To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.
Archive generated by hypermail 2.1.1.