APPLICATIONSDIVERS ★ Clock ★

Clock (Popular Computing Weekly)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 ★ 

When the program is run you will see a large clock, a mouse, a piece of cheese, a window for questions and answers and a fruit machine-type object with a lever: this the right/wrong machine.

Next, you see in the window the question "What is the Time?". You will have noticed that the clock has acquired a pair of hands and using these as a guide you must answer the question. Numbers should be entered as figures rather than words: Quarter, Half, Past and To must be typed fully; O'Clock must be typed fully with an apostrophe (Shift 7) after the 'O' ; and there must be a space between each word or number. After an answer is entered, the lever on the right/wrong machine is pulled.

If the answer is right the face at the end of the lever smiles and mouse moves one pace towards the cheese, otherwise the exact opposite happens. When the cheese is reached, a score and assessment is given.

Program notes

  • 80-130 Define characters.
  • 170-200 Draw clock as 2 concentric circles.
  • 220-230 Print numbers.
  • 250-260 Print mouse and cheese.
  • 290 Define Windows.
  • 310-320 Draw right/wrong machine.
  • 340-390 Select random time, draw hands.
  • 410-450 Work out correct string for answer.
  • 470-480 Asks time.
  • 820-540 Activate machine.
  • 560-620 Checks whether answer is correct.
  • 640-660 Tune.
  • 680-740 Prints score and assessment.
  • 750-760 Error detected.

PopularComputingWeekly860109

★ PUBLISHER: POPULAR COMPUTING WEEKLY
★ YEAR: 1986
★ AUTHOR: Paul Leathley

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» Clock    (Popular  Computing  Weekly)    ENGLISH    LISTINGDATE: 2017-05-09
DL: 202
TYPE: PDF
SiZE: 127Ko
NOTE: Uploaded by CPCLOV ; 2 pages/PDFlib v1.6

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

Lien(s):
» Coding Src's » Graffitis (Amstrad Magazine 15)
» Coding Src's » Revolving Message
» Coding Src's » Titulares sinuosos (Amstrad Personal)
» Coding Src's » MC-Hinter
» Coding Src's » Graphic - Farbspielereien - Colors (CPC Amstrad International)
» Coding Src's » Turning Wheel
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.7-desktop
Page créée en 589 millisecondes et consultée 1563 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.