APPLICATIONSDIVERS ★ 464 TO 664 - 6128 (THE AMSTRAD USER) ★

464 to 664/6128464 to 6128 RSX UPGRADE
★ 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 ★ 

Last month we published a 464 to 6128 converter. This month Gary has produced a much smaller routine which implements the most important commands.

6128 owners have been spoilt by having a large range of graphics commands. To put this right I have produced the following program. This program will add 4 new graphics commands that are normally on the 6128 on to the 464.

The new commands are implemented as RSX's. The only commands I have not implemented are the Mask and Fill command. Fill routines will be dealt with later. Mask is tricky too and is not frequently used so I have not bothered with it. The new commands are Copychr, Frame, Gpaper and Gpen.

Explanations of the parameters and what each command does is detailed below the listing. The 6128 syntax of each command is a$=Copychr$(s), Frame, Graphics paper p and Graphics pen p. All you have to do now with programs that use these commands is to change the syntax. I hope this is of use to you.

|Copychr,@a$,s -This command allows you to road characters from the screen. The 's'parameter is the value for which stream you want to read a character. 'a$' MUST be at least one character long. Strange things will probably happen if you pass a null string (eg. system reset). This command has been slightly extended on the 464. Normally it will read only one character but if you make aS four characters long then it will read four characters from the screen, eg. LOCATE 1,1:a$="iiiii":|COPYCHR,@a$,0:LOCATE 1,10:PRINT a$

(This will copy 5 characters from location (1,1), then print them at location (1,10))

NOTE: This routine will not work with the CPC664 or CPC6128).

|Frame - This will cause a frame flyback to occur. This can be utilized to produce smooth animation.

|Gpaper,p - This will set the value of the graphics paper. The graphics paper is the background of characters printed at the graphics cursor and the colour the graphics screen is cleared to.

|Gpen,p -This will set the value of the graphics pen. The graphics pen is the colour that lines or points are drawn in.

TAU

★ PUBLISHER: The Amstrad User (Australia)
★ YEAR: 1988
★ CONFIG: 64K + AMSDOS
★ LANGUAGE:
★ LiCENCE: LISTING
★ AUTHORS: ERIC PRAITLEY , GARY KOH
 



★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» RSX-464  to  664-6128    LISTINGDATE: 2013-05-25
DL: 382
TYPE: PDF
SiZE: 421Ko
NOTE: 4 pages/PDFlib v1.6

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

Lien(s):
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
Page créée en 745 millisecondes et consultée 3500 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.