မူရင်းဖိုင်(၈၄၁ × ၅၈၆ pixels, ဖိုင်အရွယ်အစား - ၅၈ KB, MIME အမျိုးအစား image/gif, looped, ၁၂၈ frames, ၁၁ s)

အကျဉ်းချုပ်

ဖော်ပြချက်
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 ဤဖိုင်ကို 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.

ပုံစာများ

ဤဖိုင်၏ဆိုလိုရင်းကို စာတစ်ကြောင်းရှင်းလင်းချက်ဖြင့် ထည့်သွင်းရန်

Items portrayed in this file

depicts အင်္ဂလိပ်

Locomotive BASIC အင်္ဂလိပ်

media type အင်္ဂလိပ်

image/gif

ဖိုင်မှတ်တမ်း

ဖိုင်ကို ယင်းနေ့စွဲ အတိုင်း မြင်နိုင်ရန် နေ့စွဲ/အချိန် တစ်ခုခုပေါ်တွင် ကလစ်နှိပ်ပါ။

နေ့စွဲ/အချိန်နမူနာပုံငယ်မှတ်တမ်း ဒိုင်မန်းရှင်းများအသုံးပြုသူမှတ်ချက်
ကာလပေါ် ၂၀:၁၅၊ ၂၄ ဒီဇင်ဘာ ၂၀၂၃ ၂၀:၁၅၊ ၂၄ ဒီဇင်ဘာ ၂၀၂၃ ရက်က မူအတွက် နမူနာပုံငယ်၈၄၁ × ၅၈၆ (၅၈ KB)MornUploaded own work with UploadWizard

ဤဖိုင်ကို အသုံးပြုထားသော စာမျက်နှာများမရှိပါ။

ဂလိုဘယ် ဖိုင်သုံးစွဲမှု

အောက်ပါ အခြားဝီကီများတွင် ဤဖိုင်ကို အသုံးပြုထားသည်-