Screen Dump on Amstrad|Popular Computing Weekly)Coding 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 ★ 

Having just bought myself an Epson compatible printer (the Brother M-1009), my first thought was to try a screen dump. The attempt I made at writing one (in Basic) was reasonably successful but very slow and since my knowledge of machine code is extremely limited my only resort was someone else's program. So out came my back issues of various magazines and the search for a machine code screen dump program began. The programs that I did find were fine in their way but limited to black and white.

Just when it looked like I would have to buy a program I remembered that there was a printing routine on my copy of Mini Office. I recorded the machine code part of it on to a blank tape, loaded in a screen and called the routine. It worked perfectly. In Mode 2, black and white. In Mode 1, black, white and two shades of grey. In Mode 0, black, white, two shades of grey and 12 sets of dot patterns for the different pens. The way 1 did it was as follows.

Those of you who have a disc drive in program one. those with tape type in program two. But first you must put your original copy of Mini Office in your tape recorder and type in Cat. Stop the tape when it prints up Graph2. Rewind it slightly until you are at the start of Graph2 block 1, then run either program one or program two.

Once you have done the above it is just a matter of loading ",DUMP”,&5f38, then loading the screen you wish to dump. After that simply CALL &5f38 and sit back. If, however, you have an Amstrad DMP1 printer then change the poke to Poke &5f39,1.

[CODE]5 REM disc
10 MEM0RY &5f37
30 LOAD "GRAPH2",&5f38
40 POKE &5f39,2
50 SAVE "DUMP",B,&5f38, 1024

5 REM tape
10 MEMORY &5f37
20 LOAD "GRAPH",&5f38
30 POKE &5f39,2
40 SAVE "DUMP",B,&5f38, 1024[/CODE]


★ YEAR: 1985
★ AUTHOR: K.Fairley

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