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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Freespin: C64 demo running on 1541 floppy drive

174 点作者 matthiaskramm将近 4 年前

7 条评论

stevep98将近 4 年前
The processor in the 1541 was identical to the c64… 6502. (Or 6510C)<p>The serial link between them was notoriously slow. I studied them extensively as a teenager, and had reams of disassembly printed out in fanfold dot matrix, with my own scribbles. This is how I learned 80% of my computing skill set.<p>The signaling between the drive and computer used a clock line and a data line. When reading from the drive, the drive would set the data bit then invert the clock. The CPU would be polling the clock line, and when it changed, it would read the data bit. There wasn’t any fancy hardware like DMA. It was basically two cpus connected to get her with a couple of I&#x2F;O pins.<p>I can’t remember where I saw it, but there was an extremely fast driver going around, and sure enough I disassembled it to find out what they were doing.<p>Before each 256-byte sector was transferred there was a loop which synchronized the cpus in the drive and host computer, down the the clock cycle. Then they used both clock line and data line to blast all the data, two bits at a time down the lines. The cpus didn’t wait for any clock to change, they just read the data as fast as possible. Wrapped with a bit of error detection to top it off.. in the end it was about a 10x speedup with the same hardware…. Which at the time was totally mind blowing
评论 #27729157 未加载
评论 #27729410 未加载
评论 #27742712 未加载
peter_d_sherman将近 4 年前
&gt;&quot;Freespin is a Commodore 1541 demo, released in 2021. It runs on the Commodore floppy drive. It is is the first demo on this device. [<i>Without</i> the C64 attached!]<p>[...]<p>Freespin generates sound&#x2F;music using the floppy drive mechanic (in particular, the stepper motor responsible for moving the head to the right track).<p><i>Video is generated through the [1541&#x27;s] serial bus.</i>&quot;<p>PDS: <i>Absolutely amazing!</i><p>I have never seen this done before!<p>Related:<p>&quot;How freespin bit bangs the video signal&quot;<p><a href="http:&#x2F;&#x2F;www.quiss.org&#x2F;freespin&#x2F;raster.html" rel="nofollow">http:&#x2F;&#x2F;www.quiss.org&#x2F;freespin&#x2F;raster.html</a>
评论 #27727138 未加载
Tommek将近 4 年前
This! is! hacking! Making something new, out of the technology you have at your hands. Probably he did not even had to use any JavaScript.
评论 #27742054 未加载
jmull将近 4 年前
This is crazy.
评论 #27725858 未加载
a1369209993将近 4 年前
&gt; If needed, the 100 Ω resistor can be harvested out of the C64. (E.g. the not strictly necessary R14 AUD IN pulldown.) As such, this demo runs on stock C64 hardware and doesn&#x27;t need any extra components.<p>This is wonderful.
ChrisGranger将近 4 年前
I used to connect the line-out from my CD player to my Commodore 1702 monitor&#x27;s RCA luma jack (I think) to make a primitive visualization that changed with the music, but <i>this</i> is amazing.
LocalH将近 4 年前
Very impressive. I wonder if the burst mode of the 1571 would be useful at all
评论 #27727438 未加载