মূল ফাইল(841 × 586 পিক্সেল, ফাইলৰ মাত্ৰা: 58 KB, MIME প্ৰকাৰ: image/gif, লুপকৃত, 128 ফ্ৰেম, 11 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 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.

কেপ্‌চন

এই ফাইলে কি প্ৰতিনিধিত্ব কৰে তাৰ এটা শাৰীত ব্যাখ্যা কৰক

Items portrayed in this file

depicts ইংৰাজী

Locomotive BASIC ইংৰাজী

copyright license ইংৰাজী

Creative Commons CC0 License ইংৰাজী

source of file ইংৰাজী

original creation by uploader ইংৰাজী

inception ইংৰাজী

২৪ ডিচেম্বৰ 2023

media type ইংৰাজী

image/gif

ফাইলৰ ইতিবৃত্ত

ফাইলৰ আগৰ অৱস্থা চাবলৈ সেই তাৰিখ/সময়ত ক্লিক কৰক।

তাৰিখ/সময়ক্ষুদ্ৰ প্ৰতিকৃতিআকাৰসদস্যমন্তব্য
বৰ্তমান20:15, 24 December 202320:15, 24 December 2023ৰ সংস্কৰণৰ ক্ষুদ্ৰ প্ৰতিকৃতি841 × 586 (58 KB)MornUploaded own work with UploadWizard

এই ফাইলটো কোনো পৃষ্ঠাই ব্যৱহাৰ কৰা নাই

ফাইলৰ গোলকীয় ব্যৱহাৰ

তলত দিয়া আন ৱিকিসমূহে এই ফাইলটো ব্যৱহাৰ কৰে: