a2stuff / prodos-drivers

Apple II ProDOS-8 system files that run on startup and install clock drivers, ramdisks, and other utilities
31 stars 7 forks source link

Improve Cricket! detection on ROM4 //c #17

Closed frankmilliron closed 1 year ago

frankmilliron commented 1 year ago

Later revisions of the //c ROM set an interrupt when DTR changes state. By turning off interrupts before changing the ACIA settings we can avoid missing detection of responses from the Cricket! (depending on previous state of the register).

inexorabletash commented 1 year ago

Don't we need to PHP first and PLP when done, do interrupts aren't left disabled?

frankmilliron commented 1 year ago

I guess since the prodos driver does that than the init should as well!

frankmilliron commented 1 year ago

OK I added those. Let me know if they're in the correct spot. Seems to work on real hardware, with no hangs or missed detections.