Aller au contenu

Fichier:Locomotive BASIC color bars.gif

Le contenu de la page n’est pas pris en charge dans d’autres langues.
Pɩlɩɩna Wikipediya

Kiɖe tɛɛ takayaɣ(Kpaɣna pɩkɩsɛlɩ 841 nɛ pɩtalɩ 586 ñɩŋgʋ, takayaɣ walanzɩ : 58 kio, MIME akɩlɩ : image/gif, en boucle, 128 trames, 11 s)

Takayaɣ kanɛ kalɩna Wikimedia Commons. Tamasɩ lɛɛsɩ pɩzɩɣ palabɩna-kɛ nɛ tʋmɩyɛ. Pataaɖɩ kɛ-kɛdʋʋ tɔm ka-takayɩhayʋʋ ngʋ kɩkɛdʋʋ kɔ-tɔm yɔ nɛ pɩ-tɛɛ.

Kɛdɩtʋ

Kɛdɩtʋ
English: An Amstrad CPC emulated in MAME running a short Locomotive BASIC demo program which displays color bars similar to SMPTE color bars or EBU colour bars.
Efemiye
Kiɖe Ɖeke tʋmɩyɛ
Mayʋ Morn

Locomotive BASIC program

10 mode 0
20 ink 1,26:ink 2,24:ink 3,20:ink 4,18
30 ink 5,8:ink 6,6:ink 7,2:ink 8,0
40 for i=1 to 8
50 paper i
60 print space$(40);
70 next

Program notes

  • Key words are printed in uppercase when the program is output with "list". But entering code is usually done in lowercase.
  • line 10: screen mode 0 is used (16 colours; 20x25 characters)
  • lines 20/30: set up colour palette; note that multiple instructions can be combined on a line
  • lines 40 to 70: a "for" loop over i
  • line 50: set the paper (background) colour to i
  • line 60: print 40 spaces (= 2 lines); space$ is a built-in function that returns a string
  • When the program ends, the "Ready" prompt is white-on-black because the current foreground (pen) colour, which is 1, had been set to white ("ink 1,26"). The background colour is 8 after the loop and "ink 8,0" had set that to black previously. See File:Amstrad CPC ink numbers.png for a chart of Amstrad ink numbers.

Labɩnaʋ paɣtʋ

Moi, en tant que détenteur des droits d’auteur sur cette œuvre, je la publie sous la licence suivante :
Creative Commons CC-Zero Ce fichier est disponible selon les termes de la licence Creative Commons CC0 Don universel au domaine public.
La personne qui a associé une œuvre avec cet acte l’a placée dans le domaine public en renonçant mondialement à tous ses droits sur cette œuvre en vertu des lois relatives au droit d’auteur, ainsi qu’à tous les droits juridiques connexes et voisins qu’elle possédait sur l’œuvre, sans autre limite que celles imposées par la loi. Vous pouvez copier, modifier, distribuer et utiliser cette œuvre, y compris à des fins commerciales, sans qu’il soit nécessaire d’en demander la permission.

Légendes

Ajoutez en une ligne la description de ce que représente ce fichier

Éléments décrits dans ce fichier

dépeint français

Locomotive BASIC français

licence français

CC0 français

24 Saŋayɩŋ fenaɣ 2023

type MIME français

image/gif

Takayaɣ caanaʋ tɔm kɛdʋʋ

Tukina efemiye nɛ ñɩɣtʋ nɛ ŋna takayaɣ kanɛ ɛzɩ kaawɛʋ alɩwaatʋ ndʋ tɩ-taa yɔ.

Efemiye nɛ ñɩɣtʋTampɔɔWalanzɩLabɩnayʋTɔm taa nuutuu
lɛlɛɛyɔ24 Saŋayɩŋ fenaɣ 2023 à 20:1524 Saŋayɩŋ fenaɣ 2023 à 20:15 ñɔɔzɩtʋ kɩlɛɣzɩtʋ tɛ tampɔɔ841 × 586 (58 kio)MornUploaded own work with UploadWizard

Takayɩhayʋʋ nakʋyʋ tatamsɩna takayaɣ kanɛ.

takayaɣ labɩnaʋ nɛ paa anɩ

Wikinaa kɩtɩŋaa lɛlaa lakɩna kɩlɛmʋʋ kʋnɛ nɛ tʋmɩyɛ :