CWTA Issue 48 - December 1988 - Type-Ins
The following listings were published in the December 1988 issue of Computing_with_the_Amstrad:
- Rubik's Clock Solver (adpated by Phil Lawson from Christopher Stops' original)
- Disc File Copier (Dave Instone-Brewer) NB error in original listing corrected here
- Sieve Of Eratosthenes (Simon Benge)
- Polar Curves (Maurizio De Cesare)
- Zombie Island (Patrick Beautement)
- Monster Maze (Peter Timming)
- Mini Adventure Creator (Clive Gifford)
- Dynamite Dungeons (Phil Lawson)
- All files here originally created by Nich Campbell.
Disc File Copier
Run the program, and it will save a file to the disc called COPY.&A1. The &A1 extension means that the file must be loaded to &A100, although when the program sets up the RSX, it locates it below HIMEM, so the extension (and therefore the address which the program is loaded to) depends on the value of HIMEM when you run the program. To load and initialise the RSX again, type: MEMORY &A0FF:LOAD"COPY.&A1",&A100:CALL &A100 or the equivalent, depending on the file extension.
The program sets up an RSX called |COPY which copies any file - ASCII, BASIC, binary or CP/M .COM files - from one disc to another. Some examples of how to use it are:
|COPY,"file.ext" - copy a file from the current drive to another disc, using the same drive.
|COPY,"file.ext>B" - copy a file from the current drive to drive B.
|COPY,"A:file.ext>B" - copy a file from drive A to drive B.
CPC464 owners will need to use something like a$="A:file.ext>B":|COPY,@a$ for the RSX to work. There is also an alternative RSX called |KOPY which performs exactly the same function, in case an RSX called |COPY has already been loaded by another program. Wait 23 seconds for the program to set up.