Screen Dump to DMP1|Popular Computing WeeklyCoding Listings
 ★ Ce texte vous est présenté dans sa version originale ★ 
 ★ This text is presented to you in its original version ★ 
 ★ Este texto se le presenta en su versión original ★ 
 ★ Dieser Text wird in seiner ursprünglichen Fassung Ihnen präsentiert ★ 

Down in the dumps

Screen dumps for the CPC464 using the DMP 1 printer by Anil Jagota

This routine provides the CPC464 user with a method of reproducing the CPC464's screen display on paper using the DMP1 printer. If other printers are used the machine code will have to be modified for that particular printer. The actual machine code was derived from the Basic program in Listing 1. The machine-code program has added advantages over the Basic program in that it is faster, more compact and offers more features. The features offered are double height, inverted output and abort. The machine-code version is approximately 150 times faster than the Basic version.

If you own a copy of Hisoft-Devpac then Listing 2 can by typed in and compiled. If not then Listing 3 can be typed in and run.
The finished program can be saved with the following: Save "filename" ,B,43650,250
If you have typed in Listing 3 then first Save the Basic program before running as mistakes may cause the computer to crash. After saving the program, it can be run.

When loading the program, firstly the memory must be set to 43649, this can be done by Memory 43649. To test the program simply type Call 43650. If the program has been typed in correctly then an exact copy of the screen will be on the printer.

To use the extra features a location called option (located at 43897) in the program must be poked. This is done by the following line: POKE 43897,x. x is derived from the following table.

              0 1 2 3

KEY: Y = yes N = no To use the last feature, which is abort, simply press the space bar for a few seconds (while the program is running), and the program will return to Basic. The machine code program uses four of the CPC464's ROM routines the first being Cra Teat Absolute (&BBF0), the second Mc Busy Printer (&BD2E), the third Mc Print Char (&BD31) and, finally, the fourth Km Test Key (&BB1E).

Be sure to start each screen dump on a new sheet of paper as a whole sheet is used. Also after calling the routine, the printer will remain in graphics mode and no printing can be done by the printer before the following line is entered, Print #8, Chr$( 15).

Fig. 1

Fig. 2

Fig. 3


★ YEAR: 1985
★ AUTHOR: Anil Jagota

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