APPLICATIONSDIVERS ★ RESTORE UTILITY (COMPUTING WITH THE AMSTRAD) ★

RESTORE efficiencyRESTORE UTILITY
★ 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 provides a computed RESTORE facility setting up two RSXs. The first has the syntax:

ùREST,ln,oset

where ln is the line number and oset is the offset into the data line, both of which can be computed before or within the statement.

The line number can be the line with the data statement or a line somewhere before it. The offset is the number of items past the data statement at line ln from which you want to start reading. The other RSX can keep trace of lines that have been renumbered with the syntax:

ùSEEK,àa$,àln%

To use it, simply insert REMs at the start of each line, at points where you wish to identify areas of data. Then put a unique string after the REM.

The idea is that you can add a line at the start of the program that will search for the unique string and report the line where it occurs.

CPC664/6128 onwers can use the string without having to resort to a variable as in ùSEEK,"data",àln%.

Please note, there is one small problem with this routine - if you put a comma within a quoted data line:-

1000 DATA "Jump to it, men"

this will appear as two items of data - Jump to it and men.

https://CPCrulez.fr

★ PUBLISHER: Computing with the Amstrad
★ YEAR: 1987
★ CONFIG: 64K + AMSDOS
★ LANGAGE: ???
★ LiCENCE: LISTING
★ COLLECTION: COMPUTING WITH THE AMSTRAD 1987
★ AUTHOR: Ian C. Sharpe
 



★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» RESTORE  UTILITY-IAN  SHARPEDATE: 2013-05-05
DL: 406
TYPE: ZIP
SiZE: 5Ko
NOTE: 40 Cyls
.HFE: Χ

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

Lien(s):
» Applications » Whole Disc Archive/Restore v3.1
» Applications » Restore (CPC Amstrad International)
» Applications » RSX - Copy and Restore Screen (Amstrad Action)
Je participe au site:
» Vous avez des infos personnel, des fichiers que nous ne possédons pas concernent ce programme ?
» 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.732-desktop
Page créée en 689 millisecondes et consultée 2727 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.