CODINGLISTINGS ★ INTERLACE DEMO ★

Interlace DemoCoding Listings
★ 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 ★ 

Just for a change, here's a program especially for green screen owners. (Colour users can run it, but the results are far from perfect.)

Interlace doubles the onscreen resolution of your Amstrad in the y axis, that is rather than having 200 vertical pixels, it has 400. This Type-In is just a demo of the effect, but ardent programmers should be able to understand the method used.

Interlace has not been readily available before for the CPC. Put simply, the electron beam in the monitor, rather than scanning down the screen once every fiftieth of a second to display a screen, goes down twice per scan. It's set to slightly different increments, so first it does once set of slices down the screen, and then the alternate set.

The program works best in green because mono monitors are more persistent than colour ones, that is it takes longer for the image to fade away. This greatly reduces flicker, and in a pure machine code program it would dissappear entirely.

Because twice as much screen area is being used, twice as much screen memory is needed to store it. So memory from &4000 is set aside to display half the screen, the other half sitting at &C000 as normal.

The Amstrad continually flicks between the two halves while drawing the screen, and carries on when it's finished. (The picture is steadier once it has finished drawing.)

In theory, you could use a similar method to display more colours than usual. Just think - true 16 colours in mode 1! Or rather, 16 shades of green...

Well done JOHN VALENTINE of Eccles: a really idea provoking program for all those who were getting jaded with the CPC's display.

AA

★ PUBLISHER: Amstrad Action
★ YEAR: 1989
★ CONFIG: 64K + AMSDOS
★ LiCENCE: LISTING
★ AUTHOR: John Valentine
 

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» Interlace  Demo    (Amstrad  Action)    LISTING    ENGLISHDATE: 2020-12-26
DL: 186
TYPE: text
SiZE: 2Ko
NOTE:

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

Lien(s):
» Coding Src's » Arabescos (Amstrad User)
» Coding Src's » Labyrinth (CPC Amstrad International)
» Coding Src's » Grafikdemo (CPC Amstrad International)
» Coding Src's » Sierpinski Fern (Amstrad Computer User)
» Coding Src's » Doily (Computing with the Amstrad)
» Coding Src's » Ziehharmonika Effekt
Je participe au site:
» 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.7-desktop
Page créée en 029 millisecondes et consultée 1447 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.