This lengthy listing sent in by P Shersby from Mablethorpe, Lincs ,can speed up disk operation by sorting information held on disk. One of the problems with Amstrad disk drives is that when a disk is frequency updated, loading and saving can become very slow This is particularly noticeable with disks used by databases, word processors and other programs that often store and retrieve data The reason for this is simple data saved to disk will locate itself on any empty sectors (or spaces on the disk) This often results in data or programs being spread all over the disk When the data is subsequently loaded back, the drive head has to perform acrobatics -time consuming The cure is to arrange data from particular files in sequential order P Shersby's program does exactly that. The difference in loading time can range from hundredths of a seconds to several seconds After typing in the listing and saving it to a disk, insert the disk you wish to rearrange and type |COMPACT You will be asked which drive to use; enter either A or B. Then you will be asked the disk's format (either data or system). Press either d or s If you don't know the format of a disk enter the line below: IF PEEK(&A89F)=&41 THEN PRINT "SYSTEM" ELSE PRINT "DATA"Ensure you have no roms switched in when you enter the above as you may get incorrect results. If system appears on screen then press s when asked for the disk's formal, otherwise answer D to the prompt.If you remove the disk from the drive while Compact is working, you will corrupt the disk's contents. AA#32 ★ AMSTRAD CPC ★ DOWNLOAD ★ |
|
CPCrulez[Content Management System] v8.7-desktop Page créée en 467 millisecondes et consultée 1113 foisL'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko. |
|
|