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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Yes, the Apple II MouseCard IRQ is synced to the VBL

63 点作者 mmphosis2 天前

4 条评论

alain940402 天前
I have fond memories of the IRQ from the mouse card. It was the only source of regular interrupts you could get on the Apple II (that I&#x27;m aware of). So in 1987, I tried to write a preemptive switcher, so you could run two code paths at the same time.<p>The development of that code was very painful. At the time, there was no external debugger. The moment you enabled the interrupt, your interrupt handler would get called, and it would try to program a context switch (something the 6502 is definitely not supposed to do). If you had any bug in there, your Apple II would be completely frozen, all you could do is reboot, and try to guess what went wrong and try again.
评论 #43927577 未加载
评论 #43930335 未加载
empressplay2 天前
That mouse card is tricky to emulate. I&#x27;m surprised actually that the author&#x27;s shufflepuck port seems to work fine in our Apple IIe emulator, microM8, since our mouse code is a bit of a mess!
vardump2 天前
Such an odd choice not to have a timer interrupt on Apple II and then having to do this kind of trickery on a MouseCard. I guess this saved a few bucks...
评论 #43926304 未加载
评论 #43926146 未加载
评论 #43926564 未加载
评论 #43928508 未加载
评论 #43927015 未加载
NBJack2 天前
Oof, that website is not vision friendly. I&#x27;m all for cool fonts, but thin fonts that are also faded grey? My eyes hurt trying to read it.
评论 #43927047 未加载