APPLICATIONSDIVERS ★ Data Moving Routine ★

Data Moving Routine|Your Computer)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 ★ 

This program is. written for people who have got disc drives and want to store binary file directly from the disc into the locations occupied by the disc operating system. All addresses entered are decimal values, otherwise "&" must be added in .front of those hexadecimal addresses.

The data moving routine must net be in the locations of the moved file or the destination. If the file moved does not overlap the destination file, the file will be moved from :he beginning, otherwise from the end.

If moved file is stored on tape, firstly load the file into where it does not overlap thee DOS; the sum of the start address and the length must be less than 42019. The store it onto disc. To run this routine, the file must first be loaded into the computer with the data moved from the start address which is calculated by yourself.

If you do not bother to calculate the routine starting point and file moved starting points, then delete the following lines:

190, 200, 250, 260, 290, 340 ,350 and 550

And add the following lines:

250 RS = 42615-LM-22:MS=42615-LM:MT=MT+LM
260 HL = &2B:DE=&1B:lbytea= &77: hbytea=&A6

But attention must be paid that the file moved start address now indicates where to start loading data into the mair. memory , not where to commence moving the data. It is because you do not know the start address without calculation, so that this address must be shown. Here is an example:

FileStart addressLengthEntry point
a4900245760
b314481228832768

Hence the informations entered may be as follows:

  • Routine starting point 29800
  • Data moved starting point 30000
  • Length 12288
  • Destination 31448
  • Executed point 32768
  • Title move
After that, use a simple program to link these three programs stored on the same disc.

10 MEMORY 4899
20 LOAD "a":Load "Movs"
30 LOAD "b",30000
40 Call 29800

Your Computer

★ PUBLISHER: YOUR COMPUTER
★ YEAR: 1985
★ AUTHOR: Wai Kei Ho

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