అసలు దస్త్రం(841 × 586 పిక్సెళ్ళు, ఫైలు పరిమాణం: 58 KB, MIME రకం: image/gif, లూపులో పడింది, 128 ఫ్రేములు, 11క్ష)

సారాంశం

వివరణ
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 ఈ దస్త్రం క్రియేటివ్ కామన్స్ CC0 వెయివర్ క్రింద లభ్యం.
ఈ కృతితో సంబంధమున్న వ్యక్తి తనకు ప్రపంచవ్యాప్తంగా కాపీహక్కుల చట్టం క్రింద ఈ కృతిపై ఉన్న అన్ని హక్కులని మరియు ఈ కృతిలో తనకి ఉన్న సంబంధిత న్యాయపరమైన హక్కులని, చట్టం అనుమతించిన మేరకు, వదులుకుని ఈ కృతిని కామన్స్‌కి అంకితమిచ్చారు. CC0 క్రింద ఉన్న కృతులకు ఆపాందింపు అవసరం లేదు. కృతిని ఉటంకించేప్పుడు, కృతికర్త యొక్క ఆమోదాన్ని మీరు అంతర్నిహితంగా సూచించకూడదు.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

చిత్రణ

Locomotive BASIC ఇంగ్లీష్

source of file ఇంగ్లీష్

original creation by uploader ఇంగ్లీష్

media type ఇంగ్లీష్

image/gif

ఫైలు చరితం

తేదీ/సమయం ను నొక్కి ఆ సమయాన ఫైలు ఎలా ఉండేదో చూడవచ్చు.

తేదీ/సమయంనఖచిత్రంకొలతలువాడుకరివ్యాఖ్య
ప్రస్తుత20:15, 24 డిసెంబరు 202320:15, 24 డిసెంబరు 2023 నాటి కూర్పు నఖచిత్రం841 × 586 (58 KB)MornUploaded own work with UploadWizard

ఈ ఫైలును వాడుతున్న పేజీలు లేవు.

సార్వత్రిక ఫైలు వాడుక

ఈ దస్త్రాన్ని ఈ క్రింది ఇతర వికీలు ఉపయోగిస్తున్నాయి: