找回密码
 立即注册
楼主: success

申请STC核心板,用于测试RTOS和BASIC编程

[复制链接]

127

主题

2075

回帖

5134

积分

论坛元老

积分
5134
发表于 2024-1-2 20:37:02 | 显示全部楼层
succ*** 发表于 2024-1-2 19:17
噢,BASIC是可以的,可以一起学习和交流一下。

这论坛不支持账户加好友的
回复

使用道具 举报 送花

4

主题

23

回帖

162

积分

注册会员

积分
162
 楼主| 发表于 2024-1-3 07:37:14 | 显示全部楼层
没事,到时发到本论坛这个帖子里,一起讨论一起交流一起学习。
回复

使用道具 举报 送花

127

主题

2075

回帖

5134

积分

论坛元老

积分
5134
发表于 2024-1-4 15:09:26 | 显示全部楼层
succ*** 发表于 2024-1-3 07:37
没事,到时发到本论坛这个帖子里,一起讨论一起交流一起学习。

是不是需要先将固件下载到单片机,然后再向单片机发送简单的BASIC指令
回复

使用道具 举报 送花

4

主题

23

回帖

162

积分

注册会员

积分
162
 楼主| 发表于 2024-1-8 09:56:31 | 显示全部楼层
抱歉,测试了一下,BASIC编程不成功,还是用C51好一些吧。
回复

使用道具 举报 送花

9

主题

320

回帖

4523

积分

荣誉版主

积分
4523
发表于 2024-1-8 10:52:55 | 显示全部楼层
回复

使用道具 举报 送花

5

主题

197

回帖

1601

积分

金牌会员

积分
1601
发表于 2024-1-8 11:03:01 | 显示全部楼层
本帖最后由 jmg 于 2024-1-8 11:22 编辑

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 FORMAT
MCS 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.


回复

使用道具 举报 送花

5

主题

197

回帖

1601

积分

金牌会员

积分
1601
发表于 2024-1-8 11:04:20 | 显示全部楼层
Basic52 links:
One port is here
https://github.com/sittisaks/sup ... master/BASIC-52.SRC

and more info on another here
https://www.nomad.ee/micros/index.shtml
回复

使用道具 举报 送花

5

主题

197

回帖

1601

积分

金牌会员

积分
1601
发表于 2024-1-8 11:27:30 | 显示全部楼层
xxkj*** 发表于 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.
回复

使用道具 举报 送花

127

主题

2075

回帖

5134

积分

论坛元老

积分
5134
发表于 2024-1-8 11:50:43 | 显示全部楼层
本帖最后由 xxkj2010 于 2024-1-8 12:02 编辑
jm*** 发表于 2024-1-8 11:27
Yes, BASIC interpreters run code in flash, that scan BASIC source code usually downloaded and sto ...

我不懂英语的,估计无法实现BASIC 应用于单片机,相关资料又 少之又少。
回复

使用道具 举报 送花

127

主题

2075

回帖

5134

积分

论坛元老

积分
5134
发表于 2024-1-8 11:54:20 | 显示全部楼层
kk*** 发表于 2024-1-8 10:52
https://www.pjrc.com/tech/8051/contrib/tb51/index.html
这有一个basic的解释器

这世界真的很发达,居然有这样的产品。
回复

使用道具 举报 送花

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )

GMT+8, 2026-11-8 01:17 , Processed in 0.086652 second(s), 91 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表