Re: Disabling The Keyboard



look and see wrote:

> > Now LOOK and SEE and then post a correct version

> Here is a "correct" version.

No need for a complete rewrite. All you had to do was to delete
the line "jmp wake_up" in your previous post.

But don't you think it is much simpler instead to add
the delay to old value and compare this sum with the new
value, to subtract the old value from the new value and
compare this difference with the delay. This way there
is no wrap around problem and it also doesn't matter
whether you use a signed or unsigned brach condition.

0100: b4 00 move.b #0,m0
0102: cd 1a trap #$1a
0104: 89 d3 move.w r1,r3
0106: b4 00 loop: move.b #0,m0
0108: cd 1a trap #$1a
010a: 29 da sub.w r3,r1
010c: 83 fa 48 cmpq.w #72,r1
010f: 76 f5 bls.b loop
.



Relevant Pages

  • Re: MFC vs .NET
    ... "application" also deal with user interfaces and databases; in general, the delay to get ... Compare this time with the time ... 2- creates a .Net Managed exe or dll exactly like what c# does ...
    (microsoft.public.vc.mfc)
  • Re: WHY HAS THIS SITE BECOME SUCH A SPAM TARGET???
    ... compare two sets of data 1)email content moving through MTA gateways ... with 2)email content at the email client level, ... or that violate MUA rules. ... It would cause a delay; how much delay would depend on the ...
    (sci.math)
  • ROM lookup table delay question
    ... I need to compare the delay of a ROM lookup table to a multiplier. ...
    (comp.arch)
  • Re: NBC- Pelosi
    ... They won big while she was minority leader, ... I wouldn't compare her to either Hastert or DeLay--I ... than that absolutely rotten partisan DeLay. ...
    (rec.music.artists.springsteen)
  • Re: - Does Steph have a "real" job?
    ... > number and one time I believe somebody ask the contestants to compare ... Actually it was Greg who asked them to pick a number, ... Prev by Date: ...
    (alt.tv.survivor)