APPLICATIONSDIVERS ★ File Dump ★

File Dump|Computing With the Amstrad)Applications Divers
★ 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 ★ 

NO matter how careful you are, discs always seem to fill up with programs with obscure names like PROG1, PROG, MCODE, GAME, SPCINVDR and so on.

Of course we all try to give files meaningful names but there's a limit to what you can do with eight letters.

The only way to find out what the programs are is to load each one and list them. Of course it's even worse if the files are text files from a word processor as you have to either go into the word processor and load them or use CP/M's TYPE command to discover what's in them.

This can be time consuming and there's also the disadvantage that you lose the program currently in memory as well.

Dump is a short utility designed to get round this by letting you look at a file without actually loading it or disturbing the program in memory. When run, it stores some machine code above HIMEM which is moved down to &9FFF.

To list a text file CALL &A000,1, and to dump any other type of file CALL &A000 and you'll be prompted for the filename.

Don't forget the file extension if it isn't the normal .BAS or .BIN or . followed by a space. It's best in Modes 1 or 2 - Mode 0 is a bit too chunky. The file is dumped in both hexadecimal and Ascii.

You hold down Shift to pause the listing or dump and can end at any time by pressing Ctrl.

You should be able to see exactly what the file is from the output. Most Basic files have a few quite useful REMs at the start with the title of the program. Text files can be read of course.

The dump routine works by opening the file and reading it in a byte at a time. Each byte is printed in hex and, if it lies within the range 32 to 126, Ascii as well.

The Ascii version is similar except that there isn't any need for a hex output so all characters are printed.

CWTA

★ PUBLISHER: Computing With The Amstrad
★ YEAR: 1986
★ CONFIG: 64K + AMSDOS
★ LANGUAGE:
★ LICENCE: LISTING
★ AUTHOR: ROLAND WADDILOVE

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» File  Dump    (Computing  with  the  Amstrad)    LISTINGDATE: 2018-03-20
DL: 18 fois
TYPE: text
SIZE: 2Ko

Je participe au site:
» Newfile(s) upload/Envoye de fichier(s)

CPCrulez[Content Management System] v8.7-desktop/cache
Page créée en 108 millisecondes et consultée 584 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.