Re: A83: Slowing down a program


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

Re: A83: Slowing down a program




Yes. Only, this guy writes to this list and asks how you make a delay. And we
reply. =)

Linus

On 28-Jun-98, Olle Hedman wrote:

>all these loops are basicly the same..  just a matter of what
>nonsens-instructions you put in there :)
>push pop- pairs are quite nice..  small and takes quite a lot of time...

>btw..  I think it's quite uninteresting to compare eachothers delay-loops..
>  when you need one..  you make one thats suites your needs..  

>//Olle


>At 12:37 1998-06-27 -0700, you wrote:
>>
>>
>>Why don't you try this: it slows it down a bit, just change bc to what
>>ever you what.  it may take up a little more space than the other ones
>>though, but it is what I use.  I believe it was also used by Andrew
>>Ungvarsky in duckhunt.
>>
>>delay:
>>PUSH AF
>>PUSH BC
>>LD BC,9FFFh ;length->bc
>>delayLoop:
>>DEC BC
>>LD A, B
>>OR C
>>JR NZ, delayLoop
>>POP BC
>>POP AF
>>
>>Jimmy
>>
>>
>>>Heh...I got my fade thing to work, thanks to
>>>Harper Maddox but it goes
>>>so fast that the fade is impossible to see.  Is there
>>>a way to have the
>>>calc wait for just a fraction of a second, so the fade 
>>>is slow enough to be seen?  Thanks.
>>
>>   Mark Allen
>>
>>
>>
>>==
>> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>/  TI-Magic                                       \
>>\  Web Page                                       /
>>/  http://www.angelfire.com/tx/timagic/index.html \
>>\  TiMagic@Yahoo.com                              /
>> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>_________________________________________________________
>>DO YOU YAHOO!?
>>Get your free @yahoo.com address at http://mail.yahoo.com
>>
>>



References: