★ APPLICATIONS ★ DISQUE ★ DISCUTIL ★ |
DiscUtil | Applications Disque |
Here's a useful utility sent in by Tristan McDonald from Luton. It adds live bar commands to Basic |CHECK,@a$,@e% checks that a file (contained within a$) is on the disk If the file is present e% will equal zero, otherwise 255 is returned. For example. a$="program.bas":e%=0:|CHECK,@a$,@e%|TYPE,@a$ - emulates the CPM TYPE command, it allows you to view the Ascii contents of a file. The string variable holds the name of the file to view. For example a$="program.bas":|TYPE,@a$|PRINTER.ON - echos text written on the screen to the printer. |PRINTER.OFF - switches off the above function. |LOAD,@f$,a,@e% this loads any file (held in f$) into any memory address (a) The variable e% will contain the status byte - 0 if all went according to plan; 255 if there was an error. For example, f$="program.bin":e%=0:|LOAD,@f$,16384,@e%AA
|