★ APPLICATIONS ★ DISQUE ★ SUPER CAT (AMSTRAD ACTION) ★ |
Super Cat (Amstrad Action) | Applications Disque |
Peter Dalton of Scunthorpe has come to the rescue of Len Phillips, who wanted a routine to be able to catalogue files with more than eight characters in the file name (AA43). Peter's program allows 35 character descriptors to be stored In a disk file header. After running the BASIC loader, HIMEM will be lowered to &A4FF and the code placed above it. The SAVE and CAT routines can be switched on or off as required, and a filename of up to 35 characters stored ready for transfer to the file header when your program Is saved. To place some text into a file header, first load the program as normal. CALL &A500 to set up the save routine. LET A$=”your text”, then CALL &A50C,@A$. Any characters can be used, and If you type more than 35 then the string will be truncated. Now type SAVE"filename” as normal using an eight-letter file name. Any machine code or BASIC program can be saved. To check that all is well, try a normal CAT and your program will apear in the usual way. Now CALL &A503 to set up SUPERCAT. From now on CAT will change the screen to mode 2, each eight-byte file name will be listed, followed by the extended descriptor for that program. Programs are loaded In the normal way, using the eight byte filename, and will load regardless of whether the SUPERCAT code is installed. To return the SAVE to normal call &A506, and for CAT call &A509.
|