TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

PC-BASIC, a cross-platform interpreter for GW-BASIC

75 点作者 tie-in10 个月前

8 条评论

jll2910 个月前
I got to re-appreciate BASIC when evaluating options for teaching 11-year-old kids a bit how to program (in a single session).<p>People recommended Scratch etc. but I felt talking about programs was important also, which is easier when you write textual statements. At some point, I briefly considered using an emulated BASIC due to the simplicity and built in graphic, but I ended up using Python together with the pyturtle library for LOGO-like graphics, because the main exercise was to let kids draw a house on paper and then ask them to generate the drawing commands (also first on paper). Using Python has the advantage that nothing they learned was &quot;wasted&quot; or &quot;academic use only&quot; - you can immediately build on or monetize Python knowledge.<p>Interpreted BASIC certainly is a development forward from compiled FORTRAN from a didactic point of view.
评论 #40951485 未加载
donatj10 个月前
&gt; It runs ASCII, tokenized and protected BASIC programs and supports the Microsoft Binary Format for full interchangeability of data files.<p>I wonder, does that possibly include QBasic binary format? I have a couple hundred games I wrote as a kid in this format that I have yet to automate a fix for.<p>I also have an outstanding Stack Overflow question about the process.<p><a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;53051061&#x2F;convert-from-qbasic-binary-fast-load-and-save-format" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;53051061&#x2F;convert-from-qb...</a>
评论 #40948853 未加载
incanus7710 个月前
The wildest part of this excellent software is that you can feed it WAV files of tape-recorded BASIC programs and it can decipher them.
评论 #40949830 未加载
msla10 个月前
There&#x27;s also Bywater BASIC, which apparently isn&#x27;t being developed anymore:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;nerun&#x2F;bwbasic">https:&#x2F;&#x2F;github.com&#x2F;nerun&#x2F;bwbasic</a><p>(It&#x27;s also in the repos of many major Linux distributions as bwbasic.)<p>A blog post where the developer comments on it a bit:<p><a href="https:&#x2F;&#x2F;virtuallyfun.com&#x2F;2010&#x2F;06&#x2F;09&#x2F;bywater-basic&#x2F;" rel="nofollow">https:&#x2F;&#x2F;virtuallyfun.com&#x2F;2010&#x2F;06&#x2F;09&#x2F;bywater-basic&#x2F;</a>
评论 #40952675 未加载
fritzy10 个月前
There&#x27;s similar projects like QB64 and L-Basic. I have to wonder if keeping language variants alive will be of historic significance hundreds of years from now. Will anyone care about early computing to this extent?
评论 #40949063 未加载
acheron10 个月前
Awhile back I wrote a clojure program to take old PLAY statements (for playing notes on the PC speaker) from GW BASIC and generate a wav file. At the time writing GW BASIC it seemed pretty straightforward, but there are a lot of interesting timing options built into it.
32bitkid10 个月前
For a while, I was using PC-BASIC to generate audio files for the IBM PCjr cassette interface to do some more diagnostics, for a machine that I had that didn’t have a working disk drive. I don’t even know if there is anything else out there to generate those at this point. PC-BASIC is great!
hulitu10 个月前
&gt; PC-BASIC, a cross-platform interpreter for GW-BASIC<p>Can it run nibbles ?
评论 #40948517 未加载
评论 #40948527 未加载
评论 #40949068 未加载