APPLICATIONSDIVERS ★ BASIC SCREEN DUMP (PRACTICAL COMPµTING) ★

Basic Screen Dump (Practical Compµting)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 ★ 

BASIC IS TOO slow to be of much use for dumping the contents of the Amstrad screen to a printer, but F M Collins has written a fast machine-code program to do the job. Intended for the Mannesmann Tally MT-80 printer it also works successfully with the Shinwa CPA-80, but for other Epson-type printers slight modifications may be required.

A Basic loading program and assembler listing are supplied. Several NOPs are included in the assember listing, both to serve as markers and to allow space for any additional control codes required.

The seven-line data bus of the 464's Centronics port has made life interesting and the 640-bit line length has had to be handled as 639 plus 1. Trying to divide the 400-line screen by 14 or 7 is not much easier, and this is taken as

28x14 + 8[:code]in the text mode and

57 x 7 + 1

in graphics mode. The latter prints every bit of information twice, similar to the VDU display, and gives a more acceptable aspect ratio; it also takes twice as long.

Connect your printer, then enter and run the Basic loader. If you have entered the data correctly you will be prompted to enter G or T and the listing will reappear.
Enter Call 43709 as a direct command and the screen will be dumped to the printer. If the printer is not connected and switched on, the Call will return directly to the Basic. Immediately before saving the program to tape, replace line 150 by 150 New

and the loader can then be used to enter the machine code into the CPC-464 and delete itself before you write your own Basic program.

This should use the command Call 43709 whenever a printout is required and Basic screen dump it can switch between text and graphics modes by using the Pokes in lines 100 and 105 of the loader. Holding down the space bar will abort a dump and return control to Basic.

Make the first line of your program

10 MEMORY 43708: LOAD”!

and the last line line

60000 SAVE “YOURPROGRAM”:SAVE”!DUMP”,B,43709,192

Goto 60000 will now save both the Basic and the machine code; reloading the program with Run” will load both.

Ian STOBIE, Practical Compµting

★ PUBLISHER: Practical Compµting
★ YEAR: 1985
★ CONFIG: 64K + AMSDOS
★ LANGUAGE:
★ LiCENCE: LISTING
★ AUTHOR: F.M.Collins
 



★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» Basic  Screen  Dump    (Practical  Computing)    LISTING    ENGLISHDATE: 2024-12-04
DL: 64
TYPE: PDF
SiZE: 435Ko
NOTE: Supplied by archive.org ; 2 pages/PDFlib v1.6

★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Applications » Logo Screen Dump
» Applications » ESP Screen Dump
» Applications » High Resolution Screen Dump for Epson-Compatible Dot-Matrix Printers
» Applications » Screen Dump on Amstrad (Popular Computing Weekly)
» Applications » Hex-Dump (Happy Computer)
» Applications » Memory Dump (The Amstrad User)
Je participe au site:
» Pour ce titre nous ne disposons de fichier executable sur CPC (Dump, Saisie du listing) , alors si vous avez ça dans vos cartons ou vous désirez usé vos petit doigts boudinés sur votre clavier faites le nous savoir.
» Vous avez des infos personnel ?
» Vous avez remarqué une erreur dans ce texte ?
» Aidez-nous à améliorer cette page : en nous contactant via le forum ou par email.

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