پەڕگە:Locomotive BASIC color bars.gif

ناوەڕۆکی پەڕە بە زمانەکانی تر پشتگیریی لێ ناکرێت.
لە ئینسایکڵۆپیدیای ئازادی ویکیپیدیاوە

پەڕگەی سەرەکی(٨٤١ × ٥٨٦ پیکسڵ، قەبارەی پەڕگە: ٥٨ کیلۆبایت، جۆری ئێم ئای ئێم ئی: image/gif، looped، ١٢٨ frames، ١١چ)

ئەم پەڕگە لە Wikimedia Commonsەوەیە و لەوانەیە لە پڕۆژەکانی دیکەش بەکار ھاتبێت. پێناسەکەی لەسەر پەڕەی وەسفی پەڕگەکە لە خوارەوە نیشان دراوە.

کورتە

وەسف
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.
ڕێکەوت
سەرچاوە بەرھەمی خۆم
بەرھەمھێنەر 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.

مۆڵەتنامە

من، ھەڵگری مافی لەبەرگرتنەوەی ئەم بەرھەمە، لەژێر ئەم مۆڵەتنامەیەدا بڵاوی دەکەمەوە:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

لێدوانەکان

Add a one-line explanation of what this file represents

بەندەکانی لەم پەڕگەیەدا دەردەکەون

depicts ئینگلیزی

Locomotive BASIC ئینگلیزی

source of file ئینگلیزی

٢٤ کانوونی یەکەمی 2023

media type ئینگلیزی

image/gif

مێژووی پەڕگە

کرتە بکە لەسەر یەکێک لە ڕێکەوت/کاتەکان بۆ بینینی پەڕگەکە بەو شێوەی لەو کاتەدا بووە.

ڕێکەوت/کاتھێمائەندازەبەکارھێنەرتێبینی
هەنووکە‏٢٠:١٥، ٢٤ی کانوونی یەکەمی ٢٠٢٣ھێما بۆ وەشانی  ‏٢٠:١٥، ٢٤ی کانوونی یەکەمی ٢٠٢٣٨٤١ لە ٥٨٦ (٥٨ کیلۆبایت)MornUploaded own work with UploadWizard

ھیچ پەڕەیەک نییە کە ئەم پەڕگەیە بەکاربھێنێت.

بەکارھێنانی سەرانسەریی پەڕگە

ئەم ویکیانەی دیکەی خوارەوەش ئەم پەڕگە بەکاردێنن: