success 发表于 2024-1-2 19:17
噢,BASIC是可以的,可以一起学习和交流一下。
这论坛不支持账户加好友的
没事,到时发到本论坛这个帖子里,一起讨论一起交流一起学习。
success 发表于 2024-1-3 07:37
没事,到时发到本论坛这个帖子里,一起讨论一起交流一起学习。
是不是需要先将固件下载到单片机,然后再向单片机发送简单的BASIC指令
抱歉,测试了一下,BASIC编程不成功,还是用C51好一些吧。
https://www.pjrc.com/tech/8051/contrib/tb51/index.html
这有一个basic的解释器
本帖最后由 jmg 于 2024-1-8 11:22 编辑
kksk published on 2024-1-8 10:52
https://www.pjrc.com/tech/8051/contrib/tb51/index.html
There is a basic interpreter
That one is nice and small at 4k size.
There is also BASIC52 around on the web, derived from the original 8K intel code.The latest bug fixes I can find on my hard drive, mention V1.31 fixed by D. Wulf
Intel original BASIC52 uses this less common float :
1.6 FLOATING POINT FORMATMCS BASIC-52 stores all floating point numbers in a normalized packed BCD format with an offset binary exponent.
The new STC8051H with 32k RAM, 64K flash and USB, should make a very good host for an extended BASIC
I'll put links in the next post.
Basic52 links:
One port is here
https://github.com/sittisaks/superbasic52/blob/master/BASIC-52.SRC
and more info on another here
https://www.nomad.ee/micros/index.shtml
xxkj2010 发表于 2024-1-4 15:09
是不是需要先将固件下载到单片机,然后再向单片机发送简单的BASIC指令
Yes, BASIC interpreters run code in flash, that scan BASIC source code usually downloaded and stored in RAM, or EEPROM.
本帖最后由 xxkj2010 于 2024-1-8 12:02 编辑
jmg 发表于 2024-1-8 11:27
Yes, BASIC interpreters run code in flash, that scan BASIC source code usually downloaded and sto ...
我不懂英语的,估计无法实现BASIC 应用于单片机,相关资料又 少之又少。
kksk 发表于 2024-1-8 10:52
https://www.pjrc.com/tech/8051/contrib/tb51/index.html
这有一个basic的解释器
这世界真的很发达,居然有这样的产品。