★ APPLICATIONS ★ DIVERS ★ RSX:Reflections ★ |
Rsx - Reflection (Amstrad Computer User) | Applications Divers |
Improve your image with Cy Noble's screen mirroring RSX THIS program will reflect a mirror image of any area or all of the screen, operating in either the x or y axis, using the CPC's Basic coordinates. It has been written in relocatable machine code and locates itself just below HIMEM. It lowers HIMEM to just below itself after setting up a new RSX command. The new command is: |REFLECT,x,y,width,height,z. It works in any mode and requires the following five parameters.
If any parameter is omitted, or is outside the limits specified, the routine returns a Bad Parameter message. The first part of the listing reads the data, pokes the machine code into place, and calls it. The machine code occupies &280 bytes minus &3E bytes (&3E is the length of the relocation code which is no longer required once it has done its job. There follows a small routine in 0 mode which will demonstrate the speed and power of the REFLECT command. The data statements must start at line 1000 and are checksummed. If there are any mistakes in your listing you will be informed of the line number to check. If you don't get a line number to check, but the checksum at the end is still wrong, the most likely cause is typing a line twice, often done in longish listings.
|