Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Benoit0123 Newsgroups: comp.sys.apple2.programmer Subject: Re: Query about ProDOS 8 Date: Sun, 3 Sep 2017 16:12:16 -0000 (UTC) Organization: Mac GUI Lines: 37 Message-ID: References: <6b50be89-2cc4-4b09-bf7a-75fe5cb30cdb@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 3 Sep 2017 16:12:16 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="0561f52aa4ed808c6529d56d790d6d68"; logging-data="12608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+T4Li7NpqmuYSGns5rS8ps" User-Agent: Mac GUI Usenet In-Reply-To: <6b50be89-2cc4-4b09-bf7a-75fe5cb30cdb@googlegroups.com> Cancel-Lock: sha1:UV3JJ3eHr3DNyuqqy0MNk7zggwQ= Xref: csiph.com comp.sys.apple2.programmer:3903 Hello David, David Schmenk wrote: > There are lots of reasons not to call ProDOS in an interrupt routine, but > you are following all these procedures? > http://www.easy68k.com/paulrsm/6502/PDOS8TRM.HTM#6.2.1 Thank you for the link to the ProDOS TRM. I’ve already taken care that whenever the sampled application is itself progressing thru a ProDOS MLI call (MLIActv byte set within GP), then my own routine is compliant to the behavior recommended in this manual. Also, whenever an interrupt is raised by the source I am interested in, and my previous interrupt handling routine has not completed, then I am implementing an in memory only update and leave the relevant updates for later stages (foreground processing by second BI external command before closing the file). > > And you you are checking that you aren't already in a previous ISR call > when the next VBL interrupt comes in? Its quite possible that the call to > ProDOS will take more than the ~16 ms before the next interrupt comes in. > IIRC, the mouse interrupts are funny about being immediately re-triggered. > > Dave... Related to « strange » mouse firmware behavior, back to early 2015, here was a discussion in cea2 newsgroup about mouse handling (post created as I worked on a previous utility dealing with mouse interrupts (but not within ProDOS). https://groups.google.com/forum/#!topic/comp.emulators.apple2/CkaBF4BBFKE Best regards, Benoît -- Growing old is mandatory.. growing up is optional.. But the other way round is as true.