Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #872

Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!xmission!news.bbs-scene.org!macgui.com!benoit0123
From Benoit0123 <bgilon@free.fr>
Newsgroups comp.sys.apple2.programmer
Subject Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65
Date Tue, 17 Sep 2013 06:37:34 +0000 (UTC)
Organization Mac GUI
Lines 26
Message-ID <benoit0123-1379399853@macgui.com> (permalink)
References <l0s45m$ggs$1@speranza.aioe.org> <d59a1950-33a3-47f5-a905-d6b69dffc51a@googlegroups.com> <9b42129b-83c8-4589-a82a-f8c97895bbed@googlegroups.com>
NNTP-Posting-Host gunshin.wiredns.net
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace technocratmedia-w1.news.bbs-scene.org 1379399854 15808 74.119.145.48 (17 Sep 2013 06:37:34 GMT)
X-Complaints-To abuse@bbs-scene.org
NNTP-Posting-Date Tue, 17 Sep 2013 06:37:34 +0000 (UTC)
User-Agent Mac GUI Usenet
Xref csiph.com comp.sys.apple2.programmer:872

Show key headers only | View raw


Hello Marco,

Marco Verpelli wrote:
> On Thursday, September 12, 2013 9:57:40 PM UTC+2, Bill Buckels wrote:
(snip)
> ;SAVE ROM STATUS
> 
>                 SEI                     ;NO INTERRUPT WHILE READ THE CLOCK
>                 LDA     RDCXROM
>                 PHP
>                 STA     SETINTCXROM     ;SELECT ROM AND CLOCK
It seems that your routine disables the interrupts without reinstating them
aa the read is completed.
>                 PLP                     ;RESTORE ROM CX STATE
>                 BMI     $7
>                 STA     SETSLOTCXROM    ;PUT IT BACK
May I suggest that you put the SEI instruction after the PHP so that the
relevant PLP at the end of your routine
will restore the I bit too from the saved P and interrupts continue to work
they used to before calling your routine?

Best regards,
BenoƮt


Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Subsecond Timing (No Slot Clock) and Embedded Subroutines in Aztec C65 "Bill Buckels" <bbuckels@mts.net> - 2013-09-12 05:14 -0500
  Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines in Aztec C65 mverpelli@libero.it - 2013-09-12 04:52 -0700
    Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines in Aztec C65 "Bill Buckels" <bbuckels@mts.net> - 2013-09-12 14:57 -0500
      Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines in Aztec C65 Marco Verpelli <mverpelli@libero.it> - 2013-09-13 01:26 -0700
        Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines in Aztec C65 Marco Verpelli <mverpelli@libero.it> - 2013-09-13 02:08 -0700
        Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 Benoit0123 <bgilon@free.fr> - 2013-09-17 06:37 +0000
          Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 Marco Verpelli <mverpelli@libero.it> - 2013-09-17 00:11 -0700
            Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 mverpelli@libero.it - 2015-06-25 04:46 -0700
              Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 qkumba <peter.ferrie@gmail.com> - 2015-06-25 14:40 -0700
                Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 dempson@actrix.gen.nz (David Empson) - 2015-06-26 09:57 +1200
                Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 mverpelli@libero.it - 2015-06-25 23:42 -0700
              Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 "Bill Buckels" <bbuckels@mts.net> - 2015-06-26 18:37 -0500
                Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 "Bill Garber" <willy46pa@comcast.net> - 2015-06-27 00:31 -0400
                Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 mverpelli@libero.it - 2015-06-27 00:24 -0700
                Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 "Bill Buckels" <bbuckels@mts.net> - 2015-06-27 18:10 -0500
                Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 mverpelli@libero.it - 2015-06-28 00:01 -0700
                Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines inAztec C65 mverpelli@libero.it - 2015-06-29 11:03 -0700
  Re: Subsecond Timing (No Slot Clock) and Embedded Subroutines in Aztec C65 mverpelli@libero.it - 2013-09-12 04:52 -0700

csiph-web