[A83] Re: program slowing


[Prev][Next][Index][Thread]

[A83] Re: program slowing




>
>Thank you both!
>Got my game working, not much to brag about.

Which game? :-)

>Jimmy Pardey
>
>
>
>
>>From: Gavin Olson <gtolson@snet.net>
>>Reply-To: assembly-83@lists.ticalc.org
>>To: assembly-83@lists.ticalc.org
>>Subject: [A83] Re: program slowing
>>Date: Tue, 14 Aug 2001 14:41:19 -0400
>>MIME-Version: 1.0
>>Received: from [195.67.128.9] by hotmail.com (3.2) with ESMTP id
>>MHotMailBD42BBF3003A40043223C343800910600; Tue, 14 Aug 2001 11:42:20 -0700
>>Received: from towerguard. (mx-1.sollentuna.net [195.67.128.9])by
>>mx-1.sollentuna.net (Postfix) with ESMTPid 52F9518027; Tue, 14 Aug 2001
>>20:41:50 +0200 (CEST)
>>Received: with LISTAR (v1.0.0; list assembly-83); Tue, 14 Aug 2001
20:41:50
>>+0200 (CEST)
>>Received: from smtp.snet.net (smtp.snet.net [204.60.6.55])by
>>mx-1.sollentuna.net (Postfix) with ESMTP id 1197E18026for
>><assembly-83@lists.ticalc.org>; Tue, 14 Aug 2001 20:41:47 +0200 (CEST)
>>Received: from gavcomputer-ii.snet.net ([204.60.229.89])by smtp.snet.net
>>(8.12.0.Beta12/8.12.0.Beta12/SNET-mx-1.5/D-evisionO-evision$) with ESMTP
id
>>f7EIffjp020205for <assembly-83@lists.ticalc.org>; Tue, 14 Aug 2001
14:41:42
>>-0400 (EDT)
>>>From assembly-83-bounce@lists.ticalc.org Tue, 14 Aug 2001 11:43:01 -0700
>>Delivered-To: lists.ticalc-assembly-83@mx-1.sollentuna.net
>>Message-Id: <5.1.0.14.0.20010814144021.009f2d70@pop.snet.net>
>>X-Sender: gtolson@pop.snet.net
>>X-Mailer: QUALCOMM Windows Eudora Version 5.1
>>In-Reply-To: <12f.2ffa199.28aabb95@aol.com>
>>X-listar-version: Listar v1.0.0
>>Sender: assembly-83-bounce@lists.ticalc.org
>>Errors-To: assembly-83-bounce@lists.ticalc.org
>>X-original-sender: gtolson@snet.net
>>Precedence: bulk
>>X-list: assembly-83
>>
>>
>>You might try this as a more flexible delay:
>>
>>b=number of delays
>>delay:
>>          ei
>>dloop:
>>          halt
>>          djnz dloop
>>          ret
>>
>>At 01:36 PM 8/14/2001 -0400, you wrote:
>>
>> >you could make a lable that caused a short delay.
>> >
>> >delay:
>> >    ei   ;interrupts must be enabled for halt
>> >    halt ;waits 1/200th of a second
>> >    ret  ;returns to call
>> >
>> >longdelay:
>> >    ld b,100         ;djnz's 100 times
>> >longdelaylp:
>> >    call delay       ;calls delay
>> >    djnz longdelaylp ;dec's 'b', jumps to longdelaylp if b is not 0
>> >    ret
>> >
>> >to get a short delay, call delay, do get a long delay call longdelay
>>
>>
>>
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>