唇炎吃什么药| 乌龟浮水是什么原因| 葫芦是什么意思| 文殊菩萨是管什么的| 手容易出汗是什么原因| 茱萸是什么意思| 石英是什么| soleil是什么意思| 属狗的幸运色是什么颜色| 震仰盂什么意思| 吃什么可以回奶| 什么的树影| 霉菌性阴炎用什么药止痒效果好| 咒怨讲的是什么故事| 什么叫培根| 月抛是什么意思| o血型的人有什么特点| 睾酮是什么| 为什么会铅中毒| 宝宝为什么喜欢趴着睡| 眼皮水肿是什么原因引起的| 小便次数多是什么原因| 麻风病是什么| 开场白是什么意思| 人活在世上的意义是什么| 什么球身上长毛| 水飞蓟是什么| 羸弱是什么意思| 命途多舛是什么意思| 为什么抽烟会恶心想吐| 右肺中叶少许纤维灶是什么意思| 副书记是什么级别| 缠绵是什么意思| 羊的五行属什么| 枇杷什么味道| 交织是什么意思| 离职什么意思| 什么狗不咬人| 乙酉日五行属什么| 游离前列腺特异性抗原是什么意思| 权志龙为什么这么火| 净空是什么意思| 艾滋病什么症状| 反流性食管炎挂什么科| 桂圆是什么| 山东日照有什么好玩的| 叶绿素是什么| 蟑螂长什么样| 变蛋是什么蛋| 做恐怖的梦预示着什么| 米色配什么颜色好看| 三焦湿热吃什么中成药| 老年人适合吃什么| 丝状疣长什么样| 经常腰酸是什么原因女性| 点了痣要注意什么| 切除甲状腺有什么影响| ckd医学上是什么意思| 肺阴不足的症状是什么| 经常喝藕粉有什么好处| 金字旁乐读什么| 镜子是什么生肖| 什么的浪花| 什么是特应性皮炎| 经血是什么血| 王玉读什么| 骨转移是什么意思| 这是什么情况| darker是什么意思| 说话不清楚是什么原因导致的| 糖衣炮弹什么意思| 智商高是什么意思| 滨海新区有什么好玩的地方| 什么是三位一体| 外籍是什么意思| 我什么都可以| 幻视是什么意思| 心电图异常q波什么意思| 柚子是什么季节| 前列腺液和精液有什么区别| 老花眼视力模糊有什么办法解决吗| 吃什么增强抵抗力| 目赤肿痛吃什么药最好| 什么是公主病| 舌苔白色是什么原因| 做梦放鞭炮什么意思| 胎儿头偏大是什么原因| 玄胡又叫什么| 肺炎吃什么药好得快| mpa什么意思| 放屁臭什么原因| 硼砂是什么东西| 预拌粉是什么东西| 3.23是什么星座| 双子座是什么象星座| 有点尿血是什么原因| 什么是尊严| 青羊药片有什么功效| 摩羯座喜欢什么样的女生| 梦见被蛇咬是什么意思| 中国移动增值业务费是什么| 半夜口渴是什么原因| 香菇不能和什么一起吃| 道和集团是干什么的| 牙齿上有黄斑是什么原因| 乘胜追击什么意思| 猴子吃什么| 孕吐一般什么时候开始| 放养是什么意思| 臀纹不对称有什么影响| 翔是什么意思| 大专跟本科有什么区别| 小孩感冒挂什么科| 6.15是什么日子| 阴历六月是什么月| 老说梦话是什么原因| 英雄难过美人关是什么生肖| 什么其谈| 额头和下巴长痘痘是什么原因| 芹菜炒什么好吃| 福禄寿的禄是什么意思| 什么吹风机好用| 决裂是什么意思| 南瓜和什么相克| 肺炎吃什么药好得快| 金字旁的字和什么有关| 生物学父亲是什么意思| 什么是死缓| 为什么一紧张就拉肚子| 呵是什么意思| 小孩睡觉磨牙齿是什么原因| 鲁迅原名叫什么| 磨豆浆是什么意思| navigare是什么牌子| 当归配什么不上火| 看灰指甲挂什么科| 空调抽真空是什么意思| 中耳炎是什么引起的| 喉咙痒咳嗽有痰是什么原因| 血红素高是什么原因| 为什么小腿肌肉酸痛| 男生13厘米属于什么水平| 中医治未病是什么意思| 10000mah是什么意思| 有什么四字词语| 劳作是什么意思| 若无其事的若是什么意思| 一什么亮光| 高考报名号是什么| 什么时候泡脚最好| 2007年属什么生肖| 脚趾麻木是什么病先兆| 师团长是什么级别| 抗氧化是什么意思| 虫加合念什么| 医学cr是什么意思| 什么是极光| 红玛瑙五行属什么| 五行黑色属什么| 感冒为什么会发烧| 龙眼什么时候上市| 早上出虚汗是什么原因| 探店是什么意思| 肠胃不舒服挂什么科| 死刑是什么意思| 尿隐血什么意思| 爱好是什么意思| 项链折了意味着什么| 风寒吃什么药| 就诊卡是什么| 肾气不足是什么原因| 体脂是什么| glu是什么氨基酸| 什么字五行属金| 梦见穿山甲预示着什么| 跳大神什么意思| 3月28号是什么星座| 心脏疼吃什么药效果好| 耳石症吃什么药| 血压高吃什么水果| 墨子是什么家| 每天经常放屁什么原因| 浮生若梦是什么意思| 八婆是什么意思| 金玉良缘是什么生肖| 畏光是什么意思| 梦见办丧事是什么兆头| 什么是亚健康| 甲病是什么病| 白芷长什么样图片| 什么东西最刮油减肥| 毫升是什么单位| 世上谁嫌男人丑的前一句是什么| 慷慨什么| 嗓子疼有痰吃什么药| 王的五行属性是什么| 1963年的兔是什么命| 内热是什么原因引起的怎么调理| 海绵体供血不足吃什么药| 女人小腹痛什么原因| 丹毒是什么原因引起的| 金瓜和南瓜有什么区别| 嫂嫂是什么意思| 斗牛为什么用红色的布| 脂肪肝什么症状| 热鸡蛋滚脸有什么作用| 男性一般检查什么| 总出汗是什么原因| 养胃吃什么最好| 平均血小板体积低是什么原因| 红肉指的是什么肉| 88年是什么命| bug是什么意思中文翻译| 一叶一菩提一花一世界什么意思| 大头鱼是什么鱼| 胸为什么一大一小| 夜未央什么意思| 喝红枣水有什么好处和坏处| 乳酸杆菌大量是什么意思| 喉咙痛吃什么| 总胆固醇高是什么原因| 蓝色的小药丸是什么药| 类风湿阳性是什么意思| 长期熬夜有什么坏处| a血型和o血型生出宝宝是什么血型| 酱油什么时候发明的| 什么人容易得血栓| 咽炎有什么症状| 什么重什么轻| 湿疹是什么引起的| 谷丙转氨酶高吃什么药可以降下来| 养狗有什么好处| 八仙茶属于什么茶| 献殷勤是什么意思| 鸡蛋为什么不能放冰箱| 猫驱虫药什么牌子好| 颠鸾倒凤什么意思| 粉瘤挂什么科| 散光是什么原因导致的| 枸杞泡水喝有什么好处| 瓤是什么意思| 梦见塌方是什么预兆| 病毒的繁殖方式是什么| pearl什么意思| 长明灯是什么意思| 发烧感冒吃什么药| 心存芥蒂是什么意思| 985是什么学校| 小孩呕吐是什么原因引起的| 腹肌不对称是什么原因| 至加秦是什么字| 凉面用的是什么面条| 青海有什么湖| 洪都拉斯为什么不与中国建交| 大拇指指甲凹凸不平是什么原因| 微量泵是干什么用的| 甲磺酸倍他司汀片治什么病| 早上起来流鼻血是什么原因| 检查视力挂什么科| 眼疲劳用什么眼药水| 阴囊是什么| ggdb是什么牌子| 儿女情长英雄气短是什么意思| 西同念什么| 百度Jump to content

湖南省政协委员向华:从法律层面推动全民急救普及

From Wikipedia, the free encyclopedia
MSX BASIC
Paradigmimperative
DeveloperMicrosoft Corporation
First appeared1983; 42 years ago (1983)
Stable release
4.1
OSOptional; Any suitable OS is O.K.
LicenseMS-EULA
Websitewww.microsoft.com
Influenced by
GW-BASIC
Influenced
Vilnius BASIC
百度 已经接近签约了,7·15事件可能会贬值20%。

MSX BASIC is a dialect of the BASIC programming language. It is an extended version of Microsoft's MBASIC Version 4.5, adding support for graphic, music, and various peripherals attached to MSX microcomputers. Generally, MSX BASIC is designed to follow GW-BASIC, released the same year for IBM PCs and clones.[1] During the creation of MSX BASIC, effort was made to make the system flexible and expandable.

Distribution

[edit]
MSX BASIC version 3.0

MSX BASIC came bundled in the ROM of all MSX computers. At system start-up MSX BASIC is invoked, causing its command prompt to be displayed, unless other software placed in ROM takes control (which is the typical case of game cartridges and disk interfaces, the latter causing the MSX-DOS prompt to be shown if there is a disk present which contains the DOS system files).

When MSX BASIC is invoked, the ROM code for BIOS and the BASIC interpreter itself are visible on the lower 32K of the Z80 addressing space. The upper 32K are set to RAM, of which about 23K to 28K are available for BASIC code and data (the exact amount depends on the presence of disk controller and on the MSX-DOS kernel version).

Development Environment

[edit]

MSX BASIC development environment is very similar to other versions of Microsoft BASIC. It has a command line-based Integrated Development Environment (IDE) system; all program lines must be numbered, all non-numbered lines are considered to be commands in direct mode (i.e., to be executed immediately). The user interface is entirely command-line-based.

Versions of MSX BASIC

[edit]

Every new version of the MSX computer was bundled with an updated version of MSX BASIC. All versions are backward compatible and provide new capabilities to fully explore the new and extended hardware found on the newer MSX computers.

MSX BASIC 1.0

[edit]
  • Bundled with MSX1 computers
  • 16 KB in size
  • No native support for floppy disk requiring the Disk BASIC cartridge extension (4 KB overhead)
  • Support for all available screen modes:
    • Screen 0 (text mode 40 x 24 characters)
    • Screen 1 (mixed text mode 32 x 24 characters, sprites and colored custom characters)
    • Screen 2 (high resolution graphic mode 256 x 192 pixels, 16 colors)
    • Screen 3 (low resolution graphic mode 64×48 - 4×4 pixel blocks over the screen 2 resolution)
  • Full support for hardware sprites and interrupt-driven automatic collision detection
  • Full support for the General Instruments AY-3-8910 Programmable Sound Generator (PSG)

Note that the Brazilian MSX "clones" by Sharp and Gradiente show other versions of MSX BASIC (on the Sharps even called HOT-BASIC), but they're basically just unlicensed MSX BASIC 1.0.

MSX BASIC 2.0 / 2.1

[edit]
  • Bundled with MSX2 computers
  • 32 KB in size (First 16 KB directly available, second 16 KB in other slot and has to be paged in/out for usage)
  • Added support for new available screen modes, including graphic modes with 212 progressive or 424 interlaced lines:
    • Updated Screen 0 (text mode 80 x 24)
    • Screen 5 (graphic mode 256 x 212/424 pixels, 16 colors out of 512)
    • Screen 6 (graphic mode 512 x 212/424 pixels, 4 colors out of 512)
    • Screen 7 (graphic mode 512 x 212/424 pixels, 16 colors out of 512)
    • Screen 8 (graphic mode 256 x 212/424 pixels, 256 colors, no palette)
  • Added support for multicolored sprites (16 colors)
  • Added support for hardware accelerated graphics functions (copy, fill, blitting, etc.)
  • Added support for using the lower 32K RAM of the computer (not directly visible because the BIOS and BASIC interpreter ROMs take over the addressing space) as a limited RAM disk (only certain types of files could be saved). MSX BASIC 2.1 supports using the memory mapper (if available on the machine) to expand this RAM disk to almost 90 KB.

MSX BASIC 2.1 exists on computers like the Philips MSX2 machines (except for the VG 8230), the Yamaha YIS-805[2] and Sanyo MPC-2300.[3]

MSX BASIC 3.0

[edit]
  • Bundled with MSX2+ computers
  • 32 KB in size (First 16 KB directly available, second 16 KB in other slot and has to be paged in/out for usage)
  • Added command SET SCROLL for smooth, hardware based scrolling in BASIC
  • Added support for new available screen modes:
    • Screen 10 (graphic mode 256 x 212/424 pixels, 12499 YJK at once + 16 colors out of 512 RGB in ML)
    • Screen 11 (graphic mode 256 x 212/424 pixels, 12499 YJK at once + 16 colors out of 512 RGB)
    • Screen 12 (graphic mode 256 x 212/424 pixels, 19268 YJK at once)

MSX BASIC 4.0

[edit]
  • Bundled with the Panasonic FS-A1ST MSX turbo R model
  • Added _PAUSE command to make delays in BASIC independent of the current CPU and clock
  • Added extra commands for the PCM device (_PCMPLAY, _PCMREC)

MSX BASIC 4.1

[edit]

Sample

[edit]
100 OPEN "COM5:9600,N,8,1,RS,CS,DS,CD" FOR RANDOM AS #1
110 A$=INKEY$
120 IF A$<>" " THEN 110
130 PRINT #1, "X0"
140 INPUT #1, B$
150 PRINT B$
160 GOTO 110

Extensions of MSX BASIC

[edit]

Since MSX BASIC was meant to be expandable from inception, it was possible to write add-on modules quite easily. Support for specific hardware was commonly added by means of expansion cartridges, which also served as the interface to the hardware in question. MSX Disk-BASIC is an example, bundled in the cartridge that provides the hardware interface to the disk drives, it adds commands to access the floppy disk drives.

References

[edit]
  1. ^ Tom R. Halfhill (January 1985). "MSX Is Coming - Part II: Inside MSX". Compute!. Retrieved 2025-08-06.
  2. ^ Sergei Frolov (April 2011). "Yamaha YIS-805 (Soviet Digital Electronics Museum)". Retrieved 2025-08-06.
  3. ^ Sergei Frolov (April 2011). "Sanyo MPC-2300 (Soviet Digital Electronics Museum)". Retrieved 2025-08-06.
[edit]
城隍庙求什么最灵 老有痰是什么原因 胆囊炎吃什么中成药 脾虚吃什么食物补最快 风湿热是什么病
看脚趾头挂什么科 男人皮肤黑穿什么颜色的衣服好看 喝碳酸饮料有什么危害 贴黄瓜片对皮肤有什么好处 小孩自闭症是什么原因引起的
什么是断桥铝 脚趾缝脱皮是什么原因 为什么叫客家人 梦到老公被蛇咬是什么意思 什么是龙骨
什么体质容易怀双胞胎 凉粉是用什么做的 呈味核苷酸二钠是什么 感统训练是什么 中国黄金为什么便宜
211大学什么意思hcv9jop2ns7r.cn 叶黄素对眼睛有什么好处hcv9jop4ns9r.cn 老蜜蜡什么颜色最好hcv8jop4ns5r.cn 女人消瘦应该检查什么hcv8jop8ns3r.cn 息肉是什么原因引起的0297y7.com
虎女配什么生肖最好hcv9jop3ns1r.cn 疗养是什么意思hcv8jop1ns2r.cn 点状血流信号是什么意思hcv9jop5ns1r.cn st是什么单位bysq.com 深圳市市长是什么级别hcv7jop6ns6r.cn
痔疮有什么影响hcv9jop6ns7r.cn 脸色发青是什么原因引起的hcv9jop3ns3r.cn 股骨头坏死挂什么科xinjiangjialails.com 诸葛亮属相是什么生肖hcv8jop9ns3r.cn 什么是高危行为bjcbxg.com
上大厕拉出血是什么原因hcv9jop4ns2r.cn 黑色记号笔用什么能擦掉hcv9jop1ns0r.cn 皖鱼是什么鱼hcv7jop9ns0r.cn 百香果有什么功效hcv9jop6ns8r.cn 不怕流氓什么就怕流氓有文化hcv8jop8ns6r.cn
百度