APPLICATIONSDISQUE ★ Disc Miser ★

Disc Miser|The Amstrad User)Applications Disque
★ Ce texte vous est présenté dans sa version originale ★ 
 ★ This text is presented to you in its original version ★ 
 ★ Este texto se presenta en su versión original ★ 
 ★ Dieser Text wird in seiner Originalfassung präsentiert ★ 

A Disc to Tape Archive Program

Have you ever wished you could safely and cheaply store away the contents of those little used discs in order to make room for new programs? Would you like to have a cheap form of backup for all your disc based programs? If the answer to either of these two questions is 'YES', then read on because here is the answer to your prayers. It's called "The Disc Miser" and it will archive an exact copy of your discs onto cassette tape.

Before I describe the workings of the program in any detail, here area few of the programs main points:

  1. The disc format is saved as well as the data contained on every track.
  2. Two. (2) wheile discs can be stored on one C60 cassette tape.
  3. When the data is retrieved, the reformat the target disc to the archive disc format and regenerates an exact copy.
  4. Either drive, A: or B: may be used.
After the screams of "PIRACY!" die down let me assure you that the program is designed to make archive tapes of Data, System and IBM format discs which have the normal 40 tracks: That is, it will archive only those discs which could be disc-copied using the DISCKIT program as supplied with your computer (or disc drive).

The program is NOT designed as a way to get around disc protection and of course the archived tape files will not run unless transferred back to another disc using the retrieve' option of the program.

Although the program is written in BASIC, some machine code is necessary to access the AMSDOS BIOS commands which allow us to format disc track as well as to read and write disc sectors.

The required machine code is stored in data lines 340-400 and 1405-1440 and POKEd into memory when the program is initially run. All data lines are checksummed and if, by the remotest chance, you happen to type any data incorrectly, a message will be displayed upon running the program which will tell you the line at fault.

This user-friendly approach is evident throughout the entire program since virtually every step of the operation is documented on the screen with prompts and progress messages. .

 The main menu (lines 710-835) provides four options:

  1. Archive DISC to TAPE
  2. Retrieve DISC from TAPE
  3. Catalogue DISC
  4. Terminate program
When Option 1 is chosen , the user is firstly asked which drive is to be used andthen prompt.ed to enter a filename, (which may be up to 16 characters long). The format of the source disc is then checked (line 520-620). If it is recognised as a standard format, the user is prompted to insert the archive tape : Press REC and PLAYand then any key. A file containing the formal information is then saved to tape (lines 635-665).

If the format of any track is not recognised as one of the three standard AMSTRADformats, the program is terminated and a message to that effect is displayed (lines 1450-1485).

The next step is to read the data, from each track (lines 140-220): and save it totape (lines 205-250). These tape files are headerless in order to save tape space and each is .labelled with its respective track number (line 210). The tape speed is 2500baud set by line 105.

After all tracks have been saved to tape, the program reverts to the main menu. Option 2 will allow you to retrieve your disc data later date. (After one of the kids has spilt orange cordial all over your data base disc.) Here the program reads back the disc format from tape (lines 1050-1105) and then, after prompting you for destination disc, proceeds to format each track (line 1145),read.the track data from tape (lines 1150-1160) and write the data to disc (lines 1175-1230).

As a safety feature, to protect against possible tape read errors , the previously stored track number for each block of data is matched against the track number currently being written (line 1165). If they don't match,the message "Read Error! Rewind Tape & Press any Key" is displayed and loading is stopped pending a key press (lines 1315-1325). If you rewind too far, the message "Found Track XX", is displayed (line 1320) and the program continues until the correct track is found. This means that a track is not saved to disc until the correct data is detected. After all the tracks have been transferred, the program again returns to the main menu where either option 3 (a disc catalogue) or Option 4 (terminate program) can be chosen.

The Disc Miser should be a very useful addition to your range of utilities. So. if you don't receive the monthly tape with your magazine, limber up those typing fingers and go to it.


TAU

★ PUBLISHER: The Amstrad User (Australia)
★ YEAR: 1987
★ CONFIG: 64K + AMSDOS
★ LANGUAGE:
★ LICENCE: LISTING
★ AUTHOR: Ted Krapkat

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» DISC  MISER    LISTINGDATE: 2013-05-12
DL: 48 fois
TYPE: PDF
SIZE: 815Ko
NOTE: 4 pages/PDFlib v1.6

Je participe au site:
» Newfile(s) upload/Envoye de fichier(s)
★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Applications » Disc Cataloguer (The Amstrad User)
» Applications » File Examiner - Header Reader
» Applications » Datas Compact (CPC Infos)
» Applications » Directory auf Ducker
» Applications » Back Up Hilfe (CPC Amstrad International)
» Applications » Advanced Header Reader

QUE DIT LA LOI FRANÇAISE:

L'alinéa 8 de l'article L122-5 du Code de la propriété intellectuelle explique que « Lorsque l'œuvre a été divulguée, l'auteur ne peut interdire la reproduction d'une œuvre et sa représentation effectuées à des fins de conservation ou destinées à préserver les conditions de sa consultation à des fins de recherche ou détudes privées par des particuliers, dans les locaux de l'établissement et sur des terminaux dédiés par des bibliothèques accessibles au public, par des musées ou par des services d'archives, sous réserve que ceux-ci ne recherchent aucun avantage économique ou commercial ». Pas de problème donc pour nous!

CPCrulez[Content Management System] v8.7-desktop/cache
Page créée en 099 millisecondes et consultée 798 fois

L'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.