郑中基为什么叫太子基| 什么是频率| eq是什么| 帕金森是什么引起的| 为什么怀孕了就不来月经了| 静脉曲张是什么意思| 清肺热用什么泡水喝比较好| 乳房胀痛什么原因| 智力是什么意思| 胡巴是什么| 析是什么意思| 牙齿过敏吃什么药| 脚心有痣代表什么意思| 红绿色盲是什么遗传病| 猫咪踩奶是什么意思| 小孩肛门瘙痒什么原因| 海虾不能和什么一起吃| 法院是什么机关| lok是什么意思| 后背痛是什么原因| 梦见苍蝇是什么预兆| 吃你鲍鱼是什么意思| 2月16日是什么星座| 颈动脉硬化有什么症状| legion什么牌子| 杜字五行属什么| 听吧新征程号角吹响是什么歌| 上海青是什么菜| 黑白颠倒是什么意思| 2月10号是什么星座| 围绝经期吃什么药调理| 飞蚊症是什么原因| 山东属于什么气候| 吃姜对身体有什么好处| 慢性结肠炎是什么症状| 菊花搭配什么泡茶最好| 湿毒吃什么药最有效| 爸爸的外婆叫什么| 女生的胸部长什么样| 神经内科和神经外科有什么区别| 婴儿补铁吃什么铁剂| 嘴唇有黑斑是什么病| 小孩尿酸高是什么原因| 小葱拌豆腐的下一句是什么| 男性阴囊潮湿是什么病| 杜字五行属什么| 腿弯处的筋痛是什么原因| 儿童便秘吃什么最管用| 舌根放血有什么好处| 什么是it行业| 冷的什么| 儿童口腔疱疹吃什么药| 甲状腺炎吃什么药好得快| 刀子是什么意思| 麻木是什么意思| 孩子黑眼圈很重是什么原因| lm是什么品牌| 空泡蝶鞍是什么病| 85属什么生肖| 不解什么什么| 泡脚不出汗是什么原因| 甲状腺发炎有什么症状| 什么是出柜| 什么属相不能戴貔貅| 补血最快的方法是什么| sec是什么单位| 贪小失大什么意思| 富士康是做什么的| 月破是什么意思| 安全套是什么| 英语八级是什么水平| 大姨妈吃什么食物好| 一九四六年属什么生肖| 为什么会遗精| 浑身没劲是什么原因| 螺子黛是什么| 广东是什么气候| 心血管堵塞吃什么药| 扁桃体肥大吃什么药好得快| 血吸虫是什么动物| 什么水果可以减肥| 爱无能是什么意思| 右眼袋跳动是什么原因| 冰释前嫌是什么意思| 大便很黄是什么原因| 鸟来家里预示什么| 阴虚火旺是什么意思| 什么是面首| 来大姨妈肚子疼是什么原因| 秦始皇的母亲叫什么名字| 做梦梦到搬家什么意思| 令坦是对方什么人的尊称| gi值是什么| 不能喝酒是什么原因| 什么的滋味| 梦见很多牛是什么兆头| 女性气血不足吃什么调理| 水清则无鱼什么意思| 为什么会得胆结石| 冰丝是什么材料| 仓鼠夏天用什么垫料| 痤疮吃什么药| 滔滔不绝的绝是什么意思| 滋养细胞疾病是什么病| 睾丸疝气有什么症状| d是什么单位| 狗狗可以吃什么水果| 男性夜间盗汗是什么原因| 孕妇现在吃什么水果好| 尿液很黄是什么原因| xxoo是什么意思| 28度穿什么衣服合适| 谷氨酸是什么| 玻璃体混浊用什么药| ood是什么意思| 求租是什么意思| 敷设是什么意思| 图字五行属什么| 荷叶配什么减肥效果好| 上午11点是什么时辰| 糟老头是什么意思| 邓紫棋和华晨宇什么关系| drg是什么意思| 静修是什么意思| date是什么意思| 属马本命佛是什么佛| 经常射精有什么伤害| 救人一命胜造七级浮屠是什么意思| 宫腔镜检查后需要注意什么| 2月25是什么星座| 什么病不能吃茄子| 下馆子什么意思| 为什么白天能看到月亮| 热疹用什么药膏最好| 痛经吃什么水果能缓解疼痛| 早早孕有什么征兆| 2021年属什么| 肛门痒挂什么科检查| ph值低是什么原因| 淋病是什么| 肝内小钙化灶是什么意思| 双鱼座是什么星座| 湿热是什么意思| 蝴蝶代表什么生肖| 回奶吃什么快最有效的| 为什么头朝西睡觉不好| 李维斯属于什么档次| array是什么意思| 嗓子干痒吃什么药| 吃人参对身体有什么好处| 命门是什么意思| 蝉的鸣叫声像什么| 珍珠状丘疹有什么危害| 大器晚成是什么意思| sheep什么意思| 遂的意思是什么| 所向披靡是什么意思| 性激素六项挂什么科| 孕妇可以喝什么汤| 柿子和什么不能一起吃| 经常做春梦是什么原因| 白色念珠菌是什么| 福瑞祥和是什么意思| 辣木籽是什么| 慧眼识珠是什么意思| 錾是什么意思| 孩子咬嘴唇是什么原因| 什么是kpi| 扁桃体有什么作用| 拉肚子吃什么药好得快| 孕妇牙龈出血是什么原因| 男人为什么会晨勃| 獐子是什么动物| 两个月小猫吃什么食物| 沄字五行属什么| 结婚送什么礼物最合适| 3月14号是什么星座| 八仙过海指什么生肖| 为什么不建议割鼻息肉| 背痛是什么原因引起的| 为什么老长口腔溃疡| 寒露是什么季节| 膝盖肿胀是什么原因| 左上腹疼是什么原因| 心电图窦性心律什么意思| 石楠花是什么味道| 什么是重水| 银杏叶子像什么| 梦见小白蛇是什么预兆| 小猫来家里有什么预兆| 找工作上什么网| 鸡蛋清敷脸有什么好处和坏处| 新生儿一直哭闹是什么原因| 结肠炎吃什么药好| 什么时候绝经| 孩子咬嘴唇是什么原因| 可谓是什么意思| 540是什么意思| 女人的第二张脸是什么| 举重的器材叫什么| 田五行属性是什么| 小孩腮腺炎吃什么药| mri是什么检查| 玛尼是什么意思| 高质量发展是什么| 嘴巴周围长痘痘是什么原因| 尿比重偏低是什么原因| 弱精吃什么能提高活力| left是什么意思| 眼睛经常充血是什么原因引起的| 津字五行属什么| 为什么会掉头发| 疗养是什么意思| 切除一侧输卵管对女性有什么影响| 西药是什么药| 卵巢黄体是什么意思| uin是什么意思| 1963年发生了什么| 掉头发吃什么药最有效| 笋不能和什么一起吃| 肾阳虚女性什么症状| 浅表性胃炎是什么意思| 好哒是什么意思| cha什么意思| 什么动物不喝水| nse是什么意思| 藏红花的功效是什么| 绝经后子宫内膜增厚是什么原因| 养猫有什么好处| 酵素什么牌子好| 是什么字| 这次是我真的决定离开是什么歌| 解脲脲原体阳性吃什么药| 反流性食管炎吃什么药好| 械字号产品是什么意思| 缺钾有什么症状| 农历11月11日是什么星座| 喝什么会变白| parzin眼镜是什么牌子| 看鼻子挂什么科| 一什么摇篮| 不要问为什么| 石棉是什么东西| 小肚子发胀是什么原因女性| 舐犊是什么意思| 鬼子来了为什么被禁| 98年是什么年| 吃东西就打嗝是什么原因| 录取通知书是什么生肖| 蛇进家里是什么预兆| 两个人可以玩什么游戏| 男人跑马是什么意思| 有什么副作用| 银杏叶像什么| 教主是什么意思| 公主和郡主有什么区别| 什么的口罩| 4月15号是什么星座| 郑少秋为什么娶沈殿霞| c代表什么| 吃什么增加免疫力最快| 焚香是什么意思| 脉濡是什么意思| 米黄是什么颜色| 百度Jump to content

贫血有什么危害

From Wikipedia, the free encyclopedia
Simons' BASIC
Original author(s)David Simons
Developer(s)Commodore
Initial release1983; 42 years ago (1983)
Operating systemCommodore 64
TypeExtension
百度 今年的春天,比往年要来得迟些,而且气温也是升升降降极不稳定。

Simons' BASIC [1]is an extension to BASIC 2.0 for the Commodore 64 home computer. Written by British programmer David Simons in 1983, who was 16 years old at the time, it was distributed by Commodore as a cartridge.

It is widely, but incorrectly, called "Simon's BASIC", because of confusion between the first name "Simon" and the surname "Simons".

Manual front page
Simons' BASIC cartridge
Cartridge with the misspelled label contributing to the software's naming confusion.

Features

[edit]

Simons' BASIC added an array of features to Commodore BASIC 2.0:[2]

  • 114 additional keywords
  • commands to ease the coding of sprites
  • commands to ease the coding of high-resolution and multicolor graphics
  • commands to ease the coding of sound
  • commands to aid in structured programming
  • keywords to assist in writing and editing BASIC programs, similar to those in the VIC-20 Programmer's Aid cartridge

Programs written in Simons' BASIC could employ hexadecimal numbers in assignments and calculations by including a $ prefix, or binary numbers by utilizing a % prefix.

Because a portion of the cartridge data is mapped into memory at addresses $8000–$9FFF, which overlaps part of the standard C64 BASIC RAM, the amount of available memory for BASIC programs was KB less than that of a standard C64 configuration.

An extension was written by Simons and released by Commodore on floppy disk and tape as Simons' Basic Extension. This software is also known as Simons' Basic 2. It could not be released on cartridge because the original Simons' Basic cartridge had to be present in order to use the extension. Simons' Basic Extension adds another 91 commands including the much-coveted RENUMBER command which renumbers the destinations of GOTO and GOSUB statements.[3]

The 114 keywords

[edit]

Sprite (MOB) handling keywords

[edit]
  • MOB SET – enables a sprite and defines its attributes
  • MMOB – positions a sprite on the screen
  • RLOCMOB – causes a sprite to smoothly move from one location to another
  • CMOB – sets up the two global colors for multicolor sprites
  • MOB OFF – disables a sprite
  • DETECT – initializes sprite collision detection
  • CHECK – checks for a sprite collision

High resolution graphics handling keywords

[edit]
  • HIRES – initializes a high-resolution graphics mode
  • MULTI – initializes a multicolor graphics mode
  • NRM – returns to the text display
  • LOW COL – changes the plotting colors
  • HI COL – returns to the original plotting colors
  • PLOT – draws a pixel
  • LINE – draws a line
  • CIRCLE – draws a circle
  • ARC – draws an arc
  • ANGL – draws the radius of a circle
  • PAINT – performs a flood fill
  • REC – draws a hollow rectangle
  • BLOCK – draws a solid rectangle
  • DRAW – draws a user-defined set of lines
  • ROT – sets scaling factors for DRAW
  • CHAR – plots a text character on a high-resolution screen
  • TEXT – plots a text string on a high-resolution screen
  • TEST – determines whether a pixel is plotted or empty

Other graphics handling keywords

[edit]
  • COLOUR – sets the background and border colors; the British spelling is used
  • CSET – selects a character set
  • MEM – copies character ROM to RAM
  • BCKGNDS – configures extended background color mode
  • FLASH – sets up a screen color to flash
  • OFF – cancels a previous FLASH directive
  • BFLASH – causes the screen border to flash
  • FCHR – fills an area of the text screen with a given character code
  • FCOL – changes character colors for a selected area of the screen
  • FILL – a combination of FCHR and FCOL
  • MOVE – copies a section of the screen
  • INV – displays a screen area in reverse
  • LEFT – scrolls the screen left
  • RIGHT – scrolls the screen right
  • UP – scrolls the screen up
  • DOWN – scrolls the screen down
  • GRAPHICS – reserved variable that always equals $D000 (the VIC-II chip's base address)
  • SCRSV – saves a text screen to tape or disk
  • SCRLD – loads a text screen from tape or disk

Sound handling keywords

[edit]
  • MUSIC – plays a series of notes based on the contents of a string variable
  • PLAY – determines whether the program continues to run during MUSIC
  • VOL – specifies the master sound volume
  • WAVE – specifies a voice type
  • ENVELOPE – sets ADSR parameters for a SID voice
  • SOUND – reserved variable that always equals $D400 (the SID chip's base address)

Keyboard input handling keywords

[edit]
  • FETCH – takes user input with restrictions defined by the command
  • INKEY – checks for a function key press
  • ON KEY – checks for a given keypress, then performs a branch if present
  • DISABLE – disables the previous ON KEY directive
  • RESUME – reenables the previous ON KEY directive

Input peripheral handling keywords

[edit]

Sprite/custom character definition keywords

[edit]
  • @ – describes one line in a sprite or custom character graphic
  • DESIGN – uses neighbouring @ lines to define a sprite or custom character

Error trapping keywords

[edit]
  • ON ERROR – sets up a routine to trap error conditions
  • OUT – ends an error handling routine
  • NO ERROR – cancels ON ERROR and restores normal BASIC error handling

Disk handling keywords

[edit]
  • DIR – displays the disk directory without destroying the BASIC program in memory (Drive #8 only)
  • DISK – sends a string to the disk drive's command channel (Drive #8 only)

Printer handling keywords

[edit]
  • HRDCPY – sends the text screen to the printer
  • COPY – sends the high-resolution screen to the printer

String manipulation keywords

[edit]
  • INSERT – inserts one string into the middle of another (Note: There is no dollar sign after INSERT, unlike other string operators such as STR$, LEFT$, RIGHT$, etc.)
  • INST – similar to INSERT, but overwrites rather than inserting. (Note: As with INSERT, there is no dollar sign after INST.)
  • PLACE – searches for one string in the middle of another
  • DUP – duplicates a character string a given number of times. (Note: As with INSERT, there is no dollar sign after DUP.)

Text formatting keywords

[edit]
  • PRINT AT – prints a string at a given screen location
  • CENTRE – centers a character string on the screen; the British spelling is used
  • USE – formats numeric data in strings based on a template, just like PRINT USING on other advanced versions of BASIC on other computers, e.g. the Commodore 128, for example.
  • LIN – returns the vertical position of the cursor

Maths keywords

[edit]

Note: These operations are restricted to values that fit into a 16-bit unsigned integer, instead of the full floating-point range used by the built-in BASIC arithmetic operations and functions.

  • MOD – performs a division operation and returns the remainder
  • DIV – performs a division operation and returns the integer quotient
  • FRAC – isolates the fractional portion of a number
  • EXOR – performs an exclusive-OR logical operation

Programmer's aid keywords

[edit]
  • AUTO – automatically generates line numbers as a BASIC program is entered
  • RENUMBER – renumbers a BASIC program (but does not fix GOTO/GOSUB statements.)
  • OLD – undeletes a program accidentally removed by the NEW command
  • KEY – assigns a string as a macro to a function key
  • DISPLAY – displays all function key macros
  • MERGE – merges a BASIC program from tape or disk into the program currently in memory
  • PAGE – displays a BASIC program listing in page format
  • OPTION – highlights Simons' BASIC keywords when using the LIST command
  • DELAY – varies the rate at which the LIST command scrolls the screen
  • FIND – searches the program for a string
  • TRACE – displays the line numbers as a program is running
  • RETRACE – displays results of a trace
  • DUMP – displays all variable values except for arrays
  • COLD – resets the C64
[edit]
  • DISAPA – marks a BASIC program line for hiding
  • SECURE – hides all lines marked with DISAPA so that they cannot be viewed with LIST

Structured programming keywords

[edit]
  • ELSE – allows an alternative branch for IF/THEN conditionals
  • REPEAT – start of a REPEAT/UNTIL loop structure
  • UNTIL – defines the loop condition for a REPEAT/UNTIL loop structure, and marks its end
  • RCOMP – reinstates the most recently used IF/THEN/ELSE conditional
  • LOOP – defines the start of a loop that will run until an EXIT IF conditional is true
  • EXIT IF – the conditional is true, so it exits the current LOOP/END LOOP structure
  • END LOOP – defines the end of a loop that will run until an EXIT IF conditional is true
  • PROC – defines the start of a named subroutine
  • END PROC – defines the end of a named subroutine
  • CALL – jump to a named subroutine defined with PROC/END PROC, and stay there
  • EXEC – call a named subroutine defined with PROC/END PROC, then return
  • LOCAL – redefines variables for use in structures
  • GLOBAL – reverses the effects of a previous LOCAL command

Miscellaneous keywords

[edit]
  • CGOTO – equivalent to GOTO, but accepts calculated expressions
  • RESET – moves the DATA pointer to a given line number
  • PAUSE – pauses program execution for a specified number of seconds

Other

[edit]
  • $ and % are also considered keywords, for a total of 114.

Trivia

[edit]

The band Barcelona titled their 1999 debut album Simon Basic in tribute. The album includes the song "C-64".

Reception

[edit]

Creative Computing stated that Simons' BASIC "almost makes the 64 into a new computer. (Probably the one it should have been in the first place.)" It praised the "very fine manual" as a contrast to Commodore's usually poor documentation, and predicted that it would become "the standard language for programming the machine … Commodore had better be planning to manufacture lots of copies because they will go fast".[4] Ahoy! wrote "If you do any programming in BASIC and should happen to see this product on a dealer's shelf, do not ask any questions—do not hesitate—just buy it!" The magazine praised Simons' BASIC's power and "excellent manual", and stated that "its price makes it one of the biggest bargains available for the Commodore 64".[5] RUN's review was less favorable, stating that its "many powerful and useful commands … were, unfortunately, implemented very poorly for a commercial package. There is very little command parameter checking, and many things have been overlooked or ignored."[6]

The original SIMONS' BASIC cartridge (without the extension) has no provisions for reading the error channel on the Commodore 1541 and Commodore 1571 disk drives, nor can it perform a DIRectory listing of files or issue a DISK command on any disk drive other than Drive #8 when more than one disk drive is connected to the Commodore 64. And while most "standard" BASIC 2.0 keywords can be abbreviated by typing the first or first and second letters and then holding down the SHIFT key while typing the second (or third) letter after that, all SIMONS' BASIC keywords must be completely spelled out in full exactly as shown in the accompanying user's manual. This includes the commands COLOUR (which selects the background color and exterior border color), and CENTRE (which prints text message that are "centered" on the screen), both of which are spelled as in British English and are incorporated that way into SIMONS' BASIC.

References

[edit]
  1. ^ Dillon, Roberto (2025-08-06). Ready: A Commodore 64 Retrospective. Springer. p. 25. ISBN 978-981-287-341-5.
  2. ^ Simons' Basic User Manual (published by Commodore)
  3. ^ Simons' Basic 2 User Manual (published by Commodore)
  4. ^ Onosko, Tim (November 1983). "Simons' Basic". Creative Computing. p. 60. Retrieved 27 June 2014.
  5. ^ Kevelson, Morton A. (February 1984). "Simons' BASIC". Ahoy!. pp. 57–58. Retrieved 27 June 2014.
  6. ^ Baker, Robert W. (April 1985). "A Review of Simons' Basic". RUN. pp. 94–95. Retrieved 27 June 2014.
[edit]
甙是什么意思 五级职员是什么级别 天网是什么意思 大学记过处分有什么影响 咖啡色五行属什么
鬼迷心窍什么意思 浮想联翩什么意思 离岗是什么意思 挣扎是什么意思 文武双全是什么生肖
尿酸是什么意思 怀孕补铁吃什么 公安局局长是什么级别 hape是什么牌子 六甲是什么意思
什么是神经衰弱 湿疹长什么样图片 百合什么时候种 孕妇吃什么水果比较好 什么是淋巴肿瘤
子宫内膜异位症是什么意思hcv8jop5ns4r.cn c罗全名叫什么hcv9jop2ns0r.cn 结婚年数代表什么婚hcv9jop1ns4r.cn 牙龈炎吃什么消炎药hcv8jop8ns5r.cn 蒟蒻是什么hcv8jop6ns8r.cn
晚上睡不着什么原因chuanglingweilai.com 胃出血有什么症状表现zhongyiyatai.com 名什么中什么hcv9jop2ns3r.cn 天庭饱满是什么意思hcv8jop4ns2r.cn bpd是什么意思hanqikai.com
儿童过敏性结膜炎用什么眼药水adwl56.com 喝中药不能吃什么hanqikai.com 卡裆是什么意思啊cj623037.com 上海市长什么级别wmyky.com omega是什么牌子的手表sscsqa.com
中管干部是什么级别gysmod.com 嘉字五行属什么hcv8jop9ns4r.cn 白带是什么东西hcv8jop1ns3r.cn 吃完饭恶心想吐是什么原因hcv9jop4ns7r.cn 盆腔积液是什么意思hcv9jop1ns1r.cn
百度