TE
TechEcho
StartseiteTop 24hNeuesteBesteFragenZeigenJobs
GitHubTwitter
Startseite

TechEcho

Eine mit Next.js erstellte Technologie-Nachrichtenplattform, die globale Technologienachrichten und Diskussionen bietet.

GitHubTwitter

Startseite

StartseiteNeuesteBesteFragenZeigenJobs

Ressourcen

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. Alle Rechte vorbehalten.

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

60 Punktevon mmphosisvor etwa 10 Stunden

4 comments

alain94040vor etwa 7 Stunden
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 未加载
vardumpvor etwa 8 Stunden
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 未加载
empressplayvor etwa 8 Stunden
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!
NBJackvor etwa 7 Stunden
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 未加载