APPLICATIONSDISQUE ★ FILE HEADER READER UTILITY ★

File Header Reader Utility (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 ★ 

This useful program allows the user to display information contained in the File Header of Tape or Diss files. The information includes the rile Name, File Type, number of blocks in the File, Load Address. File Length, End Address, and the Execute Address of a Binary File if included. The program is particularly useful where the parameters of a binary file have been forgotten or mislaid. Also provided is a hard copy listing of the Basic program and an Assembler listing of the M/Code Subroutine used by the Basic program. The machine code routine is poked into protected high memory. It loads the header block of the file to be analysed and returns the location of the file header in memory to Basic, along with a flag to tell Basic if the read was successful or not. The routine is relocatable and will load below the existing HIMEM value and protect itself by lowering HIMEM by 2103 Bytes, which includes a 2K. buffer for use by the operating system call CAS IN OPEN. The Basic program is heavily REMarked and should be self explanatory. When typing in the listing, you should double check the lines 50 to 160. which contain the machine code loader routine. The call to the machine code routine is at line 420 and uses the standard method of passing parameters to and fro. The location of the string descriptor for filenames n passed to the routine, and the location of the file header is returned in the variable header%. If the read was successful the value of the variable flag% will remain 0, but if the read failed or ESC was pressed then flag% will be returned as -1.

TAU

★ PUBLISHER: The Amstrad User (Australia)
★ YEAR: 1985
★ CONFIG: 64K + AMSDOS
★ LANGUAGE:
★ LiCENCE: LISTING
★ AUTHOR: IAN JARDINE
 

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» File  Header  Reader  Utility    LISTINGDATE: 2013-05-26
DL: 289
TYPE: PDF
SiZE: 282Ko
NOTE: 3 pages/PDFlib v1.6

★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Applications » CATPrint (Amstrad Action)
» Applications » Dirprint v42 (Amstrad Action)
» Applications » iMPDOS 128/512
» Applications » Slayer
» Applications » Form3
» Applications » Backlist (CPC Amstrad International)
Je participe au site:
» Pour ce titre nous ne disposons de fichier executable sur CPC (Dump, Saisie du listing) , alors si vous avez ça dans vos cartons ou vous désirez usé vos petit doigts boudinés sur votre clavier faites le nous savoir.
» Vous avez des infos personnel ?
» Vous avez remarqué une erreur dans ce texte ?
» Aidez-nous à améliorer cette page : en nous contactant via le forum ou par email.

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