We will start off this unit by demonstrating the Amstrad's ability to produce colour and sound. Type the following program into the computer and run it. (At this stage, don't worry if you don't understand the program.) 10 FOR N=1 TO 20 20 INK 0,N 30 BORDER 20-N 40 SOUND 1,5*N,100 50 NEXT N 60 GOTO 10In the course of this unit, you will learn all the new commands and techniques that we have incorporated in this program, such as FOR...NEXT loops, Numeric Variables and interesting screen displays. That is to say, printing characters on the screen, constructing shapes out of characters and moving individual characters around the screen. However, it is the commands and techniques you will use during this unit that will be of the greatest importance to you in learning how to program your computer.
★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser... |
CPCrulez[Content Management System] v8.7-desktop/c Page créée en 768 millisecondes et consultée 1374 foisL'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. |
|
|